• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best drawing technology for audio waveforms, envelopes, etc.?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best drawing technology for audio waveforms, envelopes, etc.?


  • Subject: Re: Best drawing technology for audio waveforms, envelopes, etc.?
  • From: Steve Israelson <email@hidden>
  • Date: Sat, 23 Jun 2007 17:11:41 -0700

BTW, please remember not to make the classic mistake when drawing audio waveforms, which is to assume that you can zoom out by simply drawing every Nth point. To zoom out without drawing every point, at a minimum you must find the minimum and maximum sample values at each horizontal co-ordinate. I'm sure you wouldn't make this mistake, but it's so common that I thought I'd mention it here.

No this is incorrect.
You must find the average energy in the group of audio samples that represent one pixel wide in the x-coord.
The min and max is not good enough.
QSSP takes a further approach and finds the power average of 4 groups of the samples and then blends them together when it renders one vertical slice so you can see clearly where most of the audio energy is.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Best drawing technology for audio waveforms, envelopes, etc.?
      • From: Alastair Houghton <email@hidden>
References: 
 >Best drawing technology for audio waveforms, envelopes, etc.? (From: "Hans Kuder" <email@hidden>)
 >Re: Best drawing technology for audio waveforms, envelopes, etc.? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: re: request for advice on using Core Data
  • Next by Date: ObjC 3D engine
  • Previous by thread: Re: Best drawing technology for audio waveforms, envelopes, etc.?
  • Next by thread: Re: Best drawing technology for audio waveforms, envelopes, etc.?
  • Index(es):
    • Date
    • Thread