there was an error in my debouncing patch, now fixed at the URL below. Sending a float into [delay] changes the delay time, and that gets me every time (I instinctively think that it just gets casted to a bang!).
Giulio On Wednesday, 13 June 2018, 21:58:34 BST, Wendy Van Wynsberghe <we...@constantvzw.org> wrote: Hi, Ten years ago I learnt the beginnings of Pure Data - and now I have thrown myself into the deep end --> I'm trying to do a fairly simple Pure Data project on Bela (https://bela.io/) - and failing gloriously. I have a Pure Data Patch that works on my computer, with keys from the keyboard. Here: https://cloud.constantvzw.org/s/EcsZzoNte8k54xQ/download?path=%2F&files=microphone_record_save_play_key_one_file.pd <https://cloud.constantvzw.org/s/EcsZzoNte8k54xQ> Current simple wish on Bela: - pushbutton0 on digitalIn3 records sound from the microphone plugged into the line in - pushbutton2 on digitalIn4 stops recording - pushbutton3 on digitalIn5 plays sound When I connect physical buttons and translate to Bela, my buttons bounce. The Bela developer active on the forum proposed a debounce patch https://github.com/BelaPlatform/Bela/blob/dev-modular/examples/13-Salt/DuoWave/debounce.pd - which I'm trying to push into my patch, but without succes. On the Bela forum I explain what I have been doing https://forum.bela.io/d/570-pure-data-digital-ins-from-arduino-logic-to-bela/5 ---> I'm pretty sure the problem lies with my beginner pd-qualities, that's why I have turned to this mailinglist ---> here's my last patch, with abstraction and with bouncy buttons https://cloud.constantvzw.org/s/EcsZzoNte8k54xQ/download?path=%2F&files=microphone_record_save_play_key_one_file_bela_with_debounce_bis_bis.pd Would someone/the list be willing to follow this through - that would be a great help! Greetings, Dywen -- * 00 32 (0)476 / 89 06 58 * * http://wvw.collectifs.net * * * * * * * * * * C O N S T A N T V Z W _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list