Pure Data - Code Examples

Code Examples

Pure Data visual code sample patches
Patch 1: Hello world program in Pd.
Patch 2: Reverberation in Pd.
Patch 3: Filters and data flow in Pd.
  1. The first patch prints "Hello world" to the display.
  2. The second patch applies reverberation to the incoming signal from channel 1, then emits it on channels 1 and 2.
  3. The last, more complex patch filters white noise at 9000 hertz (with a Q of 20), then fades it in and out each second over the course of a half second. As in all of Pd, time is measured in milliseconds, thus the '1000' is one second and the '500' is a half second.

Read more about this topic:  Pure Data

Famous quotes containing the words code and/or examples:

    Wise Draco comes, deep in the midnight roll
    Of black artillery; he comes, though late;
    In code corroborating Calvin’s creed
    And cynic tyrannies of honest kings;
    He comes, nor parlies; and the Town, redeemed,
    Gives thanks devout; nor, being thankful, heeds
    The grimy slur on the Republic’s faith implied,
    Which holds that Man is naturally good,
    And—more—is Nature’s Roman, never to be
    scourged.
    Herman Melville (1819–1891)

    There are many examples of women that have excelled in learning, and even in war, but this is no reason we should bring ‘em all up to Latin and Greek or else military discipline, instead of needle-work and housewifry.
    Bernard Mandeville (1670–1733)