| Author |
Message |
passepartoutduo
Joined: Nov 16, 2025 Posts: 6 Location: italy
|
Posted: Sun Nov 16, 2025 12:40 pm Post subject:
Browser Based Lunetta - State Machine |
 |
|
Hi everyone!
It's my first post here - but Lunetta and this forum has been a big inspiration to me! A couple years back I put together a little CMOS synth with a bunch of logic circuits:
Since then, I've made a synth you can play in your browser called State Machine - it's a patching environment where the modules mainly emulate CMOS 4000 series chips.
Feel welcome to check it out here: https://passepartoutduo.com/state-machine
Let me know what you think - if there are bugs, a module you think should be included, etc. please tell me about it!
You can click the info icon to get some relevant info about the module, and also a mention of the analogous hardware - so most things patched up here could be easily made in hardware too.
You can also check out example patches in the file browser
 |
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24499 Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320
|
Posted: Sun Nov 16, 2025 12:46 pm Post subject:
|
 |
|
Oh, cool, nice idea, and
I'll mark this post as unread - to check things out later - maybe to get some build ideas myself too  _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
|
Back to top
|
|
 |
Cynosure
Site Admin

Joined: Dec 11, 2010 Posts: 1025 Location: Toronto, Ontario - Canada
Audio files: 82
|
Posted: Mon Nov 17, 2025 9:45 am Post subject:
|
 |
|
I love this! Thank you so much for sharing it. _________________ JacobWatters.com |
|
|
Back to top
|
|
 |
PHOBoS

Joined: Jan 14, 2010 Posts: 5881 Location: Moon Base
Audio files: 709
|
Posted: Mon Nov 17, 2025 11:07 am Post subject:
|
 |
|
very nice work!
and now that I found night mode (I see it's a lightbulb/moon combo, and not an enlightened duck) I can actually read it,
though my monitor is a bit too small for this kind of stuff.
as for missing modules; a euclidean generator is always fun and a BCD to 7-segment decoder can also be quite useful,
you could even add an 'LED display' to it. _________________ "My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube |
|
|
Back to top
|
|
 |
passepartoutduo
Joined: Nov 16, 2025 Posts: 6 Location: italy
|
Posted: Mon Nov 17, 2025 11:40 am Post subject:
|
 |
|
Thanks so much for checking it out!
Yes a 7-segment decoder and display would be great! I'll give it a go sometime soon
I think the euclidean generator is the type of thing that you could put together with existing modules and save as a snippet (Ring counters, binary counters + some logic should get you pretty close!)
| PHOBoS wrote: | very nice work!
and now that I found night mode (I see it's a lightbulb/moon combo, and not an enlightened duck) I can actually read it,
though my monitor is a bit too small for this kind of stuff.
as for missing modules; a euclidean generator is always fun and a BCD to 7-segment decoder can also be quite useful,
you could even add an 'LED display' to it. |
|
|
|
Back to top
|
|
 |
Cynosure
Site Admin

Joined: Dec 11, 2010 Posts: 1025 Location: Toronto, Ontario - Canada
Audio files: 82
|
Posted: Mon Nov 17, 2025 12:43 pm Post subject:
|
 |
|
What about pots that you can use as voltage dividers or for volume control? Then you could create a sequencer.
Maybe a filter too - even if it's just 6dB/octave. It would help tone down the bright square waves. _________________ JacobWatters.com |
|
|
Back to top
|
|
 |
passepartoutduo
Joined: Nov 16, 2025 Posts: 6 Location: italy
|
Posted: Mon Nov 17, 2025 1:00 pm Post subject:
|
 |
|
Yeah! So regarding the volume + filters: basically I decided early on that I want to keep it really 'pure binary' in the sense that the output is always going to be 0s and 1s - but actually there is still some volume control and filters.
If you go into performance mode (knob icon in the top right) you'll have access to the oscillators and buttons of your patch in a big interface (you can assign different ones), and also a global filter and delay effect, just to give some space and mellow out the sound if desired. You can keep the filters and delay as you patch if the 'fx link' toggle is on (top right in performance mode).
You have global volume, not per channel, if you hover or long tap over the audio icon.
When it comes to sequencing, it's just a slightly different idea, instead of sequencing via CV, the way to achieve a basic 8 step sequencer is to patch 8 oscillators into a multiplexer's inputs, and count through it with a binary counter for ordered sequencer, or whatever other logic for more complicated sequences.
Hope that helps and you can achieve what you're looking for! Thanks for checking it out
Happy to send over an example patch if it helps!
| Cynosure wrote: | What about pots that you can use as voltage dividers or for volume control? Then you could create a sequencer.
Maybe a filter too - even if it's just 6dB/octave. It would help tone down the bright square waves. |
|
|
|
Back to top
|
|
 |
Cynosure
Site Admin

Joined: Dec 11, 2010 Posts: 1025 Location: Toronto, Ontario - Canada
Audio files: 82
|
Posted: Mon Nov 17, 2025 1:57 pm Post subject:
|
 |
|
| passepartoutduo wrote: | | If you go into performance mode (knob icon in the top right) you'll have access to the oscillators and buttons of your patch in a big interface |
Awesome! Thanks. I missed that. _________________ JacobWatters.com |
|
|
Back to top
|
|
 |
passepartoutduo
Joined: Nov 16, 2025 Posts: 6 Location: italy
|
Posted: Tue Nov 18, 2025 12:09 am Post subject:
|
 |
|
I had a go at adding the 7-segment display and decoder - it's pretty fun! It should be live on the site if you wanna try it out -
| PHOBoS wrote: | very nice work!
and now that I found night mode (I see it's a lightbulb/moon combo, and not an enlightened duck) I can actually read it,
though my monitor is a bit too small for this kind of stuff.
as for missing modules; a euclidean generator is always fun and a BCD to 7-segment decoder can also be quite useful,
you could even add an 'LED display' to it. |
|
|
|
Back to top
|
|
 |
PHOBoS

Joined: Jan 14, 2010 Posts: 5881 Location: Moon Base
Audio files: 709
|
|
|
Back to top
|
|
 |
passepartoutduo
Joined: Nov 16, 2025 Posts: 6 Location: italy
|
Posted: Tue Nov 18, 2025 9:19 am Post subject:
|
 |
|
Thanks! I was thinking about it - I want to make sure there's always some hardware to back it up, so it's just copying the operation of a CD4511... But I agree that it's a bit silly not to just have A-F after.
| PHOBoS wrote: | works perfect and looks very nice too
I did notice it only counts from 0..9, you could add A..F (hex) to it so there are always some outputs active. |
|
|
|
Back to top
|
|
 |
passepartoutduo
Joined: Nov 16, 2025 Posts: 6 Location: italy
|
Posted: Tue Nov 18, 2025 10:53 am Post subject:
|
 |
|
| Added the hex too, why not! Just note that it wouldn't work like that on a CD4511 |
|
|
Back to top
|
|
 |
Ruebezahl

Joined: Mar 09, 2014 Posts: 112 Location: Taiwan
Audio files: 4
|
|
|
Back to top
|
|
 |
|