Need help for project

Bonjour, je crée actuellement un projet dans lequel mon corps capté par une Kinect joue un son dès qu’il est en mouvement, j’ai alors eu l’idée de dire que quand la tête va à gauche ou à droite, il lance un son : J’ai alors utilisé un Kinect CHOP puis un Select CHOP pour prendre l’information de la tête, je branche ensuite à un logic chop pour envoyer 1 si la tête est à gauche ou à droite, puis un trigger Chop pour recevoir et envoyer l’info à un audiofile In Chop qui après joue le son dans un Device out CHOP. Mon problème est que tant que je suis à gauche, le son bug car se joue plein de fois, j’aimerais n’envoyer l’info qu’une fois pour que le son ne se joue qu’une seule fois quand j’effectue un mouvement et temps que je suis à gauche par exemple. Pourriez-vous m’aider ou avez-vous d’autres idées pour ce projet ?

Hello, I am currently creating a project in which my body captured by a Kinect plays a sound as soon as it is moving, so I had the idea to say that when the head goes left or right, it launches a sound: I then used a Kinect CHOP and a Select CHOP to take the information from the head, I then plug into a logic chop to send 1 if the head is left or right, then a Chop trigger to receive and send the information to an audio file In Chop which then plays the sound in a Device out CHOP. My problem is that as long as I am left, the sound bug because it plays many times, I would like to send the information only once so that the sound is played only once when I make a movement and time I’m left for example. Can you help me or do you have other ideas for this project?

Hi @gumby2311,

have a look at the Audio Play CHOP which works a bit differently and does not require a Audio Device Out to be connected.
Benefit is that it allows for triggers as an input and you can choose on the Mode parameter if it should play once or continuously.

For some examples on how it works, make sure to check out the operator’s OP Snippets.

Hope this helps
cheers
Markus

1 Like

thanks, and you have an idea if i want to play sound when i do a quick mouvment ?

and is it possible to make the sound continue until the end even if I left the other side?