05.12.2012 Views

Isadora Manual v1.3 - TroikaTronix

Isadora Manual v1.3 - TroikaTronix

Isadora Manual v1.3 - TroikaTronix

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6) To the right of the AUMixer actor, add an DefaultOpututUnit actor. This sends<br />

the mixed sound to the default audio output device.<br />

7) Make a link between the AUAudioFilePlayer ‘s out 1 output and the<br />

AULowpass’ in 1 input. Then connect the AULowpass’ out 1 output to the<br />

AUMixer ‘s in 1 input. Finally, like the AUMixer’s out 1 output to the<br />

DefaultOutputUnit‘s in 1 input. As soon as you make this last link, you will<br />

hear sound. Note that the AUAudioFilePlayer and DefaultOutputUnit both have<br />

properties called active. We will experiment with these momentarily, but suffice<br />

to say that because both of these active properties were set to on, connecting the<br />

last link caused sound to automatically start playing.<br />

8) Add a Mouse Watcher to the scene. Connect the horz pos output to the cutoff<br />

frequency input of the AULowpass, and the vert pos output the resonance<br />

input.<br />

9) Turn the volume of your sound system to a medium level – the low-pass filter<br />

can make very loud sounds when the resonance is high.<br />

10) Finally, click the start input of the Default Output Unit. You should hear your<br />

sound playing. Moving the mouse will change the cutoff frequency and<br />

resonance of the low-pass filter, affecting the sound’s timbre.<br />

11) You can also experiment with changing the volume 1 and panning 1 inputs of<br />

the AUMixer actor.<br />

12) To mix two sounds, add another AUSoundPlayer actor to the scene, and connect<br />

it’s out 1 output to the in 2 input of the DefaultOutputUnit. Then click the start<br />

input of the DefaultOutputUnit. You will now hear both sounds, and can control<br />

the volume and panning of each using the volume and panning inputs of the<br />

AUMixer actor.<br />

13) The DefaultOutputUnit’s active property controls the entire change of audio<br />

actors connected to that output unit. Change this property to off you will see that<br />

all sound will stop. Change it back to on and both sound files will start playing<br />

again.<br />

14) Now try changing the active property of both AUAudioFilePlayers. You will<br />

see that you can use this property to start or stop the sound file playback<br />

independently.<br />

As you can see, using the CoreAudio filters to perform real-time manipulation of<br />

sound is very much like using the video filters that have been part of <strong>Isadora</strong> since<br />

the beginning.<br />

Spatialized Sound - Tutorial<br />

CoreAudio offers the ability to spatialize sound, that is, to move it in and around the<br />

space between your speakers. Using the previous tutorial as an example.<br />

Note that if your default audio output (as specified in the Audio MIDI Setup<br />

application) is stereo (i.e. two speakers), the AUMixer3D will simulate movement<br />

<strong>Isadora</strong> <strong>Manual</strong><br />

158

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!