memory and chopped samples #2000
-
Hellowh! I'm new to using audio with chips, I was mostly processing this aspect with touch designer und Ableton. I'm having an ESP3332 A1S, and I'd like to receive OSC datas from others ESPs (no problem till here) and trigger samples from the SD card depending on the received informations over OSCs. I'm programming on the Arduino IDE and example sketches just to read WAV samples from an SD card are taking 88% of the memory, therefore the outcome is chopped and glitchy samples. I did explain my idea here, because maybe I'm not using the correct hardware Codec: Logs: Hardware: My code: #define DISABLE_AUDIO_LOGGING // 🔇 Désactive les logs internes AudioTools // === Wi-Fi === // === Audio === // === Boutons === // === OSC === // === Connexion Wi-Fi === // === Initialisation carte SD === // === Initialisation OSC === void checkEmitterTimeout() { void processOSCMessage() {
} void setup() { initSDCard(); pinMode(BUTTON_PIN1, INPUT); // Initialisation du player void loop() { bool currentState1 = digitalRead(BUTTON_PIN1); // Si l'état du bouton change, on l'affiche
} // Mettre à jour l'état précédent du bouton processOSCMessage(); delay(500); // Attente pour éviter le spam du Serial Monitor Thanks for your great work anyhow! Sorry if I'm asking newby questions, I did dive into the formus and the diffrent available ressources online before to post! Quentin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I suggest you read the The most important basics! and the It's not working to get a better understanding about the restrictions of audio processing... |
Beta Was this translation helpful? Give feedback.
I suggest you read the The most important basics! and the It's not working to get a better understanding about the restrictions of audio processing...