Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slideshow




How about:

1. Use the source/audio input patch.
2. Connect the peak volume output (a single number) into a maths patch.
3. You may have to multiply the volume, set max and min values and so on to get something sensible for the slideshow speed.

this is the most direct way of driving the speed. If you don't know _javascript_, then figure out the mapping of input to output values, and  use a bunch of maths patches.

The other out put of the audio patch (Spectrum) is a structure: which is to say, an array of 12 numbers, representing the volume for particular frequency intervals. _javascript_ can treat this as an array, or you can pull out single values by index or key value (the name of the array item you want -- here its "band_1" to "band_12"). Mouseover the output port to "see" the structure.

This will be more sensitive/finicky. When doing an installation in a noisy environment, it might help to seperate out the background noise from crowd sounds. 

For some VJ gigs, we've used it to control parts of an animation: bass sounds drive one set of animations, mids and highs another -- the layers can then be effected/composited/effected again and output. 

Which reminds me -- Anyone interested in sharing their patches from band gigs?

Luke

PS: If you need to learn _javascript_, check out crockford.com . Douglas Crockford works at Yahoo in the YUI dept (ajax development) and has some really good lectures up at Yahoo video.

On 04/07/2007, at 5:22 PM, Peter Rosvik wrote:

Your answer seems to be so simple still i don´t get it. Im no _javascript_er as you may understand, can someone give me a hint to calculate the sound. What I am after is to slowdown the slideshow when it´s quiet in the room and speed it up when there is louder sound in the room. I will have a mic connected to the computer to get the sound in.

I sure did search the archives how to externalize the timebase and I think i get the idea but how to do it is aan another question...

Peppe

I might be asking too stupid questions
On 2 jul 2007, at 19.45, Troy Koelling wrote:

Take a look at the Slideshow example in /Developer/Examples/Quartz Composer/Slideshow

What do you mean by "sound", the volume of the ambient noise or rate of distinct peaks, etc? You are probably going to be using the _javascript_ patch to calculate the speed of the sound. You could then use that number to scale up or down the timebase on one patch or the entire transition by putting the transition inside a macro and externalizing the timebase. 

Search the archives for a description of how to externalize the timebase.

Good luck,
Troy

I´m really new to QZ. I want to view a slideshow from a folder with
about 1500 images, how do I start from here. The other thing is that
I somehow want to have the speed changed based on sound, is this even
possible?


********************************
Peter Rosvik
Beckbruksgatan 24
FIN-65200 VASA, Finland

Phone: +358 (0)6 318 2715
Mobile: +358 (0)50 541 5749

e-mail: email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Slideshow (From: Troy Koelling <email@hidden>)
 >Re: Slideshow (From: Peter Rosvik <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.