-
hG3n
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.
-
hG3n
Another Problem would be that the sound plays now if the button is not pressed.
-
hG3n
Okay this is working quiet good, but as I understand it should play two sounds on one side 69 and on the other 52, but it plays just one sound.
Can you please explain the patch a little bit?
I am not completely understanding the [t f b] part
Edit: Would there also be a way to do this task without the signal multiplication?