• 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: Trying to get all samples from an audio file on disk into memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to get all samples from an audio file on disk into memory


  • Subject: Re: Trying to get all samples from an audio file on disk into memory
  • From: Paul Davis <email@hidden>
  • Date: Sat, 28 Feb 2015 21:09:50 -0600

I have audio files larger than 100GB. Do you think you can fit those into memory?

On Sat, Feb 28, 2015 at 8:59 PM, Patrick J. Collins <email@hidden> wrote:
Hi everyone,

I am working on a DSP project where I have already implemented code that
allows me to supply a buffer of samples, and it will output them to the
device speaker.

The next thing I need to do now is read in all the samples from an AIF
file into memory so that I can perform various operations on them... I
am using the "Learning Core Audio" book as a reference, and the
author's example for reading an audio file and playing it makes use of an
AudioQueue, which I don't think I need to use...

My question is, what is the easiest way to create a buffer large enough
to hold all of the samples in an AIF file and read those samples into
that buffer?

Thanks.

Patrick J. Collins
http://collinatorstudios.com

 _______________________________________________
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

 _______________________________________________
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: Trying to get all samples from an audio file on disk into memory
      • From: "Patrick J. Collins" <email@hidden>
References: 
 >Trying to get all samples from an audio file on disk into memory (From: "Patrick J. Collins" <email@hidden>)

  • Prev by Date: Re: Trying to get all samples from an audio file on disk into memory
  • Next by Date: Re: Trying to get all samples from an audio file on disk into memory
  • Previous by thread: Trying to get all samples from an audio file on disk into memory
  • Next by thread: Re: Trying to get all samples from an audio file on disk into memory
  • Index(es):
    • Date
    • Thread