Krischomat
Well-known member
Hey Hey!
I got my teensy 4.1 with the audio adaptor today. So I tried my luck with the tutorial codes. There where some issues showing up that I have questions about.
First is when I play an audio file from the sd card with the player tutorial it seems I have some audio glitches there. I am using a 32GB SD Card, maybe better with 16 or 8? When I tried the mixer patch I had even more glitches. There were this periodic noise coming together with the internal LED flickering. The crossfade between the songs worked but still this noise eventhough the tracks didn´t play simultaneously.
I also used my own soundfiles. They were 16 bit and 44100. Maybe to long?
The second thing was about the code. The mixer patch didn´t work in the beginning so I started to write it new. Then there as I wanted to upload the patch it did complain about these part of the code:
mixer1.gain(0, 0.5);
mixer1.gain(1, 0.5);
mixer2.gain(0, 0.5);
mixer2.gain(1, 0.5);
Wich looked the same as in the actual mixer example. Then I copied it from the mixer tutorial in to my new written mixer code (which looked the same actualy) and it didn´t change anything in the code from what I wrote by hand but after this I could upload the code...
I would be greatfull if someone here could help me out =)
Best
Christian
I got my teensy 4.1 with the audio adaptor today. So I tried my luck with the tutorial codes. There where some issues showing up that I have questions about.
First is when I play an audio file from the sd card with the player tutorial it seems I have some audio glitches there. I am using a 32GB SD Card, maybe better with 16 or 8? When I tried the mixer patch I had even more glitches. There were this periodic noise coming together with the internal LED flickering. The crossfade between the songs worked but still this noise eventhough the tracks didn´t play simultaneously.
I also used my own soundfiles. They were 16 bit and 44100. Maybe to long?
The second thing was about the code. The mixer patch didn´t work in the beginning so I started to write it new. Then there as I wanted to upload the patch it did complain about these part of the code:
mixer1.gain(0, 0.5);
mixer1.gain(1, 0.5);
mixer2.gain(0, 0.5);
mixer2.gain(1, 0.5);
Wich looked the same as in the actual mixer example. Then I copied it from the mixer tutorial in to my new written mixer code (which looked the same actualy) and it didn´t change anything in the code from what I wrote by hand but after this I could upload the code...
I would be greatfull if someone here could help me out =)
Best
Christian