To create a Midi file using the computer keyboard or a USB (Piano like) keyboard and play it using the sound card. Reads and saves files as well. Records sound as wav file. Midi Editor
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
To create a Midi file using the computer keyboard or a USB (Piano like) keyboard and play it using the sound card. Reads and saves files as well. Records sound as wav file.
Midi Editor
To parse Midi at the byte level consult the Vogan poetry found here
Midi Specification
Midi Msg Summary
or in human readable form convert a Midi file to text using:
Midi to CSV and back
One thought was to adapt the following to Espruino. It uses square, sine and triangle waves.
Is there an easy way to get theses waveforms using PWM?
Sonic Pi Mario Tune
When using the DAC to play a sound sample it would be useful to be able to stop the sample output at some point mid stream. Is there a way to do this?
As time allows I'll setup and record the sound from the code above and post it.
Is there a synthesizer or sound chip that uses I2C or SPI that Espruino could control?