Making Sound

Here you will learn how to make the basic sound using the mimium.

Documentation is under preparation! We are seeking for people who support documentations and translations.

Making 440Hz Sine wave sound

  1. Prepare a MMM file(e.g. sin.mmm). If you haven’t installed mimium at this point, see Installation.
  2. Write the following code and saving the file.
fn dsp(time){
    return sin(now*440*3.14*2/48000)
}

Otherwise you can write one-liner code snippets.

dsp = |t|{ sin(now*440*3.14*2/48000) }
  1. Using your command line tool (e.g. bash), run the previous code.
$ mimium sin.mmm