Adam,Attached is a composition that take audio input, and outputs a 
number for the loudest frequency band. Whistle to see the numbers change (most 
voice is in bands 0 and 1). Use this number to control the source index of your 
multiplexer.Those bands frequencies are fixed, so if that's not suitable, you 
should probably look for another (non QC) solution.Tip: you can just drag an 
image file into the Quartz composer editor and it will create an Image importer 
for you.Also, when asking question here, best bet is to include your Quartz 
Composition so it can be looked over.Hope that helps,Keith
        
        ########
                
                
        On Thursday, 25 November 2010 at 7:58 AM, adam morten wrote:
        
            Ok so I've managed to create all the shapes I wanted using an image 
importer, the only thing I am struggling with now is how to link each shape to 
a certain frequency. I've tried the multiplexer patch but can't seem to get the 
other shapes to disappear when it's not 'their' frequency.Any suggestions?Thank 
you for your help.On 23 Nov 2010, at 19:28, Bradley Mellen wrote:  I don't know 
if this is the best solution, but - you could have separate patches for each 
shape, all receiving the same color and size data (and location and whatever 
else), but use a multiplexer to select only one at a time to draw - the 
multiplexer being driven by the frequency data (passed thru some math patch or 
something to translate it into an integer to select an input on the 
multiplexer).  Does that make sense?  Someone else on the list might have a 
cleaner solution (especially depending on how you're actually drawing the 
circle).  On 23 Nov, 2010, at 2:18 PM, adam morten wrote: > I would 
 like to 
create a circle which reacts to audio input. I want the circle to change colour 
with frequency and change size with volume. I have done this but the part which 
I am struggling with is that when the frequency changes I want the circle to 
change through a series of shapes in this order; circle, octagon, heptagon, 
hexagon, pentagon, square, triangle. So when the frequency is highest it will 
be a triangle and when it is lowest it will be a circle.> > Thank you in 
advance,> Adam _______________________________________________> Do not post 
admin requests to the list. They will be ignored.> Quartzcomposer-dev mailing 
list      ([email protected])> Help/Unsubscribe/Update your 
Subscription:> 
http://lists.apple.com/mailman/options/quartzcomposer-dev/bmellen%40kosada.com> 
> This email sent to [email protected]   
_______________________________________________Do not post admin requests to 
the list. They will be ignored.Quartzcomposer-dev mailing list      
(Quartzcompos
 er-...@l
ists.apple.com)Help/Unsubscribe/Update your 
Subscription:http://lists.apple.com/mailman/options/quartzcomposer-dev/songcarver%40gmail.comThis
 email sent to [email protected]
                        
                        
                        
                        
        
                
                
    

Attachment: sort_loudest_freq_band.qtz
Description: Binary data

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to