usb mic problem
usb mic problem
- Subject: usb mic problem
- From: Paul Fredlein <email@hidden>
- Date: Fri, 11 May 2007 14:41:17 +1000
Hi,
I'm using MTCoreAudio.
I have assigned a buffer of fixed length (so that it automatically stops recording when the buffer is full) to record a set duration from a mic (MTC's defaultInputDevice). If a USB mic is plugged in on the keyboard's right port all works well. But if it is plugged in on the keyboard's left port the audio replays at what seems like 4x speed.
I guess I need to set some sample rates or something as it also messes up on some Macs using the inbuilt mic. (On WinXP I was able to set the sample rate to 22050, 16bit which is what I prefer - small buffer but good quality for speech. Tried it under MTC but didn't seem to do anything [inputDevice setNominalSampleRate:22050]; .)
The programme is designed for student use at school so I really want the app to set the defaults by itself without user interaction. Once the school kids start playing with settings then the teacher can easily lose control of the class.
Any help appreciated.
Paul
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden