|
Oscilliscope/Kineme Audio InputHi there. Im brand new to the Forums so hope this is in the right place. Please excuse all my mistakes, am very new to quartz. I am working on a project at the moment that involves reactivision, maxmsp and quartz composer. Making something similar to the reactable idea. I am going to either route audio from maxmsp to quartz using soundflower, or not send audio over but use data and numbers to 'imitate' the audio. Using soundflower - I am having issues trying to get the Kineme Audio Input to receive from soundflower. I have been modifying the 'Audio-Frequency' composition to see the waveform. No matter what I seem to do it will always use my built in microphone. Any ideas on how to change this? To start with I am going to send just one channel of audio, but eventually it will be up to 9. With using data/numbers not audio - I have no idea where to start on this side. My thoughts were to get maxmsp to send a the numbers that the Kineme Audio Input outputs. Will this work? is it possible? Sorry if this is confusing. Any help would be greatly appreciated. Cheers Daniel Macbook - OSX 10.5.8, 2.1ghz, 2gb ram
|
AudioTools works with Soundflower.
Use Device UID
SoundflowerEngine:0
to send to / receive from the 2ch Soundflower, andSoundflowerEngine:1
for the 16ch Soundflower.I've attached a simplified version of the audio-frequency.qtz sample, modified to receive input from Soundflower.
You mention in all of this that you aren't actually sending audio... or are, but that it's purpose is secondary to the generation of values. You may want to consider sending the values in maxmsp via OSC, and receiving as OSC in QC, which would allow you more than 16 channels of value info.
Thanks for that composition.
How do I select what soundflower channel the sound comes in on? can I choose?
I am trying to figure out which option would be best in regards to sending audio or sending data. I hadnt though of using osc.
I have information coming into Maxmsp from OSC.
If I was to use OSC, what is the best way of getting that information into the Kineme Audio Input in order for it to generate the waveform.
Or am I going about this in completely the wrong way. Is there an easier way to create multiple waveforms?
Sorry theres so many questions. Just trying to get my head around how quartz works and all.
Thanks for your help
Daniel
OH, I forgot the Kineme Audio patch makes that waveform image.
Nope, if you need that, you definitely need to send the values as audio, to that patch... follow smokris's advice about device ID. The Kineme Audio input only takes input from a device, so it can't (and there would be no point in it doing so) receive values from inside QC (like from an OSC patch).
In general though, using OSC to communicate values from maxmsp to QC, can work well... you would have to write a qtz that took the numbers and "made" a waveform image though. That's overkill if the Kineme Audio patch is already giving you the image you want.
i think your best bet would be to just route the audio via soundflower 16 channel. then structure out the frequency data via indexs for your audio channels. this way you can draw your own wave forms. or you can just put your quartz composition inside max msp via dips4.
How can one find a list of available device UID's to input as mentioned above?
here are a few macros to get audio input output device info. they where cobbled together from kineme audio examples. you should look at them. you get the compositions from one of the previous releases ok k audio tools. not sure which one but there is a versions tab for audio tools and just check later releases for the how to comps. or just use these macros.
Use the
Audio Device Info
patch.See the included
audio-deviceinfo.qtz
for an example.