Achieving Optimal Real-Time Performance

Modified on Thu, 9 Jul at 2:43 PM

Because PolySWAM performs complex physical modeling calculations in real-time for multiple simultaneous instruments, managing your audio buffer and CPU load is critical for a smooth experience.

The Importance of Audio Buffer Size

The buffer size determines the trade-off between audio latency (the delay between playing a note and hearing the sound) and CPU stability.

  • Recommended Range (128 – 256 samples): This interval is the "sweet spot" for most users. It provides an excellent balance, ensuring the response feels instantaneous under your fingers while maintaining a stable load on your CPU.

  • Low Settings (32 – 64 samples): While these offer the lowest possible latency, they require significant CPU power. On older or less powerful processors, these settings can easily lead to audio dropouts, clicks, and pops.

  • High Settings (512+ samples): Higher values increase CPU stability but introduce a noticeable delay in performance, which can feel disconnected and "sluggish."

Sample Rate Optimization

PolySWAM is specifically optimized for operation at 44.1 kHz or 48 kHz. While the engine is capable of functioning at higher rates, doing so significantly increases the CPU load required to process multiple physical modeling instances simultaneously. If you experience unexpected audio dropouts, clicks, or system instability, please ensure your project is set to 44.1 kHz or 48 kHz before adjusting other settings.

Key Considerations

  • Hardware Capabilities: Your computer's processing power is the primary factor. High-performance, modern machines can typically handle lower buffer settings (lower latency) more effectively than older systems.
  • Configuration: You can adjust the buffer size directly within the preferences of your DAW (Digital Audio Workstation) or within the Standalone version of the application.
  • Scalability: If you notice performance issues while using many simultaneous instruments, consider gradually increasing the buffer size until the audio playback becomes stable.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article