On the one hand, I do projects like to learn new things. On the other hand, that means I spend a l o t of time on sidequests.

Finally learning so my [1] concept has a fighting chance to work right in (still not willing to go to C for this...)

[1]There's surely already a name for this pretty obvious concept, but I haven't come across it yet. "chordal synth" might be more descriptive but also less accurate, at least how I'm doing it.

#muvco #python #asyncio #multisynth #micropython #synth

Last updated 2 years ago

Was laying out the for and it started to seem too pedestrian.

Went back and realized I had been using the wrong and it does indeed do exactly what I originally wanted.

Now making a waveform generator instead of using the dds . Much more flexible in shape and can be semi-polysynth ("chordal "?)

Can now generate a perfect 5th in 260us! In mostly-unoptimized ! Just dyads still--need to generalize to larger chords + diff shapes.

#kicad #schematic #muvco #pcm5102 #ad9833 #synth #synthdiy #micropython

Last updated 2 years ago

Welp. I dunno.

Low pass filter didn't work. Not 100% clear why, but I guess click isn't so far above tri or square after all.

Can't set the amplitude from here.

Using reset or freq = 0 to mute didn't work. Not 100% clear why.

Trying to ramp the phase worked fine, but only at low modulation frequencies. The process is too slow at high ones.

Maybe I give up on FM. 😓

#synthdiy #muvco

Last updated 2 years ago

Ugh, there's a problem with the through-zero linear fm "just flip the phase 180" idea for .

works with a phase accumulator. Meaning it just counts up in a ramp at a rate given by the freq. Then it adds the phase register.

When I flip to the other phase register, it's a discontinuous jump = an audio pop.

Can't count backwards. Don't know where I am in the phase (I think) so I can't just add 180 to that (the way)

Maybe just a low-pass to drop the pop?

#muvco #ad9833 #math #Filter #synthdiy

Last updated 2 years ago

Also, it's a combination project that involves a lot of the same concepts I do actually use every day at work (obvs, since I'll be an engineering user) but also at home on the (in a microscopically tiny way).

So it's just really fun that we are all playing together (except it's just me at home watching slides on Teams and typing chat comments to my work-spouse).

#hardware #software #muvco

Last updated 2 years ago

For some dimwitted reason I didn't put my FM controls on the newer prototype breadboards when I reworked the input/output chains.

I think I'm ready to implement through-zero linear FM, but I don't have a hardware interface to attach it to!

Gotta figure out another way to test. Or rebuild Yet Again?

And if I'm doing that, should I add an exponential FM switch? The software side would be trivial to handle and the hardware just takes an extra toggle. Maybe even just use a pushpot for lvl

#muvco

Last updated 2 years ago

I threw an FM knob on the just b/c I thought I oughtta. Getting to that part now, it looks like I'd prefer linear FM with "through-zero"

Conceptually, that's really simple to add purely in software with the + b/c it has two phase registers. Init them to 0 and 180 and flip when the frequency sign toggles.

Hopefully takes just an hour or two today. Then I could hook the VCO into existing VCF/VCA modules and retry Bach a little more musically.

#muvco #esp32 #ad9833 #eurorack

Last updated 2 years ago

OKILY DOKILY!

is finally working well enough in the that I can tell how it sounds. And that sound is: Like a video game.

Which makes sense, since this is a bare squarewave (barewave) quantized to 1/16th notes and no variation in velocity.

I'm not making the module yet, so beautiful will have to wait. I can proceed on whatever-the-fuck I was doing before I started this

diode.zone/w/mgUy2iet3UL3drs6V

#midi #micropython #synthdiy #muvco #midi2cv #music #SideQuest

Last updated 2 years ago

So the sounds pretty good on the now. It sounds fine on either vco.

But if I play two *different* tracks (from the same song, I mean) I get a timing problem (haven't timed it, but less than a second). Playing the same track on both vcos simul sounds fine. (using )

Really seems like I must be parsing the midi consistently wrong, but I don't see how.

#midi #muvco #uasynchio #micropython #python #programming #synthdiy

Last updated 2 years ago

Spent most of the evening watching clips and then only when I was supposed to be heading up to bed did I even begin to look at this problem ().

Obviously narrowing the problem down as far as possible I found it within about 10 seconds. I didn't have one of the output audio jacks grounded.

Tomorrow's task: Figure out how to do s on on the ( ). Or maybe some other easy way to play two tracks at once without a huge chain

#taskmaster #adhd #thread #micropython #esp32 #microcontroller #synthdiy #muvco

Last updated 2 years ago

The tuning and buzzing on the left me dejected. I've recovered.

The processing chain is too long to debug and the midi2cv stand-in isn't what I want in the end anyway.

I should read the directly on the and go directly to a frequency. That will debug just the output .

When/if that's clean, map the midi to a simulated voltage input to check math and some of the input noise. Later feed it out via DAC to the real ADC.

Painful is ineffective.

#muvco #midi #esp32 #microcontroller #audio #debugging

Last updated 2 years ago

milestone.

Sounds came out that were recognizably music!

There's a terrible buzz in one voice (wiring problem?) and a slight buzz in the other (mixed grounds?). and the tuning is truly awful, but that might be my hacked-together -to-cv code/hardware.

I'll mess with it for a bit and see if a video is warranted.

#muvco #midi #synthdiy #eurorack #microcontroller #micropython

Last updated 2 years ago

Two voices on the VCO combined in the mixer I also designed and had printed to a .

Again, keep in mind that the amazing thing here is that the bear dances at all.

diode.zone/w/gtpiPg4rvzm2AQaNG

#pcb #synthdiy #electronics #microcontroller #micropython #esp32 #python #muvco

Last updated 2 years ago

Scratch "assemble mixer pcb" off the list--it works as designed! Which isn't much, but I'm a n00b!

Also scratch "two voices" off the list--they work as intended! Which isn't amazing (only square really makes an impact...?), but I'm a n00b!

Also also scratch off the list--I did a bunch of problems! I got semi-stuck, but I'm still a n00b!

Video of some of this later.

(what tags are my geomalg buds hanging out...at?)

#muvco #geometricalgebra #bivector #math #synthdiy #esp32 #micropython #python

Last updated 2 years ago

Well, did it again. Right now my Interest List is:

-
- assemble mixer pcb that came back last week
- read files
- two voices
- think about low-part-count implementation idea for
- work on problem sets (from good-so-far book: geometricalgebra.org/)
- take birthday present manim course (manim.community/, but more than basics)
- read Empire of the and

That on top of a real job and a

#adhd #muvco #midi #polysynth #synthdiy #geometricalgebra #ants #DawnOfEverything #honeydew

Last updated 3 years ago

is tuned. already had a with a to cv converter I wrote/built so hooked it up for a listen.

Next hardware step: A second voice on the same

Next software step: Reading midi file to play existing multi-part music.

diode.zone/w/fqZKqbD4wY6kgPXkS

#muvco #raspberrypi #python #midi #esp32 #synthdiy #micropython

Last updated 3 years ago

update. Clamped the input with some zeners and tweaked the output stage to max at a safe 5Vpp.

Then tuning.

As close as scope shows, the V/octave is accurate over -5 to +4V. The very top end has a problem probably related to poor ADC. Maybe rescale to avoid?

I can cleanly set the base freq across 12 octaves. For LFO use, this goes from ~1/4Hz to ~1.5kHz.

Pretty good. Maybe next pipe it through the rest of the (n00b-level) rack and listen.

#muvco #eurorack #synthdiy #esp32

Last updated 3 years ago

module. Clamped the input with some zeners and tweaked the output stage to max at a safe 5Vpp.

Then tuning.

As close as scope shows, the V/octave input is accurate over -5 to +4+V. The very top end has a problem probably related to poor ADC. Maybe rescale to avoid?

I can cleanly set the base freq across 12 octaves. For LFO use, this goes from ~1/4Hz to ~1.5kHz.

Pretty good. Maybe next pipe it through the rest of the (n00b-level) rack and listen.

#muvco #eurorack #synthdiy #esp32

Last updated 3 years ago

Fixed ramping on () by eliminating high-pass input on CV. Had a mess on the front end and now have a theoretically correct and practically simple setup

Now to fix output--still a mess of ideas. One problem is it outputs <1V for sine and triangle but 5V for square. Fortunately you can't really clip a square, so I can slam everything to 12V and then scale down

One opamp to scale and bias, another to reinvert and unslam...?

#synthdiy #microcontroller #micropython #python #muvco #ad9833

Last updated 3 years ago