Have you thought about making your own music instruments? This example shows how you can design sound using virtual modular synthesizers.
Modular synthesizer is a mashup of different components. Each module has a basic function like an oscillator, filter and envelope generator. These modules are connected together to imitate existing sounds or create new ones. The following image shows the hardware implementation of a Sallen-Key filter, an oscillator and a mixer.
The Sallen-key filter is modelled and tested in Wolfram System Modeler. It mostly uses reusable components from the Modelica Standard Library . Other modules can be modeled in the same way.
Model diagram of the Sallen-Key filter
Show parameter values with units
Quickly check the values of your parameters which are rendered using your chosen display unit.
Using such basic components, it is possible to create and test different music without the limits of the hardware. The following image shows a model that generates Techno music.
This loop consist of three voices: one kick drum, one bass synthesizer and one hi-hat synthesizer. All of them are combined using a mixer and recorded directly to a WAV file.