Announcement

Collapse
No announcement yet.

OSC to MIDI - Is it possible to play notes based on an incoming OSC value?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OSC to MIDI - Is it possible to play notes based on an incoming OSC value?

    Hi there! I have a device pumping out OSC events in a regular stream of float values, like this:
    /device/absolute ,f 0.57
    /device/absolute ,f 0.71

    I would like to trigger a MIDI note calculated (inversely) based on the OSC value.
    For example, if I receive a:
    /device/absolute ,f 1.0 I would like a MIDI Note 1.
    If I receive a
    /device/absolute ,f 0.1 I would like a MIDI Note 127.
    ...and calculated values inbetween.
    Is this possible with OSCulator? What do I need to learn to make this work?

    What I have tried:
    MIDI Note w/Parms, using /device/absolute as the value...regardless of the incoming OSC number, a C3 with Velocity 64 is generated as the Note.
    'SPLIT' works well for me, but only for 2 manually assigned notes- I can assign one MIDI note to .5 - 1 and another to 0-.5. However, I would like to have a larger range of notes. I tried creating 10 sets of ranges, like .45 to .5 for one note, .5 to .55 as another note...but the result is the notes turn on, and never turn off...they are stuck. I am still wishing to dynamically calculate a note from the incoming value, rather than manually setting a note.

    Can you help? Thank you!
    Last edited by richmn; 08-29-2022, 04:18 AM.
Working...
X