Skip to the content
2 layers67.1 × 56.9 mmMusicboard, the printed circuit board in 3D

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

README

This 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:

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

USB composite:

Parts

78
QtyValueFootprintReferences
14100nFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC3, C6, C7, C8, C10, C11, C12, C13, C18, C20, C22, C26, C29, C30
610uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC15, C19, C21, C23, C27, C28
410kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR1, R2, R5, R6
4220pFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC31, C32, C35, C36
447kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR9, R11, R15, R16
45.6kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR7, R12, R13, R14
4MountingHoleMountingHole:MountingHole_2.7mm_M2.5H1, H2, H3, H4
3AudioJack3Connector_Audio:Jack_3.5mm_CUI_SJ1-3535NG_HorizontalJ2, J3, J4
3Conn_01x02_FemaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5, J6, J10
2100Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR8, R10
218pFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC1, C2
21kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR17, R19
21uFCapacitor_SMD:C_Elec_4x5.4C24, C25
21uFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC9, C14
22.2uFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC4, C5
222Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR3, R4
2220uFCapacitor_SMD:C_Elec_6.3x5.4C33, C34
24.7uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC16, C17
2LEDLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1, D2
10Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR18
125MhzCrystal:Crystal_SMD_5032-2Pin_5.0x3.2mm_HandSolderingY1
1Conn_01x04_FemaleConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ7
1Conn_01x04_FemaleConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ9
1Conn_01x06_FemaleConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ8
1F-BEADInductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolderL1
1MCP1825SPackage_TO_SOT_SMD:SOT-223-3_TabPin2U2
1S25FL256SPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU3
1STM32F745VETxPackage_QFP:LQFP-100_14x14mm_P0.5mmU1
1SW_PushButton_Switch_SMD:SW_SPST_B3U-3000PSW1
1USB_B_Minihardware:USB-mini-B-0548190519J1
1WM8731Package_SO:SSOP-28_5.3x10.2mm_P0.65mmU4

Similar boards

  • 2 layers57 × 75 mmTriple adapter, the printed circuit board in 3D

    Triple adapter

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    78 parts990GPL-3.0
  • 2 layers68.5 × 34.5 mmTERES PCB5-KEYBOARD Rev.A, the printed circuit board in 3D

    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 mmESP32, the printed circuit board in 3D

    ESP32

    Chrismettal/flipper-zero-backpacks

    Backpack-style addon boards for the Flipper Zero!

    78 parts456
  • 2 layers110.5 × 111.1 mmTeensy eurorack breakout, the printed circuit board in 3D

    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 mmKeyboard whiz, the printed circuit board in 3D

    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 mmXyab, the printed circuit board in 3D

    Xyab

    plinkysynth/plinky_public

    a public release of the plinky sw and hw

    78 parts227

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.