Quartz Crystal movie with sound?

blackburst's picture

Hi guys I am trying out QCrystal to render movies of a composition but cant get it render the sound along with the movie. I have a K audio input patch which is working from what I can tell (I can see it being reactive when rendered out), and have split the path input to a K file player path input. But no sound gets rendered to the movie. Am I going the right way about this? Can somebody please explain the steps to achieving a movie synchronised with the sound file that affects the other variables. Thanks in advance.

cwright's picture
Re: Quartz Crystal movie with sound?

QuartzCrystal has no provisions for rendering audio to a movie. Quartz Composer has no notion of an audio context (to parallel the graphical context), so there isn't a way to render per-frame audio like there you can for per-frame video.

Generally, you'll have an audio file, and you'll load it into the composition to drive effects for the render. Then you'll open the movie in QT Pro, and add in the audio file as an audio track. That'll get them to all line up.

blackburst's picture
Re: Quartz Crystal movie with sound?

Agh. Thanks for clearing that up. Would be a GREAT feature fo QCrystal to save lining everything up.

dust's picture
Re: Quartz Crystal movie with sound?

if i'm using audio to drive an effect via peak amplitude or frequency / waveform structures, i will record them into the patch via kineme value historian. basically you set up the value historian as a pass through. once you got every thing ready for rendering you set the value historian to record. once you hit play it will start recording the audio frequencies into memory. once the track has finished playing hit stop on the viewer. then go to the value historian settings and save the frequency down to a plist file. then set the value historian to playback mode and load the file you just saved into the historian. then hit play on the viewer to make sure all the animation is correct. if every thing is as it should be your now ready to render with crystal. make sure the historian is set to playback and your file is selected then crystal will render all the audio driven animations into the movie file. once its done rendering merge the audio file with your render.

blackburst's picture
Re: Quartz Crystal movie with sound?

Thanks dust, but are you saying that QuartzCrystal won't process audio-file-driven effects even if it doesn't record the audio of the loaded file? When I played back my file I thought I could see my sound driven variables but presumably I was mistaken. I'm confused, what's the point of the audio file player then?

dust's picture
Re: Quartz Crystal movie with sound?

the audio file player is so you can hear the music and is not really for offline rendering. its more for application and realtime stuff.

what i do is drag an audio file to the editor then add a kineme audio file waveform patch. then i make a splitter to the audio file path and link it up to the kineme audio file waveform patch path and turn on trigger. this is so when i hit play in the viewer i am triggering the audio to play and don't have to go to another program to hit play and use soundflower to catch the frequencies. at this point you would want to structure out the peak amplitude to drive your animation or something.

this all works great until you want to offline render it. when you go offline with it to crystal you need to record just the peak amplitude your using or frequencies your using. like i mentioned above.