Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Drawing Wave for audio file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing Wave for audio file



 
Hi All,

      I want to draw a wave representation of an m4a or a MP3 file.
I want to draw the wave in few seconds.
      The method i am using is taking value of sound from a callback function during playtime. But it takes the same time as needed for playing the file.
      Is there any other method of reading audio file directly and get the audio values in seconds.
      can i take audio values like this
      ExtAudioFileRead( tExtAudioFileRef, &numberOfFrames, &tABL);
if so how can i retreive values from the buffer using an ordinary for loop till the end of the file?

                              Thanks in Advance

                                                          Sandeep A.C



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-VR mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.