Compare commits

..

11 commits
dev ... master

Author SHA1 Message Date
andre.malo 3fc9d9a5f2 monitor speed 2023-06-01 16:02:30 +02:00
andre.malo 37cf881bfa sample rate 2023-06-01 15:58:47 +02:00
andre.malo ae47d2a53d erreur dépendance 2023-06-01 14:39:39 +02:00
andre.malo 6015c15812 Merge branch 'master' of https://git.cohabit.fr/andre.malo/Amplificator 2023-05-30 15:21:03 +02:00
andre.malo 13d92d1562 code ousmane 2023-05-30 15:20:08 +02:00
andre.malo cfd66549ed useless 2023-05-30 14:29:02 +02:00
andre.malo 6531649124 Supprimer 'Mozart-Lacrimosa.mp3' 2023-05-25 15:40:01 +02:00
andre.malo 0ae92c78e5 haut parleur radioweb 2023-05-25 13:40:44 +02:00
andre.malo 2bb1f8cae8 mozart 2023-05-24 15:30:27 +02:00
andre.malo 6cbe0da444 switch 2023-05-24 14:16:40 +02:00
andre.malo 6b5623c560 mp3 2023-05-24 12:05:48 +02:00
2 changed files with 4 additions and 2 deletions

View file

@ -13,3 +13,5 @@ platform = espressif32
board = esp32-devkitlipo board = esp32-devkitlipo
framework = arduino framework = arduino
monitor_speed = 9600 monitor_speed = 9600

View file

@ -28,7 +28,7 @@ void i2s_install()
// Set up I2S Processor configuration // Set up I2S Processor configuration
const i2s_config_t i2s_config = { const i2s_config_t i2s_config = {
.mode = i2s_mode_t(I2S_MODE_MASTER | I2S_MODE_RX), .mode = i2s_mode_t(I2S_MODE_MASTER | I2S_MODE_RX),
.sample_rate = 40000, .sample_rate = 44100,
.bits_per_sample = i2s_bits_per_sample_t(16), .bits_per_sample = i2s_bits_per_sample_t(16),
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT, .channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S), .communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S),