OSC Queries

220 views
Skip to first unread message

micpool

unread,
Nov 21, 2016, 4:14:55 PM11/21/16
to QLab
Having been a bit slow to understand the new OSC queries features in QLab 4, and wanting an excuse to experiment with the liveAverageLevel for audio, the penny finally dropped and, in case it helps anyone else, I made the attached workspace and screen recording.



It queries the  liveAverageLevel of 3 simultaneous filtered versions of a recording to get the traditional HI MID LO sound to light  values and then uses those levels to animate sprites in Titles cues.
It also queries the running time in seconds of 1 of the audio cues and puts that up in a title cue as well

Mic


OSC Queries Disco.zip
OSC Queries Disco.mov

Sebastian Frost

unread,
Nov 21, 2016, 6:14:24 PM11/21/16
to ql...@googlegroups.com
Genius, as ever Mic!

S



--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/d8062ee1-cbf6-4f61-a8f9-e4d65ffe9735%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<OSC Queries Disco.zip><OSC Queries Disco.mov>

micpool

unread,
Nov 22, 2016, 11:31:30 AM11/22/16
to QLab
Here's an improved version.

As well as some visual refinements it introduces an additional technique,  using  OSC cues with durations to fire Script cues continuously (with the actual frequency of script cue execution controlled by post waits on the script cues)  to handle text formatting and inclusion of system variables like the time that OSC cues can't do themselves.

Although I haven't included it in the example, as it makes it trickier to use on different interfaces, in reality you would probably want your audience to listen to a full mix of the track instead of 3 stacked filtered versions. In this case you would probably want to send your filtered audio to a high numbered unused cue output e.g 64. If you didn't have an actual output 64 on your device (if you are using built in audio for instance) you can create a virtually silent one  by assigning output 64 to output 1 in the edit patch routing matrix at a level of -59.5dB. This will mean you can have full audio output on the filtered cues Ch 64 without it being audible

The first OSC argument after /liveAverageLevel/ would then be 64 e.g;/

/cue/LEFT/liveTranslationY #/cue/LO/liveAverageLevel/64 -1300 0 #

I'll  put it on the QLab Cookbook,  with a full explanation of how it works, sometime in the next few weeks.

Mic
OSC Queries Discov3.zip
Reply all
Reply to author
Forward
0 new messages