• 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: Realtime synthesis and low latency with Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Realtime synthesis and low latency with Java


  • Subject: Re: Realtime synthesis and low latency with Java
  • From: Peter Salomonsen <email@hidden>
  • Date: Thu, 24 Nov 2005 10:44:18 +0100

Hi Bob,

and thanks for your response.

> lineOut.open (audioFormat, outBuffer.length);
>
> while (isRunning) {
>     computeAudioHere ();
>     lineOut.write (outBuffer, 0, outBuffer.length);
> }

And you're right about the above. This is correct after the book, and the
javadocs for SourceDataLine - but I cannot get it working equally across
platforms (especially on Windows), neither the methods getLongFramePosition
and available - hence why I choose to write my own blocking mechanism.

Maybe though, this (the "correct" way) works better on mac, I'll check this
approach on a G5 I can borrow.

Best,

Peter
 _______________________________________________
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: Realtime synthesis and low latency with Java
      • From: Bob Lang <email@hidden>
References: 
 >Realtime synthesis and low latency with Java (From: Peter Salomonsen <email@hidden>)
 >Re: Realtime synthesis and low latency with Java (From: Bob Lang <email@hidden>)

  • Prev by Date: RE: Debugging an AudioUnit in Xcode 2.0
  • Next by Date: Re: Realtime synthesis and low latency with Java
  • Previous by thread: Re: Realtime synthesis and low latency with Java
  • Next by thread: Re: Realtime synthesis and low latency with Java
  • Index(es):
    • Date
    • Thread