WARNING - This video contains a very bright shirt and may be harmful to your eyes! I'll have to remember not to film wearing that one again, sorry, I didn't realize how intense the color was until TH-cam rendered the video. Otherwise, I hope you enjoy the video! Bill
You are setting the standard for excellence in tutorial videos; on TH-cam and elsewhere! Well done! The content is very interesting and useful. Thank you so much!
Your videos are incredible. I've found them on multiple occasions by different search means. I don't know how to explain it but even beyond the usefulness of these incredibly high-quality tutorials your videos make me happy. I'm glad you're out there teaching people. Sending love PS, shouts out to the esp32. what an awesome piece of kit.
Your videos are so excellent! I tought stuff like this for 20years and was losing interest, but after seen the qualty and content of your videos and teaching methods I am back at experimenting. Love it! thanks!
This is an amazing channel. One of the few with thorough explanations for people like me with no background in electronics but eager to learn and hopefully complete some projects.
Just a note: The wiring diagram for the INMP441 at 13:04 doesn't immediately match the code download on your page: Specifically, GPIO pins 32 and 33 are switched. Easy fix, thanks for the clear explanation.
There is a small mistake at 2:08, I2S works with PCM (pulse code modulation), not pulse width modulation. Love your videos! Thx for this great tutorial.
Excellent explanation and demonstration on the I2S protocol with the esp32. I'm planning to make an Internet radio and this is exactly the detailed information I needed, thank you.
Did you build the radio? I did works great. I'm stumped at the volume control. My 'no brand' 38 pin dev board has no pin GP39 nor can I find ADC03 on any of the ESP Vroom 32 pins. Any help here would be appreciated.
Thank you so much for this video, I just spent literally hours trying to navigate the world of I2S libraries to try and get a simple microphone + speaker to work. This video helped so much for the background knowledge and hopefully I'll be able to figure it out now 🙏
Excellent video Bill! Didn’t notice the shirt until I read your comment ! Copy write does make it difficult to show how well audio projects work , I see a lot of it with vintage radio channels and they don’t seem to have a problem as long as it is very brief - less than 2 seconds and usually they try to stick to stations that only play instrumental stuff like classical .
I'm using the Teensy 4.1 as a waveform synthesizer, outputting 5 discrete signals (X, Y, red, green, & blue) to a laser projector. There is a total of 17 waveforms being generated, including 4 * X/Y pairs for the basic image, 2 pairs for AM pulsing, 2 triples for RGB color modulation, and one for intensity modulation.
Thank you for more excellent content. I think this channel is amazing and you have quickly become my go to guy when researching my ideas. I'm currently trying to use both ESP32-CAM and Wrover boards to build CCTV cameras for my home and wondering how to record audio with the video. This tutorial though now has me thinking of how I can add some totally custom sound systems to both my bar and my camper van. Thank you so much.
Excellent bundle of projects - much appreciated, plus thx for the latest newsletter! 👍 Also, testing internet radios is safer (from copyright hits) tuning into talk stations... but we trust you. 😀
Yes, same here. Bill; Andrew Spiess, the guy with the Swiss accent; Christopher Barnatt, from Explaining Computers; and others have had the same impact on myself. I'm currently building a laser show system for my living room.😎
Hi Bill. Thanks for the great video. You teach better than most people. with all due respect to Andreas, your videos are more comprehensive than his. I think his work should not stop you from doing what you do better. I need to learn how to send audio streaming from one ESP to another through Bluetooth. or ESP now, Would you shed some light on this, please? Thanks
Super video lesson. Thank you so much. So for the next step, would you please try to transfer sound (i2s protocol) by radio? 4 different cases possible: 1)Esp32 has built-in wifi/bt module, so its possible to make kind of walkie-talkie through standard protocol. 2) esp-now 3) external radiomodule (barely lora modules fit for streaming signal, but maybe a short audio messages?) otherwise nrf24l01 are good. 4) through the internet server (existing or just a custom homemade server on orange-pi or etc) Would be very helpful. Thanks!
Just in time! Thanks for the video. What is your recommendation on modules, IC, or components to get always to cleanest sound ? Because I want to focus on making synth or sample-based works, and want to look at the right parts from the start. Btw, I can't believe you are so polite about making the video late so don't look like you copy Andreas. I think most the people don't care about two good videos about a topic ;)
I highly recommend starting with the Teensy 4.x and he Notes and Volts' YT step by step tutorials. That's where I learned the basics to build a 5 channel, 17 waveform laser synth, with mixers, multipliers, LFOs. BTW, there is also Teensy synth kit being sold online. th-cam.com/video/uCA2L7CeWSE/w-d-xo.html The front panel and PCB for the controls can be purchased for ~100. I purchased one, as well as all of the pots, just to see what was involved, but never did anything with it. Let me know if you would like it. It's already boxed up and ready to ship.😎
@@TheOleHermit Thanks ! what an impressive synth, that's a great start and takes a friendly approach to how it works. I gonna take a look. It haves a clean look and way of building.
@@salvadorkda5758 Glad you like it. Sooo... does that mean that you would like to have my unused Teensy Synth kit? If the answer is, "Yes", then we should discuss the details via email. However, when I'm not a maker/laserist, I'm a no BS online keyboard warrior of politics. IOW, revealing my email would expose my identity and potentially place my life in serious jeopardy. I see that your YT channel is as locked down as mine. So, if you don't mind providing me with your email, then we can proceed with this transaction in private. You can easily delete your YT comment as soon as I reply or whenever you like. 😎
Wonderful tutorial. Exactly what I needed. Thank you so much. The only thing I don't understand is the fact that you only seem to own one Micro SD card. 🙂
Hi Bill, Just another GREAT video! Why didn't you use the the memory card on the ESP32 instead of the external card reader? Thank You and have a Great Day!
Thanks for this video. It was helpful. One thing to consider: the Adafruit SD breakout contains a voltage regular to convert 5V to 3.3. You connected the input of this regulator to 3.3V instead of 5V. This (usually?) works because the regulator has a very low voltage drop, but it still has a drop. You will be running the SD card at 3.2 or 3.1V rather than 3.3V. Maybe it is better to connect the SD breakout 5V pin to the ESP32 VIN (5V) rather than the ESP32 3.3V. The SD breakout uses a 4050 hex buffer that is powered from the 3.3V rail. So, it causes the signal outputs to be 3.3V. regardless of the voltage supplied to the SD breakout via its 5V input. This works for 5V systems (e.g. Arduino boards, not ESP32s) because 3.3 is more than 2.5V, and the 4050 tolerates 5V inputs. If for some reason one must drive the SD breakout with 3.3V, I think it would be OK to connect a 3.3 supply to the SD breakout's 3.3V pin. This bypasses the regulator.
Thanks for the great description of working with audio. It all looks pretty straightforward, but I haven't gotten around to getting any I2S peripherals yet. BTW, I like the looks of those jumper wires you use -- can you tell me where you got them? I also heard about a VS1053 MP3 decoder on another ESP32 channel -- is that similar to what you're using? What are the differences? (It would be handy to have links to the hardware you use accompanying the video.) Thanks!
Excellent explanation as expected. Thanks a lot. Can a robotic project be made using these devices to work on voice commands without depending upon Google home , Alexa and several other 3rd party applications?
My only complaint is your workshop is too neat and tidy and it puts mine to shame. Although, if mine was that tidy I'd never find anything! Keep up the good work.
Yes, great suggestion. I attempted building a poor man's SONOS multi room sound system, by streaming audio from VLC to RPi 'receivers', with audio HATs. Unfortunately, I was too stupid to figure out how to keep them all in sync. BTW, now I prefer VLC for recording video, but use Audacity for recording audio. Just discovered Animotica for video editing, but not convinced that it is the best free editor. BR😎
Excellent tutorial - thank you. Just one comment - consider using old classical music for the demonstrations as it is not copyrighted and is in the public domain - Tom and Jerry cartoons do the same for the same reason.
To me the Lear thing about copyright issues in your video is the intent. Your intent is NOT to play a copyrighted song. Your intent is to demonstrate the electronics and the operation of what you built. I would be VERY disappointed if an agency or TH-cam would be upset over an even slightly longer playing of copyrighted material for a channel like your. I enjoy you videos and learn a lot from them.
Unfortunately TH-cam doesn't give a damn. They've flagged videos where for example people were recording an outdoor scene and someone just happened to drive by within earshot of the mic while blaring their car stereo.
Hi, thank you so much for the excellent video. May you please help me by answering the question below. What are the most common real time examples in which SOC is used as Target ( i.e other peripheral is giving SCK and WS signals ). Would you also please mention the devices which can be used as master. Thank you
Just a heads up, you are spelling Philips incorrectly, no big deal but I noticed in this video and on the web site. Cheers and thanks for this great video.
That little MP3 Player based on the ESP32 could be perfect for something like a model railway situation where you may just want a looping file of sound effects relevant to a particular scene. The quality of the sound is quite good :) With this setup, would it be possible to use a button or integrate an LCD to choose the "station" to play? I know these are mostly just little experimental projects, but I love doing stuff like this :) Oh, just a note. The link to the article doesn't work properly as you have a \ instead of / :)
You could have one in each rail station, calling out train arrivals, or in each home, complete with family arguments. How about echoing train sounds inside the tunnels? Yes, you could control some from timers or via GUI on a phone app. I remember a guy in Cincinnati, back in the 1960's, who had an entire garage converted into a miniature landscape with multiple tracks and a roundhouse. Sounds like great fun.😎
Since you demonstrated microphone input, and speaker output, one assumes that creating something that will both record and play back sound is possible with an I2S device and the proper modifications, correct? I look forward to playing around with this at some point. It will make a nice addition to my tricorder project.
I am somewhat sure that the size argument in i2s_read() function is the size in byte(how many bytes you wish to read) and as you are using 16bit samples the bufferLen should be multiplied by 2 or more correctly sizeof(sBuffer[0]). As you used only the bufferLen only half of sBuffer will be filled with samples.
Happy New Year Bil..❤ All the best with the Projects. Still on my Ard'o R4 Minima Data. Might like some advice on some old technology. Cheers..❤😂 🎄🐻🎄🛍️🔬
Great video, Bill! I'm one of those myriad of other I2S users/makers. But, I chose the Teensy 4.1 for my project, because of it's great Audio library, which was forked by Adafruit on github. Thanks to your great explanation, now I understand why the 2 libraries are incompatible, because of different DIN pin assignments. I'm using the Teensy 4.1 as a waveform synthesizer, outputting 5 discrete signals (X, Y, red, green, & blue) to a laser projector. There is a total of 17 waveforms being generated, including 4 * X/Y pairs for the basic image, 2 pairs for AM pulsing, 2 triples for RGB color modulation, and one for intensity modulation. The waveform generators are pushing the galvos to their 1kHz limits and can be mixed between sine, square, or variable sawtooth waveforms. Each of the image generators have envelopes with commonly controlled ADSR to avoid snapping the galvos while changing preset frequencies and/or waveforms. All of these + mixing gains are controllable via usbMIDI from an Akai APC40 MIDI desk, Cakewalk's DAW, and/or Pure Data's GUI on a 22" touchscreen monitor, for additional controls. Speaking as an old Laserium laserist, I can vouch that the Teensy 4.1's audio library is rivaling the capabilities of their show system, for only ~$100 + ~$850 RGB laser projector + ~$250 MIDI controller. IOW, I have a laser show in my living room for ~ the same price as my 5.2 Polk/Denon sound system. That blows away my previous expectations for any MCU. Can't praise PJRC enough for producing such a great range of products, with great documentation, a node red-like GUI audio design tool, and welcoming support forums. Okay, I'm finished with gushing my joy all over everyone. Only wanted to share my I2S experience. If anyone is interested in the details, our pal Dave, on Notes and Volts has great step by step DIY synth tutorials on YT for both the Teensy and Arduino MCUs. th-cam.com/play/PL4_gPbvyebyHi4VRZEOG9RKOYq5Hre3a1.html 😎
WARNING - This video contains a very bright shirt and may be harmful to your eyes! I'll have to remember not to film wearing that one again, sorry, I didn't realize how intense the color was until TH-cam rendered the video.
Otherwise, I hope you enjoy the video!
Bill
That shirt is brighter than my future.
No! The color is great. It brightens up everything.
My wife is in charge of fabric colours around here and says your shirt is good. So there you go.
No problem, Bill. Didn't even notice.😎
Did notice, but it doesn't change the contents. Which still is of excellent quality and pedagogic, as usual.
I always wanted to learn about I2S and here is all in one theoretical / practical tutorial !!. Thank you for your awesome work.
You are setting the standard for excellence in tutorial videos; on TH-cam and elsewhere! Well done! The content is very interesting and useful. Thank you so much!
Your videos are incredible. I've found them on multiple occasions by different search means. I don't know how to explain it but even beyond the usefulness of these incredibly high-quality tutorials your videos make me happy. I'm glad you're out there teaching people. Sending love
PS, shouts out to the esp32. what an awesome piece of kit.
Your videos are so excellent! I tought stuff like this for 20years and was losing interest, but after seen the qualty and content of your videos and teaching methods I am back at experimenting. Love it! thanks!
This is an amazing channel. One of the few with thorough explanations for people like me with no background in electronics but eager to learn and hopefully complete some projects.
ありがとうございます! こんなに分かりやすい解説に出会って、ラッキーです。
Thank You!
Thanks! This is perfect! Your videos are so helpful!
Thank you, glad you found it useful!
You are awesome sir, i am truely honored to find you. Thank u for all of your perfect tutorials. Love from Iran
Just a note: The wiring diagram for the INMP441 at 13:04 doesn't immediately match the code download on your page: Specifically, GPIO pins 32 and 33 are switched. Easy fix, thanks for the clear explanation.
Thankyou...I was disappointed it didn't work the first time but changed the pins and it works great!
There is a small mistake at 2:08, I2S works with PCM (pulse code modulation), not pulse width modulation.
Love your videos! Thx for this great tutorial.
I immediately went looking for this comment. lol
Thanks
Thank you Israel, I appreciate it!
WOW! Sir, with this one you simply have over excelled yourself. I have been craving this tutorial. And it covers everything. Thank you and be blessed.
Cool tutorial. Great to hear someone knowledgeable on this weird protocol.
what I like about this channel is the very good explaination from theory to actual. Lot to learn from this channel
Excellent explanation and demonstration on the I2S protocol with the esp32. I'm planning to make an Internet radio and this is exactly the detailed information I needed, thank you.
Did you build the radio? I did works great. I'm stumped at the volume control. My 'no brand' 38 pin dev board has no pin GP39 nor can I find ADC03 on any of the ESP Vroom 32 pins. Any help here would be appreciated.
You are very pedagogical and yet concise. Very good!
I really like how you present your projects, I know it's alot of passionate work.
Outstanding tutorial, great section on I2S and common configurations. Describes everything I wanted to know THANK YOU!
Your channel is a treasure for me
Thank you
Thank you very much!!
You are a good teacher.
Thank you for sharing your time and knowledge with everyone!!!
Thanks for a nice compact tutorial on i2s and internet radio.
Thanks for your dedication to sharing your expertise. Really inspiring!
Thank you so much for this video, I just spent literally hours trying to navigate the world of I2S libraries to try and get a simple microphone + speaker to work. This video helped so much for the background knowledge and hopefully I'll be able to figure it out now 🙏
Now this is called quality content. Subscribed!
Excellent video Bill!
Didn’t notice the shirt until I read your comment !
Copy write does make it difficult to show how well audio projects work , I see a lot of it with vintage radio channels and they don’t seem to have a problem as long as it is very brief - less than 2 seconds and usually they try to stick to stations that only play instrumental stuff like classical .
What a clear en extended explanation of this subject. Thanks !
Bill, thanks for your hard working and good sharing, so many details
Very good tutorial, clear and extended explanation of this subject ! Respect !
I'm using the Teensy 4.1 as a waveform synthesizer, outputting 5 discrete signals (X, Y, red, green, & blue) to a laser projector. There is a total of 17 waveforms being generated, including 4 * X/Y pairs for the basic image, 2 pairs for AM pulsing, 2 triples for RGB color modulation, and one for intensity modulation.
Thanks for letting me know about 0nradio.
It was a very good project, thank you for making a decent video about it!
Awesome idea! As always a super described tutorial and nice explanation
Thank you too much! despite on my low level in English, i have understood nearly 100 percent, really useful video!
Very good guide for I2S Thank you
My favorite area!. Thank you Bill.
Thanks DroneBot Workshop for your tutorial
Thank you for more excellent content. I think this channel is amazing and you have quickly become my go to guy when researching my ideas. I'm currently trying to use both ESP32-CAM and Wrover boards to build CCTV cameras for my home and wondering how to record audio with the video. This tutorial though now has me thinking of how I can add some totally custom sound systems to both my bar and my camper van. Thank you so much.
Excellent bundle of projects - much appreciated, plus thx for the latest newsletter! 👍
Also, testing internet radios is safer (from copyright hits) tuning into talk stations... but we trust you. 😀
Great video. It covered a lot of what I was looking for!
Thank you!
You are fantastic! You just opened the door to many ideas for me! Thank you very much!
Yes, same here. Bill; Andrew Spiess, the guy with the Swiss accent; Christopher Barnatt, from Explaining Computers; and others have had the same impact on myself.
I'm currently building a laser show system for my living room.😎
Watching a few months late. Outstanding tutorial as usual!
Hi Bill. Thanks for the great video. You teach better than most people. with all due respect to Andreas, your videos are more comprehensive than his. I think his work should not stop you from
doing what you do better. I need to learn how to send audio streaming from one ESP to another through Bluetooth. or ESP now, Would you shed some light on this, please? Thanks
Great video Bill! Going to try an internet radio
Great Presentation as always 👍
Very very good video. Great job! Might try to build the internet audio for my grandson.
Very helpful video 👍
Looks like the Adafruit stereo board highlighted at 9:46 is discontinued. They have a "replacement" board, but it's not stereo.
Super video lesson. Thank you so much.
So for the next step, would you please try to transfer sound (i2s protocol) by radio?
4 different cases possible:
1)Esp32 has built-in wifi/bt module, so its possible to make kind of walkie-talkie through standard protocol.
2) esp-now
3) external radiomodule (barely lora modules fit for streaming signal, but maybe a short audio messages?) otherwise nrf24l01 are good.
4) through the internet server (existing or just a custom homemade server on orange-pi or etc)
Would be very helpful. Thanks!
Just in time! Thanks for the video.
What is your recommendation on modules, IC, or components to get always to cleanest sound ? Because I want to focus on making synth or sample-based works, and want to look at the right parts from the start.
Btw, I can't believe you are so polite about making the video late so don't look like you copy Andreas. I think most the people don't care about two good videos about a topic ;)
I highly recommend starting with the Teensy 4.x and he Notes and Volts' YT step by step tutorials. That's where I learned the basics to build a 5 channel, 17 waveform laser synth, with mixers, multipliers, LFOs.
BTW, there is also Teensy synth kit being sold online.
th-cam.com/video/uCA2L7CeWSE/w-d-xo.html
The front panel and PCB for the controls can be purchased for ~100. I purchased one, as well as all of the pots, just to see what was involved, but never did anything with it.
Let me know if you would like it. It's already boxed up and ready to ship.😎
@@TheOleHermit Thanks ! what an impressive synth, that's a great start and takes a friendly approach to how it works. I gonna take a look.
It haves a clean look and way of building.
@@salvadorkda5758 Glad you like it.
Sooo...
does that mean that you would like to have my unused Teensy Synth kit?
If the answer is, "Yes", then we should discuss the details via email.
However, when I'm not a maker/laserist, I'm a no BS online keyboard warrior of politics. IOW, revealing my email would expose my identity and potentially place my life in serious jeopardy.
I see that your YT channel is as locked down as mine. So, if you don't mind providing me with your email, then we can proceed with this transaction in private.
You can easily delete your YT comment as soon as I reply or whenever you like.
😎
@@TheOleHermit I'm not interested in buying one atm. But thanks for the offer :D
You create great videos. Thanks.
Thank you, Bill! Very informative video, as always. 👍🙂
Thanks for posting on this topic sir....
I was looking for it 😉😉
Your video is really helpful. Thank you
Great work! At 10:07 you say that the module accepts I2C, I think you meant I2S. First time for everything.
Wonderful tutorial. Exactly what I needed. Thank you so much. The only thing I don't understand is the fact that you only seem to own one Micro SD card. 🙂
Hi Bill, Just another GREAT video! Why didn't you use the the memory card on the ESP32 instead of the external card reader?
Thank You and have a Great Day!
Love the esp 32 content!
Thanks for this video. It was helpful. One thing to consider: the Adafruit SD breakout contains a voltage regular to convert 5V to 3.3. You connected the input of this regulator to 3.3V instead of 5V. This (usually?) works because the regulator has a very low voltage drop, but it still has a drop. You will be running the SD card at 3.2 or 3.1V rather than 3.3V. Maybe it is better to connect the SD breakout 5V pin to the ESP32 VIN (5V) rather than the ESP32 3.3V. The SD breakout uses a 4050 hex buffer that is powered from the 3.3V rail. So, it causes the signal outputs to be 3.3V. regardless of the voltage supplied to the SD breakout via its 5V input. This works for 5V systems (e.g. Arduino boards, not ESP32s) because 3.3 is more than 2.5V, and the 4050 tolerates 5V inputs.
If for some reason one must drive the SD breakout with 3.3V, I think it would be OK to connect a 3.3 supply to the SD breakout's 3.3V pin. This bypasses the regulator.
excellent point! Thank you
At 16:53, how come you are dividing bytes by 8 to get the number of samples? If each sample is 16 bits (2 bytes), then shouldn't you be dividing by 2?
I also have this problem
Thanks for the great description of working with audio. It all looks pretty straightforward, but I haven't gotten around to getting any I2S peripherals yet. BTW, I like the looks of those jumper wires you use -- can you tell me where you got them? I also heard about a VS1053 MP3 decoder on another ESP32 channel -- is that similar to what you're using? What are the differences? (It would be handy to have links to the hardware you use accompanying the video.) Thanks!
It is absolutely maddening how little you discussed choosing the correct speaker.
Excellent explanation as expected. Thanks a lot. Can a robotic project be made using these devices to work on voice commands without depending upon Google home
, Alexa and several other 3rd party applications?
I learned a lot trough this video, thanks so much... You're amazing
Thanks for this video. Very intriguing. Where do you get the URL's for the music sources?
Thanks!
Super helpful for my project, thank you!
Thanks Bill! Did you have a chance to do the experiments on PlatformIO? Just curious about the stability of the library.
Note that some SD card breakout boards do need to be powered with 5v, and have a built-in voltage regulator for 3.3v operation.
Good video. I want to learn how to have an i2s source sending stereo sound to the esp32 and a decoder playing it back using DMA, at the same time.
My only complaint is your workshop is too neat and tidy and it puts mine to shame. Although, if mine was that tidy I'd never find anything! Keep up the good work.
Great video, thanks
You could use VLC to stream DRM free music from your computer over the network. That'd provide a safe web radio for recording.
Yes, great suggestion. I attempted building a poor man's SONOS multi room sound system, by streaming audio from VLC to RPi 'receivers', with audio HATs. Unfortunately, I was too stupid to figure out how to keep them all in sync.
BTW, now I prefer VLC for recording video, but use Audacity for recording audio. Just discovered Animotica for video editing, but not convinced that it is the best free editor.
BR😎
Please gain your audio... It is harder to listen even in full volume in phone
Awesome work, thanks for sharing!
Excellent tutorial - thank you. Just one comment - consider using old classical music for the demonstrations as it is not copyrighted and is in the public domain - Tom and Jerry cartoons do the same for the same reason.
To me the Lear thing about copyright issues in your video is the intent. Your intent is NOT to play a copyrighted song. Your intent is to demonstrate the electronics and the operation of what you built. I would be VERY disappointed if an agency or TH-cam would be upset over an even slightly longer playing of copyrighted material for a channel like your. I enjoy you videos and learn a lot from them.
Unfortunately TH-cam doesn't give a damn. They've flagged videos where for example people were recording an outdoor scene and someone just happened to drive by within earshot of the mic while blaring their car stereo.
TH-cam has a whole library of music to use.
clear, concise, thank you!
Hi, thank you so much for the excellent video.
May you please help me by answering the question below.
What are the most common real time examples in which SOC is used as Target ( i.e other peripheral is giving SCK and WS signals ).
Would you also please mention the devices which can be used as master.
Thank you
43:29 How about using songs without copyright? Or TH-cams own files they are offering?
Great tutorials, earned my Sub!
Very neat video. Im thinning ill put one of these into an old vintage rca radio. Suggestions on power supply?
Bill ur awsome .... very well presented....
I love your work
Just a heads up, you are spelling Philips incorrectly, no big deal but I noticed in this video and on the web site. Cheers and thanks for this great video.
Excellent,as usual 😁👍🏻
Thank you , great video
Thanks from 🇧🇷
That little MP3 Player based on the ESP32 could be perfect for something like a model railway situation where you may just want a looping file of sound effects relevant to a particular scene. The quality of the sound is quite good :)
With this setup, would it be possible to use a button or integrate an LCD to choose the "station" to play?
I know these are mostly just little experimental projects, but I love doing stuff like this :)
Oh, just a note. The link to the article doesn't work properly as you have a \ instead of / :)
Yes, you could tie a button select to change the station web address string then reconnect to that one.
You could have one in each rail station, calling out train arrivals, or in each home, complete with family arguments. How about echoing train sounds inside the tunnels?
Yes, you could control some from timers or via GUI on a phone app.
I remember a guy in Cincinnati, back in the 1960's, who had an entire garage converted into a miniature landscape with multiple tracks and a roundhouse. Sounds like great fun.😎
Stop wasting my time..
... by suggesting so many cool things to do with these MP3 players.😚
@@oscargr_ "I didn't mean to take up all your sweet time. I'll give it right back one of these days." - Voodoo Chile, Jimi Hendrix. 😎
Pls make complete videos on individual video on ,MP3 player with buttons and internet radio with tune option
ive been using TH-cam ever since
this is the second channel i subscribe
btw first was Andreas 😄
Hello from Cuba teacher.
isn't there an error with your sd card wiring ? MISO should be connected to GPIO 19 and CLK to 18, right?
The wiring is actually correct (CLK goes to 18), but in the list next to it it is wrong: GP18, GP19 are swapped.
Since you demonstrated microphone input, and speaker output, one assumes that creating something that will both record and play back sound is possible with an I2S device and the proper modifications, correct? I look forward to playing around with this at some point. It will make a nice addition to my tricorder project.
How did you set up. your local wifi radio? can you route a output from another dive or software to the radio live?
I am somewhat sure that the size argument in i2s_read() function is the size in byte(how many bytes you wish to read) and as you are using 16bit samples the bufferLen should be multiplied by 2 or more correctly sizeof(sBuffer[0]). As you used only the bufferLen only half of sBuffer will be filled with samples.
Hello, what about recording audio from microphone, and play it as a "sample"? That can be useful to build a musical instrument...
Happy New Year Bil..❤ All the best with the Projects. Still on my Ard'o R4 Minima Data.
Might like some advice on some old technology. Cheers..❤😂 🎄🐻🎄🛍️🔬
Hi, Good video, but I also know you could use the module's internal bluetooth to play audio?
Great video, Bill! I'm one of those myriad of other I2S users/makers.
But, I chose the Teensy 4.1 for my project, because of it's great Audio library, which was forked by Adafruit on github.
Thanks to your great explanation, now I understand why the 2 libraries are incompatible, because of different DIN pin assignments.
I'm using the Teensy 4.1 as a waveform synthesizer, outputting 5 discrete signals (X, Y, red, green, & blue) to a laser projector. There is a total of 17 waveforms being generated, including 4 * X/Y pairs for the basic image, 2 pairs for AM pulsing, 2 triples for RGB color modulation, and one for intensity modulation.
The waveform generators are pushing the galvos to their 1kHz limits and can be mixed between sine, square, or variable sawtooth waveforms.
Each of the image generators have envelopes with commonly controlled ADSR to avoid snapping the galvos while changing preset frequencies and/or waveforms.
All of these + mixing gains are controllable via usbMIDI from an Akai APC40 MIDI desk, Cakewalk's DAW, and/or Pure Data's GUI on a 22" touchscreen monitor, for additional controls.
Speaking as an old Laserium laserist, I can vouch that the Teensy 4.1's audio library is rivaling the capabilities of their show system, for only ~$100 + ~$850 RGB laser projector + ~$250 MIDI controller. IOW, I have a laser show in my living room for ~ the same price as my 5.2 Polk/Denon sound system. That blows away my previous expectations for any MCU.
Can't praise PJRC enough for producing such a great range of products, with great documentation, a node red-like GUI audio design tool, and welcoming support forums.
Okay, I'm finished with gushing my joy all over everyone. Only wanted to share my I2S experience. If anyone is interested in the details, our pal Dave, on Notes and Volts has great step by step DIY synth tutorials on YT for both the Teensy and Arduino MCUs.
th-cam.com/play/PL4_gPbvyebyHi4VRZEOG9RKOYq5Hre3a1.html
😎
nice shirt. great contents. I would also like to see a bluetooth speaker project.
Very informative and interesting video. Wonder if there are any good modules that output line level audio signal, to use with external amplifiers.
Hi there , I think you have a typo , it's MAX98357A not 9357A , Great video!