Re: Code to create UIImage of waveform from audiofile?
Re: Code to create UIImage of waveform from audiofile?
- Subject: Re: Code to create UIImage of waveform from audiofile?
- From: Paul Davis <email@hidden>
- Date: Fri, 19 Mar 2010 23:22:41 -0400
On Fri, Mar 19, 2010 at 10:53 PM, David Duncan <email@hidden> wrote:
> On Mar 19, 2010, at 5:30 PM, Tom Blench wrote:
>
> Not that I know of. Not too difficult to write yourself though.
> Subsampling and taking the absolute value of the wave should work.
>
> If your up for it, you might consider using the audio converter do the
> re-sampling for you. You can also let Quartz do the scaling for you, so you
> should barely need to touch the values from the wave form yourself.
all of this depends a great deal on what you want to do with the
"image" and how much efficiency counts. we have 2 highly tweaked
waveform display implementations for ardour, one built on standard
(cross-platform) APIs and the other built on blitting into an RGBA
buffer. we've been unable to get the standard API based one closer
than 90% of the speed of the truly custom one. for some purposes, this
sort of thing doesn't matter.
--p
_______________________________________________
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