GadgetReboot / ESP32-A1S

Breakout PCB for the ESP32-A1S module including an audio amp and basic GPIO headers, USB interface
14 stars 6 forks source link

Not an issue. #1

Open MichaelPNolan opened 3 years ago

MichaelPNolan commented 3 years ago

More like I want to say this was very helpful ... and I wish there was a place where I could link for others who want to learn using your code. I have written a more feature rich player moving on from the parts you put together to test playing mp3 from the card. Wondering if sharing my code so it's another sketch in your project is easier for others to find than trying to do my own video/links/github.

GadgetReboot commented 3 years ago

More like I want to say this was very helpful ... and I wish there was a place where I could link for others who want to learn using your code. I have written a more feature rich player moving on from the parts you put together to test playing mp3 from the card. Wondering if sharing my code so it's another sketch in your project is easier for others to find than trying to do my own video/links/github.

I'm glad it was helpful! If you have a working demo sketch I could add it to the project examples for people to learn from.

MichaelPNolan commented 3 years ago

Great - I've got a hack/continuation of your work SD_MP3_I2S_Hack02 .ino.txt Rename to .ino This a Hack02 version that can do FLAC and MP3 but the FLAC doesn't really work properly, its too slow ... or has noise. At least with the files I've tried so far. Something mentioned about running flac->loop(); to give it additional time to protest during the main program loop was mentioned. https://www.gitmemory.com/issue/earlephilhower/ESP8266Audio/301/686562378 That is where I was at when I uploaded.

There was a version before it that was just doing MP3 ... SD_MP3_I2S_Hack01.ino.txt It might help people who want to make a music player. Best case for me is that ... more libraries get extended or ported from expressif ADF/IDF that might work. I've not made libraries in Arduino yet.

About me: I'm 52 and I started coding when I was 9. That doesn't mean I'm good at it - but i've been hacking this and that all my life in IT job. I was a musician as a trade for good portion of my life too ... which explains why I'm not a pro-software engineer. I'm also making circuits but I've only ever done one PCB order from China for a pre-amp. I'm working on a headphone amp PCB .. and this is what leads me to an interest in DAC. I'm looking at making a midi master USB interface so I can play with the Marcel LIcence software and make hacks of that and ultimately I'd like to make a kind of hacked toy keyboard with a board in it that can be updated by wifi. I've written a VU meter for a single row of neopixel that takes a spectrum analysis fft but its a bit of a kludge. I'm usually trying to bring together past projects to make something that does everything. I also do make videos on youtube but only getting started with any project like vids. Usually I just talk or make a lazy film of something I made to show friends.

I tried to make IDF/ADF environment work with my AI Thinker board but it just never really compiled for anything related to DAC. Too much time wasted. I had issues with Arduino until I really simplifed my library directory to just the least number of files for this to work. A lot of multiple library files errors before I did that.

GadgetReboot commented 3 years ago

I've added the files here with a reference link back to this thread if it's useful to people https://github.com/GadgetReboot/ESP32-A1S/tree/main/sketches/others I will eventually try midi related things and I have several keyboards I can experiment with.

I'll probably make a pcb with a midi connector and isolation interface that can be connected to an Arduino as needed without dedicating it to a specific one so there's more flexibility.
20 years ago I'd probably be satisfied trying to place wires into midi connector pins and hope it holds up.

MichaelPNolan commented 3 years ago

Thanks for that - yes, i had the pin connect hack days. I'm going to make my own arduino knock off before I try to implement something like an ESP32 dev board ... and I don't know where to start with surface mount and goo. That's why some of us have this mostly unsupported ESP32-A1S dev board. I've ordered some 16 bit DAC things so I can try with other boards sans AC101.