Replying to:amihartWhy 30 seconds? If you're recording using at 8-bit fixed you can record at least 2 minutes worth before running out of memory.
Does that mean a 32bit WAV at the same sample rate would take up the same amount of memory as an 8bit WAV? I guess I should've specified the sample rate then, I meant WAVs recorded at 8180 Hz can be recorded up to about 2 minutes (128 seconds). Sorry, I'm pretty new to all this stuff.
So would there be a way to record more than just 30 seconds? It would be nice, even though i don't use more than 30 seconds, this is good to record a few chords, then you might want to put it on a loop so you could improvise off it. I would love to have a loop for this, just a my greedy thoughts though. :D
Replying to:HeigwSo would there be a way to record more than just 30 seconds? It would be nice, even though i don't use more than 30 seconds, this is good to record a few chords, then you might want to put it on a loop so you could improvise off it. I would love to have a loop for this, just a my greedy thoughts though. :D
If you're using a sample rate of 8180 hz you can record over 2 minutes.
Have an array as a buffer and every 30 seconds expand the size of the buffer and copy in a new 30 seconds of audio. If you raise the sample rate, the length you can record goes down.
Well, I've finally fixed the beeping problem...
Insert this code after line 42:
FILL VOICEA,127
Replying to:MCGamer20000Bug: Stopping playback of a WAV (noticeable in WAVTEST) can cause a high pitched beep for a second.
I fixed it!
Insert this code after line 67:
FILL VOICEA,127
Replying to:12Me21Well, I've finally fixed the beeping problem...
Insert this code after line 42:
FILL VOICEA,127
Oops, I gave the wrong line. (the version of WAVPLAYER.LIB that I had was modified)
It should be line 67
Replying to:12Me21Well, I've finally fixed the beeping problem...
Insert this code after line 42:
FILL VOICEA,127
If I append your command to the end of line 67 after putting a space (and turning off option strict) on both the main program and the lib there is still the beep, so it seems I'm misunderstanding something. So, then, what does line 67 in which program look like?
Replying to:12Me21Well, I've finally fixed the beeping problem...
Insert this code after line 42:
FILL VOICEA,127
Ah, thanks. Maybe SamKitsune should update the program!
I used this to make an english TALK command. Awesome!
I'm unable to get a full 4-second long WAV file to play, half of it is cut out!