• 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
simplest sound output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simplest sound output


  • Subject: simplest sound output
  • From: Roland Silver <email@hidden>
  • Date: Thu, 27 Mar 2008 06:15:33 -0600

I have a project which embodies a complex sound source that generates a series of signals. 

A signal is a struct with two fields, left and right, each a double in the range -1.0...+1.0, representing the sound that is to be output to the left- and right speakers of the Mac. 

The signals are generated at the rate of 44.1 kHz.

Without delving into the manifold complexities of core audio, what is the simplest code which will take that series of signals and output them to the speakers (standard output?) without distortion due to clipping?

The project is written in Objective-C, compiled and run under Xcode 3 on a PowerBook G4.

Roland Silver
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: simplest sound output
      • From: Jens Alfke <email@hidden>
    • Re: simplest sound output
      • From: Peter Rebholz <email@hidden>
  • Prev by Date: Re: AudioQueue and Seeking in a VBR file
  • Next by Date: Voice Memo suggestions?
  • Previous by thread: Re: converting audio signal to buffer value
  • Next by thread: Re: simplest sound output
  • Index(es):
    • Date
    • Thread