Tips for writing efficient patches in Pd

This post aims at providing you with a few tips to make your patches efficient.

Remember that running Pure Data in real-time with JACK can be very demanding for your computer in terms of CPU usage. The lower the latency and the more computation your machine has to do in a given time. So you need to write patches that use your CPU as efficiently as they can.

But patches should also be designed so as to facilitate their use. The messier the patch and the more difficult it will be for the user to debug it, and eventually to use it the context of a practice or recording session (where the focus should be on the music and not on the machine or the software).

Here are the links to the tips :

Design tips :

  • Use abstractions (read post),
  • Use colors and resize control objects (read post),
  • Comment your patch (read post).

Audio efficiency tips :

  • Convert control flow to audio rate when necessary (read post),
  • Turn off audio locally whenever it is possible (read post with effect template),
  • Use CPU-intensive objects cautiously (read post).

This entry was posted in Tips for writing patches and tagged , , , . Bookmark the permalink.

One Response to Tips for writing efficient patches in Pd

  1. Pingback: Step-vibrato effect for guitar with Pure Data | Guitar Extended

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s