Examples
The entry point for the beginners of mimium - step by step example.
Currently, mimium can be used on the following environments.
The easiest way to get started is to use Visual Studio Code, a free text editor/IDE.
// hello.mmm
fn dsp(){
output = sin(now*440*2*3.141595/48000)
return (output,output)
}
You can download latest binaries from GitHub Release. Copy bin/mimium
to appropariate path (for example, /usr/loca/bin
on macOS/Linux).
On macOS/Linux, you can easily install mimium by using Homebrew/Linuxbrew1.
brew install mimium-org/mimium/mimium
for more detailed information such as building from source, check Installation page.
You can run mimium by running mimium
command. If the binary is correctly installed, you can see the help menu with the following command.
mimium --help
Make text file with the name of hello.mmm
on current working directory and paste the code snippet above.
Then, type the following command to run the file. (Take care the volume of speakers.) You will hear the sine wave sound of 440Hz.
mimium hello.mmm
Conguraturations!
You can read further explanation such as a grammer of the language and available functions on Making Sound page.
Currently, we can not provide a binary package for macOS 11.0 thus it tries to build from the source. Installing Xcode and some additional software are required. ↩︎
The entry point for the beginners of mimium - step by step example.
Here you will learn how to make the basic sound using the mimium.
Install mimium to your computer
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.