33.3 Remake Status
PEK Parts as of: Jun 1996
Below is a list of experimental parts that need to be merged into one or
more tools.
PekAu
- This is my FFT test program. It takes audio input from one of the
Mac's audio input source (i.e. not a file) and does a near realtime FFT
on the samples. It then displays the input data in several formats depending
on user menu selections. It can plot the input samples and the FFT power
spectrum spikes. I made a primative attempt at showing a "bird's eye
view" of our City of Keys grid by using a grid of rectangles that change
size based on FFT values. I also added a Piano keyboard display that shows
FFT values, it does track the audio samples very well; it does however provide
a bit of fun as a primitive synthesizer keyboard.
Status
- Need to extract the FFT routines from this experiment and add them
to the PlayOld code experiment.
- Would be nice to try other FFT routines... someday.
- it does _NOT_ track the audio samples very well;
PlayOld
- My test program to help remember how to read the original digital
sample tape the was made at the Speach and Hearing Lab.
Status
- Need to check to see if we have a 32K sample rate limit problem
- Need to add FFT code.
MkAuQt
- This is a set of QT interface procedures and a test program that add
audio support to our movie making tools. The test program generates a QuickTime
Movie with a video and an audio track. The audio test samples, a beep, are
generated on the fly ; in our remake we will use the original digital samples.
API
The following new QT audio interface routines were designed
to slide into my QT movie part of your VanLib:
movieSetupAudio(Fixed sampleRate)
- Initialize QT movie audio track.
movieFrameAddAudio(Handle sndHandle, UInt16 sampleCnt)
- Add audio samples to our QuickTime movie.
I think that we can just replace the old qt module with qtAu.c since
it includes the previous QT video procedures:
movieOpenX(ImgX imgX, char * movieName, char * ioFlag)
- Open a QuickTime movie.
movieClose(void)
- Close current QuickTime movie.
movieFrameAddX(ImgX imgX)
- Add a frame to the current movie
Status
- Can not have a TimeScale value above 32K (i.e. high order
bit of a 16-bit number is set)
- Appending to the end of previous movie does not work yet, the file
grows but a QT player can not find the new frames
- last frame of movie may be duplicated (?)
- my Mac died, can not justify getting a new one
- the Mac Mini is cheap enuf that I might be willing to get one.
Reference Documents
KeyMapping