• 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: Offline Rendering... still a thing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Offline Rendering... still a thing?


  • Subject: Re: Offline Rendering... still a thing?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 05 Aug 2015 09:30:26 -0700


On Aug 5, 2015, at 12:39 AM, Matthew Pease <email@hidden> wrote:

  The more detailed version is that I'd like to provide a Tivo style ability to seek in the recent history of a stream.  I want to display the entire history of the stream as graph of the levels.   So that the user can see where there is activity within the stream.  The app would allow them to quickly jump to some point in the history.

Ah, you want a waveform view. I’ve implemented this by rendering to a low-resolution PCM stream (e.g. 8khz 8-bit mono) then running some simple processing on the stream to capture the maximum absolute value in every bin of x ms, where the value of x depends on the resolution you want for your display.

(The trickiest thing to work out was the conversion from raw amplitude to a volume level; I went with the cube root.)

—Jens

 _______________________________________________
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

  • Follow-Ups:
    • Re: Offline Rendering... still a thing?
      • From: Brian Willoughby <email@hidden>
References: 
 >Offline Rendering... still a thing? (From: Matthew Pease <email@hidden>)
 >Re: Offline Rendering... still a thing? (From: Brian Willoughby <email@hidden>)
 >Re: Offline Rendering... still a thing? (From: Matthew Pease <email@hidden>)

  • Prev by Date: Re: Offline Rendering... still a thing?
  • Next by Date: Re: Offline Rendering... still a thing?
  • Previous by thread: Re: Offline Rendering... still a thing?
  • Next by thread: Re: Offline Rendering... still a thing?
  • Index(es):
    • Date
    • Thread