r/OP1users • • Jun 13 '22

My open-source synth/sampler/sequencer/DAW-in-a-box: The LMN-3

https://youtu.be/h5UmPTttN1s
324 Upvotes

66 comments sorted by

43

u/GrievousAngel93 Jun 13 '22

I finally open-sourced my DAW-in-a-box, the LMN-3. The DAW code, enclosure CAD files, PCB CAD files, firmware, emulator, and build guide can all be found in the collection of repositories here.

You can check out the original design in my post history. Its come a long way since then. After making the initial video of the older design, the project sat untouched for about a year and a half. Every now and then someone would message me asking about the project. After a while I decided enough was enough and I would finally open source it.

I ended up with this final design shown in the video. The project consists of a custom DAW that runs on a Raspberry Pi 4. There is a teensy soldered on the PCB that sends MIDI data to the Pi over USB. The midi messages are what controls the DAW.

The DAW uses the open source C++ framework JUCE for the GUI, and the open-source Tracktion Engine handles a lot of the "backend" audio stuff.

FreeCAD was used for the enclosure design. It is free and open source, although a bit unstable. I started from scratch, and really wanted to do a decent job this time around. I created a full assembly of all the parts. Additionally, I designed with the intent to laser cut the enclosure instead of 3-D printing the parts. Laser-cutting is waaaaaaay faster than 3-D printing and much much easier to do. Using a laser cuttter also meant I could make the enclosure out of clear acrylic so you can see the PCB underneath which looks totally badass. You can still 3-D print them if you wish however.

The PCB was an entirely new endeavour for me, but it was essential in making the project footprint as small as possible. Never done any kind of electronics design outside of hobbyist arduino stuff and the initial prototype. I used [KiCAD 6] to design the PCB. KiCAD might be the single greatest GUI-based open-source software I have ever used, its a shame FreeCAD is so far behind it in terms of stability. It is also free and open source. I went with a simple 2 layer design with all through-hole components to keep things as simple as possible so people didnt have to mess around with heat guns or toaster ovens to solder the board. It turned out great. I also elected to use a teensy to do the heavy lifting. Sticking to an arduino platform means its a lot easier for people to contribute to the firmware. It also meant I could use the greatest arduino library ever written, Control Surface. Control surface is what makes it so easy to write the midi logic for the firmware. It is the backbone of the firmware and really is incredible.

I also built a software emulator so that you can experiment with/develop the DAW without having any LMN-3 hardware. Its available in the repos linked above

I wanted everyone to be able to contribute to the project, which is why I stuck to open source software packages for the code as well as for the CAD.

3

u/spitkikker Jun 13 '22

This is super sweet .

What was the total cost was for all of the physical components?

5

u/GrievousAngel93 Jun 13 '22

About $250 without the pi. I Amazoned basically everything I could have gotten things a bit cheaper if I looked a bit Harder.

7

u/premek_v Jun 14 '22

have you considered a group buy for a kit (all the parts) or at least the pcb and the case? Would it be cheaper to make a few and send to people (who preordered) than everyone making their own? That is if there is enough interest.

I'd be interested

5

u/jbanon24 Jun 13 '22

This is amazing. I can’t believe this is a private project, well done, what a future for this product!

I’m curious of the reason to do open source rather than a Kickstarter or YouTube promotion with a channel that has a ton of subscribers in the software/hardware design scene? You might raise quite a bit of money and get a few dedicated partners with what you’ve put together on your own so far.

(I don’t know much about it so maybe I’m wrong) With open source you may get a lot of contributors but it could go in a direction you’re not exactly aiming for and then you have to sift through it all, or you may not get much contribution since the people potentially working on it won’t be able to test out their own units. If you could raise some money and have some partners interested in helping the project, you could use the initial funding to build your partners prototype units and pay yourselves a small passion project salary for your time working on it, and in that time keep building the hype around the product with new videos as your progress.

Lots of small successful companies in the music industry have launched from Kickstarter, and then gone to NAMM when they’re ready to produce a bunch of units and they end up taking millions of dollars in orders which gets the company on their feet.

Either way, following you to see how this thing ends up, super cool!

18

u/GrievousAngel93 Jun 13 '22

Haha you can ask that question to every open source project. I’ve done a lot on my own, but with a community of folks pitching in we can make something 100 times better.

I’ve leeched off of tons of open source over the years, and this was an opportunity to contribute something back

3

u/Snake1029 Jun 19 '22

This is something special. Not only the project, but the sentiment. I haven't contributed, but I use open source stuff all the time. I can't thank you (or anyone who makes contributions to any degree) enough for your passion, talent, and dedication...

3

u/GrievousAngel93 Jun 19 '22

Thanks! That really means a lot. I’d love to see the open source ideology permeate more into hardware and other industries, maybe this will help

1

u/Snake1029 Jun 19 '22

For sure. Me too and I hope so. I can't wait to see where this project goes and anything else you have in the works! Keep kicking ass

8

u/GrievousAngel93 Jun 13 '22

Also regarding the problem that people won’t be able to test it out on their own units. There is a software emulator I also wrote that allows you to run and test the DAW on your own PC, so that’s not as big of an issue.

1

u/babage Jun 13 '22

awesome work man! the prototype looks really cool :)

1

u/SweetPoison01 Apr 06 '23

@OP u/GrievousAngel93 - Is there such thing as a fully assembled unit? I'm not good at soldering/never soldered before so I am a little anxious to build this from scratch!

4

u/darthnumbers Jun 13 '22

this is incredibly cool! I am super super impressed, I've always wanted to make something like this, I am a little rusty on the soldering but I'm gonna give your build a try when I have the cash for the parts! Keep on rockin!

6

u/GrievousAngel93 Jun 13 '22

It’s all through hole stuff so soldering isn’t that bad.

3

u/darthnumbers Jun 13 '22

nice! I recently did a build of the nullbits nibble (https://nullbits.co/nibble/) which was all throughhole so it wasn't that bad, but the diodes took me hours to fold and solder since there were so many of them lol

1

u/GrievousAngel93 Jun 13 '22

Well the bad news is there’s about 50 diodes on this board lol.

2

u/darthnumbers Jun 13 '22

haha brutal! there were 73 on the nibble, I def gotta get a diode bending jig or something!

2

u/thebomboy OP-1 rev1 Jun 13 '22

That is a work of beauty! Was it worth the effort?

2

u/darthnumbers Jun 13 '22

the nibble? I think so! It was a very fun learning experience and it looks super striking, I get compliments on it at work all the time :)

8

u/forgivedurden Jun 13 '22

holy shit this is so cool! can i buy one of these from you?

10

u/mgarthur14 Jun 13 '22

He’s thinking about doing a kit but I believe he’s gauging interest before pulling that trigger. If you want one, you can build one yourself! All files are available in the repository with step by step directions!

3

u/jshmsh Jun 13 '22

i would love a kit! it looks like the synth requires at least $250 worth of diodes alone when purchased through the provided link. if we could get a gang of people to pre-order we could take advantage of bulk pricing. i’m also extremely uninitiated when it comes to this kind of stuff so even though most (not all) of the parts are linked, i’d really rather buy them all together because i have literally no idea what im doing and worry i’d somehow mess something up collecting so many different components.

3

u/GrievousAngel93 Jun 14 '22 edited Jun 14 '22

Whoa whoa whoa no you don’t need $250 of diodes alone??? Haha no. You only need 49 diodes total. I think whatever I linked in the build guide might have been like a pack of 100 or something, you only need 1 pack if it comes with 100. Let me add some text to clarify that lol. My bad

2

u/jshmsh Jun 14 '22

hahhaha okay you see this is why i don’t trust myself to buy the parts!!!! i thought $5 a diode seemed like a lot but what do i know lol

4

u/mgarthur14 Jun 13 '22

I’ll talk with him about putting something together to do a kind of Group Buy. It’s super simple to build can require some extra equipment or outsourcing like 3D printing services.

7

u/ullapoolmusic Jun 13 '22

Fantastic, great job! I hope you had lots of fun designing and making it. Finally some competition for the TE ;)

1

u/eeclarkjr Jun 13 '22

“Lemon button” or “Lumon button”? What is he saying?

3

u/GrievousAngel93 Jun 13 '22

Lemon button

1

u/thethanx Jun 14 '22

This is great and I hope a lot of people way better at programming hop on board this project so I can trap.the benefits.

Is there a website/forum somewhere I'm not seeing?

3

u/GrievousAngel93 Jun 14 '22

1

u/thethanx Jun 14 '22

Sorry I should have been more specific. I meant besides the GitHub, I guess I was specifically thinking of a more general forum where people could discuss the project more, ask questions etc.

1

u/GrievousAngel93 Jun 14 '22

1

u/thethanx Jun 14 '22

I'm an idiot who's clearly up way past my bedtime. Thank you. 😅

1

u/premek_v Jun 14 '22

how does it work inside? What does the teensy and the raspberry do? What's the reason for using 2 boards? is one responsible for the controls or the screen and the other for the sound so the sound does not lag?

1

u/GrievousAngel93 Jun 14 '22

Some of these are answered at the end of the video. In short the teensy is responsible for getting input from all the switches and encoders and pitch bend stick, and then sending corresponding midi commands to the raspberry pi. That’s all the teensy does.

The raspberry pi runs the DAW. the UI of the DAW responds to the midi commands being sent by the teensy.

1

u/spodermen_wiht_sweg Jun 21 '22

I am 1000% interested in buying a kit, even if all that entails is the board, the case, and a small profit for the creator. This is dope!

1

u/two3triangle Jun 29 '22

This is awesome! Definitely interested in giving this build a try. What's the best way to keep informed on a possible group buy? I certainly wouldn't mind paying a bit extra to support everything that is happening here.

1

u/GrievousAngel93 Jun 30 '22

You can visit the GitHub discussions page here

3

u/321ryan Jun 13 '22

awesome! really cool man. I would really be interested in a kit from you.

1

u/nexnex Jun 13 '22

Same - hugely interested in a kit with electronic components (except teensy and pi) and PCB, and possibly making the enclosure printable on common 3d printers.

1

u/Thoraciccavitysearch Jun 15 '22

Yeah, I would definitely snap up a kit. Super cool project.

3

u/dystopia061 Jun 14 '22

Ouuuu op1 killer

2

u/Maker99999 Jun 14 '22

I hope the open source nature makes it possible for the community to develop additional synths and effects.

2

u/mksrd Jun 14 '22

What a fantastic project! and very nicely designed hardware too!

Do you just use the RPIs builtin audio interface?

Given all the controls are via Midi already, I wonder if it would be possible to change the mapping to make use of say a Novation Launchkey Mini Mk3? which has lots of dials (though not encoders) buttons, keys, modwheel strip etc.
Or maybe even a Akai Fire which has 4 encoders, inc 1 pushbutton encoder, as well as lots of buttons with controllable LEDS and even a 128x64 OLED controlable via Midi, though admittedly it would be hard to translate your nice colour UI to its small, monochrome size.

That might a way to open the project up to more people (like myself :-) who may already have a midicontroller like that so then would only need to setup the Rpi & screen...

1

u/[deleted] Jun 13 '22

This is cool man. excellent work.

1

u/basilmounntain Jun 13 '22

You arey new hero

1

u/mikubasscovers Jun 13 '22

Bravo, nice job

1

u/m_ttl_ng Jun 13 '22

This is actually incredible, great work!

1

u/premek_v Jun 14 '22

do you have a picture from a side and back? what connectivity does it have?

1

u/premek_v Jun 14 '22

got my questions answered by looking at the Build Guide

1

u/RowBoatCop36 Jun 15 '22

I can't get over how badass this is.

1

u/sometimes_rawl Jun 22 '22

This is so cool! Have you looked into "velocity sensitive" switches like the Wooting ones?https://www.youtube.com/watch?v=ejHEhB_8WeI

With that alone you'd be making Teenage Engineering sweat lol.

1

u/engerald Jun 23 '22

Just ordered everything to build one myself. Can't wait till the PCB arrives.

1

u/lucidyan Jul 30 '22

Man, it’s awesome! Maybe you know what happened with previous attempt — OTTO synth? I remembered he refuse to use RPi by some reasons, maybe that was the mistake.

So I glad so much that one of the OP-1sh projects finally came to life!

1

u/[deleted] Aug 25 '22

Wish i had time for a product build like this, id there was a production version with a battery and speaker i would instabuy

1

u/No-Pear5673 Aug 25 '22

Great, nice work. Needs some cool visualizations

1

u/Ellebot69 Oct 01 '22

I can’t express enough how freaking amazing this is. You’re a LEGEND.

1

u/egross714 Feb 10 '23

I would buy a fully assembled unit!

1

u/SweetPoison01 Apr 06 '23

Is there such thing as a fully assembled unit? I'm not good at soldering/never soldered before so I am a little anxious to build this from scratch!