Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/williamd1k0/m5-synth
A simple project I created to study some of the audio capabilities of the M5Stack devices.
https://github.com/williamd1k0/m5-synth
ble m5cardputer m5stack m5stickcplus m5stickcplus2 midi
Last synced: 4 months ago
JSON representation
A simple project I created to study some of the audio capabilities of the M5Stack devices.
- Host: GitHub
- URL: https://github.com/williamd1k0/m5-synth
- Owner: williamd1k0
- License: other
- Created: 2024-08-05T01:51:16.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-10T04:35:52.000Z (6 months ago)
- Last Synced: 2024-08-11T03:23:41.878Z (6 months ago)
- Topics: ble, m5cardputer, m5stack, m5stickcplus, m5stickcplus2, midi
- Language: C++
- Homepage:
- Size: 483 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# M5 Synth
This is a simple project I created to study some of the audio capabilities of the M5Stack devices.
## Synth Scales
> Targeted/tested device: **M5Cardputer**.
>
>`Speaker` and `Keyboard` are required.The very first project I created for the M5Cardputer.
It's a simple demo for playing some notes (using the `Speaker`) of a particular musical scale.- Notes can be played by pressing the 1~8 number keys on the keyboard.
- The **Key** can be changed by pressing ◂ or ▸ on the keyboard.
- Reset to the default Key (C4) by pressing esc on the keyboard.
- Major and Minor scales can be toggled by pressing M on the keyboard.
- Volume can be adjusted by pressing ▴ or ▾ on the keyboard.![synth-scales](synth-scales.jpg)
## Synth Midi
> Targeted/tested device: **M5Cardputer** and **M5StickC Plus 2** (may work with **M5StickC Plus**, but has not been tested).
>
>`Speaker` (`Buzzer` for the M5StickC Plus 2), `BLE` and a Bluetooth Midi Controller required.
>
> External lib required: https://github.com/max22-/ESP32-BLE-MIDIAfter creating the previous demo, I tried to create something similar but with Midi support.
It's still just a simple demo for playing some notes (and chords), but now with more flexibility.- After booting, the program will scan for Midi controllers and automatically connect to the first one it finds.
- Press the BtnA button to toggle between sine and square wave instruments.
- Press the BtnB button (M5StickC only) to flip the screen.
- Only note on/off and volume messages have been implemented.![synth-midi](synth-midi.jpg)
![synth-midi](synth-midi-stickc.jpg)