Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMYboard - Tulip without a screen to do music stuff in Python #309

Open
bwhitman opened this issue Aug 9, 2024 · 5 comments
Open

AMYboard - Tulip without a screen to do music stuff in Python #309

bwhitman opened this issue Aug 9, 2024 · 5 comments
Labels
feature feature requests help wanted Extra attention is needed roadmap Things in our roadmap (proposed or actual)

Comments

@bwhitman
Copy link
Collaborator

bwhitman commented Aug 9, 2024

We've had some chat about a "headless" Tulip: #287 #115

And working with people trying AMY on Arduino on the discord, i'm realizing how complex it is to do things like have a MIDI input control AMY in C, especially patches, voices, parameters. And we've already done a lot of work in Tulip covering up that complexity in Python, with our midi.py / voices.py etc polyphonic / multimbral Synth units.

So why not start building a version of Tulip without the display core, and somehow run-time addressable pins for I2S, I2C, MIDI? And the board boots into a UART with a Python REPL, just plain Micropython, but with the Tulip modules baked in and AMY running. That way, people could even port their Tulip creations to a headless synth, even an Alles board. Or a RP2040, or a RP2350, or a Teensy, or a Daisy, or etc etc.

This is in research stage, we'll have to figure out a lot to get this really going, but I'd love any feedback others have on this idea, and especially boards you'd like to be supported.

@bwhitman bwhitman added help wanted Extra attention is needed feature feature requests labels Aug 9, 2024
@znmeb
Copy link
Contributor

znmeb commented Aug 9, 2024

Boards:

  • Raspberry Pi Pico for sure, including the new RP2350 boards. Anything with an RP2040 should work.
  • ESP32-S3 and ESP32-C6
  • Rebel Technology OWL 2 and 3
  • Electro-Smith Daisy
  • Teensy 4.1

There are quite a few Eurorack modules with a USB port, a micro-controller and knobs / faders / analog I/O, etc. Allen Synthesis EuroPi, Electro-Smith Daisy Patch and patch.init(), Befaco Lich. Rebel Technology OWL 2 and OWL 3 devices exist in desktop, Eurorack and "stompbox" hardware configurations.

Connectivity options:

  • USB MIDI and audio
  • TRS MIDI
  • Analog audio and control voltage
  • USB and UART serial

I have the Electo-Smith Daisy Pod, Daisy Patch and patch.init, Befraco Lich (uses OWL 2), and Allen Synthesis EuroPi.

@bwhitman bwhitman changed the title Tulip headless firmware builds Someone with a microcontroller can run Tulip without a screen to do music stuff in Python Aug 27, 2024
@bwhitman bwhitman added the roadmap Things in our roadmap (proposed or actual) label Aug 29, 2024
@bwhitman bwhitman changed the title Someone with a microcontroller can run Tulip without a screen to do music stuff in Python Someone with a microcontroller could run Tulip without a screen to do music stuff in Python Aug 30, 2024
@bwhitman bwhitman changed the title Someone with a microcontroller could run Tulip without a screen to do music stuff in Python AMYboard - Tulip without a screen to do music stuff in Python Feb 4, 2025
@bwhitman
Copy link
Collaborator Author

bwhitman commented Feb 4, 2025

This is underway, and called AMYboard. We're hoping to get our first prototypes in the next month or so.

Features

  • stereo audio in and out
  • 2 CV in and 2 CV out
  • SPDIF audio in and out
  • MIDI in and out
  • USB gadget MIDI
  • Serial USB
  • I2C host for peripherals like knobs, screens
  • I2C follower for connecting to a e.g. Tulip or M5Stack cardKB -- AMY can be controlled over I2C
  • Can be powered by 12V modular PSU, 5V USB or 3.3V I2C host (like a Tulip)
  • Audio in/out is 10vpp or 1vpp switchable, from a DIP switch
  • Runs Micropython / Tulip, with support for managing synths, polyphony, CCs, etc
  • We'll supply a bare Arduino sketch / library as well for those that want to use it
  • (Hopefully) cheap - and comes with 10 3.5mm jacks and in a 10HP sized PCB for modular

Image

@znmeb
Copy link
Contributor

znmeb commented Feb 4, 2025

Still ESP32-S3 or some other CPU? I'm kinda hoping for more horsepower than an ESP32-S3.

@dpwe
Copy link
Collaborator

dpwe commented Feb 4, 2025

Yes, how long until the ESP32-P4 is available for this kind of thing?

@bwhitman
Copy link
Collaborator Author

bwhitman commented Feb 4, 2025

This in-design AMYboard will be the same chip as Tulip -- the ESP32-S3. However, it should support more polyphony and RAM than Tulip as it doesn't need to run all the Tulip things. If you're bound by something you don't think an ESP32-S3 @ 240Mhz dual core + 8MB can do, let us know so we can help figure it out. We're able to squeeze quite a lot of synth / effects power out of this chip and i don't currently see "horesepower" as a blocker for us. We're trying to balance cost with power for people that want to build 100s of synths/effects units out of AMYboards.

I'm excited about the P4, it clocked roughly double the polyphony as the S3 in early tests. But it's not yet available for manufacturers for more than a few parts for testing. It doesn't have any WiFi on package like the S3, so would require a separate C6 or similar ESP chip as well. The bare P4 chip looks like it's also going to be about double the cost of a S3 at the same quantities. The tooling is also quite in flux with a lot of scary errata still. I would imagine a future AMYboard or Tulip in 2026 could have one, maybe?

Re: other chips -- something like a cortex M7 with external RAM could be great with AMY, but will increase the cost considerably -- the very similar Daisy Pod/Seed is $71 -- and would require a lot of new board design / tooling work on our end. The RP2530 is nice but really is about the same clocks/capacity as the ESP32S3 for AMY and would need external RAM and WiFi as well.

That's "our" current thoughts on the MCUs for synth scene in early 2025. If anyone's got something I missed, let's chat about it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature feature requests help wanted Extra attention is needed roadmap Things in our roadmap (proposed or actual)
Projects
Status: Meta
Development

No branches or pull requests

3 participants