Building a Digital Music Player with I2S?! What is I2S! EB#45

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2020
  • $2 for 2Layer, 5pcs & $5 for 4Layer, 5pcs: jlcpcb.com
    Previous video: • Building a USB Type-C ...
    Bitlunis I2S ESP32 video: • Coding a Sound Driver ...
    I2C video: • Electronic Basics #19:...
    SPI video: • Electronic Basics #36:...
    CAN video: • Improving my electric ...
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    Support me for more videos: www.patreon.com/GreatScott?ty=h
    Websites which were shown/used during/for the video:
    datasheets.maximintegrated.co...
    invensense.tdk.com/wp-content...
    microcontrollerslab.com/esp32...
    github.com/earlephilhower/ESP...
    learn.sparkfun.com/tutorials/...
    github.com/ikostoski/esp32-i2...
    docs.espressif.com/projects/e...
    • ESP32 | INMP441 | Tuto...
    hackaday.io/project/162059-st...
    en.wikipedia.org/wiki/I%C2%B2S
    In this video I will show you how to build a digital music player with the help of the I2S interface. That means I will show you how I2S works and how we can use it with the ESP32. Along the way I will also show you how to use an I2S audio amplifier board and an I2S microphone. Let's get started!
    Thanks to JLCPCB for sponsoring this video
    Visit jlcpcb.com to get professional PCBs for low prices
    Music:
    2011 Lookalike by Bartlebeats
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 420

  • @__mk_km__
    @__mk_km__ 3 ปีที่แล้ว +68

    6:38 Looks like you interpreted the signed 16 bit value returned by the mic as an unsigned one.

    • @makermatrix9815
      @makermatrix9815 3 ปีที่แล้ว +16

      Maybe that would explain the clipping in his result. I was looking through comments to see an explaination. This could be it.

    • @zhouzhiwen8740
      @zhouzhiwen8740 3 ปีที่แล้ว +2

      You are right.

    • @joselaw6669
      @joselaw6669 3 ปีที่แล้ว +1

      A small cap in the output could fix that.

  • @wonseok_song
    @wonseok_song 3 ปีที่แล้ว +116

    9:33 The result sounds like a Dalek..

    • @ishubansal265
      @ishubansal265 3 ปีที่แล้ว +17

      Exterminate !!

    • @LPkukin
      @LPkukin 3 ปีที่แล้ว +6

      Plot twist: The Daleks also watched this video and made a sound device according to this video. That's why they sound like this.

    • @ov3rkill
      @ov3rkill 3 ปีที่แล้ว

      This is just the beginning.

    • @Lampadina_17
      @Lampadina_17 3 ปีที่แล้ว +1

      sounds like bsod

    • @jongk8
      @jongk8 3 ปีที่แล้ว

      Touch this time text every 1 sec.

  • @TheGitGuild
    @TheGitGuild 3 ปีที่แล้ว +166

    Finally a crystal clear explanation of I2S!

    • @greatscottlab
      @greatscottlab  3 ปีที่แล้ว +34

      You're welcome :-)

    • @atomictraveller
      @atomictraveller 3 ปีที่แล้ว +1

      @@greatscottlab here's a really good video idea: HOW TO MAKE VCO SINE. tiny arduinos aren't fast enough. circuits that support variable pitch are complex. i am not an electronics expert but i am a sound expert. i want to make a sine. i don't want to spend $30 in parts ot make a sine. i want a sine. give me a sine. someone make a video on how to make variable pitch sine oscillator with few and inexpensive parts. i don't want to include an incandescant bulb in the circuit. i just want a sine oscillator i can change the pitch of across the audio range. i will measure it with an arduino. i don't want a sine with a static pitch. i don't want to control it with MIDI. i just want to plop a potentiometer, on a circuit, and output a sine wave of variable frequency. how is this so complicated? i have 20+ years of audio dsp. i know a T bridge circuit will produce a sine because its an elementary structure parallelled in dsp. where th eufck are the fucking cheap to build sine oscillators? what the fucking fuck? why the fuck can;t people understand that you would want an oscillator with a variable pitch and a sine contour/spectrum? how does this not happen in electronics, which is just physics? i don't want three phase power. i don't want a 741 op amp. i want cheap ass parts, as few as possible. i want to do this shit. i'm fucking fifty i should have done it thirty years ago. fucking hell. it's just one frequency.

    • @TooSlowTube
      @TooSlowTube 2 ปีที่แล้ว +2

      @@atomictraveller Did you get anywhere with your sine generator?
      Basically, you need a couple of tables of constants, which could be filled in by calculations when it boots up, and a variable slope ramp / saw wave generator, which is used as an index into the sine table.
      1) Calculate a step value, based on the ADC value from the pot, maybe using a lookup table to speed things up, if you want something like V/octave scaling.
      2) In your main loop, keep adding that step to your index value, and loop it when it reaches the maximum.
      3) Use a DAC of some sort, or I2S, to output the value, from the table.
      As a nice side effect, you also get a VCO saw output, if you have a second DAC - or use the other channel of I2S.
      Due to obvious symmetry, you don't necessarily need a full period of a sine wave. A quarter wave will do.
      You might need to disable interrupts, to avoid jitter caused by the CPU being too busy.

    • @atomictraveller
      @atomictraveller 2 ปีที่แล้ว +1

      @@TooSlowTube i generally render sines in dsp with quadrature...
      s0 = 1; s1 = 0; // init
      s0 -= w * s1; s1 += w * s0; // loop
      where w (angular freq) = 2*pi*hz/samplerate

    • @TooSlowTube
      @TooSlowTube 2 ปีที่แล้ว

      @@atomictraveller Cool. Are you using dedicated DSP hardware, or just something like a fairly fast microcontroller with an FPU?

  • @DrOwn-hq9ot
    @DrOwn-hq9ot 3 ปีที่แล้ว +3

    As a high school student who only recently got into electronics, if even I can follow along with what he's saying then this is truly high quality.

  • @FrankGraffagnino
    @FrankGraffagnino 3 ปีที่แล้ว +38

    great stuff. would love to see more videos using the esp32!

  • @doraexplora9046
    @doraexplora9046 ปีที่แล้ว

    Man! Those drawings are amazing. Worth watching just to see how neat the guy draws.

  • @joaomarques7180
    @joaomarques7180 3 ปีที่แล้ว +57

    Can you make a walkie talkie with 2 esp32's using this metod and wifi/bluetooth?

    • @greatscottlab
      @greatscottlab  3 ปีที่แล้ว +86

      I can put it on my to do list

    • @Scott_C
      @Scott_C 3 ปีที่แล้ว +4

      @@greatscottlab I'd love to see that.

    • @hicknopunk
      @hicknopunk 3 ปีที่แล้ว +3

      Yes!

    • @MMuraseofSandvich
      @MMuraseofSandvich 3 ปีที่แล้ว +2

      Ooo. Hack up some headsets perhaps?

    • @Jp-ue8xz
      @Jp-ue8xz 3 ปีที่แล้ว +4

      Hmmm I guess it could be done... but bluetooth I think it's limited to about 10m range, and wi-fi would require one device to act as an AP and others to trust it, also said device would have to be within a reasonable distance of every other device... seems like an overkill for something that could be done just over radio

  • @wjn777
    @wjn777 3 ปีที่แล้ว

    Great video, and the best I2C explanation , thank you for sharing

  • @theengineer9910
    @theengineer9910 3 ปีที่แล้ว +1

    my pic32 had enough flash to store a funny audio sample and i managed to port bitluni's arduino audio sampling code to it. Bitluni and Greatscott are great teachers !

  • @easyelectronics4364
    @easyelectronics4364 3 ปีที่แล้ว +1

    I love these kind of projects great scott keep it up😍😍😍😍😍🔥🔥🔥🔥

  • @elijahtalbot5288
    @elijahtalbot5288 3 ปีที่แล้ว

    I learn so much from your videos

  • @Taran72
    @Taran72 4 ปีที่แล้ว +1

    Wow! This video is really awesome. Didn't know the ESP had such capabilities.

  • @deadbird99
    @deadbird99 4 ปีที่แล้ว +34

    I'm so glad you finally dive into the world of ESPs!! And for a first test I2S is really not the easiest project! Thanks a lot 🙏🏻

    • @Derpuwolf
      @Derpuwolf 3 ปีที่แล้ว +5

      Aight, we found the time traveler.

    • @richardlighthouse5328
      @richardlighthouse5328 3 ปีที่แล้ว +3

      @@Derpuwolf Patreon.

    • @soxxz2028
      @soxxz2028 3 ปีที่แล้ว

      @@richardlighthouse5328 Oh really???

    • @ceneblock
      @ceneblock 3 ปีที่แล้ว +5

      This is far from his first dive into ESP

    • @jovialcupid9687
      @jovialcupid9687 6 หลายเดือนก่อน

      It's
      He littelary connected 3 bought parts and used existing library's basic example
      It's not harder then connecting addressable leds

  • @akshay.kumark
    @akshay.kumark 3 ปีที่แล้ว

    You know i was waiting for this one 🤩

  • @peerappel2012
    @peerappel2012 3 ปีที่แล้ว

    Thanks for the great explanation of i2s!

  • @RPhulNewsTrue
    @RPhulNewsTrue 3 ปีที่แล้ว

    thanks finally I can build something this weekend.

  • @mihaelpanjkrc7870
    @mihaelpanjkrc7870 3 ปีที่แล้ว

    Great video as always!

  • @avejst
    @avejst 3 ปีที่แล้ว

    Great walkthrough 👍
    Thanks for sharing 👍😀

  • @jamesbrill5896
    @jamesbrill5896 3 ปีที่แล้ว +1

    Interesting, a month ago I set up a streaming player with an old raspberry Pi and a TeraDaK ES9023. The Pi is an old model B, 26 pin header but has an unpopulated 8 pin header for I2S. Sounds great and was pretty easy to set up.

  • @FirstnameLastname-ym4tc
    @FirstnameLastname-ym4tc 3 ปีที่แล้ว +1

    I love your videos nd loved this one too.
    Had been a subscriber of yours since 3 years

  • @turneroq9888
    @turneroq9888 3 ปีที่แล้ว

    awesome project, Scott! Thx!

  • @injoelsgarage3934
    @injoelsgarage3934 3 ปีที่แล้ว

    Thank you very much! We really enjoy your videos. You are badass and Nationwide!... Joel

  • @pulkitjoshi1078
    @pulkitjoshi1078 3 ปีที่แล้ว +20

    Awesome :) . Planning to add darth vader sounds to my room Automation project.. This will be really helpful.... The force is strong with Scott !!! Love from India

  • @toolzshed
    @toolzshed 3 ปีที่แล้ว

    Whoa amazing explanation dude!

  • @electronic7979
    @electronic7979 3 ปีที่แล้ว +2

    Helpful video 👍

  • @gopinath397
    @gopinath397 3 ปีที่แล้ว

    Sir iam an huge fan of u sir keep creating, more viedoes like this 😍

  • @lolmetauto4579
    @lolmetauto4579 3 ปีที่แล้ว +1

    Love your vids bought my first arduino thanks to you

  • @eivis13
    @eivis13 2 ปีที่แล้ว

    Great info if you're wondering how modern car audio works.

  • @MCsCreations
    @MCsCreations 3 ปีที่แล้ว

    Really interesting!!! Thanks a lot, dude!!! 😃
    Stay safe there! 🖖😊

  • @zk_6312
    @zk_6312 2 หลายเดือนก่อน

    Great video. I really like this project, just what I was looking for. I just wish you had a project page that showed how to build it like the parts and code used.

  • @moonmatthew
    @moonmatthew 3 ปีที่แล้ว +1

    Yaaaaaaaaaaaaaaaay new awesome video i love your Videos they are beeeeeeeest

  • @zetaconvex1987
    @zetaconvex1987 3 ปีที่แล้ว

    You make it look oh so easy.

  • @WistrelChianti
    @WistrelChianti 2 ปีที่แล้ว

    Thank you! Been wondering why folks were using this for audio, haha turns out that's what it is for! :D

  • @harikamalakarreddydarapu7410
    @harikamalakarreddydarapu7410 3 ปีที่แล้ว +2

    You are really awesome iam a great fan of you.thank very much for sharing your knowledge

  • @reddragon27284
    @reddragon27284 3 ปีที่แล้ว +2

    Good video as always but I would have like to seen why it sounds distorted and how you get around it.

  • @uh6537
    @uh6537 3 ปีที่แล้ว

    What else to say here than: Great Scott!

  • @typeer
    @typeer 3 ปีที่แล้ว

    youre a legend thanks for this

  • @noweare1
    @noweare1 3 ปีที่แล้ว

    You've been hitting home runs with the projects you have been choosing. Thanks for all your hard work. The ESP32 is pretty amazing, but very complex.

  • @monsterhunter445
    @monsterhunter445 10 หลายเดือนก่อน

    Thanks gonna use this exact dac to make a synth (nothing to complicated probably two osc max). Should be fun.

  • @oniruddhoalam2039
    @oniruddhoalam2039 3 ปีที่แล้ว +32

    1:26 Was the pun intended?

    • @greatscottlab
      @greatscottlab  3 ปีที่แล้ว +16

      Maybe

    • @ayushp.5395
      @ayushp.5395 3 ปีที่แล้ว +1

      well, so my $1200 24bit/192KHz DAC and $990 wired headphones were a waste of money???
      not to forget the $20/month subscription for tidal...

    • @djedvis
      @djedvis 3 ปีที่แล้ว +2

      @@ayushp.5395 lol obviously a waste. Who spends so much for headphones? You need high quality audio files like FLAC for these headphones to work in full potential...
      Waste of money. My 3€ earbuds works perfectly.

    • @skyc3560
      @skyc3560 3 ปีที่แล้ว

      EdvisKing Come on! 64 bit sound all the way!

  • @fleshTH
    @fleshTH 3 ปีที่แล้ว +1

    This might work well for my Halloween decoration I created years ago. I use a raspberry pi to play audio and flash red LEDs in the eyes when a motion event happens from my security camera. I've always felt like the raspberry pi was overkill. All it really does is has a webserver for commands. Takes the commands and plays either a random file (for motion) or a specific file from the command. Analyzes the wave form to blink the LEDs in sync with what is being said. The only thing that might be tricky is I have a web interface set up and I can talk through it using the microphone on my mobile phone. But it seems like I can probably get rid of the raspberry pi and just use an ESP32. Get rid of the hosted webserver and use my existing MQTT.

  • @mrmf4712
    @mrmf4712 ปีที่แล้ว

    How convenient it was to find this nice video literally 24 hours after I figured out how to code I2S on ESP32 and how to connect wires to external DAC. LOL. Oh man... I'd say wiring it together was the easiest part. The code and RTOS required a bit of wrestling...

  • @ChrisRid
    @ChrisRid 4 ปีที่แล้ว +27

    I keep thinking about re-creating the Portal Radio (from the game) and something like this would work a treat (minus the microphone). Only want it to play the standard low-quality tune on loop. Great video.

    • @Ramog1000
      @Ramog1000 3 ปีที่แล้ว +1

      well there are also decoder chips that play mp3's
      www.adafruit.com/product/1788 this is a good board to work with it also has theoretically midi syntesizer capabilities and the library has all the features needed. works with an arduino which for me is an added bonus.

    • @PablumMcDump
      @PablumMcDump 3 ปีที่แล้ว +1

      In pandemic times, a clip of The Police's Don't Stand So Close to Me triggered by a hidden momentary switch would be fun.

    • @takase5037
      @takase5037 3 ปีที่แล้ว

      @@Ramog1000 there should be cheaper DF robot boards that outputs a headphone signal

    • @ChrisRid
      @ChrisRid 3 ปีที่แล้ว

      Marvin W - Depends if you’re a Patreon? If not, sign up now!

    • @ChrisRid
      @ChrisRid 3 ปีที่แล้ว

      Janus Kobain - I’m making a note here “huge success”...

  • @sanjaybhatikar
    @sanjaybhatikar ปีที่แล้ว

    Thank you! Thank you! Thank you!

  • @darshandodal1889
    @darshandodal1889 3 ปีที่แล้ว +1

    Your content is really great!. Please make a video on "Commercial grade Low Power IC's (Bluetooth and wifi) for low power IoT". Please compare them with their specs like current drawn while transmission and reception. I would love to get insights about the topic, from you. Thank you!

  • @danteregianifreitas6461
    @danteregianifreitas6461 3 ปีที่แล้ว +14

    It's important to note that while greater sampling frequency does increase quality, any sampling frequency above 40 kHz makes irrelevant increase to the human hearing. Because, according do the Nyquist theorem, to perfectly reconstruct a analog signal you need a sampling frequency at least double the analysed signal. Thus we need only 40kHz, as the human hearing only goes to about 20kHz (and that's in very young children, because you'd be lucky to have this hearing past your adolescence). Also speakers are almost always limited to playing till this frequency, so even if you say that frequencies above 20kHz do somehow contribute to sound quality, your speakers won't even play it.

    • @rahveibo
      @rahveibo 3 ปีที่แล้ว

      ​@Heads MessRegarding your point about two points making a triangle/sawtooth wave: Whole point of the nyquist theorem is that IF we are certain that no frequencies greater than the nyquist frequency was contained within the signal before we sample it, then we can reconstruct the sampled signal with any temporal resolution we want. So you dont have to drive your speaker with those 2 points, since nyquist tells you that thre is no ambiguity about the frequencies in there, you can fill the samples in between to form the sinusoidal before you drive the speaker. And actually you dont even have to bother about doing that in software as a lowpass filter on the sampled output will do that for you anyways.
      I agree with the rest of your comment.

  • @domenicoromano3642
    @domenicoromano3642 3 ปีที่แล้ว

    I can't Guess how much paper do you use for every video 😂😂 Aniway, you are the eletronic teacher i never had at school, Simply awesome!

  • @prashanthkumar3834
    @prashanthkumar3834 3 ปีที่แล้ว +2

    Thanks for responding to my request Greatscott.
    I actually hold a bachelors in Electronics but couldn't get into that field due to some reasons.
    I'm a datascientist now and I'm able to still have a good hold on Electronics is just because of your videos.
    Stay creative, stay hungry for more knowledge

  • @romaindemaison3127
    @romaindemaison3127 3 ปีที่แล้ว +15

    Hi, I don't understand why the sound is so bad at the end of the video as you used 16bits /44khz which should result with good audio quality? Is it a limitation on the esp32? Is it because of your speaker?

    • @preddy09
      @preddy09 2 ปีที่แล้ว +3

      Mostly likely not using DMA with double buffering. Without that any delay will show up as breaks. In realtime transmission, it's a must. If playing from a file, still the IO will cause lots of interrupts and result in breaking audio, even with a fast mcu.

    • @renzo2239
      @renzo2239 ปีที่แล้ว

      I'm not sure, but I think the is2 amplifier generates PWM output instead of real waveform.

  • @davidgardener1152
    @davidgardener1152 ปีที่แล้ว +1

    great video until at the end the audio that came out was all choppy! what was the reason for that? Thanks!! can it sound better than that? :)

  • @TheDeltaLightning
    @TheDeltaLightning 3 ปีที่แล้ว +15

    Fun fact: You can use I2S to generate the 38 kHz carrier for IR signaling, and save a lot of CPU cycles compared to the popular techniques.
    (One of the features under the hood is called DMA, I think it would be worth a separate video)

    • @noweare1
      @noweare1 3 ปีที่แล้ว +1

      The esp32 has a remote control peripheral.

  • @Rolly369
    @Rolly369 3 ปีที่แล้ว +4

    6:48 whoopsi , someone soldered on his probe :D

  • @69iqtutorial
    @69iqtutorial 3 ปีที่แล้ว +1

    I liked it 👍 ,great content

  • @JAGANNATHSAHOOtheraw
    @JAGANNATHSAHOOtheraw 3 ปีที่แล้ว

    Thanks for sharing!

  • @NudeJawn
    @NudeJawn 3 ปีที่แล้ว +1

    Thanks Scott.

  • @Chisataki-is-god
    @Chisataki-is-god 9 หลายเดือนก่อน

    とても参考になりました!ありがとう😊

  • @GGGG_3333
    @GGGG_3333 3 ปีที่แล้ว +10

    9:32 Save yourselves, Great Scott has already been terminated 😂.

  • @DCDLaserCNC
    @DCDLaserCNC 3 ปีที่แล้ว

    Very cool!

  • @pokpikchan
    @pokpikchan 3 ปีที่แล้ว

    Thanx for sharing

  • @dennislacroix5478
    @dennislacroix5478 3 ปีที่แล้ว

    I would love a device that would let you use as an interface for salvaged amplifiers from from broken TVs as they use I2S.

  • @ImTheReal
    @ImTheReal 3 ปีที่แล้ว

    Bro!
    You're pretty awesome!
    I guess that I have said it before but doesn't matter.

  • @Detonador7G
    @Detonador7G 3 ปีที่แล้ว +60

    Do you know why it sounded so weird in the end? Great video, btw!

    • @drescherjm
      @drescherjm 3 ปีที่แล้ว +28

      I agree from the video I expected it to sound much better.

    • @Detonador7G
      @Detonador7G 3 ปีที่แล้ว +10

      @@drescherjm and me personally I get very interested in knowing what the problem is, sometimes it can give more insight when we are doing our own projects

    • @mrbobbybtv
      @mrbobbybtv 3 ปีที่แล้ว +6

      Sounds like jitter

    • @Max24871
      @Max24871 3 ปีที่แล้ว +9

      Probably either unwanted interrupts or reading from sdcard took too long

    • @jonmayer
      @jonmayer 3 ปีที่แล้ว +34

      We need a revisit when he figures it out. This is not acceptable quality from i2s

  • @viktorkovarik
    @viktorkovarik 3 ปีที่แล้ว +2

    Why was the output sound so disrupted? I was expecting that i2s is pretty much lossless. I am thinking about creating wireless 5.1 sound system (it will use only power cords) using my old 5.1 (with too much cables) and using esp32 and esp-now. Problem is that I need to convert 5.1 audio to i2s and then distribute that to each speaker. Any ideas? It doesn't need to be esp32, just everything which would make it wireless 5.1 and is already documented.

  • @ShankhaShubhra
    @ShankhaShubhra 3 ปีที่แล้ว +1

    Hello! Can you take a look at the Sonoff WiFi Smart Switch for a DIY or BUY episode?

  • @priyanshmehta5668
    @priyanshmehta5668 3 ปีที่แล้ว +1

    Hey GreatScott, can you please make a video on building an audio amplifier using STA380BW

  • @toriqulislamshimanto
    @toriqulislamshimanto 3 ปีที่แล้ว

    I am using "Node MCU 8266" for my project !!!

  • @tubanbodyslammer9125
    @tubanbodyslammer9125 3 ปีที่แล้ว +1

    I was just about to do this with these exact materials, perfect timing

  • @MONIRHOSSAIN-pl7yt
    @MONIRHOSSAIN-pl7yt 3 ปีที่แล้ว

    Please make a video on - voltage (-5, -12) . How it works and why it used.

  • @stuart8taylor
    @stuart8taylor 3 ปีที่แล้ว

    Thank you for this video, but what about if you have a set of speakers that allows for audio over USB input?

  • @NiHaoMike64
    @NiHaoMike64 3 ปีที่แล้ว +1

    Would it be possible to implement lossless low latency audio over Wifi using an ESP32? I'm thinking kind of like Nvidia's wireless HD audio except it would work on devices other than the Shield TV.

  • @anonymoose6873
    @anonymoose6873 3 ปีที่แล้ว

    Could you make a decent sound system that applicable to scooters/mopeds? I'd love to see your take on the subject.

  • @gerasimger15
    @gerasimger15 ปีที่แล้ว

    please do a video at Resistor Ladder R2R DACs for high quality music reproduction! great video

  • @comkey-Ninja
    @comkey-Ninja 3 ปีที่แล้ว

    I like the vids love it

  • @Douglas.Kennedy
    @Douglas.Kennedy 3 ปีที่แล้ว +2

    Could you use the two 8 bit DACs and combine them with the R-2R resistor arrangement to make a higher resolution output? A downside would be only 1 channel, no stereo

    • @canaDavid1
      @canaDavid1 2 ปีที่แล้ว +1

      You would need r-256r, but yes.

  • @block7059
    @block7059 3 ปีที่แล้ว +3

    Könntest du mehr zum Thema Audio machen?

  • @elijahtalbot5288
    @elijahtalbot5288 3 ปีที่แล้ว

    Nice video

  • @elektromekanik7240
    @elektromekanik7240 3 ปีที่แล้ว

    I wish you good work. I have a question. Can vehicle tracking system be made with 3G wifi? How can I make this system?

  • @anonymaton948
    @anonymaton948 29 วันที่ผ่านมา

    Is there a way to do this as an audio mixer? Like, playing multiple audio tracks and adjusting the volume for each track independently?

  • @conorstewart2214
    @conorstewart2214 3 ปีที่แล้ว

    To get stereo sound can you connect the word select pin to the L/R pin since the word select changes between high and low to send the data, if it was connected to the L/R pin as well wouldnt that toggle which side is transmitted?

  • @gwriter88
    @gwriter88 3 ปีที่แล้ว +2

    Awesome!!! If you come to Mexico someday, i'll invite you "unos tacos"

  • @Navarretuz
    @Navarretuz 3 ปีที่แล้ว

    Awesome!!!

  • @kitecattestecke2303
    @kitecattestecke2303 3 ปีที่แล้ว +1

    500Mhz 2G Sample scope with touch screen how nice :-9. What do you do for a living?

  • @inspectormag
    @inspectormag 3 ปีที่แล้ว

    WOW WOW WOW I just checked the price of your Oscilloscope MSOX3054T (500Mhz). It's about 15,000USD! So expensive! Please advice me a cheap and economic one. I need it for learning as you are teaching us in your nice videos. Also I need it for repairing home audio systems. Thanks GreatScott! Stay creative!

  • @TheRojker
    @TheRojker 3 ปีที่แล้ว +1

    Nice going through all that just to end up with underruns

  • @Imuser24
    @Imuser24 3 ปีที่แล้ว

    Awesome 👍...

  • @randomthingch1970
    @randomthingch1970 3 ปีที่แล้ว +1

    GreatScott get Datasheet
    GreatScott *_HIGHLIGHT_*

  • @johnnyhammersticks1695
    @johnnyhammersticks1695 3 ปีที่แล้ว +2

    why not use the 2x8bit DAC and turn it into a 1x16 bit mono output? I've been wondering about a good way to do this sort of technique. Using 2 or more lower bit DACs and adding them together to get higher resolution or more bits

  • @oldeharbinger
    @oldeharbinger 4 ปีที่แล้ว

    Haven't played with ESP32 boards yet. I've dome alot with the arduino and the dfplayer mini. Sound quality isn't as good, but works for the small projects.

    • @NicholasElliott
      @NicholasElliott 4 ปีที่แล้ว +1

      I've got a couple esp32's kicking around but haven't used them yet... although that's gonna be changing soon since the 8266 has a bunch of unusable ports on it

  • @TBL_stevennelson
    @TBL_stevennelson 3 ปีที่แล้ว

    We're you able to clear up the audio and I must have missed the part about the 16bit transfer

  • @LittleRainGames
    @LittleRainGames 3 ปีที่แล้ว

    Ive been writing an I2S library for a lowish clock speed Pic chip. Its providing very difficult to read from Sd, and send i2s data fast enough.

  • @steevencz2833
    @steevencz2833 3 ปีที่แล้ว

    nice video

  • @arf20
    @arf20 3 ปีที่แล้ว

    If you want to make a 16 bit resistor DAC, you would needd 65536 pins, and double the resistors. Good video

    • @animatrix1851
      @animatrix1851 ปีที่แล้ว

      I'm sorry nobody corrected you, you need only 16 pins, you can use a SIPO shift register to bring that number down.

  • @DarkElectronics
    @DarkElectronics 3 ปีที่แล้ว

    I have ESP32 microcontroller and I tried to make Bluetooth speaker using it, but I had some problems...

  • @wow1022
    @wow1022 3 ปีที่แล้ว

    you should do a video on TOSLINK fiber optic audio

  • @caffeinatedinsanity2324
    @caffeinatedinsanity2324 3 ปีที่แล้ว +1

    A good follow-up to this basics video: Direct Memory Access (or DMA). For very high speed data transfer

  • @johue2458
    @johue2458 ปีที่แล้ว

    Lovely

  • @harikamalakarreddydarapu7410
    @harikamalakarreddydarapu7410 3 ปีที่แล้ว +1

    Sir as you started with esp32 please make a video on micro python

  • @techbarron7383
    @techbarron7383 3 ปีที่แล้ว

    Hi,,great scoot,,can you make a short circuit keller? And how it works

  • @susugar3338
    @susugar3338 3 ปีที่แล้ว

    I hope you will have a video : Building a Bluetooth receiver with esp32

  • @luizz1997
    @luizz1997 3 ปีที่แล้ว

    Can you make the quality of the audio better with some modification? i was kinda disappointed with that much work for a so "robot"-like sound