ESP32 DAC 또는 외부에 codec 을 안달고 쓸만한 사운드 라이브러리를 찾았다.

 

1. https://github.com/earlephilhower/ESP8266Audio

 

earlephilhower/ESP8266Audio

Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32 - earlephilhower/ESP8266Audio

github.com

2. http://www.buildlog.net/blog/2018/02/game-audio-for-the-esp32/

 

Game Audio for the ESP32 at Buildlog.Net Blog

February 15th, 2018 by bdring I have been working on some games for the ESP32 and needed some decent quality audio with a minimum number of additional components.  I was bouncing between using the DAC and using the I2S bus. The DAC requires less external p

www.buildlog.net

ESP8266Audio 는 기능이 막강하나 컴파일시 용량부족으로 에러가 발생해서 시험을 못했다. 

필요에 따라 일부 SOURCE 를 가공해서 사용하면 좋을 것 같다. 

 

Game Audio ESP32 는 PCM 데이터를 DAC 에 출력하도록 되어있으며 가볍게 사용하기 좋아 보였다. 

실제 출력파형과 사운드를 들어보면 쓸만하다. 

 

소스 가장 상단에 아래와 같은 문장이 있는데 

Game_Audio_Class GameAudio(25,0); 

 

25번 PIN으로 출력하는 것을 뜻한다. 

 

https://youtu.be/hmWf5unOlIM

 

 

 

 

'공부 > arduino' 카테고리의 다른 글

esp32 ble test  (0) 2018.04.12
esp32 freertos web 올리기  (0) 2018.04.12
esp32 free rtos 사용  (0) 2018.04.12
esp32 oled 한글 올리기  (0) 2018.04.12
esp32 아두이노 라이브러리 업그레이드  (0) 2018.04.12

+ Recent posts