Designing a DIY synth arpeggiator with logic gates: Part 1

Поділитися
Вставка
  • Опубліковано 15 кві 2020
  • Support the channel: / moritzklein
    A detailed look at how to build a scaled CV arpeggiator with a multiplying digital-to-analog converter and a few logic gates. It can be used with any volt/octave analog synthesizer. In this first part, I'm laying out the basics of digital to analog conversion.
    If you want to follow along and can't find the TLC7524, the AD7524 is a good replacement that might be easier to find.
    Here's a rough bill of materials:
    1x TLC7524/AD7524
    1x TL074 (TL072 would also suffice I guess)
    1x 4040 Binary Counter
    4x LED
    4x 2k Resistor (exact value doesn't matter as long as it's not too low, just to protect the LEDs)
    2x Audio sockets (big or small, doesn't matter, up to preference)
    For the voltage divider:
    2x 100k Resistor
    1x 27k Resistor
    1x 10k precision trim pot
    (I know these values differ from what I have in the video, but I guess picking higher resistor values wastes less current)
    Any questions - feel free to ask them in the comments. I'm happy to help.
  • Наука та технологія

КОМЕНТАРІ • 114

  • @jadeharleyirl
    @jadeharleyirl 3 роки тому +64

    this is a way more chilled out version of LOOK MUM NO COMPUTER.. and I love both of them ;P

  • @rosco4659
    @rosco4659 3 роки тому +4

    I am now totally immersed in this channel and Look Mum No Computer awaiting a delivery of parts.

  • @THISMUSEUMISNOTOBSOLETE
    @THISMUSEUMISNOTOBSOLETE 4 роки тому +19

    great video Moritz!

  • @calbars
    @calbars 4 роки тому +29

    I love your use of sketches to illustrate what you want to achieve and what an IC does. Great video.

  • @kcbanner
    @kcbanner 3 роки тому +10

    Your sketch style reminds me of those Engineer's Mini-Notebook books by Forrest M Mims. Very cool way to explain things!

    • @MoritzKlein0
      @MoritzKlein0  3 роки тому +4

      had to look him up - there‘s definitely a resemblance, good catch! and a nice compliment, thanks!

    • @doughankins3996
      @doughankins3996 3 роки тому +2

      Those books are great!! I was just talking to my wife about that after watching some of these videos.

  • @paulglass-steel1355
    @paulglass-steel1355 3 роки тому +3

    Nice to see and hear some playing up front - kind of a "why we go to the trouble" moment!

  • @martingerken7094
    @martingerken7094 4 роки тому +9

    Thank ypu for the great combination of music, math & elctronics!

  • @MarcZWG
    @MarcZWG 4 роки тому +3

    Great video, can’t wait for more to come!

  • @theknarlyboy
    @theknarlyboy 2 роки тому +2

    What an actual dude this guy is, a proper dude

  • @codyjohnson5954
    @codyjohnson5954 4 роки тому +10

    These are fantastic. Incredible and practically done explanations. Super useful. Excited for more.

  • @jorritdejong9987
    @jorritdejong9987 4 роки тому +3

    Great video, learned a lot! Saw you on the synthdiy reddit. Keep up the good work and please post more of these!

  • @RemyTerjanian
    @RemyTerjanian 4 роки тому +16

    This is really great stuff! The ideas are genius and well thought out, and it's clear there's a lot of effort put into it.

  • @richy486
    @richy486 4 роки тому +3

    Great video! You are really good at explaining how these ICs work!

  • @mymodularjourney
    @mymodularjourney 4 роки тому +6

    I love these video’s. They are really helpful for all those that are in to synth diy, understanding electronics in general.

  • @mikep6967
    @mikep6967 3 роки тому +1

    Your level of explanation is so refreshing.... subbed👍🏻👍🏻

  • @IzharAshdot
    @IzharAshdot 3 роки тому +1

    This is the best logic gate lesson I’ve ever had. I’m going to watch all the other videos. Thank you!

  • @machinedreams9625
    @machinedreams9625 4 роки тому +3

    Found this on reddit. Great video, really informative and I think I'm going to use it to get started on a DIY eurorack.

  • @KeepersCreeper
    @KeepersCreeper 3 роки тому +1

    Amazing channel, happy to find it! Keep up the good work!

  • @needlessmustard
    @needlessmustard 4 роки тому

    This is pretty great, cleanly explained and presented; Thanks!

  • @marc-alexandretozzi1609
    @marc-alexandretozzi1609 2 роки тому +1

    Dude I love your channel, I was definitely expecting an Arduino circuit! Keep up the amazing work

  • @synth1002
    @synth1002 3 роки тому +3

    I recently fount this new channel and i am so happy and thankful. It is so good and organized, very original and very rare. No stupid animations or non logical explanations, everything done in old good way on paper, nice analogies and then tranfered into practice. Keep it up, very good and original.

  • @escherbeats
    @escherbeats 4 роки тому

    Thanks from Chile! i'm a novice but thanks to your videos i understand more about the world of synth. I hope you make much more videos!

  • @chowler
    @chowler 4 роки тому +3

    This is so great -- thank you! I'm inspired to try making one.

  • @timquadrat70
    @timquadrat70 3 роки тому +1

    Your tutorials are really great - thank you so much! 🙏🤩

  • @StanleySeow
    @StanleySeow 2 роки тому +1

    Thanks for the video, I always wonder how keyboard works, you break it down in details and build one from ground up, two thumbs up 👍👍

  • @bodbloke7363
    @bodbloke7363 4 роки тому

    Another great video mate. Top work.

  • @UnauthorisedService
    @UnauthorisedService 4 роки тому +3

    Great build and tutorial bravo 👍

  • @saladking2370
    @saladking2370 2 роки тому +1

    Great videos
    Great explanations

  • @XDjUanZInHO
    @XDjUanZInHO 3 роки тому

    It's so cool to see the displays turning on and off on the keyboard as the systems multiplexes to show the proper value for each 7segments

  • @sachagirard561
    @sachagirard561 3 роки тому +13

    Just wow ! you're 2 series are amazing I was wondering if its possible to do a series of your diy modular that we see in your first series that would be aaaaawssooome!

    • @MoritzKlein0
      @MoritzKlein0  3 роки тому +8

      you mean like a tour/demonstration video?

    • @sachagirard561
      @sachagirard561 3 роки тому +5

      @@MoritzKlein0 yes and teach us how to build each individual module like your 16 step sequencer, filters, vca, vco, vcf, adsr generator ,etc.. thanks

    • @sachagirard561
      @sachagirard561 3 роки тому +4

      Just ask to others if they will interested in that kind of video series and I'm sure they will be easily convinced to jump in !

    • @woulg
      @woulg 3 роки тому +3

      @@MoritzKlein0 I second this. Your channel is incredible, I've been recommending it to all my students

  • @trinity40
    @trinity40 4 роки тому +3

    Loved it, thank you

  • @easibroeasibrode6381
    @easibroeasibrode6381 3 роки тому

    Tu canal es oro puro!

  • @wedkarzkosma
    @wedkarzkosma 3 роки тому +1

    you are my inspiration thank you for this video

  • @jarekjanuszewski2247
    @jarekjanuszewski2247 3 роки тому +1

    Love your videos and straightforward clear explanation. One thing I don't understand is why and how op-amp works as a voltage buffer. Next occasion perhaps?

    • @MoritzKlein0
      @MoritzKlein0  3 роки тому

      check my vco-series - i have an in-depth explanation in there!

  • @jon00200
    @jon00200 3 роки тому +1

    This is so amzing

  • @LittleZdy
    @LittleZdy 4 роки тому +2

    Useful, inspiring Thanks!!

  • @JamesPearson
    @JamesPearson 3 роки тому +2

    I have to say that the demo starting at 01:53 is really beautiful. It has actually haunted me (in a good way) and I've had to go back to it a few times to enjoy it. I really like your arpeggiator design - I can see me tackling it, or something similar very soon. It should be easier for me compared to the analogue electronics. I'm also thinking about how I can incorporate my 65c02 (Ben Eater) computer!! :)

  • @DaichiKan
    @DaichiKan 3 роки тому +1

    Great video! I got some Jean-Michel Jarre vibes from your first demonstration.

  • @MrDjaremko1982
    @MrDjaremko1982 4 роки тому +2

    great teacher

  • @Raggo12345
    @Raggo12345 3 роки тому +1

    Wow, the music at 1:50 is beautiful!

  • @chriswareham
    @chriswareham 3 роки тому +1

    My first reaction was "why not quantise the CV signals from your analogue sequencer". Bu then we wouldn't have got your great explanation of how to build an arpeggiator :-)

  • @beaueatbutterflyyummy4151
    @beaueatbutterflyyummy4151 3 роки тому +1

    Great vid

  • @sebp400
    @sebp400 10 місяців тому

    nice, I started messing around with cmos logic gates a couple days ago for syncopated rhythms. Today, I was using a 4013 dual flip flop, cascading the first into the second. One is clocked normally and the second one is clocked by this PLL prototype I ve been working on. Also, the PLL uses a random slewed lfo into it's input. It ''humanizes'' some of the patterns. I m a newb that's discovering the amazing things you can do with chips that weren't intended for these uses at first. Your arps vids are the next logical step. I need a DAC first.

  • @Wiktorion
    @Wiktorion 4 роки тому +3

    So this is why every module has a TL074!

    • @MoritzKlein0
      @MoritzKlein0  4 роки тому +2

      buffering is really essential!

    • @Tan7879
      @Tan7879 3 роки тому

      @@MoritzKlein0 - in the case of simply buffering, can I use an lm358 instead of a TL072/4? I generally try to avoid them because, while I have a benchtop power supply to get +/- voltage, I want to be able to just use a 9v adaptor for the projects I build.

    • @MoritzKlein0
      @MoritzKlein0  3 роки тому +1

      Tan Stowell any op amp should do. though you can definitely use tl07X with +9v and ground. just make sure you don’t feed it any negative voltages then.

  • @alexishogue3209
    @alexishogue3209 2 роки тому +1

    went hard af at 2min

  • @geoffreyhoffman2739
    @geoffreyhoffman2739 3 роки тому +1

    You are a genius

  • @doughankins3996
    @doughankins3996 3 роки тому

    Wonderful video! Thank you so much. You mention the keyboard or finger board on your synth, how could you incorporate the fingerboard into the oscillator instead of the stepper? Could you use it as on or off switches, or let's say triggers, to operate or trigger specific frequencies instead of the "sequencer" triggers?

  • @mostrealtutu
    @mostrealtutu 3 роки тому +1

    Look Mum No Comput..... Wait... thats a different channel :D As the others said, Amazing way of explaining how all this works

  • @jameswyatt1304
    @jameswyatt1304 3 роки тому +1

    I love the old-school oscilloscope. I have a nice DIY DSO that's cute, but I keep firing-up the old B&K beast on the bench. Even for digital at times...

    • @MoritzKlein0
      @MoritzKlein0  3 роки тому

      same - has that charming retro-sci-fi feel

  • @johnsummers7121
    @johnsummers7121 2 роки тому

    I've been watching your stuff for a while. For some reason thought you were a really old Russian man.

  • @mightywombat
    @mightywombat Рік тому

    Loving these projects! What part do you like to use for the "small signal diode" in the parts list for this module (three of them in total)? Is there an ideal forward voltage for that part?

  • @benny1884
    @benny1884 2 роки тому +1

    thanks for your very good channle

  • @9luzazul9
    @9luzazul9 2 роки тому +1

    Hi! How are you? I hope that very good! I am from Argentina and I have been following your videos and I saw that you have a very clear way to explain, you make good didactic transpositions! I wanted to know where I could find the schematic of the circuit to recreate it, and ask you if I have to have a VCO or how I can use it since I still do not have any synthes module and I found this work very good to apply the issue of gates logical.

  • @QuanNguyen-ox7ms
    @QuanNguyen-ox7ms 4 роки тому +3

    I have a question: So far to use 5 1/3v ref we will get the maximum of 64 notes (5oct n 4notes) with max 6bits for the tlc 7524 but what if the ref voltage is 10 1/6 instead and we take 7 bits out is this possible to get a 10 octave range from the IC?

  • @matiasandresmayo7756
    @matiasandresmayo7756 3 роки тому +1

    WOOOOOO min 2:03 blow my mind!!!

  • @Logiwonk
    @Logiwonk 4 роки тому +2

    Awesome, are you using Kosmo format there on your module synth? Thanks for the video man.

    • @MoritzKlein0
      @MoritzKlein0  4 роки тому +1

      yep! eurorack is a bit to small for my taste, and i like the look of quarter inch cables more.

  • @TirianMassot
    @TirianMassot 2 роки тому

    Hello Moritz, hope you're doing well! I've spent the entire afternoon trying to wrap my head around a problem I'm encountering with this build:
    When I reach the 12:19 mark, I do read 5.33V on my multimeter, but changing the values of the counter reduces the voltage, as if the OP-AMP wasn't doing anything. I was measuring at the output of the OP-AMP, but trying other points had the same effect. I am using 9V batteries, since that's what I started with when watching the VCO series, but I don't see why that would be the cause.
    I've started from scratch twice now, and I keep running in the same problem, at this point I'm very confused.
    Thank you so much for doing these videos, this along with your VCO series are a great introduction to electronics, which looked very daunting and complicated in a previous life :p

  • @mbrombert
    @mbrombert 3 роки тому +2

    Hey there, I finally got around to trying this out with a TLC7524 and I have built it exactly as you have, the only difference being a +9/-9 power supply. No matter what I try I cannot get the perfect ramped scale as I should. Any idea why? I divided 256 by 9 then by 2 and by 2 again, and tried it at 7.1v for the reference voltage and even divided it again and tried that. My scales are not working at all and I am certain I have not made any mistakes. Any ideas/help would be most appreciated!
    P.S. What happens is it plays a C at 0000 and then a C# and maybe a D and then a C and then E, F C, D, C ... something like that.
    EDIT: I found the "error" but it is still a mystery... I changed the breadboard and it worked... All exactly the same but the original breadboard did not like the circuit haha!
    This is the frustration and mystery of electronics. Sometimes the problem is a goddamn breadboard and you will lose your mind until you figure it out.

  • @AlPha-lv8ok
    @AlPha-lv8ok 2 роки тому

    I Enjoy a lot with this music ! In Farsi we say کیف کردم

  • @ninetailscosmicfox5585
    @ninetailscosmicfox5585 Рік тому

    Could we also use the multiplying DAC and some extra circuitry to give our scales different melodic modes? It'd be challenging but worth it to think of a way to have custom LUTs accessed by a small cheap FPGA or CPLD that could theoretically allow an infinite amount of custom modes.
    Also I'm guessing that parallel arpeggiators would be required to make a chord, but have you thought of a way to do unison without all the extra hardware? I feel like op-amps have a purpose here but I'm unsure what the actual hardware would have to be. Perhaps at the end of the day you'll need multiple VCOs that all drone differently relative to the primary tone.

  • @marieprassler4004
    @marieprassler4004 4 роки тому +2

    👏🏼

  • @der94alex
    @der94alex 3 роки тому +1

    wouldnt it be possibble to to quantize the potentiometers with schmitt triggers? Not really sure though if itd make sense component count wise

    • @MoritzKlein0
      @MoritzKlein0  3 роки тому

      not sure i get the concept - how would you go about doing that?

    • @der94alex
      @der94alex 3 роки тому

      @@MoritzKlein0 sorry, had the wrong idea of schmitt turning off when voltage is too high.
      Comparators might work though. If you use one for each note and set the upper and lower threshold, it leaves room to have blind spots or overlaps on the potentiometer in terms of notes. No forbidden states as they are simply not allowed but 1/note comparators, so economics will decide up to which point it makes sense

  • @MrDudumassa
    @MrDudumassa 3 роки тому

    hi, how to add CV modulation to the release and attack of the Quad AD/AR?-

    • @MoritzKlein0
      @MoritzKlein0  3 роки тому

      that's a rather complex topic, but if you want a quick & dirty solution i'd say use vactrols!

  • @johnirving8237
    @johnirving8237 3 роки тому

    The bit outputs of the ADC0820 will only be going between 0-5V (LOW and HIGH) but the TLC7524 (if it is powered by +12V) will need a voltage which is higher than 5V to read its bit inputs as HIGH. At least i assume that is the case based on the data sheet. Did you get the TLC7524 to work with just 5V coming into its bit inputs?

  • @arkhie9883
    @arkhie9883 Рік тому +1

    🤩

  • @carlsonmuelperegrino6054
    @carlsonmuelperegrino6054 7 місяців тому

    How about we want play higher notes thant D#1? Is it possible to still use that IC , or it will be a different IC that will be composed of 32 bit? Thank you

  • @rbrtschmdt
    @rbrtschmdt 11 місяців тому

    Du bist so cool

  • @benbrucato77
    @benbrucato77 24 дні тому

    Looks like the DAC08 chip might also be a good alternative. Can anyone confirm?

  • @chinor3999
    @chinor3999 2 роки тому

    Could you use this to make a quantizer?

    • @MoritzKlein0
      @MoritzKlein0  2 роки тому +1

      yeah, check the third episode in this series!

  • @mountainkingelectronics
    @mountainkingelectronics 3 місяці тому

    So why do you ground pins B2-B5 on the TLC7524/MDAC instead of say B0-B3 or B1-B4?

    • @mountainkingelectronics
      @mountainkingelectronics 3 місяці тому

      Sorry, didn't word correctly, I meant to say why do you use those pins, not ground.

    • @mountainkingelectronics
      @mountainkingelectronics 3 місяці тому

      Ok, I watched it over again, this time without doing something else that requires my attention, lol, and I think I understand it now, B0 and B1 are used, it's just that you always want them to be read as 0 so they are permanently set to that state, correct?

  • @theloniousmonk81
    @theloniousmonk81 3 роки тому +1

    genio

  • @randomroughneck1030
    @randomroughneck1030 3 роки тому +1

    I'm no electrical engineer, but an idea: maybe use 12 bits for all the notes, and then use the other bits for things like changing octave, empty notes or changing the note value to half/quarter or other stuff like that? i do not know how hard that would be, but hey worth a try maybe

    • @jimktrains0
      @jimktrains0 3 роки тому

      12 bits is 4096 steps. If you mean 1 bit per note, you can use something called a priority encoder to take the "highest" note and convert that into the binary number equivalent (4 bits which lets up to 16 states). For octaves you could use a parallel shift register to shift all the bits the number of octaves. Shifting left is equivalent to multiplying by 2.)

  • @virtuosomaximoso1
    @virtuosomaximoso1 3 роки тому +1

    Dude. More videos.

  • @mattportnoyTLV
    @mattportnoyTLV 3 роки тому

    Seems like the accuracy and stability of vref can affect the accuracy of the notes.

    • @MoritzKlein0
      @MoritzKlein0  3 роки тому

      yeah totally!

    • @mattportnoyTLV
      @mattportnoyTLV 3 роки тому

      @@MoritzKlein0 have you experimented with using a low noise vref like LM431? I wonder if it would create some interesting behavior.

  • @alvarobyrne
    @alvarobyrne 4 роки тому

    Thanks! Quantizer!

  • @lehearse662
    @lehearse662 3 роки тому

    My only criticism is that in analog you CAN have the standard tunings, it's just not a simple circuit.

  • @atomictraveller
    @atomictraveller 2 роки тому

    inviting discussion on why opamp buffers instead of transistor? (i'm not touching anything that conducts until my oscilloscope gets here to make my own observations on THD vs transient response) i suppose there's not much difference in price anymore..
    www.diystompboxes.com/smfforum/index.php?topic=37165.0

    • @atomictraveller
      @atomictraveller 2 роки тому

      it's neat to finally see the little round channel pic. i thought it was a closeup of a guinea pig's nose :)

    • @fabiovsroque
      @fabiovsroque 2 роки тому +1

      I think that is because transistor buffers usually drop 0,7 volts at the output, and It is not desireble...

  • @woosix7735
    @woosix7735 2 роки тому

    I don’t get what is wrong with an arduino

    • @delta61
      @delta61 3 місяці тому

      not as exciting

  • @FriesinNF
    @FriesinNF 3 роки тому +1

    Schade, du bist 50 Jahre zu spät geboren worden! Ich kann mich noch an die gute alte experimentelle Zeit erinnern! Wir, die Kinder lauschten wie paralysiert den Klängen der Oszillatoren und träumten von Minimoog und Co.

  • @dwnthk
    @dwnthk 3 роки тому +1

    It is much beyond my knowledge. Thx anyway.

  • @AlPha-lv8ok
    @AlPha-lv8ok 2 роки тому

    So having such beautiful god ! Why not be happy ?

  • @me_iz_wet904
    @me_iz_wet904 3 роки тому

    couldnt you have used tubes for pure analogue arpeggiator?

  • @MirlitronOne
    @MirlitronOne Рік тому

    In common synthesizer parlance, this is a "quantizer", not an "arpeggiator".

  • @AlPha-lv8ok
    @AlPha-lv8ok 2 роки тому

    We all have only one God who is beautiful and likes beauties as his prophet muhammad said it about him! Of course like other beautiful things this beautiful music also origins from his beauties !

  • @stephenspackman5573
    @stephenspackman5573 3 роки тому

    I will admit I find it a bit sad that you are going to all the trouble (trouble in the modern sense, given that you can just go and buy an Arduino) of building an analogue modular synth, but then you decide to fix your sequencer to 12EDO, which is an ugly (and recent) musical compromise to keep keyboard instruments cheap. I can't help but feel that, for conceptual uniformity with the VCO, this should ideally be done with analogue components or, failing that, at 12+ bit resolution so that the available pitches are perceptually smooth.
    Otherwise-I mean, if you really believe in 12EDO-it might have been easier to make the VCO work with a counter and talk to it over a digital bus! ;)