Hello!
I am using an arduino as a midi device. It is connected via usb. the arduino sends midi notes from 60 to 65 based on sensors.
drumkitpd.pd
Take a look at this patch. I have used [moses] for a conditional operator and plays the appropriate sound file. However, when I send a midi note upwards of 60, multiple sounds get played. I guess that [moses] does "=<". I want to have an "=" operator. I tried using [ ==] but the same problem occurred again. maybe I am using it wrong... please help!
-
problem with relational operators...
-
@flight453 For your patch, where you just need a bang to the message for line...... when only one note value is received...... use [select] instead of [moses].
It can be shortened..... so [sel 60] and [sel 61] etc....... and using the left outlet to bang the message.
David. -
Thanks!
-
@flight453 you didn't implement that on your thread after this on "tecnical issues" though
-
@4ZZ4 said:
@flight453 you didn't implement that on your thread after this on "tecnical issues" though
Yeah I probably uploaded the wrong file. But don't worry. I have made the changes regarding the [sel] object. Nothing else is different in that patch.
-
@flight453 do you know what? i was actually guessing that (after i replied).