Convert CC7 into a scale of notes (triggering video clips in Resolume from Open Theremin)

Ok, I’ve got a wild one.

I bought an OpenTheremin and I’m setting up MIDI on it tomorrow. It has limited midi implementation.

Search: OpenTheremin MIDI (wouldn’t let me link it here)

I am using the true DIN interface version.

I need to use only the pitch ‘rod’ antenna information (ignoring the volume antenna) as CC or PitchBend, and convert that to notes. That way I can assign the notes to video clips in Resolume. I believe this would require also inserting ‘note on’ messages as the CC goes up and down. Not sure if ‘note off’ is necessary.

The goal: As people approach the theremin, different clips activate in Resolume, going out to a video projector.

Hi and welcome to the Bome community!

This video tutorial is an example of converting CC message to Note Messages. The link to the project file is shown in the description. Please give it a try and of course, reach back out to us if you need more help.

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

I have done that tutorial and I appreciate your help, but I need to translate a range of CC’s into a range of notes. Do I just repeat this 128 times or is there a better way?

The below shows how to do it with 2 translators. I do this in the second preset (Preset 1).

Translator 1.0 takes the in coming CC 7 on MIDI CH1 and the captures the value of the note.
In rules we capture the last note sent which is in the global variable ga. If ga<0 then there was no note sent so we skip sending a note off. Otherwise we call translator 1.1 with the value of the last note so that we can send a note-off before sending a new note. We then capture the note value in the global variable ga for the next iteration.

We put a 10ms delay on sending the next note-on with the current incoming CC value.

Here are the rules.

// if negative  don't send note off
if qq<0 then skip next rule
Perform "send-note-off",ga
// capture for next iteration
ga=qq

Notice that you will have notes stuck-on. If you don’t want this you should also call a one shot timer to turn the last note off after a set time. Let me know if you need to do that.

If you don’t need to send note-off messages, then you don’t need the perform action in translator 1.0 and you don’t need translator 1.1 at all.

CC7-to-note.bmtp (2.1 KB)

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

I’m struggling with this but will try tomorrow. Since it seems like it can be done, I’ll go ahead and buy the full software now. I might just need some handholding.
Thanks!

OK, I’ll be here.