Re: Iterating through audio data
Re: Iterating through audio data
- Subject: Re: Iterating through audio data
- From: Brian Willoughby <email@hidden>
- Date: Thu, 26 May 2011 14:17:52 -0700
Note that Apple's AudioConverter can produce this smoothed waveform,
provided to set the output sample rate to match the screen pixels.
When zoomed out and viewing multiple samples per pixel, the
AudioConverter would be downsampling. When zoomed in and stretching
samples out across a several-pixel gap, the AudioConverter would be
upsampling. In either case, the output data from the converter
should be a very accurate representation of the audio signal.
Brian Willoughby
Sound Consulting
On May 26, 2011, at 06:02, James Chandler Jr wrote:
When the user finally zooms in so close that there are fewer than 1
samples per pixel, then you have to start drawing "connect the
dots" waveform lines interpolating a smooth line connecting the
sample dots.
There are various ways to smooth the line connecting the dots. Some
methods are faster and some methods are more accurate. The most
ideal would be a method which draws on-screen as similar as
possible to what the audio ought to look like after it has passed
thru an audio output D/A converter. The best view would look like
the band limited continuous signal being output from the soundcard
D/A converter.
_______________________________________________
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