Friday, 2 October 2009

Arithhmetic part 2

Adding a line to the right of the box means that the calculation doesn't reset itself overy time the button is clicked, but adds it on top, and outputs it as a sum...

This is supposedly called 'counting behaviour'














Linking up the 'metro 500' object meant that every so often, the calculation was redone and the number in the bottom box increased.

Changing the number value next to 'metro' made the calculation recurrence speed slower and faster.

Changing to '2000' made it slower

Changing '200' made it a lot faster

If you change the value to 'o', you stop the counting behaviour completely otherwise it keeps on going...


Arithmetic

Creating a counter
















Clicking on the 'bang' puts the number through the processor. 'int' indicates and integer.

NOTE: Remember to leave a space between the '+' and the 'number' otherwise it won't work, and i won't be able to link the whole thing together. I have no idea why!!!

Changing the output signal of a sound

Changing the output signal itself:

You can use 'osc~' rather than 'phasor~' as well as other types of wave.

However, with 'osc' i had to specify an actual number, or frequency for it.

I tried to use '1000', but it was inaudible, as was '1', but '500 worked!'.

The two lines from the signal box to the output box are for the left and right speakers: if i only left one line, the sound would come out of one only (supposedly). It's something i should try....



When i used 'osc', the variable box only turned it on and off, and didn't tweak the frequency of the sound. It doesn't seem to work very well: moving the variable box just seems to turn it off, but when i restore it to its' original point, it doesn't turn back on....