Город МОСКОВСКИЙ
00:05:49

DIY Sampler with ESP32 Audio Kit V2.2 (ESP32-A1S) - Synthesizer like (Arduino)

Аватар
Porsche Playtime
Просмотры:
43
Дата загрузки:
16.01.2025 05:20
Длительность:
00:05:49
Категория:
Музыка

Описание

DIY Sampler / Sample Player with ESP32 Audio Kit V2.2 (ESP32-A1S)
---
The ESP32 Audio Kit V2.2 is a nice platform to try out some audio implementations. In the video you will find some impressions to use this board as sample player or as a mellotron.


If you use arduino you can use the SD_MMC library for faster SD access. The DIP switch 2 and 3 should be on, all other should be off then.
---
I've started using the driver from github: https://github.com/Yveaux/AC101

My personal fork can be found here: https://github.com/marcel-licence/AC101

The PLL configuration requires a fix and the following code can be used:

PLL_CTRL2
uint16_t N = 48 * (2^4); /* FOUT = (FIN * N) / (M * (2K + 1)) */
uint16_t PLL_EN = 1 * (2^15); /* 0: disable, 1: enable */
uint16_t N_f = 0 * (2^0); /* 0.2 N */
WriteReg(PLL_CTRL2, N | PLL_EN | N_f);

SYSCLK_CTRL
uint16_t PLLCLK_ENA = 1 * (2^15); /* 0: disable, 1: enable */
uint16_t PLL_CLK = 0x2 * (2^12); /* bclk1 as source */
uint16_t I2S1CLK_ENA = 1 * (2^11); /* 0: disable, 1: enable */
uint16_t I2S1CLK_SRC = 0x3 * (2^8); /* PLL */
uint16_t SYSCLK_ENA = 1 * (2^3);
WriteReg(SYSCLK_CTRL, PLLCLK_ENA | PLL_CLK | I2S1CLK_ENA | I2S1CLK_SRC | SYSCLK_ENA);

The left shift operator cannot be inserted in the youtube video description.
---
Intro: (0:00)

Overview: (0:24)
The simple sampler: (0:57)
Trying another beat: (2:40)
The mellotron clone: (3:10)
Using the AC101 (PLL configuration): 04:52

Рекомендуемые видео