recording wave files and changing sample speed

Status
Not open for further replies.

Reggie

Member
Hi all, I've got a teensy 3.2 and an audio board due to arrive in the post, while I'm waiting I thought I'd ask a couple of questions.

1. Is there any code around for recording a complete wave file? I noticed the recorder example records raw wave only, so it seems it's only missing the file header?

2. is it possible to adjust the playback speed of samples? As I understand things, the sample rate and bitrate for the audio library is fixed at 44.1k and 16bit, it's not a game changer if you can't but it would be great if you could.

Reggie.
 
You might write an algorithm with a finite impulse response filter to drop/add/extrapolate samples without aliasing in order to increase or reduce the audio speed while keeping the sample rate constant.
 
Status
Not open for further replies.
Back
Top