| Author |
Message |
Inventor
Stream Operator

Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Thu Jun 26, 2008 11:24 am Post subject:
Recording Gaps Subject description: Frustrations in making a decent vocoder |
 |
|
I'm having trouble using ChucK to do voice recordings. It seems that no matter how much I free the computer's resources, gaps occur in the recording. This happens for any microphone input, regardless of whether I am doing compute-intensive FFTs or nothing except the recording.
For busy programs generating music there may be audible gaps but the written file is just fine, no doubt a result of ChucK's "strong timing" feature. But for microphone input gaps record as gaps.
The problem is further compounded by the fact that I can't seem to get WvIn to read *.wav files output by Audacity. Is there a file size limit on WvIn? Or could the problem be caused by a hacker monitoring my system somehow? Is this normal behavior? _________________ "Let's make noise for peace." - Kijjaz |
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24676 Location: The Netherlands, Enschede
Audio files: 330
G2 patch files: 320
|
Posted: Thu Jun 26, 2008 11:52 am Post subject:
|
 |
|
I don't know about he gaps ... some performance issue somewhere ... can be very tough to find ...
The wavs not being readable could be because of a non compatible wav sub-format ... in Audacity you can set the sub-format to use through the preferences (see file menu, or use ctrl+p), the go to the file formats page. You could also try a different lossless format like AIFF or AU. _________________ Jan
also .. could someone please turn down the thermostat a bit.
9 3 4 .. erm .. not 13 then? .. hmm, ah eight! .. yeah yeah as in 8647 .. 47 is an 88 .. pwew .. numbles! |
|
|
Back to top
|
|
 |
Frostburn

Joined: Dec 12, 2007 Posts: 255 Location: Finland
Audio files: 9
|
Posted: Thu Jun 26, 2008 1:06 pm Post subject:
|
 |
|
You can also try SndBuf instead of WvIn. _________________ To boldly go where no man has bothered to go before. |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Thu Jun 26, 2008 1:13 pm Post subject:
|
 |
|
| Blue Hell wrote: | | You could also try a different lossless format like AIFF or AU. |
AIFF would be a very bad idea if there are performance issues already, assuming we are talking about a x86-based architecture. The order of the bits is the other way around, resulting in extra cpu cost for the conversion. For the G series of processors (basically; older Mac's) the reverse holds true; there you are better off with AIFF then with WAV. _________________ Kassen |
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24676 Location: The Netherlands, Enschede
Audio files: 330
G2 patch files: 320
|
Posted: Thu Jun 26, 2008 1:16 pm Post subject:
|
 |
|
| Kassen wrote: | | The order of the bits is the other way around |
I take it you mean the byte order? _________________ Jan
also .. could someone please turn down the thermostat a bit.
9 3 4 .. erm .. not 13 then? .. hmm, ah eight! .. yeah yeah as in 8647 .. 47 is an 88 .. pwew .. numbles! |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Thu Jun 26, 2008 1:26 pm Post subject:
|
 |
|
Sorry, yes, you are right. My bad.
PowerPC and AIFF sort the order of the bytes used to represent a number in the opposite order from x86 and WAV so it's preferable to use AIFF on older Mac's and WAV elsewhere... unless you are running something really weird... in which case you'll likely not be running ChucK anyway. _________________ Kassen |
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24676 Location: The Netherlands, Enschede
Audio files: 330
G2 patch files: 320
|
Posted: Thu Jun 26, 2008 1:30 pm Post subject:
|
 |
|
Just looked it up, there also is a byte reversed version of AIFF now, presumably to get a better match with the apple intel pcs. _________________ Jan
also .. could someone please turn down the thermostat a bit.
9 3 4 .. erm .. not 13 then? .. hmm, ah eight! .. yeah yeah as in 8647 .. 47 is an 88 .. pwew .. numbles! |
|
|
Back to top
|
|
 |
Inventor
Stream Operator

Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Thu Jun 26, 2008 2:45 pm Post subject:
|
 |
|
I found the file setting in Audacity's preferences menu and I can play with that, plus I can try SndBuf. Thanks for the suggestions. I may get motivated tonight or perhaps tomorrow, I need some chill-out time as I just completed a lot of work in the past two weeks!
I never understood Big-Endian and Little-Endian. I thought most Indians were kind of medium anyway.
Ooooh, such verbal pun-ishment! I'm going back to my Judas Priest album now! _________________ "Let's make noise for peace." - Kijjaz |
|
|
Back to top
|
|
 |
|