WereSoCool.logo

WereSoCool

Tutorial

Concerts

Interviews

Danny

hello_world.socool

WereSoCool is a language for composing microtonal music. You might find this language useful if you want to make cool sounds and impress your friends/pets/plants.

Origin

If you want to make sound in WereSoCool, you'll need a .socool file. At the top of your .socool file, you'll need an origin:

loading...

This expession defines the origin for our program. Every .socool file is essentially a series of operations on a point.

  • f is your starting frequency. in this case, 220 which happens to be an "A".
  • l is your starting length in seconds. in this case, 1 second.
  • g is your starting gain. smaller is quieter, larger is louder.
  • p is your starting pan. 0 is in the middle. -1 is on the left. 1 is on the right

Every .socool program also needs a main block.

loading...


Operation: Fm (Frequency Multiply)

We also need an operation in order to do anything cool. The first operation we'll use is Fm. This operation multiplies the frequency of it's input by the multiplier provided. Numbers in WereSoCool can be whole, decimal, or rational numbers.

loading...


Putting It All Together

Now, let's make our first cool sound. Since there haven't any other operations in our program, this operation will be applied directly to our origin.

Click play and you'll hear a sine wave at 220hz that lasts for 1 second before fading out. The gain is 1 and the sound is panned to 0 which is the center.

Try changing the number in the Fm operation. Reminder: The number has to be >= 0. You can also change the values in the origin and see how it changes the sound.

loading...