Multiple audio channels to midi notes - Help!

75 views
Skip to first unread message

Ron Peer

unread,
Dec 8, 2016, 1:28:32 PM12/8/16
to QLab
Hi folks,
I'm more of a qlab video user so help would be much appreciate..
for an upcomming project i'm wiring a drum kit with 8 mics, one for each drum (kick, snare, tom, flr etc..).
 all of the mics are routed to DMI MADI through S21 console and from the console to a mac by USB Madi.

I want to be able to generate a unique midi note from each drum hit and then route this note to resolum.
its important to keep the hit's character (velocity, intensity, decay and so on)..

I was wandering if qlab can get in between the USB MADI inputs and generate midi notes with some kind of plugin or script.
someone here experienced with a similar project?


Thanks allot,
RP.

micpool

unread,
Dec 8, 2016, 6:44:58 PM12/8/16
to QLab
In theory you should be able to do this with A Mic cue and an OSC cue with a long duration for each mic channel

The basic mechanism is this OSC query

/cue/{cue_number}/liveAverageLevel/{outputChannel} {low} {high}
Read-only; returns the RMS level of outputChannel. low and high are optional values to re-scale the output of this method. For example, sending the message /cue/1/liveAvrageLevel/1 0 100 will return a 0 if the level of output 1 is silent, and 100 if the level of output 1 is as loud as is possible.

You insert the query into the message that Resolume requires for whatever you want to control, using this method

http://figure53.com/docs/qlab/v4/scripting/osc-queries/.

Whether it will suit your purpose will depend on the refresh rate you get, and the latency. It would work fine for a clapometer type thing because that has a slow rise and fall time,and not too much rapid variation, whether it will be responsive enough to repond to complex, drumming patterns across multiple microphones is another matter.

Also remember that if you are using acoustic mics you will have some crosstalk.

I have a computer with QLab4 and Resolume on it, I'll knock out a quick test workspace tomorrow

Mic

micpool

unread,
Dec 8, 2016, 7:06:55 PM12/8/16
to QLab
In the meantime you may be able to adapt the workspace in this post

https://groups.google.com/d/msg/qlab/RSK-9C8j4N8/S00DqBUBCAAJ

If you do want to use a MIDI solution there is an AU plug in called Blue Cat Audio DP meter Pro which will generate MIDI cc values by following the envelope of incoming audio,

It might be simpler to use this plug in in something like Plogue Bidule though, as it will be far easier to set up your 8 mic inputs in a single instance of the plugin and you can gate the inputs etc.

Mic

micpool

unread,
Dec 9, 2016, 9:22:00 AM12/9/16
to QLab
This actually works quite well

The attached files are a Resolume Arena 5 compositoin  and a QLab4 bundle

QLab plays a 6 channel wav with a drum mic on each track (These drums are clean as they were samples played on a MIDI kit so there is no bleed)
It sends OSC to resolume to control the y anchor of 6 coloured blocks.

It should work out of the box if your QLab and Resolume are running on the same machine and you use built in audio in QLab.

If you don't need any of the features in Resolume you could easily do the whole thing in QLab.

Mic

On Thursday, December 8, 2016 at 11:44:58 PM UTC, micpool wrote:
QLab to Resolume.zip
Reply all
Reply to author
Forward
0 new messages