Hi everyone,
I have connected a Game Controller va hid with pure data, as I press a Button I want to play an osc~with a fixed frequency:
If I press the button this is what is happening.
The Sound plays and works, but if I release the button:
The Sound is still playing and wont stop with releasing the button.
Is there maybe another more simple way to do this? I tried to connect a Switch to the osc but that is just working in one direction and not if I add it to my solution.
Maybe another word to what I expected:
with the [== 1] and [== 0] statements I get kind of a if-else questioning.
So if the button is pressed (1) I will run start the osc with a volume of 1.
As I cannot "power off" the osc via switch I just decrease the Volumen and Amplitude to 0 in order to get no sound.
But it wont work.
I had a solution today but deleted it by mistake and was unable to recover it.
Maybe you can help me I dont have any other idea.