-
Glhd2
Thank you for help, I will try that later could be a good option !
-
Glhd2
@Balwyn exactly !
So when i'll hit the drum two times (54.23 and 54.30) the value wouldn't change so there will be only one OSC message sent : 54 !
And because I hit two times I would like to have two OSC messages ! -
Glhd2
@weightless thank you it does work !
However, I don't know why but sometimes even if the value change I don't receive the OSC message ... Strange.. Anyway, I will try to calculate this failure rate in order to access the viability of the process or not.Thank you very much for your precious help !
@Balwyn Thank you for your help but I already tried a [change] unfortunately it is not precise enough... Because sometimes the note will change from 54.23 to 54.30 and it will not be detected...
-
Glhd2
Thank you very much, it does work perfectly !
However, one last question, based on my patch, do you know if it is possible to outputs a note only when a bang is detected ?
I am struggling since this morning trying to find a way to convert a bang to 0 and 1 so I can use it with spigot... I think I am missing a point there... Why can't we use it in this way ?
Bang off -> 0
Bang on -> 1It seems so logical in my head but not for Pd I guess ..
-
Glhd2
Hey weightless,
Thank you for your answer.
Unfortunatelly, I tried this morning and sigmund is not as accurate as fiddle and therefore there are some hit it doesn't even detect...Do you know how to use Spigot?
I was thinking maybe I can use it to send the note every 500ms ... with a metro object as a condition... What are your though? -
Glhd2
Hello,
I am trying to detect a specific range of midi note and send them using OSC.
The thing is, my range is big and therefore I am receiving a lot of OSC message.I am using a snare drum, using PureData I saw that the drum midi note is usually between 48 and 49, I am looking for a solution to detect when the drum has been hit or not.
When I am hitting the drum, sometimes, PureData detect and send 48.2 / 48.4 / 48.5 (for example) so I receive three "hit" instead of only one.... I searched for a timer in order to send only one OSC message in an interval but can't find anything .. A timer or any other idea coming in your mind..
I hope I was clear enough...
Here is my patch :
Fiddle_OSC.pdThank you for your help and advices,
Greg -
Glhd2
Hi @weightless, thank you for your answer.
Indeed, [select] and [moses] are really helpfull in my case.
Do you know how to send these value through OSC then ? After the moses for example?
-
Glhd2
Hello,
I am doing a project where I need to detect if a snare drum has been hit or not. For now I used "fiddle" to get the midi note. As I observed my drum was about 47.7 each time, I am going to consider that if there was a band and a 47.7 detected: the drum has been hit.
So I would like to send the note from fiddle each time a bang has been detected.
I am new to PureData and I was able to send a simple message with OSC but not the output of Fiddle as it is changing in real-time...I tried using noteout and notein but It didn't work.. I mean fiddle to noteout and send notein..
Thank you very much for your help and advices.
GregHere is my patch:
Fiddle_OSC.pd