• 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
Process Buffer size in Logic Pro X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Process Buffer size in Logic Pro X


  • Subject: Process Buffer size in Logic Pro X
  • From: Raphaël Laouénan <email@hidden>
  • Date: Wed, 01 Oct 2014 15:47:25 +0200

Hi,

I develop Audio Unit plugins and I'm in front of a CPU overload issue with Logic Pro X related to the process buffer sizes.
I don't know if this is the right place to talk about it, but anyway may be somebody can help me.

Here is my problem:
My audio algorithm contains zero-latency frequency domain convolutions.
If I want to optimize the CPU and keep a zero latency, I need to use the smallest realtime FFT size possible and this depends on the number of samples processed.
My FFT size is set during the initialization step.

However in Logic, the buffer size processed in recording mode can be much smaller that in playing mode.
And there is no initialisation step called when one switches from playing to recording.

As a result, my FFT size can become too high compared to the number of samples processed and the CPU performances go high.

How can I solve this? How can I switch FFT sizes? Is there a way to know in which mode we are before realtime operations?

Is the process buffer size susceptible to change for other reasons that switching between playing and recording?

Thank you

--
__________________________________________________
Raphaël Laouénan
Audio Software Engineer
Two Notes Audio Engineering
www.two-notes.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

  • Next by Date: Re: Convert an in-memory mp3 file to PCM
  • Next by thread: Re: Convert an in-memory mp3 file to PCM
  • Index(es):
    • Date
    • Thread