I2SAudio Library, work in progress 2. (ESP32 I2S Audio, WAV, MP3)

  Рет қаралды 3,617

XTronical

XTronical

Күн бұрын

Episode 2 looking at current progress of my new I2S Audio Library which is an implementation of my DACAudio library.
Affiliate links for the items shown:
ESP32 : amzn.to/3gaIuXR
Speakers: amzn.to/310hUZh
I2S 98357A boards: amzn.to/3s3rUNo
For other projects and ideas see : www.xtronical.com
This is my invite link for joining Odysee (Lbry)- odysee.com/$/i...
I get some Lbry Credits if you use this to join. Appreciated if you use it :) otherwise, here's a link to my channel on Odysee:
odysee.com/@XT...
If you'd like to support me via Patreon then the link is below and that would be just amazing. Patreons have access to all videos early plus can view all the posts on Patreon. There are other rewards if you're interested. If you just want to watch videos then that's also fantastic because without people viewing I wouldn't even do half of what I do. So thanks very much :)
Patreon at : / xtronical
If you don't like Patreon you can go to my website www.xtronical.com you will find a box to make a direct one off donation to via paypal.
Credits
Intro/Outro Music by Creo Music : www.creo-music.com
Some sounds from Freesound.org
Some images from OpenClipart-Vectors from Pixabay
Some videos from www.pexels.com/
Spectrum Image : en.wikipedia.o...

Пікірлер: 27
@davidburke52
@davidburke52 3 жыл бұрын
Great project. Look forward to incorporating it into my own.
@XTronical
@XTronical 3 жыл бұрын
It's main priority at the moment, so as long as real life work doesn't get too much in the way then progress should be good.
@brianharper9798
@brianharper9798 3 жыл бұрын
Really interesting, I'm really interested in synthesizers and think maybe with a few additional commands could be the basis of a nice tone generator. Possibly ADSR and maybe the ability to play multiple tones at once. Great work, really looking forward to seeing where this is going.
@XTronical
@XTronical 3 жыл бұрын
It has ADSR coded now but need to check with my scope to ensure waveform looks right. Multiple tones at once is implemented. One of my original aims was to be able for it to mimic a synthesiser. Thanks for your comments.
@brianharper9798
@brianharper9798 3 жыл бұрын
That's fantastic, already having ideas for a VCO for use in maybe a modular system. The code to do the Volt per octave and gate input should be fairly straightforward.
@dr_frost_dk
@dr_frost_dk 3 жыл бұрын
Nice as i need a beep for the laser rifle taget system
@ernstgennial7064
@ernstgennial7064 3 жыл бұрын
Very nice!
@dr_frost_dk
@dr_frost_dk 3 жыл бұрын
Nice work so far :), looking forward to SD card play and Speed/Tempo for WAV files
@XTronical
@XTronical 3 жыл бұрын
Speed /tempo next along with sequences then sd card.
@Slider2732
@Slider2732 3 жыл бұрын
Great, cos i'd like to make a 'rompler'. Load up classic patches such as a Korg M1 piano from SD card and off we go (if polyphony is going to be a thing). Btw, ZX Spectrum and Austin Allegro in one video... marvelous :)
@domoticainfo
@domoticainfo 3 жыл бұрын
Love that you share the progress. Out of curiosity; where on your backlog is using the memory of the esp32? Since i use the library for a lightsaber for my son and i don't have to much space in the handle. I'd love to use the onboard memory to play random mp3s of sound effects.
@XTronical
@XTronical 3 жыл бұрын
That's implemented using wavs already. But not mp3 yet.
@domoticainfo
@domoticainfo 3 жыл бұрын
@@XTronical it's a great start! Since i can always use less wavs then and add more mp3 later. I'll follow your efforts. Thanks for the answer
@Harvid.
@Harvid. 3 жыл бұрын
Will you consider to make it able to stream sound over wifi ? It could be very useful for make a home music system, one Esp stream to multiple other Esp "players".
@XTronical
@XTronical 3 жыл бұрын
I don't mind adding that in, but it's after the other stuff I'm afraid
@Harvid.
@Harvid. 3 жыл бұрын
I have ford about this for couple of years. That was actually how I have found your channel :-) My ider is like.. Phone - bluetooth to Esp base station. And Esp base station to "player" Esp's. Diy home speaker system and you can turn on/off in any room No hassle I just want to share that idea with you.
@lavishninja5100
@lavishninja5100 3 жыл бұрын
Awesome brotha! Question how big of a file could be played or time wise say if I wanted to play a 30 sec mp3? Hows the sound quality?
@XTronical
@XTronical 3 жыл бұрын
At top notch quality 32 bit 44100 samples per second about a Meg. But that's far more quality than is required in my opinion. 16 bit would be fine and would half that storage amount. I will be implementing sd card storage in future
@lavishninja5100
@lavishninja5100 3 жыл бұрын
@@XTronical thanks for the reply, trying to get around a 40 second clip with good quality , this the video I should reference?
@XTronical
@XTronical 3 жыл бұрын
If you just want to play 1 mp3 at a time then check out this video using a different library kzbin.info/www/bejne/fJKYl2t_q96kpaM My new library is more sophisticated but may be more than you need.
@WistrelChianti
@WistrelChianti 3 жыл бұрын
Is there a benefit to using i2s over the DAC or is it simply just another way to do things? (Which is fine and useful of course)
@XTronical
@XTronical 3 жыл бұрын
Yes, the dac only supports 8bit mono sound. I2s supports upto 32 bit stereo sound. So much higher quality.
@WistrelChianti
@WistrelChianti 3 жыл бұрын
@@XTronical ah thanks for the explanation. I assume it had 2 DACs for stereo but indeed the greater quality is reason enough
@XTronical
@XTronical 3 жыл бұрын
You could implement the two dacs as stereo, it was requested for the old library. But it would use up another dac pin and for a not much improvement. So I decided to go i2s for this. Thanks for your comments.
@WistrelChianti
@WistrelChianti 3 жыл бұрын
@@XTronical no! Thanks for the libraries and the nice demos!
@dr_frost_dk
@dr_frost_dk 3 жыл бұрын
Add sounds to the Musicscore as INSTRUMENT_PIANO option then you have made a MOD player/creator system :)
@XTronical
@XTronical 3 жыл бұрын
Yes, my original idea with DACAudio was to make it like a synthesiser, and with this version too.... Eventually anyway!
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
#419 ESP32 Audio Tutorial with lots of examples
13:48
Andreas Spiess
Рет қаралды 272 М.
3 engineers race to design a PCB in 2 hours | Design Battle
11:50
Predictable Designs
Рет қаралды 566 М.
Play MP3 Files on ESP32 Without Codec Chip: Easy Guide
8:51
atomic14
Рет қаралды 96 М.
Audio modules for electronics project
37:54
Playful Technology
Рет қаралды 73 М.
DIY Laser Image Projector (100ft+ Range!)
20:08
Ben Makes Everything
Рет қаралды 546 М.
The RS-232 protocol
26:10
Ben Eater
Рет қаралды 870 М.
Американцы красят асфальт?
0:27
BAZAR CLUB
Рет қаралды 188 М.
Американцы красят асфальт?
0:27
BAZAR CLUB
Рет қаралды 188 М.
пранк: псих сбежал из дурдома
0:53
Анна Зинкина
Рет қаралды 1,7 МЛН
изобрёл молоток мечты
0:55
Упоротый ПОВАР
Рет қаралды 543 М.
The Million view clip on China's Tiktok P2428 #shorts #gochannel
0:15
Go Channel TV
Рет қаралды 29 МЛН
Лайфхак: Легально делать деньги
0:43