

Musicboard
USB audio and SF2 MIDI synthesizer sound card
- Size
- 67.1 × 56.9 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 78
- Nets
- 123
- Pads
- 318
- Tracks, vias
- 567, 81
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 11 Jun 2020
- Updated
- 20 Jul 2020
Overview
Musicboard is an open-source printed circuit board by julbouln, from the julbouln/musicboard repository on GitHub. It is a 2-layer board of 67.1 × 56.9 mm with 78 parts on 123 nets, routed with 567 tracks and 81 vias.
Its parts include 36 capacitors, 19 resistors, 10 connectors, 4 ICs and 2 diodes. It belongs with the audio and music boards and the STM32 boards of this library.
README
READMEThis project only use a CODEC, a QuadSPI NOR-flash and a STM32F7 microcontroller to provide a complete MIDI + audio USB soundcard.
Continuation of https://github.com/julbouln/stm32f7discovery_midi_synth prototype. It now uses a memory and computing optimized version of https://github.com/schellingb/TinySoundFont and includes STM32 cubemx source code. A dedicated custom board is also provided even though STM32F746 discovery board is supported by the firmware.
Features:
- Composite USB audio, USB MIDI and USB mass storage
- Integrated SF2 MIDI syntheziser
- Easy SF2 soundfont customization with USB mass storage
- Mixed MIDI synthesis and raw audio
Custom board with minimal requirements:
- STM32F746VET6 LQFP100 320kb ram + 512kb flash
- S25FL256S 32mb nor flash
- WM8731 codec
Update SF2 font (Linux): When connected, Linux should show the Flash as mass storage: sd 6:0:0:0: [sdb] 8192 4096-byte logical blocks: (33.6 MB/32.0 MiB) sd 6:0:0:0: [sdb] Write Protect is off sd 6:0:0:0: [sdb] Mode Sense: 22 00 00 00 sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA sd 6:0:0:0: [sdb] Attached SCSI removable disk You just need to dd the sf2 file to the disk (can take several minutes):
dd if=yourfont.sf2 of=/dev/sdb bs=4096
Update SF2 font (balena Etcher) You can also update the SF2 using balena Etcher https://www.balena.io/etcher/. This program is intended for OS image, but you can use it for SF2:
- you will need to rename your extension from .sf2 to .bin so Etcher can accept the file
- Etcher will warn you that the image is not an OS, just hit continue and select SF2 ROM drive
LED should blink if the font is properly recognized.
Notes: Firmware tested with arm-none-eabi-gcc 9.2.1 20191025 SF2 fonts tested:
- TimGM6mb http://www.timbrechbill.com/saxguru/Timidity.php
- GeneralUser GS http://www.schristiancollins.com/generaluser.php (custom board only, 32mb font) Default make for STM32F746-DISCO board, use "make BOARD=MUSICBOARD" for custom board firmware.
TODO:
- bug: synthesis sometimes make a "click" noise
- feature: TinySoundFont does not fully implement SF2 (modulators)
- feature: Add MIDI IN/OUT uart interfaces
- feature: USB-MIDI to MIDI interface (add MIDI-IN and MIDI-OUT)
- feature: Audio IN
- feature: Add sysex for chorus & reverb control
Sources:
SF2:
USB audio with asynchronous feedback
- https://github.com/dragonman225/stm32f469-usbaudio
- https://github.com/ada-sound/X-CUBE-USB-AUDIO
- https://github.com/Lefucjusz/Lefucjusz-USB-DAC
USB composite:
Parts
78| Qty | Value | Footprint | References |
|---|---|---|---|
| 14 | 100nF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C3, C6, C7, C8, C10, C11, C12, C13, C18, C20, C22, C26, C29, C30 |
| 6 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C15, C19, C21, C23, C27, C28 |
| 4 | 10k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R1, R2, R5, R6 |
| 4 | 220pF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C31, C32, C35, C36 |
| 4 | 47k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R9, R11, R15, R16 |
| 4 | 5.6k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R7, R12, R13, R14 |
| 4 | MountingHole | MountingHole:MountingHole_2.7mm_M2.5 | H1, H2, H3, H4 |
| 3 | AudioJack3 | Connector_Audio:Jack_3.5mm_CUI_SJ1-3535NG_Horizontal | J2, J3, J4 |
| 3 | Conn_01x02_Female | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J5, J6, J10 |
| 2 | 100 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R8, R10 |
| 2 | 18pF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C1, C2 |
| 2 | 1k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R17, R19 |
| 2 | 1uF | Capacitor_SMD:C_Elec_4x5.4 | C24, C25 |
| 2 | 1uF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C9, C14 |
| 2 | 2.2uF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C4, C5 |
| 2 | 22 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R3, R4 |
| 2 | 220uF | Capacitor_SMD:C_Elec_6.3x5.4 | C33, C34 |
| 2 | 4.7uF | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C16, C17 |
| 2 | LED | LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D1, D2 |
| 1 | 0 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R18 |
| 1 | 25Mhz | Crystal:Crystal_SMD_5032-2Pin_5.0x3.2mm_HandSoldering | Y1 |
| 1 | Conn_01x04_Female | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J7 |
| 1 | Conn_01x04_Female | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J9 |
| 1 | Conn_01x06_Female | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J8 |
| 1 | F-BEAD | Inductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolder | L1 |
| 1 | MCP1825S | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U2 |
| 1 | S25FL256S | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U3 |
| 1 | STM32F745VETx | Package_QFP:LQFP-100_14x14mm_P0.5mm | U1 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_B3U-3000P | SW1 |
| 1 | USB_B_Mini | hardware:USB-mini-B-0548190519 | J1 |
| 1 | WM8731 | Package_SO:SSOP-28_5.3x10.2mm_P0.65mm | U4 |
Similar boards
- 2 layers57 × 75 mm

- 2 layers68.5 × 34.5 mm

TERES PCB5-KEYBOARD Rev.A
OLIMEX/DIY-LAPTOP
Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop
78 parts578Apache-2.0 - 2 layers66.4 × 48.1 mm

- 2 layers38.1 × 19 mm

- 2 layers100 × 50 mm

- 2 layers110.5 × 111.1 mm

Teensy eurorack breakout
newdigate/teensy-eurorack
Hardware Design: Eurorack shield for teensy 4.1 with 14 in / 16 out analog channels
78 parts259MIT - 2 layers65 × 56 mm

Keyboard whiz
CRImier/MyKiCad
My KiCad boards. Can't be bothered uploading individually anymore, so here you go.
78 parts253GPL-3.0 - 2 layers43.2 × 128.3 mm

Questions
How big is the Musicboard PCB?
It measures 67.1 × 56.9 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Musicboard use?
78 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Musicboard KiCad files?
From the julbouln/musicboard repository on GitHub, at the commit this page was made from: the board is hardware/musicboard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Musicboard design in my own project?
Its repository states no licence, so its author keeps all rights: ask julbouln before reusing the design.