From f52e89ad4d01d4ac2ddf06e8c155de27d23aca40 Mon Sep 17 00:00:00 2001 From: Sojourner Truth <jon.w.wilkes@gmail.com> Date: Tue, 23 Aug 2016 01:45:37 -0400 Subject: [PATCH] remove GENRE tag from [pd META], git rid of an .svn folder in apple lib --- .../pd-msg/1.msg_and_patch/0.all_msg.pd | 13 +- .../pd-msg/1.msg_and_patch/1.0.objects.pd | 14 +- .../pd-msg/1.msg_and_patch/1.1.add_objects.pd | 12 +- .../1.msg_and_patch/1.2.create_patch.pd | 13 +- .../pd-msg/1.msg_and_patch/1.3.show_hide.pd | 9 +- .../pd-msg/1.msg_and_patch/2.menu.pd | 11 +- .../pd-msg/1.msg_and_patch/3.0.events.pd | 7 +- .../pd-msg/1.msg_and_patch/3.1.motion.pd | 13 +- .../pd-msg/1.msg_and_patch/3.2.cut_paste.pd | 7 +- .../pd-msg/1.msg_and_patch/4.fonts.pd | 7 +- .../pd-msg/1.msg_and_patch/5.loadbang.pd | 7 +- .../1.msg_and_patch/6.relocate_windows.pd | 17 +- .../pd-msg/2.msg_and_pd/1.pd_basic.pd | 7 +- .../pd-msg/2.msg_and_pd/2.open_close.pd | 9 +- .../pd-msg/5.examples/1.polyphonie.pd | 6 +- .../5.examples/2.create_new_abstract.pd | 9 +- doc/pddp/all_about.pd | 5 +- doc/pddp/all_about_acoustic_conversions.pd | 13 +- doc/pddp/all_about_arrays.pd | 23 +- doc/pddp/all_about_ascii_art.pd | 12 +- doc/pddp/all_about_atom_conversion.pd | 5 +- doc/pddp/all_about_atoms.pd | 11 +- doc/pddp/all_about_canvas_properties.pd | 11 +- doc/pddp/all_about_data_types.pd | 5 +- doc/pddp/all_about_dollarsign_zero.pd | 5 +- doc/pddp/all_about_expr_and_value.pd | 9 +- doc/pddp/all_about_expr_functions.pd | 10 +- doc/pddp/all_about_expr_if.pd | 10 +- doc/pddp/all_about_expr_multiline.pd | 5 +- doc/pddp/all_about_externals.pd | 5 +- doc/pddp/all_about_finding_objects.pd | 5 +- doc/pddp/all_about_getting_help.pd | 5 +- doc/pddp/all_about_haptics.pd | 5 +- doc/pddp/all_about_help_patches.pd | 8 +- doc/pddp/all_about_hid.pd | 5 +- doc/pddp/all_about_index.pd | 5 +- doc/pddp/all_about_libraries.pd | 7 +- doc/pddp/all_about_lists_vs_anythings.pd | 7 +- doc/pddp/all_about_looping.pd | 8 +- doc/pddp/all_about_message_conversion.pd | 8 +- doc/pddp/all_about_messages.pd | 5 +- doc/pddp/all_about_midi_flags.pd | 7 +- doc/pddp/all_about_pd_META.pd | 14 +- doc/pddp/all_about_scope_and_locality.pd | 5 +- doc/pddp/all_about_send_n_receive.pd | 6 +- doc/pddp/all_about_submitting_bugs.pd | 7 +- doc/pddp/all_about_symbol_construction.pd | 5 +- doc/pddp/all_about_writing_help_patches.pd | 7 +- doc/pddp/all_about_z_order.pd | 7 +- doc/pddp/templates/example-help.pd | 11 +- doc/pddp/templates/template-help.pd | 3 +- doc/pddp/zexy.pd | 6 +- externals/apple/.svn/all-wcprops | 161 --- externals/apple/.svn/entries | 915 ------------------ .../apple/.svn/text-base/LICENSE.txt.svn-base | 674 ------------- .../apple/.svn/text-base/Makefile.svn-base | 451 --------- .../text-base/MultitouchSupport.h.svn-base | 67 -- .../apple/.svn/text-base/README.txt.svn-base | 6 - .../ambient_light_sensor-help.pd.svn-base | 60 -- .../text-base/ambient_light_sensor.c.svn-base | 193 ---- .../.svn/text-base/apple-meta.pd.svn-base | 9 - .../text-base/brightness-help.pd.svn-base | 47 - .../.svn/text-base/brightness.pd.svn-base | 11 - .../cpu_temperature-help.pd.svn-base | 43 - .../text-base/cpu_temperature.pd.svn-base | 10 - .../.svn/text-base/fans-help.pd.svn-base | 68 -- .../apple/.svn/text-base/fans.pd.svn-base | 54 -- .../.svn/text-base/iodisplay-help.pd.svn-base | 82 -- .../apple/.svn/text-base/iodisplay.c.svn-base | 124 --- .../keyboard_layout-help.pd.svn-base | 37 - .../.svn/text-base/keyboard_layout.c.svn-base | 116 --- .../text-base/keyboard_light-help.pd.svn-base | 89 -- .../.svn/text-base/keyboard_light.c.svn-base | 243 ----- .../text-base/multitouch-help.pd.svn-base | 77 -- .../.svn/text-base/multitouch.c.svn-base | 145 --- .../apple/.svn/text-base/smc-help.pd.svn-base | 60 -- externals/apple/.svn/text-base/smc.c.svn-base | 427 -------- externals/apple/.svn/text-base/smc.h.svn-base | 107 -- .../sudden_motion_sensor-help.pd.svn-base | 62 -- .../text-base/sudden_motion_sensor.c.svn-base | 222 ----- externals/apple/ambient_light_sensor-help.pd | 36 +- externals/apple/brightness-help.pd | 26 +- externals/apple/cpu_temperature-help.pd | 24 +- externals/apple/fans-help.pd | 56 +- externals/apple/iodisplay-help.pd | 36 +- externals/apple/keyboard_layout-help.pd | 24 +- externals/apple/keyboard_light-help.pd | 36 +- externals/apple/multitouch-help.pd | 74 +- externals/apple/smc-help.pd | 30 +- externals/apple/sudden_motion_sensor-help.pd | 40 +- externals/cxc/proc-help.pd | 33 +- externals/ekext/maskxor-help.pd | 11 +- externals/ekext/voicing_detector~-help.pd | 11 +- externals/ggee/signal/mixer~-help.pd | 5 +- externals/hcs/pwm~-help.pd | 12 +- externals/hcs/screensize-help.pd | 11 +- externals/maxlib/nroute-help.pd | 9 +- .../doc/help/cyclone/all_about_cyclone.pd | 7 +- externals/miXed/doc/help/cyclone/past-help.pd | 9 +- pd/doc/2.control.examples/01.PART1.hello.pd | 7 +- pd/doc/2.control.examples/02.editing.pd | 5 +- pd/doc/2.control.examples/03.connections.pd | 5 +- pd/doc/2.control.examples/04.messages.pd | 5 +- pd/doc/2.control.examples/05.counter.pd | 6 +- pd/doc/2.control.examples/06.more.counters.pd | 5 +- pd/doc/2.control.examples/07.time.pd | 7 +- pd/doc/2.control.examples/08.depthfirst.pd | 5 +- pd/doc/2.control.examples/09.send_receive.pd | 5 +- pd/doc/2.control.examples/10.more.messages.pd | 17 +- pd/doc/2.control.examples/11.review.pd | 5 +- .../2.control.examples/12.PART2.subpatch.pd | 7 +- pd/doc/2.control.examples/13.locality.pd | 7 +- pd/doc/2.control.examples/14.dollarsigns.pd | 7 +- pd/doc/2.control.examples/15.array.pd | 7 +- pd/doc/2.control.examples/16.more.arrays.pd | 11 +- pd/doc/2.control.examples/17.PART3.midi.pd | 5 +- pd/doc/2.control.examples/18.conditional.pd | 5 +- pd/doc/2.control.examples/19.random.pd | 7 +- .../2.control.examples/20.weighted-random.pd | 7 +- pd/doc/2.control.examples/21.markov.chain.pd | 7 +- pd/doc/2.control.examples/22.random-walk.pd | 7 +- pd/doc/2.control.examples/23.sequencing.pd | 7 +- pd/doc/2.control.examples/24.loops.pd | 7 +- pd/doc/3.audio.examples/A00.intro.pd | 17 +- pd/doc/3.audio.examples/A01.sinewave.pd | 17 +- pd/doc/3.audio.examples/A02.amplitude.pd | 17 +- pd/doc/3.audio.examples/A03.line.pd | 17 +- pd/doc/3.audio.examples/A04.line2.pd | 29 +- .../3.audio.examples/A05.output.subpatch.pd | 17 +- pd/doc/3.audio.examples/A06.frequency.pd | 21 +- pd/doc/3.audio.examples/A07.fusion.pd | 19 +- pd/doc/3.audio.examples/A08.beating.pd | 17 +- pd/doc/3.audio.examples/A09.frequency.mod.pd | 19 +- pd/doc/3.audio.examples/A10.review.pd | 17 +- pd/doc/3.audio.examples/B01.wavetables.pd | 7 +- pd/doc/3.audio.examples/B02.two-wavetables.pd | 9 +- pd/doc/3.audio.examples/B03.tabread4.pd | 9 +- .../B04.tabread4.interpolation.pd | 9 +- pd/doc/3.audio.examples/B05.tabread.FM.pd | 7 +- .../3.audio.examples/B06.table.switching.pd | 11 +- pd/doc/3.audio.examples/B07.sampler.pd | 7 +- pd/doc/3.audio.examples/B08.sampler.loop.pd | 13 +- .../B09.sampler.loop.smooth.pd | 13 +- .../3.audio.examples/B10.sampler.scratch.pd | 13 +- .../3.audio.examples/B11.sampler.nodoppler.pd | 13 +- .../3.audio.examples/B12.sampler.transpose.pd | 9 +- .../3.audio.examples/B13.sampler.overlap.pd | 19 +- .../B14.sampler.rockafella.pd | 21 +- .../3.audio.examples/B15.tabread4~-onset.pd | 75 +- pd/doc/3.audio.examples/B16.long-varispeed.pd | 19 +- pd/doc/3.audio.examples/C01.nyquist.pd | 21 +- .../3.audio.examples/C02.sawtooth-foldover.pd | 17 +- pd/doc/3.audio.examples/C03.zipper.noise.pd | 17 +- .../3.audio.examples/C04.control.to.signal.pd | 19 +- .../3.audio.examples/C05.sampler.oneshot.pd | 21 +- .../3.audio.examples/C06.signal.to.control.pd | 17 +- .../3.audio.examples/C07.envelope.follower.pd | 17 +- .../3.audio.examples/C08.analog.sequencer.pd | 23 +- pd/doc/3.audio.examples/C09.sample.hold.pd | 25 +- .../3.audio.examples/C10.monophonic.synth.pd | 17 +- pd/doc/3.audio.examples/D01.envelope.gen.pd | 63 +- pd/doc/3.audio.examples/D02.adsr.pd | 21 +- pd/doc/3.audio.examples/D03.envelope.dB.pd | 21 +- .../3.audio.examples/D04.envelope.quartic.pd | 17 +- pd/doc/3.audio.examples/D05.envelope.pitch.pd | 21 +- .../D06.envelope.portamento.pd | 21 +- pd/doc/3.audio.examples/D07.additive.pd | 17 +- pd/doc/3.audio.examples/D08.table.spectrum.pd | 19 +- pd/doc/3.audio.examples/D09.shepard.tone.pd | 17 +- pd/doc/3.audio.examples/D10.sampler.notes.pd | 21 +- pd/doc/3.audio.examples/D11.sampler.poly.pd | 21 +- pd/doc/3.audio.examples/D12.sampler.bis.pd | 51 +- pd/doc/3.audio.examples/D13.additive.qlist.pd | 17 +- pd/doc/3.audio.examples/D14.vibrato.pd | 19 +- pd/doc/3.audio.examples/E01.spectrum.pd | 37 +- .../3.audio.examples/E02.ring.modulation.pd | 33 +- pd/doc/3.audio.examples/E03.octave.divider.pd | 29 +- .../3.audio.examples/E04.difference.tone.pd | 27 +- pd/doc/3.audio.examples/E05.chebychev.pd | 19 +- pd/doc/3.audio.examples/E06.exponential.pd | 59 +- pd/doc/3.audio.examples/E07.evenodd.pd | 21 +- pd/doc/3.audio.examples/E08.phase.mod.pd | 21 +- pd/doc/3.audio.examples/E09.FM.spectrum.pd | 23 +- pd/doc/3.audio.examples/E10.complex.FM.pd | 19 +- pd/doc/3.audio.examples/F01.pulse.pd | 39 +- pd/doc/3.audio.examples/F02.just.say.pd | 21 +- pd/doc/3.audio.examples/F03.pulse.spectrum.pd | 35 +- .../3.audio.examples/F04.waveshaping.pulse.pd | 37 +- .../3.audio.examples/F05.ring.modulation.pd | 33 +- pd/doc/3.audio.examples/F06.packets.pd | 27 +- .../3.audio.examples/F07.packet.spectrum.pd | 107 +- pd/doc/3.audio.examples/F08.two.cosines.pd | 19 +- pd/doc/3.audio.examples/F09.declickit.pd | 23 +- pd/doc/3.audio.examples/F10.sweepable.FM.pd | 115 ++- pd/doc/3.audio.examples/F11.anharmonic.FM.pd | 19 +- pd/doc/3.audio.examples/F12.paf.pd | 98 +- pd/doc/3.audio.examples/F13.paf.control.pd | 119 ++- pd/doc/3.audio.examples/F14.wave.packet.pd | 17 +- pd/doc/3.audio.examples/G01.delay.pd | 37 +- pd/doc/3.audio.examples/G02.delay.loop.pd | 17 +- pd/doc/3.audio.examples/G03.delay.variable.pd | 17 +- .../3.audio.examples/G04.control.blocksize.pd | 21 +- .../3.audio.examples/G05.execution.order.pd | 17 +- pd/doc/3.audio.examples/G06.octave.doubler.pd | 29 +- pd/doc/3.audio.examples/G07.shaker.pd | 19 +- pd/doc/3.audio.examples/G08.reverb.pd | 21 +- pd/doc/3.audio.examples/G09.pitchshift.pd | 25 +- pd/doc/3.audio.examples/H01.low-pass.pd | 65 +- pd/doc/3.audio.examples/H02.high-pass.pd | 19 +- pd/doc/3.audio.examples/H03.band-pass.pd | 67 +- pd/doc/3.audio.examples/H04.filter.sweep.pd | 17 +- pd/doc/3.audio.examples/H05.filter.floyd.pd | 23 +- .../3.audio.examples/H06.envelope.follower.pd | 91 +- .../3.audio.examples/H07.measure.spectrum.pd | 75 +- pd/doc/3.audio.examples/H08.heterodyning.pd | 91 +- pd/doc/3.audio.examples/H09.ssb.modulation.pd | 79 +- pd/doc/3.audio.examples/H10.measurement.pd | 23 +- pd/doc/3.audio.examples/H11.shelving.pd | 19 +- pd/doc/3.audio.examples/H12.peaking.pd | 85 +- pd/doc/3.audio.examples/H13.butterworth.pd | 55 +- pd/doc/3.audio.examples/H14.all.pass.pd | 23 +- pd/doc/3.audio.examples/H15.phaser.pd | 17 +- .../3.audio.examples/H16.adsr.filter.qlist.pd | 19 +- .../3.audio.examples/I01.Fourier.analysis.pd | 31 +- pd/doc/3.audio.examples/I02.Hann.window.pd | 21 +- pd/doc/3.audio.examples/I03.resynthesis.pd | 21 +- pd/doc/3.audio.examples/I04.noisegate.pd | 27 +- pd/doc/3.audio.examples/I05.compressor.pd | 25 +- pd/doc/3.audio.examples/I06.timbre.stamp.pd | 25 +- pd/doc/3.audio.examples/I07.phase.vocoder.pd | 29 +- pd/doc/3.audio.examples/I08.pvoc.reverb.pd | 39 +- .../3.audio.examples/I09.sheep.from.goats.pd | 113 ++- pd/doc/3.audio.examples/I10.phase.bash.pd | 133 ++- pd/doc/3.audio.examples/J01.even.odd.pd | 41 +- pd/doc/3.audio.examples/J02.trapezoids.pd | 19 +- .../3.audio.examples/J03.pulse.width.mod.pd | 29 +- pd/doc/3.audio.examples/J04.corners.pd | 19 +- pd/doc/3.audio.examples/J05.triangle.pd | 19 +- pd/doc/3.audio.examples/J06.enveloping.pd | 21 +- pd/doc/3.audio.examples/J07.oversampling.pd | 35 +- pd/doc/3.audio.examples/J08.classicsynth.pd | 17 +- pd/doc/3.audio.examples/J09.bandlimited.pd | 93 +- 242 files changed, 2244 insertions(+), 7131 deletions(-) delete mode 100644 externals/apple/.svn/all-wcprops delete mode 100644 externals/apple/.svn/entries delete mode 100644 externals/apple/.svn/text-base/LICENSE.txt.svn-base delete mode 100644 externals/apple/.svn/text-base/Makefile.svn-base delete mode 100644 externals/apple/.svn/text-base/MultitouchSupport.h.svn-base delete mode 100644 externals/apple/.svn/text-base/README.txt.svn-base delete mode 100644 externals/apple/.svn/text-base/ambient_light_sensor-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/ambient_light_sensor.c.svn-base delete mode 100644 externals/apple/.svn/text-base/apple-meta.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/brightness-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/brightness.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/cpu_temperature-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/cpu_temperature.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/fans-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/fans.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/iodisplay-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/iodisplay.c.svn-base delete mode 100644 externals/apple/.svn/text-base/keyboard_layout-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/keyboard_layout.c.svn-base delete mode 100644 externals/apple/.svn/text-base/keyboard_light-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/keyboard_light.c.svn-base delete mode 100644 externals/apple/.svn/text-base/multitouch-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/multitouch.c.svn-base delete mode 100644 externals/apple/.svn/text-base/smc-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/smc.c.svn-base delete mode 100644 externals/apple/.svn/text-base/smc.h.svn-base delete mode 100644 externals/apple/.svn/text-base/sudden_motion_sensor-help.pd.svn-base delete mode 100644 externals/apple/.svn/text-base/sudden_motion_sensor.c.svn-base diff --git a/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd b/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd index d1b73a569..1e905984e 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd @@ -1,4 +1,8 @@ -#N canvas 0 18 580 666 10; +#N struct ds float x float y symbol sym; +#N struct template-toplevel float x float y float z float q array bazoo +template-element; +#N struct template-element float x float y float w; +#N canvas 223 30 580 666 10; #X msg 40 615 restore; #X text 23 17 objects; #X text 371 2 GUI stuff; @@ -91,15 +95,14 @@ q array bazoo template-element; #X text 459 345 ( 0 or 1 ); #X msg 375 345 find +test \$1; #X text 456 68 Warning !!!; -#N canvas 458 158 494 396 META 0; -#X text 12 5 GENRE tutorial; +#N canvas 459 183 494 396 META 0; #X text 12 65 DESCRIPTION a (hopefully) comprehensive list of all internal messages that can be sent to a canvas; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; #X text 12 45 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial +; #X restore 525 638 pd META; #X connect 0 0 26 0; #X connect 3 0 27 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd b/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd index 7e7ed1303..fe4335f06 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd @@ -1,4 +1,5 @@ -#N canvas 0 18 543 545 10; +#N struct ds-example float x float y symbol desc; +#N canvas 227 37 543 545 10; #X msg 39 481 restore; #X text 23 48 objects; #X msg 39 71 obj 300 10 r test; @@ -36,9 +37,9 @@ #X obj 69 439 s pd-connections; #X msg 69 388 connect 0 0 1 0; #X msg 69 413 disconnect 0 0 1 0; -#X floatatom 204 388 5 0 0 0 - - -; +#X floatatom 204 388 5 0 0 0 - - -, f 5; #X obj 254 439 print; -#X floatatom 204 439 5 0 0 0 - - -; +#X floatatom 204 439 5 0 0 0 - - -, f 5; #X text 43 238 graph name xfrom yfrom xto yto xtopl ytopl xbtmr ybtmr ; #X msg 39 259 graph my_graph 0 1 99 -1 300 280 500 420; @@ -46,15 +47,14 @@ #X msg 69 321 array my_array 100 float 2; #X text 17 24 that deal with objects:; #X text 16 7 Here's a list of all messages; -#N canvas 218 113 494 396 META 0; -#X text 12 5 GENRE tutorial; +#N canvas 219 138 494 396 META 0; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 65 DESCRIPTION list of canvas messages that can be used to dynamically instantiate objects and connections.; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; #X text 12 45 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial +; #X restore 481 514 pd META; #X connect 0 0 7 0; #X connect 2 0 7 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd b/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd index d0afc9856..c09dd1cd8 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 711 648 10; +#N canvas 155 25 711 648 10; #X msg 42 49 msg 500 10 bang; #X text 224 53 <= Click here first; #X text 207 232 <= and here; @@ -45,15 +45,14 @@ the inlet :; the order in which objects are created. If you don't the "connect" selector won't work correctly. If you get stuck \, reload this patch and try again.; -#N canvas 218 113 494 396 META 0; -#X text 12 5 GENRE tutorial; +#N canvas 219 138 494 396 META 0; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 65 DESCRIPTION how to dynamically instantiate objects and connections.; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; #X text 12 44 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial +; #X restore 654 623 pd META; #X connect 0 0 21 0; #X connect 5 0 22 0; @@ -63,8 +62,5 @@ connections.; #X connect 9 0 24 0; #X connect 30 0 23 0; #X connect 31 0 23 0; -#X connect 31 0 23 0; -#X connect 31 0 23 0; -#X connect 31 0 23 0; #X connect 32 0 24 0; #X connect 33 0 24 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd b/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd index b10d68950..631d109c2 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 743 475 10; +#N canvas 109 25 743 475 10; #X msg 38 150 msg 10 10 bang; #X msg 38 198 obj 10 40 metro 500; #X msg 38 174 floatatom 100 10 7 50 5000; @@ -16,15 +16,14 @@ #X obj 33 62 s pd-1.2.create_patch.pd; #X text 33 13 This will create a sub patch in this window and open it :; -#N canvas 218 113 494 396 META 0; -#X text 12 5 GENRE tutorial; -#X text 12 85 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information +#N canvas 219 138 494 396 META 0; +#X text 12 75 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 65 DESCRIPTION how to dynamically instantiate a subpatch +#X text 12 55 DESCRIPTION how to dynamically instantiate a subpatch ; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching +#X text 12 34 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial ; -#X text 12 44 LICENSE public domain; #X restore 685 449 pd META; #X connect 0 0 11 0; #X connect 1 0 11 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd b/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd index 513b101c3..d77f8cdfa 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 383 241 10; +#N canvas 294 79 383 241 10; #N canvas 209 154 262 142 my-subpatch 0; #X text 37 40 This is the sub patch; #X restore 215 98 pd my-subpatch; @@ -7,12 +7,11 @@ #X text 43 42 pop-up; #X text 40 109 close; #X text 13 17 pop-up and close a subpatch :; -#N canvas 218 113 494 396 META 0; -#X text 12 5 GENRE tutorial; +#N canvas 219 138 494 396 META 0; #X text 12 85 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 65 DESCRIPTION how to show/hide a patch using messages; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; #X text 12 44 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial +; #X restore 329 216 pd META; diff --git a/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd b/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd index 22a16add1..519dd84ce 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 222 544 10; +#N canvas 353 44 222 544 10; #X text 17 121 GUI stuff; #X msg 17 145 menusave; #X msg 17 171 menusaveas; @@ -21,14 +21,13 @@ #X text 19 52 menu items do.; #X msg 17 327 find +test 1; #N canvas 218 113 494 396 META 0; -#X text 12 5 GENRE tutorial; -#X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information +#X text 12 85 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 65 DESCRIPTION how to access a patch's menu options by sending +#X text 12 55 DESCRIPTION how to access a patch's menu options by sending messages to a canvas; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching +#X text 12 34 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial ; -#X text 12 44 LICENSE public domain; #X restore 169 520 pd META; #X connect 1 0 15 0; #X connect 2 0 15 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd b/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd index 6fcf7ad59..80cb25ce5 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 381 325 10; +#N canvas 317 86 381 325 10; #X msg 36 86 click \$1 \$2 \$3 \$4; #X obj 111 182 key; #X floatatom 111 208 0 0 0 0 - - -; @@ -23,14 +23,13 @@ #X text 218 67 \$3 (unused ???); #X text 73 230 \$1 : number of the key; #N canvas 218 113 494 396 META 0; -#X text 12 5 GENRE tutorial; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 65 DESCRIPTION simulating mouse and key events with messages to a canvas; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; #X text 12 44 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial +; #X restore 325 297 pd META; #X connect 0 0 12 0; #X connect 1 0 2 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd b/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd index 22fe1f886..f89eb304e 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 415 490 10; +#N canvas 300 68 415 490 10; #N canvas 425 18 332 294 testing 1; #X obj 95 11 loadbang; #X msg 95 36 0; @@ -25,14 +25,13 @@ 200 0; #X msg 20 101 mouse 15 15 0 0 0; #N canvas 458 158 494 396 META 0; -#X text 12 5 GENRE tutorial; -#X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information +#X text 12 85 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; -#X text 12 65 DESCRIPTION simulating mouse motion with messages to +#X text 12 55 DESCRIPTION simulating mouse motion with messages to a canvas; -#X text 12 42 LICENSE public domain; +#X text 12 32 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial +; #X restore 364 466 pd META; #X connect 2 0 10 0; #X connect 4 0 6 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd b/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd index 058e834a4..77620e9f2 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 425 489 10; +#N canvas 296 33 425 489 10; #N canvas 438 18 368 330 testing 1; #X obj 95 10 loadbang; #X msg 95 35 0; @@ -32,14 +32,13 @@ #X msg 37 146 copy \, paste \, mouse 25 25 0 0; #X text 50 125 and then here to copy \, paste ... and move; #N canvas 458 158 494 396 META 0; -#X text 12 5 GENRE tutorial; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; #X text 12 64 DESCRIPTION simulating mouse selections and cut \, copy \, and paste by sending messages to a canvas; #X text 12 42 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial +; #X restore 373 458 pd META; #X connect 2 0 14 0; #X connect 4 0 6 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd b/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd index dd17fbe95..294ff8fb8 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 405 234 10; +#N canvas 295 201 405 234 10; #X msg 14 26 menufont; #X msg 32 64 font 10 100 100; #X msg 32 88 font 14 100 100; @@ -12,14 +12,13 @@ #X obj 14 196 s pd-4.fonts.pd; #X text 14 3 Here a list of all the messages dealing with fonts :; #N canvas 458 158 494 396 META 0; -#X text 12 5 GENRE tutorial; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; #X text 12 64 DESCRIPTION changing font size with messages to a canvas ; #X text 12 43 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial +; #X restore 347 206 pd META; #X connect 0 0 10 0; #X connect 1 0 10 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/5.loadbang.pd b/doc/additional/pd-msg/1.msg_and_patch/5.loadbang.pd index 50cd158f2..8e606a9c9 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/5.loadbang.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/5.loadbang.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 845 545 10; +#N canvas 95 75 845 545 10; #X msg 39 266 loadbang; #X obj 62 152 loadbang; #X msg 62 178 1; @@ -37,14 +37,13 @@ to know when you're finished "instantiating" \, and then call "loadbang" by yourself by sending a "loadbang" message at the appropriate time. ; #N canvas 458 158 494 396 META 0; -#X text 12 5 GENRE tutorial; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; #X text 12 64 DESCRIPTION how to fire a loadbang inside a dynamically instantiating abstraction; #X text 12 42 LICENSE public domain; +#X text 12 5 KEYWORDS control canvas_op nonlocal dynamic_patching tutorial +; #X restore 782 518 pd META; #X connect 0 0 9 0; #X connect 1 0 2 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/6.relocate_windows.pd b/doc/additional/pd-msg/1.msg_and_patch/6.relocate_windows.pd index 4b1954689..6167fa204 100644 --- a/doc/additional/pd-msg/1.msg_and_patch/6.relocate_windows.pd +++ b/doc/additional/pd-msg/1.msg_and_patch/6.relocate_windows.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 554 615 10; +#N canvas 240 40 554 615 10; #X text 21 35 1 create a new subpatch; #X msg 36 89 \; pd-6.relocate_windows.pd obj 400 20 pd my_subpatch ; @@ -52,10 +52,10 @@ it after the "relocate" message has been sent.; -1 0 0; #X obj 108 312 hsl 128 15 8 1200 0 0 \$0-y empty y 12 8 0 10 -159808 -1 -1 0 0; -#X floatatom 203 272 5 0 0 0 - #0-height -; -#X floatatom 188 253 5 0 0 0 - #0-width -; -#X floatatom 224 292 5 0 0 0 - #0-x -; -#X floatatom 244 312 5 0 0 0 - #0-y -; +#X floatatom 203 272 5 0 0 0 - #0-height -, f 5; +#X floatatom 188 253 5 0 0 0 - #0-width -, f 5; +#X floatatom 224 292 5 0 0 0 - #0-x -, f 5; +#X floatatom 244 312 5 0 0 0 - #0-y -, f 5; #X obj 26 387 delay 200; #X msg 97 517 \; pd-my_subpatch menuclose \; pd-my_subpatch relocate 200x200+1+1 1x1+100+100 \; pd-my_subpatch vis 1; @@ -71,17 +71,18 @@ it after the "relocate" message has been sent.; #N canvas 0 0 450 300 my_subpatch 0; #X restore 400 20 pd my_subpatch; #N canvas 458 158 494 396 META 0; -#X text 12 5 GENRE tutorial; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; #X text 12 64 DESCRIPTION move a patch window with messages to a canvas ; #X text 12 43 LICENSE public domain; +#X text 12 5 KEYWORDS tutorial control canvas_op nonlocal dynamic_patching +; #X restore 496 584 pd META; #N canvas 0 0 450 300 my_subpatch 1; #X restore 400 20 pd my_subpatch; +#N canvas 0 0 450 300 my_subpatch 1; +#X restore 400 20 pd my_subpatch; #X connect 4 0 5 0; #X connect 5 0 18 0; #X connect 6 0 5 1; diff --git a/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd b/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd index 572145830..236f27fe9 100644 --- a/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd +++ b/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd @@ -1,9 +1,9 @@ -#N canvas 0 18 378 475 10; +#N canvas 324 138 378 475 10; #X text 20 51 turn DSP calculation off & on; #X msg 98 94 \; pd dsp 0 \;; #X msg 172 94 \; pd dsp 1 \;; #X msg 24 301 \; pd quit \;; -#X floatatom 26 73 1 0 1 0 - - -; +#X floatatom 26 73 1 0 1 0 - - -, f 1; #X obj 26 123 s pd; #X msg 26 97 dsp \$1; #X msg 25 218 \; pd audiostatus \;; @@ -12,12 +12,11 @@ #X text 25 12 Here are some messages we can send to pd.; #X text 21 275 Quit pd (WARNING); #N canvas 437 191 494 396 META 0; -#X text 12 5 GENRE tutorial; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 65 DESCRIPTION sending messages to a pd instance; -#X text 12 25 KEYWORDS control pd_op nonlocal; #X text 12 45 LICENSE public domain; +#X text 12 25 KEYWORDS control pd_op nonlocal tutorial; #X restore 317 443 pd META; #X connect 4 0 6 0; #X connect 6 0 5 0; diff --git a/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd b/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd index 9744eca44..741a2a7a2 100644 --- a/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd +++ b/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd @@ -1,4 +1,4 @@ -#N canvas 0 18 525 543 10; +#N canvas 250 104 525 543 10; #X text 10 4 open and close an abstraction; #X msg 25 205 \; pd-abstraction.pd menuclose \;; #X text 25 141 Sometimes you can get relative paths (./ \, ../ \, etc.) @@ -21,17 +21,16 @@ to work \, but usually not. I don't know why...; #X text 27 288 OPEN \, THEN CLOSE AFTER 2 SECONDS; #X text 25 109 You have to put the name of the patch to open and its complete path; -#X text 22 241 (you have to put the correct name & a valid path); +#X text 22 251 (you have to put the correct name & a valid path); #X text 47 481 you have to put the name of the patch to open (\$1) and the complete path to it (\$2); -#N canvas 437 191 494 396 META 0; -#X text 12 5 GENRE tutorial; +#N canvas 438 216 494 396 META 0; #X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 25 KEYWORDS control pd_op nonlocal; #X text 12 65 DESCRIPTION opening and closing a patch by sending messages to Pd; #X text 12 45 LICENSE public domain; +#X text 12 25 KEYWORDS control pd_op nonlocal tutorial; #X restore 445 516 pd META; #X connect 4 0 15 1; #X connect 8 0 9 0; diff --git a/doc/additional/pd-msg/5.examples/1.polyphonie.pd b/doc/additional/pd-msg/5.examples/1.polyphonie.pd index 01ef4a7ae..a77f12d99 100644 --- a/doc/additional/pd-msg/5.examples/1.polyphonie.pd +++ b/doc/additional/pd-msg/5.examples/1.polyphonie.pd @@ -1,4 +1,4 @@ -#N canvas -9 18 894 406 10; +#N canvas 66 172 894 406 10; #X obj 486 176 s as_b; #X floatatom 542 147 0 0 0 0 - - -; #X obj 542 171 s as_f; @@ -61,12 +61,12 @@ osc.; #X text 744 24 THIRD; #X text 93 340 this msg does it all !!!; #N canvas 458 158 494 396 META 0; -#X text 12 5 GENRE tutorial; #X text 12 75 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; -#X text 12 25 KEYWORDS signal canvas_op nonlocal dynamic_patching; #X text 12 45 DESCRIPTION generating a polyphonic pd patch dynamically ; +#X text 12 25 KEYWORDS signal canvas_op nonlocal dynamic_patching tutorial +; #X restore 836 376 pd META; #X connect 1 0 2 0; #X connect 3 0 4 0; diff --git a/doc/additional/pd-msg/5.examples/2.create_new_abstract.pd b/doc/additional/pd-msg/5.examples/2.create_new_abstract.pd index fe1639acc..d546ee813 100644 --- a/doc/additional/pd-msg/5.examples/2.create_new_abstract.pd +++ b/doc/additional/pd-msg/5.examples/2.create_new_abstract.pd @@ -1,4 +1,4 @@ -#N canvas -9 18 505 524 10; +#N canvas 260 113 505 524 10; #X msg 77 224 msg 10 10 bang; #X msg 77 272 obj 10 40 metro 500; #X msg 77 248 floatatom 100 10 7 50 5000; @@ -18,12 +18,11 @@ #X msg 290 457 menuclose; #X text 294 483 this will kill it !; #N canvas 458 158 494 396 META 0; -#X text 12 5 GENRE tutorial; -#X text 12 75 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information +#X text 12 85 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 55 DESCRIPTION creating a pd patch dynamically; #X text 12 25 KEYWORDS control canvas_op nonlocal dynamic_patching -; -#X text 12 45 DESCRIPTION creating a pd patch dynamically; +tutorial; #X restore 448 496 pd META; #X connect 0 0 6 0; #X connect 1 0 6 0; diff --git a/doc/pddp/all_about.pd b/doc/pddp/all_about.pd index 7f5a7a3c4..2f6288522 100644 --- a/doc/pddp/all_about.pd +++ b/doc/pddp/all_about.pd @@ -1,4 +1,4 @@ -#N canvas 433 159 447 377 10; +#N canvas 434 184 447 377 10; #X obj 2 -3 cnv 15 445 20 empty \$0-pddp.cnv.header all_about_pd 19 11 1 18 -261106 -33289 0; #X obj 407 0 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -10,9 +10,8 @@ Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS needs_work; #X text 12 45 DESCRIPTION general info for Pure Data; +#X text 12 25 KEYWORDS needs_work all_about_pd; #X restore 392 354 pd META; #N canvas 213 407 428 105 Related_objects 0; #X text 31 37 Hm...what to put here?; diff --git a/doc/pddp/all_about_acoustic_conversions.pd b/doc/pddp/all_about_acoustic_conversions.pd index 1b78eabd3..c07bc53ce 100644 --- a/doc/pddp/all_about_acoustic_conversions.pd +++ b/doc/pddp/all_about_acoustic_conversions.pd @@ -1,4 +1,4 @@ -#N canvas 428 33 450 472 10; +#N canvas 429 58 450 472 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header acoustic_conversions 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -559,15 +559,14 @@ and are clipped/ignored.; #X obj 1 448 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 323 229 494 344 META 0; -#X text 12 115 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan +#X text 12 95 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 45 KEYWORDS conversion; -#X text 12 95 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 NAME mtof ftom dbtorms rmstodb dbtopow powtodb; -#X text 12 65 DESCRIPTION examples of objects that do conversions between +#X text 12 75 LIBRARY PDDP; +#X text 12 45 DESCRIPTION examples of objects that do conversions between acoustic units; +#X text 12 15 KEYWORDS mtof ftom dbtorms rmstodb dbtopow powtodb conversion +all_about_pd; #X restore 392 450 pd META; #N canvas 207 265 428 212 Related_objects 0; #X obj 23 42 dbtopow~; diff --git a/doc/pddp/all_about_arrays.pd b/doc/pddp/all_about_arrays.pd index 38fab3713..e1895ae8a 100644 --- a/doc/pddp/all_about_arrays.pd +++ b/doc/pddp/all_about_arrays.pd @@ -1,6 +1,7 @@ +#N struct ; #N struct ds-array-ex float x float y array circles circle; #N struct circle float y symbol a; -#N canvas 429 33 448 312 10; +#N canvas 430 58 448 312 10; #N canvas 12 67 428 377 Common_uses_for_arrays_in_PD 0; #X text 20 37 Arrays are versatile. Their simple structure make them useful in countless situations. This page discusses perhaps the most @@ -38,15 +39,13 @@ for [table] \, [tabread] \, [tabwrite] \, [soundfiler] \, [tabsend~] #X obj 1 290 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 95 LIBRARY PDDP; -#X text 12 115 HELP_PATCH_AUTHORS Updated for Pd 0.38-2. Jonathan Wilkes +#X text 12 55 LIBRARY PDDP; +#X text 12 75 HELP_PATCH_AUTHORS Updated for Pd 0.38-2. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42. ; -#X text 12 5 GENRE all_about_pd; -#X text 12 45 KEYWORDS array storage; -#X text 12 25 NAME table struct; -#X text 12 65 DESCRIPTION description of arrays and related objects +#X text 12 25 DESCRIPTION description of arrays and related objects for creating and managing them; +#X text 12 5 KEYWORDS table struct all_about_pd array storage; #X restore 392 292 pd META; #N canvas 13 162 428 183 Related_objects 0; #X obj 22 41 struct; @@ -82,7 +81,7 @@ graphically) as part of a data structure.; #X restore 43 42 pd What_is_an_array_in_PD; #N canvas 0 0 428 403 The_Put_menu_array 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-pddp-garray-ex1 100 float 2; +#X array \$0-pddp-garray-ex1 100 float 2 black black; #X coords 0 1 99 -1 200 140 1; #X restore 22 73 graph; #X text 233 149 the black line to change; @@ -211,7 +210,7 @@ menu arrays (both graphically and in their structure).; #X obj 216 109 pddp/pddplink struct-help.pd; #N canvas 14 32 428 532 How_to_manipulate_arrays_in_PD 0; #N canvas 0 22 452 302 (subpatch) 0; -#X array exampleArray 14 float 0; +#X array exampleArray 14 float 0 black black; #X coords 0 2 13 -2 200 140 1; #X restore 214 378 graph; #N canvas 9 24 434 213 Setting_the_size_of_an_array 0; @@ -238,14 +237,14 @@ of the array.; the two arrays which will be concatenated. This process will fill NewArray with the contents of exampleArray and concatArray.; #N canvas 0 22 450 300 (subpatch) 0; -#X array concatArray 15 float 1; +#X array concatArray 15 float 1 black black; #A 0 -0.700355 -0.371783 -0.443212 -0.700355 -0.714641 -0.386069 0.0425035 0.399647 0.513933 0.399647 0.128218 -0.128925 -0.21464 -0.0289252 -0.700355 ; #X coords 0 1 14 -1 200 120 1; #X restore 492 25 graph; #N canvas 0 22 450 300 (subpatch) 0; -#X array NewArray 29 float 0; +#X array NewArray 29 float 0 black black; #X coords 0 1 28 -1 300 140 1; #X restore 389 225 graph; #X obj 125 57 bng 15 250 50 0 empty empty Bang_me 18 7 0 8 -262144 @@ -382,7 +381,7 @@ to dynamically change the array name:; #X text 15 300 Arrays accept a "print" command which will output important array information to the terminal window. Like below:; #N canvas 0 0 450 300 (subpatch) 0; -#X array someOtherArray 4 float 2; +#X array someOtherArray 4 float 2 black black; #X coords 0 1 4 -1 75 50 1; #X restore 235 201 graph; #X text 15 266 See the [expr] help patch for other array functions. diff --git a/doc/pddp/all_about_ascii_art.pd b/doc/pddp/all_about_ascii_art.pd index 1155e2554..303aeb159 100644 --- a/doc/pddp/all_about_ascii_art.pd +++ b/doc/pddp/all_about_ascii_art.pd @@ -1,4 +1,4 @@ -#N canvas 428 36 448 528 10; +#N canvas 429 61 448 528 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header ascii_art 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -6,14 +6,12 @@ #X obj 1 506 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 344 META 0; -#X text 12 105 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan +#X text 12 85 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 85 LIBRARY PDDP; -#X text 12 45 KEYWORDS; -#X text 12 5 GENRE all_about_pd; -#X text 12 65 DESCRIPTION how to draw pd patches in a textfile; -#X text 12 25 NAME text; +#X text 12 65 LIBRARY PDDP; +#X text 12 45 DESCRIPTION how to draw pd patches in a textfile; +#X text 12 25 KEYWORDS text all_about_pd; #X restore 392 508 pd META; #N canvas 10 418 428 105 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_atom_conversion.pd b/doc/pddp/all_about_atom_conversion.pd index c576cdb4a..fd9e26c69 100644 --- a/doc/pddp/all_about_atom_conversion.pd +++ b/doc/pddp/all_about_atom_conversion.pd @@ -1,4 +1,4 @@ -#N canvas 431 35 448 248 10; +#N canvas 432 60 448 248 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header atom_conversion 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -10,9 +10,8 @@ #X text 12 65 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS needs_work; #X text 12 45 DESCRIPTION how to convert Pd atoms; +#X text 12 25 KEYWORDS needs_work all_about_pd; #X restore 392 228 pd META; #N canvas 222 153 428 105 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_atoms.pd b/doc/pddp/all_about_atoms.pd index ea10ab1d2..d9fa7883c 100644 --- a/doc/pddp/all_about_atoms.pd +++ b/doc/pddp/all_about_atoms.pd @@ -1,4 +1,4 @@ -#N canvas 427 32 448 238 10; +#N canvas 428 57 448 238 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header atoms 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -150,13 +150,12 @@ on messages \, see the following:; #X obj 1 216 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 374 55 494 192 META 0; -#X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS needs_work; -#X text 12 85 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan +#X text 12 45 LIBRARY PDDP; +#X text 12 65 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42. Some info was pulled from puredata.info; -#X text 12 45 DESCRIPTION overview of Pd atoms; +#X text 12 25 DESCRIPTION overview of Pd atoms; +#X text 12 5 KEYWORDS needs_work all_about_pd; #X restore 392 218 pd META; #N canvas 217 143 428 105 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_canvas_properties.pd b/doc/pddp/all_about_canvas_properties.pd index 00c4d725b..94c2752ba 100644 --- a/doc/pddp/all_about_canvas_properties.pd +++ b/doc/pddp/all_about_canvas_properties.pd @@ -1,20 +1,19 @@ #N struct xy-units float x float y; -#N canvas 429 34 448 318 10; +#N canvas 430 59 448 318 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header canvas_properties 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X obj 1 296 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 445 194 426 134 META 0; +#N canvas 446 219 426 134 META 0; #X text 12 85 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS GUI needs_work; -#X text 12 45 DESCRIPTION settings for the visual appearance of a Pd +#X text 12 35 DESCRIPTION settings for the visual appearance of a Pd canvas; +#X text 12 15 KEYWORDS GUI needs_work all_about_pd; #X restore 392 298 pd META; #N canvas 217 212 428 114 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 @@ -87,7 +86,7 @@ parent" in the canvas properties menu to enable this feature.; 1 18 -261106 -33289 0; #X text 7 1 X and Y Range; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-array 10 float 3; +#X array \$0-array 10 float 3 black black; #A 0 1.25716 0.514292 0.814295 1.27144 1.44287 1.57145 1.35716 1.18573 0.55715 1.28573; #X coords 0 1 10 -1 200 140 1; diff --git a/doc/pddp/all_about_data_types.pd b/doc/pddp/all_about_data_types.pd index 89d3f7ba5..67a8157cf 100644 --- a/doc/pddp/all_about_data_types.pd +++ b/doc/pddp/all_about_data_types.pd @@ -1,4 +1,4 @@ -#N canvas 428 36 448 239 10; +#N canvas 429 61 448 239 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header data_types 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -11,11 +11,10 @@ Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 NAME; #X text 12 45 KEYWORDS; #X text 12 65 DESCRIPTION list of help patches related to Pd data types ; +#X text 12 25 NAME all_about_pd; #X restore 392 219 pd META; #X obj 6 219 pddp/pddplink all_about.pd -text All About Pd; #N canvas 194 98 428 150 Quick_Quiz! 0; diff --git a/doc/pddp/all_about_dollarsign_zero.pd b/doc/pddp/all_about_dollarsign_zero.pd index 05374d657..5d354ae0a 100644 --- a/doc/pddp/all_about_dollarsign_zero.pd +++ b/doc/pddp/all_about_dollarsign_zero.pd @@ -1,4 +1,4 @@ -#N canvas 430 34 448 462 10; +#N canvas 431 59 448 462 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header dollarsign_zero 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -33,10 +33,9 @@ it next to this one so both are visible.; Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 25 KEYWORDS; -#X text 12 5 GENRE all_about_pd; #X text 12 45 DESCRIPTION how to use \$0 to simulate locality in Pd ; +#X text 12 25 KEYWORDS all_about_pd; #X restore 392 442 pd META; #N canvas 219 326 428 145 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_expr_and_value.pd b/doc/pddp/all_about_expr_and_value.pd index 34fb75601..df7756794 100644 --- a/doc/pddp/all_about_expr_and_value.pd +++ b/doc/pddp/all_about_expr_and_value.pd @@ -1,4 +1,4 @@ -#N canvas 429 33 448 350 10; +#N canvas 430 58 448 350 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header expr_and_value 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -30,11 +30,10 @@ provide a workable \, if clunky \, solution:; Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 85 LIBRARY PDDP; -#X text 12 45 KEYWORDS nonlocal; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 NAME expr expr~ fexpr~ value; -#X text 12 65 DESCRIPTION a touching tale of an unlikely romance between +#X text 12 55 DESCRIPTION a touching tale of an unlikely romance between two Pd objects; +#X text 12 25 KEYWORDS expr expr~ fexpr~ value all_about_pd nonlocal +; #X restore 392 330 pd META; #N canvas 218 216 428 141 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_expr_functions.pd b/doc/pddp/all_about_expr_functions.pd index f7ed02a4b..d0005b16a 100644 --- a/doc/pddp/all_about_expr_functions.pd +++ b/doc/pddp/all_about_expr_functions.pd @@ -1,4 +1,4 @@ -#N canvas 430 35 448 545 10; +#N canvas 431 60 448 545 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header expr_operators_and_functions 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -55,7 +55,7 @@ #X obj 36 815 expr abs(a); #X obj 36 857 expr modf(a); #N canvas 0 0 450 300 (subpatch) 0; -#X array expr_array 11 float 3; +#X array expr_array 11 float 3 black black; #A 0 -0.707106 0 0.707106 1 0.707108 2.65359e-06 -0.707104 -1 -0.70711 -5.30718e-06 0.707103; #X coords 0 1 11 -1 80 60 1; @@ -360,11 +360,9 @@ arguments to the [expr] \, [expr~] \, and [fexpr~] objects.; Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 85 LIBRARY PDDP; -#X text 12 45 KEYWORDS; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 NAME expr expr~ fexpr~; -#X text 12 65 DESCRIPTION complete list of functions and operators +#X text 12 45 DESCRIPTION complete list of functions and operators for expr family objects; +#X text 12 25 KEYWORDS expr expr~ fexpr~ all_about_pd; #X restore 392 2570 pd META; #N canvas 218 414 428 140 Related_objects 0; #X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_expr_if.pd b/doc/pddp/all_about_expr_if.pd index 011959dc0..63c70525d 100644 --- a/doc/pddp/all_about_expr_if.pd +++ b/doc/pddp/all_about_expr_if.pd @@ -1,4 +1,4 @@ -#N canvas 430 36 448 500 10; +#N canvas 431 61 448 500 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header expr_if 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -35,15 +35,13 @@ output.; #X obj 1 478 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 375 307 494 205 META 0; -#X text 12 85 LIBRARY PDDP; -#X text 12 45 KEYWORDS; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 NAME expr expr~ fexpr~; -#X text 12 105 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan +#X text 12 95 LIBRARY PDDP; +#X text 12 115 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 DESCRIPTION an explanation of the "if" function from sly and the expr family stone; +#X text 12 45 KEYWORDS expr expr~ fexpr~ all_about_pd; #X restore 392 480 pd META; #N canvas 217 377 428 136 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_expr_multiline.pd b/doc/pddp/all_about_expr_multiline.pd index 266285a63..78b75b532 100644 --- a/doc/pddp/all_about_expr_multiline.pd +++ b/doc/pddp/all_about_expr_multiline.pd @@ -1,4 +1,4 @@ -#N canvas 433 34 448 282 10; +#N canvas 434 59 448 282 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header expr_multiline 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -26,10 +26,9 @@ Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 45 KEYWORDS conversion; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 NAME expr fexpr~ expr~; #X text 12 65 DESCRIPTION Like to enter multiple expressions inside expr? You can if you want \, and this patch tells you how...; +#X text 12 25 NAME expr fexpr~ expr~ all_about_pd; #X restore 392 262 pd META; #N canvas 224 164 428 129 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_externals.pd b/doc/pddp/all_about_externals.pd index 01d46af10..2ddeaf96e 100644 --- a/doc/pddp/all_about_externals.pd +++ b/doc/pddp/all_about_externals.pd @@ -1,4 +1,4 @@ -#N canvas 430 35 446 395 10; +#N canvas 431 60 446 395 10; #X obj 1 -2 cnv 15 445 20 empty \$0-pddp.cnv.header externals 20 12 1 18 -261106 -33289 0; #X obj 412 -2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -10,9 +10,8 @@ Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; #X text 12 45 DESCRIPTION notions of scope in Pd; -#X text 12 25 KEYWORDS needs_work; +#X text 12 25 KEYWORDS needs_work all_about_pd; #X restore 397 375 pd META; #N canvas 221 288 428 121 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_finding_objects.pd b/doc/pddp/all_about_finding_objects.pd index 4865ff24a..fa9fc583b 100644 --- a/doc/pddp/all_about_finding_objects.pd +++ b/doc/pddp/all_about_finding_objects.pd @@ -1,4 +1,4 @@ -#N canvas 432 33 448 448 10; +#N canvas 433 58 448 448 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header Pure_Data_search 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -7,10 +7,9 @@ 14 -233017 -33289 0; #N canvas 377 352 494 103 META 0; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; #X text 12 45 DESCRIPTION tips for searching for objects; #X text 12 85 HELP_PATCH_AUTHORS Jonathan Wilkes \, Pd-ext 0.42.; -#X text 12 25 KEYWORDS help; +#X text 12 25 KEYWORDS help all_about_pd; #X restore 392 427 pd META; #X obj 6 427 pddp/pddplink all_about.pd -text All About Pd; #N canvas 193 269 428 183 References 0; diff --git a/doc/pddp/all_about_getting_help.pd b/doc/pddp/all_about_getting_help.pd index b924e12ba..36294cfdb 100644 --- a/doc/pddp/all_about_getting_help.pd +++ b/doc/pddp/all_about_getting_help.pd @@ -1,4 +1,4 @@ -#N canvas 429 35 448 570 10; +#N canvas 430 60 448 570 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header getting_help_in_Pure_Data 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -7,10 +7,9 @@ 14 -233017 -33289 0; #N canvas 381 471 494 112 META 0; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; #X text 12 45 DESCRIPTION Table of Contents for Pd documentation; #X text 12 85 HELP_PATCH_AUTHORS Jonathan Wilkes.; -#X text 12 25 KEYWORDS; +#X text 12 25 KEYWORDS all_about_pd; #X restore 392 550 pd META; #N canvas 223 366 428 212 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 20 10 diff --git a/doc/pddp/all_about_haptics.pd b/doc/pddp/all_about_haptics.pd index a957361b9..bc37a3882 100644 --- a/doc/pddp/all_about_haptics.pd +++ b/doc/pddp/all_about_haptics.pd @@ -1,4 +1,4 @@ -#N canvas 428 33 448 374 10; +#N canvas 429 58 448 374 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header haptics 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -10,9 +10,8 @@ Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS needs_work; #X text 12 45 DESCRIPTION definition of haptics; +#X text 12 25 KEYWORDS needs_work all_about_pd; #X restore 392 354 pd META; #N canvas 212 24 428 359 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_help_patches.pd b/doc/pddp/all_about_help_patches.pd index 9ebd372a7..ec4f53d55 100644 --- a/doc/pddp/all_about_help_patches.pd +++ b/doc/pddp/all_about_help_patches.pd @@ -1,4 +1,4 @@ -#N canvas 404 29 559 633 10; +#N canvas 405 54 559 633 10; #X obj 0 605 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #X obj 0 178 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13 @@ -6,10 +6,7 @@ #N canvas 487 70 494 558 META 0; #X text 12 95 RELEASE_VERSION 0.41.4; #X text 158 96 Keywords:; -#X text 12 5 GENRE help; #X text 12 65 DESCRIPTION using help patches in Pure Data; -#X text 12 25 KEYWORDS needs_work (mention how pd finds help files -and replace 'common_terminology' subpatch with link to glossary); #X text 117 111 control- control rate objects \; signal- audiorate objects \; data_structure- objects for creating and managing data structures \; nonlocal- objects that can make nonlocal connections to other objects @@ -33,6 +30,9 @@ of a patchfile \; ramp - a ramp \; bandlimited \; pd-op - object that can report on or manipulate global Pd operation \; anything_op - store or manipulate an anything \; abstraction_op - object that only makes sense in terms of abstractions; +#X text 12 25 KEYWORDS needs_work (mention how pd finds help files +and replace 'common_terminology' subpatch with link to glossary) help +; #X restore 500 607 pd META; #X obj 0 400 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0 13 -228856 -1 0; diff --git a/doc/pddp/all_about_hid.pd b/doc/pddp/all_about_hid.pd index 5738b2499..e1fcbed65 100644 --- a/doc/pddp/all_about_hid.pd +++ b/doc/pddp/all_about_hid.pd @@ -1,4 +1,4 @@ -#N canvas 432 34 773 596 10; +#N canvas 250 59 773 596 10; #X text 5 29 "HID" stands for "Human Interface Device". A HID is any device that is meant to allow humans to interact with a computer. Usually \, HIDs are mice \, keyboards \, joysticks \, tablets \, gamepads \, @@ -130,9 +130,8 @@ to the 'printing' characters. [keyname] reports Shift \, Ctrl \, Alt Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS needs_work; #X text 12 45 DESCRIPTION definition of haptics; +#X text 12 25 KEYWORDS needs_work all_about_pd; #X restore 722 568 pd META; #N canvas 420 447 428 155 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_index.pd b/doc/pddp/all_about_index.pd index 9d0999ef9..64c4dd909 100644 --- a/doc/pddp/all_about_index.pd +++ b/doc/pddp/all_about_index.pd @@ -1,4 +1,4 @@ -#N canvas 430 34 447 577 10; +#N canvas 431 59 447 577 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header All_About_Pd 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -10,9 +10,8 @@ Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS needs_work; #X text 12 45 DESCRIPTION table of contents; +#X text 12 25 KEYWORDS needs_work all_about_pd; #X restore 392 554 pd META; #N canvas 219 482 428 105 Related_objects 0; #X text 31 37 Hm...what to put here?; diff --git a/doc/pddp/all_about_libraries.pd b/doc/pddp/all_about_libraries.pd index 2a56ccf97..b368c17e7 100644 --- a/doc/pddp/all_about_libraries.pd +++ b/doc/pddp/all_about_libraries.pd @@ -1,5 +1,4 @@ -#N canvas 428 33 448 238 10; -#X declare; +#N canvas 429 58 448 238 10; #X declare; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header libraries 20 10 1 18 -261106 -33289 0; @@ -9,13 +8,11 @@ 14 -233017 -33289 0; #N canvas 374 81 494 169 META 0; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 45 KEYWORDS needs_work; #X text 12 105 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42. Some info was pulled from puredata.info; #X text 12 65 DESCRIPTION how pure data libraries are loaded; -#X text 12 25 NAME; +#X text 12 45 KEYWORDS needs_work all_about_pd; #X restore 392 218 pd META; #N canvas 216 143 428 105 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_lists_vs_anythings.pd b/doc/pddp/all_about_lists_vs_anythings.pd index a3b778041..4040ba2cc 100644 --- a/doc/pddp/all_about_lists_vs_anythings.pd +++ b/doc/pddp/all_about_lists_vs_anythings.pd @@ -1,4 +1,4 @@ -#N canvas 429 34 448 568 10; +#N canvas 430 59 448 568 10; #N canvas 0 0 878 658 old 0; #X msg 95 368 1 2 3; #X obj 125 399 route list; @@ -263,16 +263,15 @@ selector "this"); ; #X obj 1 546 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 377 405 494 174 META 0; +#N canvas 378 430 494 174 META 0; #X text 12 115 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 95 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; #X text 12 45 KEYWORDS needs_work; -#X text 12 25 NAME list; #X text 12 65 DESCRIPTION definitions for list and anything in the context of Pd; +#X text 12 25 NAME list all_about_pd; #X restore 392 548 pd META; #X obj 6 548 pddp/pddplink all_about.pd -text All About Pd; #X obj 40 92 pddp/pddplink all_about_atoms.pd; diff --git a/doc/pddp/all_about_looping.pd b/doc/pddp/all_about_looping.pd index 784a5ddd5..ea6b71649 100644 --- a/doc/pddp/all_about_looping.pd +++ b/doc/pddp/all_about_looping.pd @@ -1,4 +1,4 @@ -#N canvas 431 35 448 570 10; +#N canvas 432 60 448 570 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header looping 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -100,7 +100,7 @@ be used to create iterative loops.; #X text 99 256 Y; #X obj 61 249 t b f; #N canvas 0 22 450 300 (subpatch) 0; -#X array \$0-array 100 float 1; +#X array \$0-array 100 float 1 black black; #A 0 0 0.935458 0.948449 0.960016 0.970142 0.978811 0.98601 0.991728 0.995956 0.998689 0.999923 0.999654 0.997884 0.994616 0.989854 0.983606 0.97588 0.966689 0.956046 0.943968 0.930471 0.915578 0.899309 0.88169 @@ -189,10 +189,8 @@ the loop. The [moses 100] ends the loop.; Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 45 KEYWORDS needs_work; -#X text 12 25 NAME until; #X text 12 65 DESCRIPTION how to create loops in Pd; +#X text 12 45 KEYWORDS needs_work until all_about_pd; #X restore 392 550 pd META; #N canvas 219 238 428 342 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_message_conversion.pd b/doc/pddp/all_about_message_conversion.pd index 925607151..1d5dc6ef7 100644 --- a/doc/pddp/all_about_message_conversion.pd +++ b/doc/pddp/all_about_message_conversion.pd @@ -1,4 +1,4 @@ -#N canvas 426 30 448 238 10; +#N canvas 427 55 448 238 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header message_conversion 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -6,16 +6,14 @@ #X obj 43 150 pddp/pddplink all_about_messages.pd; #X obj 1 216 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 369 58 494 189 META 0; +#N canvas 370 83 494 189 META 0; #X text 12 115 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 95 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 45 KEYWORDS needs_work; #X text 12 65 DESCRIPTION description of message conversion performed by Pd; -#X text 12 25 NAME; +#X text 12 45 KEYWORDS needs_work all_about_pd; #X restore 392 218 pd META; #N canvas 213 54 428 189 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_messages.pd b/doc/pddp/all_about_messages.pd index 44199e4b3..4798ff846 100644 --- a/doc/pddp/all_about_messages.pd +++ b/doc/pddp/all_about_messages.pd @@ -1,4 +1,4 @@ -#N canvas 428 34 448 248 10; +#N canvas 429 59 448 248 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header messages 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -51,10 +51,9 @@ include "set 3 4 5" \, "threshold 30 74" \, and "foo bar 3 four".; Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; #X text 12 45 KEYWORDS needs_work; -#X text 12 25 NAME list float symbol; #X text 12 65 DESCRIPTION message syntax in Pd; +#X text 12 25 NAME list float symbol all_about_pd; #X restore 392 228 pd META; #X obj 6 228 pddp/pddplink all_about.pd -text All About Pd; #X text 42 153 Messages are made up of atoms. Make sure you understand diff --git a/doc/pddp/all_about_midi_flags.pd b/doc/pddp/all_about_midi_flags.pd index 84984d79b..fe29cf925 100644 --- a/doc/pddp/all_about_midi_flags.pd +++ b/doc/pddp/all_about_midi_flags.pd @@ -1,4 +1,4 @@ -#N canvas 431 33 448 643 10; +#N canvas 432 53 448 643 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header midi_flags 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -48,15 +48,14 @@ so if you want to use /dev/midi00 \, start Pd with "-mididev 1". Always add 1 to the device number.; #X obj 1 621 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 380 507 494 143 META 0; +#N canvas 381 532 494 143 META 0; #X text 12 85 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS MIDI; #X text 12 45 DESCRIPTION list of command line flags relating to MIDI ; +#X text 12 25 KEYWORDS MIDI all_about_pd; #X restore 392 623 pd META; #N canvas 220 305 428 342 Related_objects 0; #X obj 22 41 dbtopow~; diff --git a/doc/pddp/all_about_pd_META.pd b/doc/pddp/all_about_pd_META.pd index 0acaa5e1b..b34a55d78 100644 --- a/doc/pddp/all_about_pd_META.pd +++ b/doc/pddp/all_about_pd_META.pd @@ -1,18 +1,17 @@ -#N canvas 430 36 448 227 10; +#N canvas 432 86 448 227 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header pd_META 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X obj 1 204 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 378 84 494 158 META 0; +#N canvas 379 109 494 158 META 0; #X text 12 85 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS needs_work; #X text 12 45 DESCRIPTION description of the pd META tags; +#X text 12 25 KEYWORDS needs_work all_about_pd; #X restore 392 206 pd META; #N canvas 222 133 428 105 Related_objects 0; #X text 31 37 Hm...what to put here?; @@ -56,10 +55,6 @@ as additional text explaining each author's role.; #X text 31 763 The values may be float \, list \, bang \, symbol \, pointer \, anything \, as well as specific custom selectors such as set \, clear \, etc.; -#X text 31 77 GENRE - describes what type of help patch this is. Possible -values are: tutorial \, and all_about_pd (in-depth help for a pd concept). -If GENRE is omitted \, the patch is assumed to be an object help patch. -; #X text 31 137 NAME - name of the objects covered by a multi-object help patch. This tag may also be used for tutorials and all_about_pd patches to show the relevant object(s) being discussed.; @@ -69,6 +64,9 @@ names for the object. For [trigger] \, this would be: ALIAS t; If this is a libdir object \, this can be omitted.; #X text 31 476 HELP_PATCH_AUTHORS - the person or group who made/edited this help patch.; +#X text 31 77 KEYWORDS - general terms to describe the document. The +most widely-used ones can be found in the Usage Guide at the bottom-left +corner of most internal object help patches.; #X restore 22 147 pd TAGS; #X text 19 37 META keywords/tags are used to organize and categorize Pure Data documents so that they're easier to search. They follow the diff --git a/doc/pddp/all_about_scope_and_locality.pd b/doc/pddp/all_about_scope_and_locality.pd index a824eb212..fba826e9d 100644 --- a/doc/pddp/all_about_scope_and_locality.pd +++ b/doc/pddp/all_about_scope_and_locality.pd @@ -1,4 +1,4 @@ -#N canvas 429 35 448 395 10; +#N canvas 430 60 448 395 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header scope_and_locality 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -172,9 +172,8 @@ or "inheritance-foo".; Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS nonlocal needs_work; #X text 12 45 DESCRIPTION notions of scope in Pd; +#X text 12 25 KEYWORDS nonlocal needs_work all_about_pd; #X restore 392 375 pd META; #N canvas 216 279 428 121 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_send_n_receive.pd b/doc/pddp/all_about_send_n_receive.pd index 6659d5fb2..c1a4bf3d0 100644 --- a/doc/pddp/all_about_send_n_receive.pd +++ b/doc/pddp/all_about_send_n_receive.pd @@ -1,4 +1,4 @@ -#N canvas 430 34 448 523 10; +#N canvas 431 59 448 523 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header send_and_receive 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -10,11 +10,11 @@ Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; #X text 12 45 KEYWORDS nonlocal; -#X text 12 25 NAME send receive vsl hsl vradio hradio; #X text 12 65 DESCRIPTION additional information for send and receive ; +#X text 12 25 NAME send receive vsl hsl vradio hradio all_about_pd +; #X restore 392 503 pd META; #N canvas 217 407 428 126 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_submitting_bugs.pd b/doc/pddp/all_about_submitting_bugs.pd index 904ab239e..94c11ad78 100644 --- a/doc/pddp/all_about_submitting_bugs.pd +++ b/doc/pddp/all_about_submitting_bugs.pd @@ -1,19 +1,18 @@ -#N canvas 428 33 448 245 10; +#N canvas 429 58 448 245 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header submitting_bugs 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X obj 1 223 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 369 72 494 183 META 0; +#N canvas 370 97 494 183 META 0; #X text 12 100 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 80 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS needs_work; #X text 12 45 DESCRIPTION prerequisites for submitting a bug on Sourceforge ; +#X text 12 25 KEYWORDS needs_work all_about_pd; #X restore 392 225 pd META; #N canvas 215 136 428 117 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_symbol_construction.pd b/doc/pddp/all_about_symbol_construction.pd index 31b5a7757..ffc45dc94 100644 --- a/doc/pddp/all_about_symbol_construction.pd +++ b/doc/pddp/all_about_symbol_construction.pd @@ -1,4 +1,4 @@ -#N canvas 430 33 448 503 10; +#N canvas 431 58 448 503 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header symbol_construction 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -29,10 +29,9 @@ more advanced functions \, which are listed below.; Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; #X text 12 45 KEYWORDS conversion; -#X text 12 25 NAME makefilename gatom; #X text 12 65 DESCRIPTION how to handle symbols in Pd; +#X text 12 25 NAME makefilename gatom all_about_pd; #X restore 392 483 pd META; #N canvas 216 383 428 126 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_writing_help_patches.pd b/doc/pddp/all_about_writing_help_patches.pd index 449204973..a6a25de55 100644 --- a/doc/pddp/all_about_writing_help_patches.pd +++ b/doc/pddp/all_about_writing_help_patches.pd @@ -1,18 +1,17 @@ -#N canvas 430 37 448 238 10; +#N canvas 431 62 448 238 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header writing_help_patches 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X obj 1 216 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 375 121 494 131 META 0; +#N canvas 376 146 494 131 META 0; #X text 12 85 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS needs_work; #X text 12 45 DESCRIPTION guidelines for writing help patches; +#X text 12 25 KEYWORDS needs_work all_about_pd; #X restore 392 218 pd META; #N canvas 218 145 428 105 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/all_about_z_order.pd b/doc/pddp/all_about_z_order.pd index 813cac564..6a9c12a91 100644 --- a/doc/pddp/all_about_z_order.pd +++ b/doc/pddp/all_about_z_order.pd @@ -1,17 +1,16 @@ -#N canvas 430 32 448 189 10; +#N canvas 431 57 448 189 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header z_order 20 10 1 18 -261106 -33289 0; #X obj 1 167 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 376 48 494 153 META 0; +#N canvas 377 73 494 153 META 0; #X text 12 95 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 75 LIBRARY PDDP; -#X text 12 5 GENRE all_about_pd; -#X text 12 25 KEYWORDS GUI needs_work; #X text 12 45 DESCRIPTION description of how objects are presented graphically in Pd; +#X text 12 25 KEYWORDS GUI needs_work all_about_pd; #X restore 392 169 pd META; #N canvas 217 93 428 107 Related_objects 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/doc/pddp/templates/example-help.pd b/doc/pddp/templates/example-help.pd index 5adc710d1..2bd9ca003 100644 --- a/doc/pddp/templates/example-help.pd +++ b/doc/pddp/templates/example-help.pd @@ -1,4 +1,4 @@ -#N canvas 50 40 568 623 10; +#N canvas 51 65 568 623 10; #X obj 5 574 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -228856 -66577 0; #X obj 5 -12 cnv 15 550 40 empty \$0-pddp.cnv.header float 3 12 0 18 @@ -6,26 +6,25 @@ #X obj 4 244 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13 -228856 -1 0; #N canvas 407 510 490 340 META 0; -#X text 12 25 KEYWORDS control number float store; #X text 12 45 LICENSE GPL; #X text 12 65 TEMPLATE template-help.pd v0.1; #X text 12 85 PLATFORM windows macosx gnulinux; #X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; #X text 12 125 LIBRARY internal; #X text 12 165 RELEASE_DATE 2007-08-24; #X text 12 185 RELEASE_VERSION 0.40-test05; #X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 25 KEYWORDS control number float storage; #X restore 505 576 pd META; #X obj 83 156 cnv 10 50 16 empty empty empty 20 12 0 14 -262126 -66577 0; #X obj 346 163 cnv 10 23 16 empty empty empty 20 12 0 14 -262126 -66577 0; -#X floatatom 384 135 5 0 0 0 - - -; -#X floatatom 345 187 5 0 0 0 - - -; +#X floatatom 384 135 5 0 0 0 - - -, f 5; +#X floatatom 345 187 5 0 0 0 - - -, f 5; #X obj 364 135 bng 15 250 50 0 empty empty empty 20 7 0 12 -4034 -1 -1; -#X floatatom 85 181 5 0 0 0 - - -; +#X floatatom 85 181 5 0 0 0 - - -, f 5; #X msg 85 73 bang; #X msg 325 79 7 3 4; #X obj 345 162 f; diff --git a/doc/pddp/templates/template-help.pd b/doc/pddp/templates/template-help.pd index 9473c8d69..e8526d059 100644 --- a/doc/pddp/templates/template-help.pd +++ b/doc/pddp/templates/template-help.pd @@ -1,4 +1,4 @@ -#N canvas 41 22 564 619 10; +#N canvas 42 47 564 619 10; #X obj 4 569 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -228856 -66577 0; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header myobjectclass @@ -11,7 +11,6 @@ #X text 12 65 TEMPLATE template-help.pd v0.1; #X text 12 85 PLATFORM windows macosx gnulinux; #X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; #X text 12 125 LIBRARY internal; #X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 165 RELEASE_DATE 2007-08-24; diff --git a/doc/pddp/zexy.pd b/doc/pddp/zexy.pd index 87a5833ff..d2e8bc32a 100644 --- a/doc/pddp/zexy.pd +++ b/doc/pddp/zexy.pd @@ -1,5 +1,4 @@ -#N canvas 429 33 745 601 10; -#X declare -lib zexy; +#N canvas 278 58 745 601 10; #X msg 81 59 help; #N canvas 259 142 708 221 io~ 0; #X obj 41 184 sfplay; @@ -309,9 +308,8 @@ Wilkes for Pd version 0.42.; #X text 12 145 AUTHOR IOhannes m zmölnig; #X text 12 185 RELEASE_DATE; #X text 12 105 DATATYPE; -#X text 12 25 KEYWORDS; #X text 12 125 LIBRARY external zexy; -#X text 12 5 GENRE help; +#X text 12 25 KEYWORDS zexy; #X restore 696 581 pd META; #X obj 672 560 import zexy; #X connect 0 0 28 0; diff --git a/externals/apple/.svn/all-wcprops b/externals/apple/.svn/all-wcprops deleted file mode 100644 index 3836d3a0b..000000000 --- a/externals/apple/.svn/all-wcprops +++ /dev/null @@ -1,161 +0,0 @@ -K 25 -svn:wc:ra_dav:version-url -V 55 -/svnroot/pure-data/!svn/ver/16100/trunk/externals/apple -END -brightness-help.pd -K 25 -svn:wc:ra_dav:version-url -V 74 -/svnroot/pure-data/!svn/ver/12675/trunk/externals/apple/brightness-help.pd -END -LICENSE.txt -K 25 -svn:wc:ra_dav:version-url -V 67 -/svnroot/pure-data/!svn/ver/13377/trunk/externals/apple/LICENSE.txt -END -smc.c -K 25 -svn:wc:ra_dav:version-url -V 61 -/svnroot/pure-data/!svn/ver/15696/trunk/externals/apple/smc.c -END -cpu_temperature.pd -K 25 -svn:wc:ra_dav:version-url -V 74 -/svnroot/pure-data/!svn/ver/12659/trunk/externals/apple/cpu_temperature.pd -END -keyboard_light.c -K 25 -svn:wc:ra_dav:version-url -V 72 -/svnroot/pure-data/!svn/ver/15793/trunk/externals/apple/keyboard_light.c -END -smc.h -K 25 -svn:wc:ra_dav:version-url -V 61 -/svnroot/pure-data/!svn/ver/12658/trunk/externals/apple/smc.h -END -brightness.pd -K 25 -svn:wc:ra_dav:version-url -V 68 -/svnroot/pure-data/!svn/ver/9573/trunk/externals/apple/brightness.pd -END -smc-help.pd -K 25 -svn:wc:ra_dav:version-url -V 67 -/svnroot/pure-data/!svn/ver/12662/trunk/externals/apple/smc-help.pd -END -README.txt -K 25 -svn:wc:ra_dav:version-url -V 66 -/svnroot/pure-data/!svn/ver/13377/trunk/externals/apple/README.txt -END -Makefile -K 25 -svn:wc:ra_dav:version-url -V 64 -/svnroot/pure-data/!svn/ver/16100/trunk/externals/apple/Makefile -END -iodisplay.c -K 25 -svn:wc:ra_dav:version-url -V 67 -/svnroot/pure-data/!svn/ver/15793/trunk/externals/apple/iodisplay.c -END -keyboard_layout.c -K 25 -svn:wc:ra_dav:version-url -V 73 -/svnroot/pure-data/!svn/ver/15793/trunk/externals/apple/keyboard_layout.c -END -multitouch.c -K 25 -svn:wc:ra_dav:version-url -V 68 -/svnroot/pure-data/!svn/ver/12676/trunk/externals/apple/multitouch.c -END -fans-help.pd -K 25 -svn:wc:ra_dav:version-url -V 68 -/svnroot/pure-data/!svn/ver/12661/trunk/externals/apple/fans-help.pd -END -keyboard_light-help.pd -K 25 -svn:wc:ra_dav:version-url -V 78 -/svnroot/pure-data/!svn/ver/12117/trunk/externals/apple/keyboard_light-help.pd -END -ambient_light_sensor.c -K 25 -svn:wc:ra_dav:version-url -V 78 -/svnroot/pure-data/!svn/ver/15793/trunk/externals/apple/ambient_light_sensor.c -END -MultitouchSupport.h -K 25 -svn:wc:ra_dav:version-url -V 75 -/svnroot/pure-data/!svn/ver/12670/trunk/externals/apple/MultitouchSupport.h -END -sudden_motion_sensor.c -K 25 -svn:wc:ra_dav:version-url -V 78 -/svnroot/pure-data/!svn/ver/15793/trunk/externals/apple/sudden_motion_sensor.c -END -iodisplay-help.pd -K 25 -svn:wc:ra_dav:version-url -V 73 -/svnroot/pure-data/!svn/ver/12117/trunk/externals/apple/iodisplay-help.pd -END -keyboard_layout-help.pd -K 25 -svn:wc:ra_dav:version-url -V 79 -/svnroot/pure-data/!svn/ver/16019/trunk/externals/apple/keyboard_layout-help.pd -END -multitouch-help.pd -K 25 -svn:wc:ra_dav:version-url -V 74 -/svnroot/pure-data/!svn/ver/12676/trunk/externals/apple/multitouch-help.pd -END -apple-meta.pd -K 25 -svn:wc:ra_dav:version-url -V 69 -/svnroot/pure-data/!svn/ver/15970/trunk/externals/apple/apple-meta.pd -END -ambient_light_sensor-help.pd -K 25 -svn:wc:ra_dav:version-url -V 84 -/svnroot/pure-data/!svn/ver/12117/trunk/externals/apple/ambient_light_sensor-help.pd -END -sudden_motion_sensor-help.pd -K 25 -svn:wc:ra_dav:version-url -V 84 -/svnroot/pure-data/!svn/ver/12117/trunk/externals/apple/sudden_motion_sensor-help.pd -END -fans.pd -K 25 -svn:wc:ra_dav:version-url -V 63 -/svnroot/pure-data/!svn/ver/12660/trunk/externals/apple/fans.pd -END -cpu_temperature-help.pd -K 25 -svn:wc:ra_dav:version-url -V 79 -/svnroot/pure-data/!svn/ver/12659/trunk/externals/apple/cpu_temperature-help.pd -END diff --git a/externals/apple/.svn/entries b/externals/apple/.svn/entries deleted file mode 100644 index a5a93f6af..000000000 --- a/externals/apple/.svn/entries +++ /dev/null @@ -1,915 +0,0 @@ -10 - -dir -16148 -https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/apple -https://pure-data.svn.sourceforge.net/svnroot/pure-data - - - -2012-04-01T15:38:43.965164Z -16100 -eighthave - - - - - - - - - - - - - - -df7eb9d6-776f-4174-a42d-0ffd8d5d5b5d - -fans-help.pd -file - - - - -2012-05-04T00:48:07.639818Z -d0d43c4d15005ec978fcfcb5e670dcfd -2009-10-24T17:41:05.431261Z -12661 -eighthave - - - - - - - - - - - - - - - - - - - - - -2433 - -keyboard_light-help.pd -file - - - - -2012-05-04T00:48:07.639818Z -2c454871553c331671ed14908884d1ac -2009-08-27T16:22:01.145822Z -12117 -eighthave - - - - - - - - - - - - - - - - - - - - - -3176 - -ambient_light_sensor.c -file - - - - -2012-05-04T00:48:07.639818Z -86f7030f1ce230155ed681014b973f3a -2011-11-18T17:48:43.866427Z -15793 -eighthave - - - - - - - - - - - - - - - - - - - - - -7783 - -MultitouchSupport.h -file - - - - -2012-05-04T00:48:07.639818Z -e77b54dccbe9a5fda00c3532b140a6f4 -2009-10-25T04:25:56.579788Z -12670 -eighthave - - - - - - - - - - - - - - - - - - - - - -2977 - -sudden_motion_sensor.c -file - - - - -2012-05-04T00:48:07.643818Z -9c1119b194f0b917cde7e9740abc7d67 -2011-11-18T17:48:43.866427Z -15793 -eighthave - - - - - - - - - - - - - - - - - - - - - -8202 - -multitouch-help.pd -file - - - - -2012-05-04T00:48:07.643818Z -e23af3916b216758f37f9f41b07dbaed -2009-10-26T01:43:24.411349Z -12676 -eighthave - - - - - - - - - - - - - - - - - - - - - -2739 - -keyboard_layout-help.pd -file - - - - -2012-05-04T00:48:07.643818Z -9abadcc52c61e62df640082ab5b92491 -2012-02-21T04:09:06.370117Z -16019 -eighthave - - - - - - - - - - - - - - - - - - - - - -1121 - -iodisplay-help.pd -file - - - - -2012-05-04T00:48:07.643818Z -964df7561339e4bd383f5eea5d55d1f1 -2009-08-27T16:22:01.145822Z -12117 -eighthave - - - - - - - - - - - - - - - - - - - - - -3001 - -ambient_light_sensor-help.pd -file - - - - -2012-05-04T00:48:07.647818Z -202545210227e029cf8395e0dddb3a6a -2009-08-27T16:22:01.145822Z -12117 -eighthave - - - - - - - - - - - - - - - - - - - - - -2218 - -apple-meta.pd -file - - - - -2012-05-04T00:48:07.647818Z -c3dabe55bd42c2b588fc57de5b741046 -2012-02-17T03:57:12.461038Z -15970 -eighthave - - - - - - - - - - - - - - - - - - - - - -349 - -sudden_motion_sensor-help.pd -file - - - - -2012-05-04T00:48:07.647818Z -a10e71b72161996b8e3b35562d918dd6 -2009-08-27T16:22:01.145822Z -12117 -eighthave - - - - - - - - - - - - - - - - - - - - - -2275 - -fans.pd -file - - - - -2012-05-04T00:48:07.647818Z -a39fb8ce183d9b57538db23c4773f554 -2009-10-24T06:24:43.746950Z -12660 -eighthave - - - - - - - - - - - - - - - - - - - - - -1200 - -cpu_temperature-help.pd -file - - - - -2012-05-04T00:48:07.647818Z -828cf85ac87263f6e6a1c7320336b117 -2009-10-24T06:13:56.091304Z -12659 -eighthave - - - - - - - - - - - - - - - - - - - - - -1679 - -brightness-help.pd -file - - - - -2012-05-04T00:48:07.647818Z -e9dd49cfbabebc6ff1bb32e11c8163ad -2009-10-25T17:36:37.355122Z -12675 -eighthave - - - - - - - - - - - - - - - - - - - - - -1813 - -LICENSE.txt -file - - - - -2012-05-04T00:48:07.647818Z -d32239bcb673463ab874e80d47fae504 -2010-04-06T18:21:24.715132Z -13377 -eighthave - - - - - - - - - - - - - - - - - - - - - -35147 - -smc.c -file - - - - -2012-05-04T00:48:07.647818Z -68d199ddb30ae75567dfb4405236f4f6 -2011-11-03T04:57:19.754356Z -15696 -eighthave - - - - - - - - - - - - - - - - - - - - - -13885 - -cpu_temperature.pd -file - - - - -2012-05-04T00:48:07.651818Z -04ea81aeedc3147face768cf9358b54f -2009-10-24T06:13:56.091304Z -12659 -eighthave - - - - - - - - - - - - - - - - - - - - - -238 - -smc.h -file - - - - -2012-05-04T00:48:07.651818Z -d91c2cd4d11c963648b45d8edc3bc909 -2009-10-24T05:03:33.804663Z -12658 -eighthave - - - - - - - - - - - - - - - - - - - - - -3076 - -keyboard_light.c -file - - - - -2012-05-04T00:48:07.651818Z -5d603308751c14917155f2f4e3b5420a -2011-11-18T17:48:43.866427Z -15793 -eighthave - - - - - - - - - - - - - - - - - - - - - -9333 - -brightness.pd -file - - - - -2012-05-04T00:48:07.651818Z -cc41dc5e8513f3b6d30b2c2ce5954bf6 -2008-03-12T05:51:49.213667Z -9573 -eighthave - - - - - - - - - - - - - - - - - - - - - -279 - -smc-help.pd -file - - - - -2012-05-04T00:48:07.651818Z -b1f683f6322490019682202382cf93a1 -2009-10-24T17:44:20.465424Z -12662 -eighthave - - - - - - - - - - - - - - - - - - - - - -2167 - -README.txt -file - - - - -2012-05-04T00:48:07.651818Z -988bc94ddc000577b44bca5e959df422 -2010-04-06T18:21:24.715132Z -13377 -eighthave - - - - - - - - - - - - - - - - - - - - - -265 - -Makefile -file - - - - -2012-05-04T00:48:07.651818Z -e03bf6a69fc58cfcfb296284a8c278b8 -2012-04-01T15:38:43.965164Z -16100 -eighthave - - - - - - - - - - - - - - - - - - - - - -17034 - -examples -dir - -iodisplay.c -file - - - - -2012-05-04T00:48:07.651818Z -830ca5f87489428fb4d73911281bb47a -2011-11-18T17:48:43.866427Z -15793 -eighthave - - - - - - - - - - - - - - - - - - - - - -4977 - -keyboard_layout.c -file - - - - -2012-05-04T00:48:07.651818Z -fbc61360bdd0e58ff18f52ecde2cf933 -2011-11-18T17:48:43.866427Z -15793 -eighthave - - - - - - - - - - - - - - - - - - - - - -3958 - -multitouch.c -file - - - - -2012-05-04T00:48:07.655818Z -c0cb920be8c748df2c06006feb00c485 -2009-10-26T01:43:24.411349Z -12676 -eighthave - - - - - - - - - - - - - - - - - - - - - -5703 - diff --git a/externals/apple/.svn/text-base/LICENSE.txt.svn-base b/externals/apple/.svn/text-base/LICENSE.txt.svn-base deleted file mode 100644 index 94a9ed024..000000000 --- a/externals/apple/.svn/text-base/LICENSE.txt.svn-base +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (C) <year> <name of author> - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<http://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<http://www.gnu.org/philosophy/why-not-lgpl.html>. diff --git a/externals/apple/.svn/text-base/Makefile.svn-base b/externals/apple/.svn/text-base/Makefile.svn-base deleted file mode 100644 index 2d794e716..000000000 --- a/externals/apple/.svn/text-base/Makefile.svn-base +++ /dev/null @@ -1,451 +0,0 @@ -## Pd library template version 1.0.12 -# For instructions on how to use this template, see: -# http://puredata.info/docs/developer/MakefileTemplate -LIBRARY_NAME = apple - -# add your .c source files, one object per file, to the SOURCES -# variable, help files will be included automatically, and for GUI -# objects, the matching .tcl file too -SOURCES = - -# For objects that only build on certain platforms, add those to the SOURCES -# line for the right platforms. -SOURCES_macosx = ambient_light_sensor.c iodisplay.c keyboard_light.c sudden_motion_sensor.c smc.c keyboard_layout.c -SOURCES_iphoneos = multitouch.c - -# list all pd objects (i.e. myobject.pd) files here, and their helpfiles will -# be included automatically -PDOBJECTS = brightness.pd cpu_temperature.pd fans.pd - -# example patches and related files, in the 'examples' subfolder -EXAMPLES = getfingerxy.pd track5fingers.pd - -# manuals and related files, in the 'manual' subfolder -MANUAL = - -# if you want to include any other files in the source and binary tarballs, -# list them here. This can be anything from header files, test patches, -# documentation, etc. README.txt and LICENSE.txt are required and therefore -# automatically included -EXTRA_DIST = MultitouchSupport.h - -# unit tests and related files here, in the 'unittests' subfolder -UNITTESTS = - - -# NOTE: added special target for multitouch.pd_darwin - -#------------------------------------------------------------------------------# -# -# things you might need to edit if you are using other C libraries -# -#------------------------------------------------------------------------------# - -ALL_CFLAGS = -I"$(PD_INCLUDE)" -ALL_LDFLAGS = -SHARED_LDFLAGS = -ALL_LIBS = - - -#------------------------------------------------------------------------------# -# -# you shouldn't need to edit anything below here, if we did it right :) -# -#------------------------------------------------------------------------------# - -# these can be set from outside without (usually) breaking the build -CFLAGS = -Wall -W -g -LDFLAGS = -LIBS = - -# get library version from meta file -LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd) - -ALL_CFLAGS += -DPD -DVERSION='"$(LIBRARY_VERSION)"' - -PD_INCLUDE = $(PD_PATH)/include/pd -# where to install the library, overridden below depending on platform -prefix = /usr/local -libdir = $(prefix)/lib -pkglibdir = $(libdir)/pd-externals -objectsdir = $(pkglibdir) - -INSTALL = install -INSTALL_PROGRAM = $(INSTALL) -p -m 644 -INSTALL_DATA = $(INSTALL) -p -m 644 -INSTALL_DIR = $(INSTALL) -p -m 755 -d - -ALLSOURCES := $(SOURCES) $(SOURCES_android) $(SOURCES_cygwin) $(SOURCES_macosx) \ - $(SOURCES_iphoneos) $(SOURCES_linux) $(SOURCES_windows) - -DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) -ORIGDIR=pd-$(LIBRARY_NAME:~=)_$(LIBRARY_VERSION) - -UNAME := $(shell uname -s) -ifeq ($(UNAME),Darwin) - CPU := $(shell uname -p) - ifeq ($(CPU),arm) # iPhone/iPod Touch - SOURCES += $(SOURCES_iphoneos) - EXTENSION = pd_darwin - SHARED_EXTENSION = dylib - OS = iphoneos - PD_PATH = /Applications/Pd-extended.app/Contents/Resources - IPHONE_BASE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin - CC=$(IPHONE_BASE)/gcc - CPP=$(IPHONE_BASE)/cpp - CXX=$(IPHONE_BASE)/g++ - ISYSROOT = -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk - IPHONE_CFLAGS = -miphoneos-version-min=3.0 $(ISYSROOT) -arch armv6 - OPT_CFLAGS = -fast -funroll-loops -fomit-frame-pointer - ALL_CFLAGS := $(IPHONE_CFLAGS) $(ALL_CFLAGS) - ALL_LDFLAGS += -arch armv6 -bundle -undefined dynamic_lookup $(ISYSROOT) - SHARED_LDFLAGS += -arch armv6 -dynamiclib -undefined dynamic_lookup $(ISYSROOT) - ALL_LIBS += -lc $(LIBS_iphoneos) - STRIP = strip -x - DISTBINDIR=$(DISTDIR)-$(OS) - else # Mac OS X - SOURCES += $(SOURCES_macosx) - EXTENSION = pd_darwin - SHARED_EXTENSION = dylib - OS = macosx - PD_PATH = /Applications/Pd-extended.app/Contents/Resources - OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast -# build universal 32-bit on 10.4 and 32/64 on newer - ifeq ($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8) - FAT_FLAGS = -arch ppc -arch i386 -mmacosx-version-min=10.4 - else - FAT_FLAGS = -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4 - SOURCES += $(SOURCES_iphoneos) - endif - ALL_CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include - # if the 'pd' binary exists, check the linking against it to aid with stripping - BUNDLE_LOADER = $(shell test ! -e $(PD_PATH)/bin/pd || echo -bundle_loader $(PD_PATH)/bin/pd) - ALL_LDFLAGS += $(FAT_FLAGS) -bundle $(BUNDLE_LOADER) -undefined dynamic_lookup -L/sw/lib - SHARED_LDFLAGS += $(FAT_FLAGS) -dynamiclib -undefined dynamic_lookup \ - -install_name @loader_path/$(SHARED_LIB) -compatibility_version 1 -current_version 1.0 - ALL_LIBS += -lc $(LIBS_macosx) - STRIP = strip -x - DISTBINDIR=$(DISTDIR)-$(OS) -# install into ~/Library/Pd on Mac OS X since /usr/local isn't used much - pkglibdir=$(HOME)/Library/Pd - endif -endif -# Tho Android uses Linux, we use this fake uname to provide an easy way to -# setup all this things needed to cross-compile for Android using the NDK -ifeq ($(UNAME),ANDROID) - CPU := arm - SOURCES += $(SOURCES_android) - EXTENSION = pd_linux - SHARED_EXTENSION = so - OS = android - PD_PATH = /usr - NDK_BASE := /usr/local/android-ndk - NDK_PLATFORM_VERSION := 5 - NDK_SYSROOT=$(NDK_BASE)/platforms/android-$(NDK_PLATFORM_VERSION)/arch-arm - NDK_UNAME := $(shell uname -s | tr '[A-Z]' '[a-z]') - NDK_TOOLCHAIN_BASE=$(NDK_BASE)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/$(NDK_UNAME)-x86 - CC := $(NDK_TOOLCHAIN_BASE)/bin/arm-linux-androideabi-gcc --sysroot=$(NDK_SYSROOT) - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - CFLAGS += - LDFLAGS += -rdynamic -shared - SHARED_LDFLAGS += -Wl,-soname,$(SHARED_LIB) -shared - LIBS += -lc $(LIBS_android) - STRIP := $(NDK_TOOLCHAIN_BASE)/bin/arm-linux-androideabi-strip \ - --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) -endif -ifeq ($(UNAME),Linux) - CPU := $(shell uname -m) - SOURCES += $(SOURCES_linux) - EXTENSION = pd_linux - SHARED_EXTENSION = so - OS = linux - PD_PATH = /usr - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += -fPIC - ALL_LDFLAGS += -rdynamic -shared -fPIC -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags - SHARED_LDFLAGS += -Wl,-soname,$(SHARED_LIB) -shared - ALL_LIBS += -lc $(LIBS_linux) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) -endif -ifeq ($(UNAME),GNU) - # GNU/Hurd, should work like GNU/Linux for basically all externals - CPU := $(shell uname -m) - SOURCES += $(SOURCES_linux) - EXTENSION = pd_linux - SHARED_EXTENSION = so - OS = linux - PD_PATH = /usr - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += -fPIC - ALL_LDFLAGS += -rdynamic -shared -fPIC -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags - SHARED_LDFLAGS += -shared -Wl,-soname,$(SHARED_LIB) - ALL_LIBS += -lc $(LIBS_linux) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) -endif -ifeq ($(UNAME),GNU/kFreeBSD) - # Debian GNU/kFreeBSD, should work like GNU/Linux for basically all externals - CPU := $(shell uname -m) - SOURCES += $(SOURCES_linux) - EXTENSION = pd_linux - SHARED_EXTENSION = so - OS = linux - PD_PATH = /usr - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += -fPIC - ALL_LDFLAGS += -rdynamic -shared -fPIC -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags - SHARED_LDFLAGS += -shared -Wl,-soname,$(SHARED_LIB) - ALL_LIBS += -lc $(LIBS_linux) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) -endif -ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) - CPU := $(shell uname -m) - SOURCES += $(SOURCES_cygwin) - EXTENSION = dll - SHARED_EXTENSION = dll - OS = cygwin - PD_PATH = $(shell cygpath $$PROGRAMFILES)/pd - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += - ALL_LDFLAGS += -rdynamic -shared -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" - SHARED_LDFLAGS += -shared -Wl,-soname,$(SHARED_LIB) - ALL_LIBS += -lc -lpd $(LIBS_cygwin) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS) -endif -ifeq (MINGW,$(findstring MINGW,$(UNAME))) - CPU := $(shell uname -m) - SOURCES += $(SOURCES_windows) - EXTENSION = dll - SHARED_EXTENSION = dll - OS = windows - PD_PATH = $(shell cd "$$PROGRAMFILES/pd" && pwd) - # MinGW doesn't seem to include cc so force gcc - CC=gcc - OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += -mms-bitfields - ALL_LDFLAGS += -s -shared -Wl,--enable-auto-import - SHARED_LDFLAGS += -shared - ALL_LIBS += -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" -L"$(PD_PATH)/obj" \ - -lpd -lwsock32 -lkernel32 -luser32 -lgdi32 -liberty $(LIBS_windows) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS) -endif - -# in case somebody manually set the HELPPATCHES above -HELPPATCHES ?= $(SOURCES:.c=-help.pd) $(PDOBJECTS:.pd=-help.pd) - -ALL_CFLAGS := $(ALL_CFLAGS) $(CFLAGS) $(OPT_CFLAGS) -ALL_LDFLAGS := $(LDFLAGS) $(ALL_LDFLAGS) -ALL_LIBS := $(LIBS) $(ALL_LIBS) - -SHARED_SOURCE ?= $(wildcard lib$(LIBRARY_NAME).c) -SHARED_HEADER ?= $(shell test ! -e $(LIBRARY_NAME).h || echo $(LIBRARY_NAME).h) -SHARED_LIB ?= $(SHARED_SOURCE:.c=.$(SHARED_EXTENSION)) -SHARED_TCL_LIB = $(wildcard lib$(LIBRARY_NAME).tcl) - -.PHONY = install libdir_install single_install install-doc install-examples install-manual install-unittests clean distclean dist etags $(LIBRARY_NAME) - -all: $(SOURCES:.c=.$(EXTENSION)) $(SHARED_LIB) - -%.o: %.c - $(CC) $(ALL_CFLAGS) -o "$*.o" -c "$*.c" - -%.$(EXTENSION): %.o $(SHARED_LIB) - $(CC) $(ALL_LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(ALL_LIBS) $(SHARED_LIB) - chmod a-x "$*.$(EXTENSION)" - -multitouch.$(EXTENSION): multitouch.c - $(CC) $(ALL_CFLAGS) -o multitouch.o -c multitouch.c - $(CC) $(ALL_LDFLAGS) -mmacosx-version-min=10.5 -F/System/Library/PrivateFrameworks \ - -o multitouch.$(EXTENSION) multitouch.o $(ALL_LIBS) \ - -framework MultitouchSupport - chmod a-x multitouch.$(EXTENSION) - -# this links everything into a single binary file -$(LIBRARY_NAME): $(SOURCES:.c=.o) $(LIBRARY_NAME).o lib$(LIBRARY_NAME).o - $(CC) $(ALL_LDFLAGS) -o $(LIBRARY_NAME).$(EXTENSION) $(SOURCES:.c=.o) \ - $(LIBRARY_NAME).o lib$(LIBRARY_NAME).o $(ALL_LIBS) - chmod a-x $(LIBRARY_NAME).$(EXTENSION) - -$(SHARED_LIB): $(SHARED_SOURCE:.c=.o) - $(CC) $(SHARED_LDFLAGS) -o $(SHARED_LIB) $(SHARED_SOURCE:.c=.o) $(ALL_LIBS) - -install: libdir_install - -# The meta and help files are explicitly installed to make sure they are -# actually there. Those files are not optional, then need to be there. -libdir_install: $(SOURCES:.c=.$(EXTENSION)) $(SHARED_LIB) install-doc install-examples install-manual install-unittests - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - $(INSTALL_DATA) $(LIBRARY_NAME)-meta.pd \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(SOURCES))" || (\ - $(INSTALL_PROGRAM) $(SOURCES:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) && \ - $(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(SOURCES:.c=.$(EXTENSION)))) - test -z "$(strip $(SHARED_LIB))" || \ - $(INSTALL_DATA) $(SHARED_LIB) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(wildcard $(SOURCES:.c=.tcl)))" || \ - $(INSTALL_DATA) $(wildcard $(SOURCES:.c=.tcl)) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(PDOBJECTS))" || \ - $(INSTALL_DATA) $(PDOBJECTS) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(SHARED_TCL_LIB))" || \ - $(INSTALL_DATA) $(SHARED_TCL_LIB) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - -# install library linked as single binary -single_install: $(LIBRARY_NAME) install-doc install-examples install-manual install-unittests - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - $(INSTALL_PROGRAM) $(LIBRARY_NAME).$(EXTENSION) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - $(STRIP) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/$(LIBRARY_NAME).$(EXTENSION) - -install-doc: - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(SOURCES) $(PDOBJECTS))" || \ - $(INSTALL_DATA) $(HELPPATCHES) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - $(INSTALL_DATA) README.txt $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/README.txt - $(INSTALL_DATA) LICENSE.txt $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/LICENSE.txt - -install-examples: - test -z "$(strip $(EXAMPLES))" || \ - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples && \ - for file in $(EXAMPLES); do \ - $(INSTALL_DATA) examples/$$file $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples; \ - done - -install-manual: - test -z "$(strip $(MANUAL))" || \ - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/manual && \ - for file in $(MANUAL); do \ - $(INSTALL_DATA) manual/$$file $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/manual; \ - done - -install-unittests: - test -z "$(strip $(UNITTESTS))" || \ - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/unittests && \ - for file in $(UNITTESTS); do \ - $(INSTALL_DATA) unittests/$$file $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/unittests; \ - done - -clean: - -rm -f -- $(SOURCES:.c=.o) $(SOURCES_LIB:.c=.o) $(SHARED_SOURCE:.c=.o) - -rm -f -- $(SOURCES:.c=.$(EXTENSION)) - -rm -f -- $(LIBRARY_NAME).o - -rm -f -- $(LIBRARY_NAME).$(EXTENSION) - -rm -f -- $(SHARED_LIB) - -distclean: clean - -rm -f -- $(DISTBINDIR).tar.gz - -rm -rf -- $(DISTBINDIR) - -rm -f -- $(DISTDIR).tar.gz - -rm -rf -- $(DISTDIR) - -rm -f -- $(ORIGDIR).tar.gz - -rm -rf -- $(ORIGDIR) - - -$(DISTBINDIR): - $(INSTALL_DIR) $(DISTBINDIR) - -libdir: all $(DISTBINDIR) - $(INSTALL_DATA) $(LIBRARY_NAME)-meta.pd $(DISTBINDIR) - $(INSTALL_DATA) $(SOURCES) $(SHARED_SOURCE) $(SHARED_HEADER) $(DISTBINDIR) - $(INSTALL_DATA) $(HELPPATCHES) $(DISTBINDIR) - test -z "$(strip $(EXTRA_DIST))" || \ - $(INSTALL_DATA) $(EXTRA_DIST) $(DISTBINDIR) -# tar --exclude-vcs -czpf $(DISTBINDIR).tar.gz $(DISTBINDIR) - -$(DISTDIR): - $(INSTALL_DIR) $(DISTDIR) - -$(ORIGDIR): - $(INSTALL_DIR) $(ORIGDIR) - -dist: $(DISTDIR) - $(INSTALL_DATA) Makefile $(DISTDIR) - $(INSTALL_DATA) README.txt $(DISTDIR) - $(INSTALL_DATA) LICENSE.txt $(DISTDIR) - $(INSTALL_DATA) $(LIBRARY_NAME)-meta.pd $(DISTDIR) - test -z "$(strip $(ALLSOURCES))" || \ - $(INSTALL_DATA) $(ALLSOURCES) $(DISTDIR) - test -z "$(strip $(wildcard $(ALLSOURCES:.c=.tcl)))" || \ - $(INSTALL_DATA) $(wildcard $(ALLSOURCES:.c=.tcl)) $(DISTDIR) - test -z "$(strip $(wildcard $(LIBRARY_NAME).c))" || \ - $(INSTALL_DATA) $(LIBRARY_NAME).c $(DISTDIR) - test -z "$(strip $(SHARED_HEADER))" || \ - $(INSTALL_DATA) $(SHARED_HEADER) $(DISTDIR) - test -z "$(strip $(SHARED_SOURCE))" || \ - $(INSTALL_DATA) $(SHARED_SOURCE) $(DISTDIR) - test -z "$(strip $(SHARED_TCL_LIB))" || \ - $(INSTALL_DATA) $(SHARED_TCL_LIB) $(DISTDIR) - test -z "$(strip $(PDOBJECTS))" || \ - $(INSTALL_DATA) $(PDOBJECTS) $(DISTDIR) - test -z "$(strip $(HELPPATCHES))" || \ - $(INSTALL_DATA) $(HELPPATCHES) $(DISTDIR) - test -z "$(strip $(EXTRA_DIST))" || \ - $(INSTALL_DATA) $(EXTRA_DIST) $(DISTDIR) - test -z "$(strip $(EXAMPLES))" || \ - $(INSTALL_DIR) $(DISTDIR)/examples && \ - for file in $(EXAMPLES); do \ - $(INSTALL_DATA) examples/$$file $(DISTDIR)/examples; \ - done - test -z "$(strip $(MANUAL))" || \ - $(INSTALL_DIR) $(DISTDIR)/manual && \ - for file in $(MANUAL); do \ - $(INSTALL_DATA) manual/$$file $(DISTDIR)/manual; \ - done - test -z "$(strip $(UNITTESTS))" || \ - $(INSTALL_DIR) $(DISTDIR)/unittests && \ - for file in $(UNITTESTS); do \ - $(INSTALL_DATA) unittests/$$file $(DISTDIR)/unittests; \ - done - tar --exclude-vcs -czpf $(DISTDIR).tar.gz $(DISTDIR) - -# make a Debian source package -dpkg-source: - debclean - make distclean dist - mv $(DISTDIR) $(ORIGDIR) - tar --exclude-vcs -czpf ../$(ORIGDIR).orig.tar.gz $(ORIGDIR) - rm -f -- $(DISTDIR).tar.gz - rm -rf -- $(DISTDIR) $(ORIGDIR) - cd .. && dpkg-source -b $(LIBRARY_NAME) - -etags: TAGS - -TAGS: $(wildcard $(PD_INCLUDE)/*.h) $(SOURCES) $(SHARED_SOURCE) $(SHARED_HEADER) - etags $(wildcard $(PD_INCLUDE)/*.h) - etags -a *.h $(SOURCES) $(SHARED_SOURCE) $(SHARED_HEADER) - etags -a --language=none --regex="/proc[ \t]+\([^ \t]+\)/\1/" *.tcl - -showsetup: - @echo "CC: $(CC)" - @echo "CFLAGS: $(CFLAGS)" - @echo "LDFLAGS: $(LDFLAGS)" - @echo "LIBS: $(LIBS)" - @echo "ALL_CFLAGS: $(ALL_CFLAGS)" - @echo "ALL_LDFLAGS: $(ALL_LDFLAGS)" - @echo "ALL_LIBS: $(ALL_LIBS)" - @echo "PD_INCLUDE: $(PD_INCLUDE)" - @echo "PD_PATH: $(PD_PATH)" - @echo "objectsdir: $(objectsdir)" - @echo "LIBRARY_NAME: $(LIBRARY_NAME)" - @echo "LIBRARY_VERSION: $(LIBRARY_VERSION)" - @echo "SOURCES: $(SOURCES)" - @echo "SHARED_HEADER: $(SHARED_HEADER)" - @echo "SHARED_SOURCE: $(SHARED_SOURCE)" - @echo "SHARED_LIB: $(SHARED_LIB)" - @echo "SHARED_TCL_LIB: $(SHARED_TCL_LIB)" - @echo "PDOBJECTS: $(PDOBJECTS)" - @echo "ALLSOURCES: $(ALLSOURCES)" - @echo "ALLSOURCES TCL: $(wildcard $(ALLSOURCES:.c=.tcl))" - @echo "UNAME: $(UNAME)" - @echo "CPU: $(CPU)" - @echo "pkglibdir: $(pkglibdir)" - @echo "DISTDIR: $(DISTDIR)" - @echo "ORIGDIR: $(ORIGDIR)" diff --git a/externals/apple/.svn/text-base/MultitouchSupport.h.svn-base b/externals/apple/.svn/text-base/MultitouchSupport.h.svn-base deleted file mode 100644 index 1acef9bd4..000000000 --- a/externals/apple/.svn/text-base/MultitouchSupport.h.svn-base +++ /dev/null @@ -1,67 +0,0 @@ -/* --------------------------------------------------------------------------*/ -/* */ -/* get info from the multitouch trackpad on Apple Mac OS X */ -/* based on 'fingerpinger' and other things */ -/* */ -/* Copyright (c) 2009 Hans-Christoph Steiner */ -/* Copyright (c) 2009 Michael & Max Egger */ -/* Copyright (c) 2008 Steike */ -/* */ -/* This program is free software; you can redistribute it and/or */ -/* modify it under the terms of the GNU General Public License */ -/* as published by the Free Software Foundation; either version 3 */ -/* of the License, or (at your option) any later version. */ -/* */ -/* See file LICENSE for further informations on licensing terms. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program; if not, write to the Free Software Foundation, */ -/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* */ -/* --------------------------------------------------------------------------*/ - -#ifndef _MULTITOUCHSUPPORT_H_ -#define _MULTITOUCHSUPPORT_H_ - - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct { float x,y; } mtPoint; -typedef struct { mtPoint pos,vel; } mtReadout; - -typedef struct { - int frame; - double timestamp; - int identifier, state, foo3, foo4; - mtReadout normalized; - float size; - int zero1; - float angle, majorAxis, minorAxis; // ellipsoid - mtReadout mm; - int zero2[2]; - float unk2; -} Finger; - -typedef void *MTDeviceRef; -typedef int (*MTContactCallbackFunction)(int,Finger*,int,double,int); - - -MTDeviceRef MTDeviceCreateDefault(); -void MTRegisterContactFrameCallback(MTDeviceRef, MTContactCallbackFunction); -void MTUnregisterContactFrameCallback(MTDeviceRef, MTContactCallbackFunction); -void MTDeviceStart(MTDeviceRef, int); -void MTDeviceStop(MTDeviceRef); -void MTDeviceRelease(MTDeviceRef); - -#ifdef __cplusplus -} -#endif - -#endif /* _MULTITOUCHSUPPORT_H_ */ diff --git a/externals/apple/.svn/text-base/README.txt.svn-base b/externals/apple/.svn/text-base/README.txt.svn-base deleted file mode 100644 index 576d2e330..000000000 --- a/externals/apple/.svn/text-base/README.txt.svn-base +++ /dev/null @@ -1,6 +0,0 @@ - -The 'apple' library supports specific hardware features of Apple computers. -It was derived from a bunch of information online: - -http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-01/msg11050.html -http://www.anyma.ch/2009/research/multitouch-external-for-maxmsp/ diff --git a/externals/apple/.svn/text-base/ambient_light_sensor-help.pd.svn-base b/externals/apple/.svn/text-base/ambient_light_sensor-help.pd.svn-base deleted file mode 100644 index 576e44629..000000000 --- a/externals/apple/.svn/text-base/ambient_light_sensor-help.pd.svn-base +++ /dev/null @@ -1,60 +0,0 @@ -#N canvas 259 213 560 421 10; -#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header ambient_light_sensor -3 12 0 18 -241536 -1 0; -#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 --245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X text 12 5 GENRE storage; -#X restore 500 373 pd META; -#X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 -13 -245500 -191407 0; -#X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 -12 0 13 -245500 -191407 0; -#X obj 374 6 pddp/pddplink http://wiki.puredata.info/en/apple/ambient_light_sensor --text pdpedia: ambient_light_sensor; -#X obj 104 364 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/ -; -#X text 102 208 bang - output current screen brightness; -#X text 15 6 description: query the ambient light sensor in Apples -; -#X obj 389 -14 apple/ambient_light_sensor; -#X obj 146 101 ambient_light_sensor; -#X msg 146 48 bang; -#X msg 179 73 info; -#X obj 146 129 unpack; -#X floatatom 146 155 5 0 0 0 left - -; -#X floatatom 182 155 5 0 0 1 right - -; -#X obj 263 153 pddp/print; -#X text 216 73 output info on right outlet; -#X obj 263 129 route sensor; -#X obj 73 73 metro 250; -#X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1 -; -#X text 183 46 output sensor values; -#X text 102 227 "info" - outputs info about the sensor on the right -outlet; -#X obj 72 305 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 --162280 0; -#X obj 72 279 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 --162280 0; -#X text 103 276 list - a list with the values of the left and right -sensors; -#X text 103 306 selector series with info about the sensor; -#X connect 10 0 13 0; -#X connect 10 1 18 0; -#X connect 11 0 10 0; -#X connect 12 0 10 0; -#X connect 13 0 14 0; -#X connect 13 1 15 0; -#X connect 18 0 16 0; -#X connect 19 0 10 0; -#X connect 20 0 19 0; diff --git a/externals/apple/.svn/text-base/ambient_light_sensor.c.svn-base b/externals/apple/.svn/text-base/ambient_light_sensor.c.svn-base deleted file mode 100644 index b1b025c69..000000000 --- a/externals/apple/.svn/text-base/ambient_light_sensor.c.svn-base +++ /dev/null @@ -1,193 +0,0 @@ -/* --------------------------------------------------------------------------*/ -/* */ -/* read the ambient light sensor on Apple Mac OS X */ -/* Written by Hans-Christoph Steiner <hans@eds.org> */ -/* */ -/* Copyright (c) 2008 Free Software Foundation */ -/* */ -/* This program is free software; you can redistribute it and/or */ -/* modify it under the terms of the GNU General Public License */ -/* as published by the Free Software Foundation; either version 2 */ -/* of the License, or (at your option) any later version. */ -/* */ -/* See file LICENSE for further informations on licensing terms. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program; if not, write to the Free Software Foundation, */ -/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* */ -/* --------------------------------------------------------------------------*/ - -#include <mach/mach.h> -#include <IOKit/IOKitLib.h> -#include <CoreFoundation/CoreFoundation.h> -#include <CoreServices/CoreServices.h> -#include <m_pd.h> - -#define DEBUG(x) -//#define DEBUG(x) x - -/*------------------------------------------------------------------------------ - * CLASS DEF - */ - -static t_class *ambient_light_sensor_class; - -typedef struct _ambient_light_sensor { - t_object x_obj; - t_symbol* sensor_name; - - io_service_t io_service; - io_connect_t io_connect; - - t_outlet* data_outlet; - t_outlet* status_outlet; -} t_ambient_light_sensor; - - -enum { - kGetSensorReadingID = 0, // getSensorReading(int *, int *) - kGetLEDBrightnessID = 1, // getLEDBrightness(int, int *) - kSetLEDBrightnessID = 2, // setLEDBrightness(int, int, int *) - kSetLEDFadeID = 3, // setLEDFade(int, int, int, int *) - // other firmware-related functions - verifyFirmwareID = 4, // verifyFirmware(int *) - getFirmwareVersionID = 5,// getFirmwareVersion(int *) - // other flashing-related functions - // ... -}; - -/*------------------------------------------------------------------------------ - * IMPLEMENTATION - */ - -static void ambient_light_sensor_output(t_ambient_light_sensor* x) -{ - DEBUG(post("ambient_light_sensor_output");); - kern_return_t kernResult; - t_float left = 0, right = 0; - t_atom output_atoms[2]; - - if(! x->io_connect) return; - -#if !defined(__LP64__) - // Check if Mac OS X 10.5/10.6 API is available... - SInt32 MacVersion; - if ((Gestalt(gestaltSystemVersion, &MacVersion) == noErr) && (MacVersion >= 0x1060)) { - // ...and use it if it is. -#endif -#ifdef AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER - uint64_t inputValues[0]; - uint32_t inputCount = 0; - uint64_t outputValues[2]; - uint32_t outputCount = 2; - kernResult = IOConnectCallScalarMethod(x->io_connect, - kGetSensorReadingID, - inputValues, - inputCount, - outputValues, - &outputCount); - left = (t_float) (outputValues[0] / 2000.0); - right = (t_float) (outputValues[1] / 2000.0); -#endif -#if !defined(__LP64__) - } - else { - // Otherwise fall back to older API. - IOItemCount scalarInputCount = 0; - IOItemCount scalarOutputCount = 2; - SInt32 out0, out1; - kernResult = IOConnectMethodScalarIScalarO(x->io_connect, - kGetSensorReadingID, - scalarInputCount, - scalarOutputCount, - &out0, - &out1); - left = (t_float) (out0 / 2000.0); - right = (t_float) (out1 / 2000.0); - } -#endif - if( kernResult == KERN_SUCCESS) - { - SETFLOAT(output_atoms, left); - SETFLOAT(output_atoms + 1, right); - outlet_list(x->data_outlet, &s_list, 2, output_atoms); - } - else if(kernResult == kIOReturnBusy) - pd_error(x,"[ambient_light_sensor]: device busy"); - else - pd_error(x,"[ambient_light_sensor]: could not read device"); -} - - -static void ambient_light_sensor_info(t_ambient_light_sensor* x) -{ - t_atom output_atom; - SETSYMBOL(&output_atom, x->sensor_name); - outlet_anything(x->status_outlet, gensym("sensor"), 1, &output_atom); -} - - -static void ambient_light_sensor_free(t_ambient_light_sensor* x) -{ - IOServiceClose(x->io_connect); -} - - -static void *ambient_light_sensor_new(void) -{ - DEBUG(post("ambient_light_sensor_new");); - t_ambient_light_sensor *x = (t_ambient_light_sensor *)pd_new(ambient_light_sensor_class); - kern_return_t kernResult; - - x->io_service = IOServiceGetMatchingService(kIOMasterPortDefault, - IOServiceMatching("AppleLMUController")); - if(x->io_service) - { - logpost(x, 4, "[ambient_light_sensor]: found AppleLMUController"); - x->sensor_name = gensym("AppleLMUController"); - } - else - { - error("[ambient_light_sensor]: AppleLMUController not found, trying IOI2CDeviceLMU"); - x->io_service = IOServiceGetMatchingService(kIOMasterPortDefault, - IOServiceMatching("IOI2CDeviceLMU")); - if(x->io_service) - { - x->sensor_name = gensym("IOI2CDeviceLMU"); - logpost(x, 4, "[ambient_light_sensor]: found IOI2CDeviceLMU"); - } - else - pd_error(x,"[ambient_light_sensor]: no sensor found"); - } - kernResult = IOServiceOpen(x->io_service, mach_task_self(), 0, &x->io_connect); - IOObjectRelease(x->io_service); - if (kernResult != KERN_SUCCESS) - { - error("[ambient_light_sensor]: IOServiceOpen(): %d", kernResult); - } - - x->data_outlet = outlet_new(&x->x_obj, &s_list); - x->status_outlet = outlet_new(&x->x_obj, &s_anything); - - return (x); -} - -void ambient_light_sensor_setup(void) -{ - ambient_light_sensor_class = class_new(gensym("ambient_light_sensor"), - (t_newmethod)ambient_light_sensor_new, - (t_method)ambient_light_sensor_free, - sizeof(t_ambient_light_sensor), - CLASS_DEFAULT, - 0); - /* add inlet datatype methods */ - class_addbang(ambient_light_sensor_class,(t_method) ambient_light_sensor_output); - class_addmethod(ambient_light_sensor_class,(t_method) ambient_light_sensor_info, - gensym("info"), 0); -} diff --git a/externals/apple/.svn/text-base/apple-meta.pd.svn-base b/externals/apple/.svn/text-base/apple-meta.pd.svn-base deleted file mode 100644 index fecde17af..000000000 --- a/externals/apple/.svn/text-base/apple-meta.pd.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -#N canvas 10 10 200 200 10; -#N canvas 20 20 420 300 META 0; -#X text 10 10 META this is a prototype of a libdir meta file; -#X text 10 30 NAME apple; -#X text 10 50 AUTHOR Hans-Christoph Steiner; -#X text 10 70 DESCRIPTION support for Apple-specific functions; -#X text 10 90 LICENSE GPLv2 or later; -#X text 10 110 VERSION 0.2; -#X restore 10 10 pd META; diff --git a/externals/apple/.svn/text-base/brightness-help.pd.svn-base b/externals/apple/.svn/text-base/brightness-help.pd.svn-base deleted file mode 100644 index ced5bdfab..000000000 --- a/externals/apple/.svn/text-base/brightness-help.pd.svn-base +++ /dev/null @@ -1,47 +0,0 @@ -#N canvas 180 29 562 479 10; -#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header brightness 3 12 -0 18 -241536 -1 0; -#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13 --245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 504 430 pd META; -#X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 15 12 0 -13 -245500 -191407 0; -#X obj 3 308 cnv 3 550 3 empty \$0-pddp.cnv.argument argument 15 12 -0 13 -245500 -191407 0; -#X obj 3 368 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 -12 0 13 -245500 -191407 0; -#X obj 432 6 pddp/pddplink http://wiki.puredata.info/en/apple/brightness --text pdpedia: brightness; -#X obj 104 394 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/ -; -#X msg 197 39 bang; -#X floatatom 197 153 5 0 0 0 - - -; -#X obj 216 73 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 0 1; -#X floatatom 229 97 5 0 0 0 - - -; -#X text 15 6 description: query and control screen brightness on Apples -; -#X obj 446 -14 apple/brightness; -#X text 102 326 Accepts one float argument to set the screen brightness -(between 0 and 1); -#X text 103 276 float - current screen brightness (between 0 and 1) -; -#X text 102 208 bang - output current screen brightness; -#X text 102 228 float - set the screen brightness (between 0 and 1) -; -#X obj 197 122 apple/brightness; -#X connect 8 0 18 0; -#X connect 10 0 11 0; -#X connect 10 0 18 0; -#X connect 18 0 9 0; diff --git a/externals/apple/.svn/text-base/brightness.pd.svn-base b/externals/apple/.svn/text-base/brightness.pd.svn-base deleted file mode 100644 index 9a54a0eee..000000000 --- a/externals/apple/.svn/text-base/brightness.pd.svn-base +++ /dev/null @@ -1,11 +0,0 @@ -#N canvas 0 22 458 308 10; -#X obj 135 141 route brightness; -#X obj 131 49 inlet; -#X obj 135 184 outlet; -#X obj 132 79 route float bang; -#X obj 135 113 apple/iodisplay brightness; -#X connect 0 0 2 0; -#X connect 1 0 3 0; -#X connect 3 0 4 0; -#X connect 3 1 4 0; -#X connect 4 0 0 0; diff --git a/externals/apple/.svn/text-base/cpu_temperature-help.pd.svn-base b/externals/apple/.svn/text-base/cpu_temperature-help.pd.svn-base deleted file mode 100644 index 52135587c..000000000 --- a/externals/apple/.svn/text-base/cpu_temperature-help.pd.svn-base +++ /dev/null @@ -1,43 +0,0 @@ -#N canvas 259 213 560 421 10; -#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header cpu_temperature -3 12 0 18 -241536 -1 0; -#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 --245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X text 12 5 GENRE storage; -#X restore 500 373 pd META; -#X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 -13 -245500 -191407 0; -#X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 -12 0 13 -245500 -191407 0; -#X obj 374 6 pddp/pddplink http://wiki.puredata.info/en/apple/cpu_temperature --text pdpedia: cpu_temperature; -#X obj 104 364 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/ -; -#X text 102 208 bang - output current screen brightness; -#X obj 389 -14 apple/cpu_temperature; -#X msg 146 48 bang; -#X obj 73 73 metro 250; -#X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1 -; -#X text 183 46 output sensor values; -#X obj 72 279 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 --162280 0; -#X text 103 276 list - a list with the values of the left and right -sensors; -#X floatatom 146 144 5 0 0 0 - - -; -#X obj 146 101 apple/cpu_temperature; -#X text 15 6 description: query the CPU temperature in Apples; -#X connect 9 0 16 0; -#X connect 10 0 16 0; -#X connect 11 0 10 0; -#X connect 16 0 15 0; diff --git a/externals/apple/.svn/text-base/cpu_temperature.pd.svn-base b/externals/apple/.svn/text-base/cpu_temperature.pd.svn-base deleted file mode 100644 index 413fcbe04..000000000 --- a/externals/apple/.svn/text-base/cpu_temperature.pd.svn-base +++ /dev/null @@ -1,10 +0,0 @@ -#N canvas 699 353 450 300 10; -#X obj 114 51 route bang; -#X obj 114 29 inlet; -#X obj 113 173 outlet; -#X obj 114 106 apple/smc TC0D; -#X obj 113 139 route TC0D; -#X connect 0 0 3 0; -#X connect 1 0 0 0; -#X connect 3 0 4 0; -#X connect 4 0 2 0; diff --git a/externals/apple/.svn/text-base/fans-help.pd.svn-base b/externals/apple/.svn/text-base/fans-help.pd.svn-base deleted file mode 100644 index 92efa6bde..000000000 --- a/externals/apple/.svn/text-base/fans-help.pd.svn-base +++ /dev/null @@ -1,68 +0,0 @@ -#N canvas 273 22 560 421 10; -#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header fans 3 12 0 18 --241536 -1 0; -#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 --245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X text 12 5 GENRE storage; -#X restore 500 373 pd META; -#X obj 3 262 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 -13 -245500 -191407 0; -#X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 -12 0 13 -245500 -191407 0; -#X obj 470 6 pddp/pddplink http://wiki.puredata.info/en/apple/fans --text pdpedia: fans; -#X msg 146 48 bang; -#X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1 -; -#X text 183 46 output sensor values; -#X obj 72 283 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 --162280 0; -#X obj 146 101 apple/fans; -#X text 15 6 description: query the system fans in Apples; -#X text 94 201 bang - output all data about all fans; -#X floatatom 146 147 5 0 0 0 - - -; -#X floatatom 180 147 5 0 0 0 - - -; -#X floatatom 215 147 5 0 0 0 - - -; -#X obj 173 75 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144 -1 --1 1; -#X text 302 73 choose a specific fan; -#X text 94 221 float - output all data about a specific fan; -#X floatatom 249 147 5 0 0 0 - - -; -#X floatatom 284 147 5 0 0 0 - - -; -#X obj 72 309 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 --162280 0; -#X text 103 280 messages with the values of the various data; -#X text 104 306 messages with status information; -#X text 94 241 symbol - output a specific data about a specific fan -; -#X floatatom 318 147 5 0 0 0 - - -; -#X obj 146 125 route F0Ac F0Mn F0Mx F0Mt F0Sf F0Tg F0ID; -#X obj 73 73 metro 2000; -#X obj 485 -14 apple/fans; -#X obj 356 147 moocow/string2any; -#X obj 356 170 pddp/print; -#X obj 83 139 print; -#X connect 6 0 10 0; -#X connect 7 0 27 0; -#X connect 10 0 26 0; -#X connect 10 0 31 0; -#X connect 16 0 10 0; -#X connect 26 0 13 0; -#X connect 26 1 14 0; -#X connect 26 2 15 0; -#X connect 26 3 19 0; -#X connect 26 4 20 0; -#X connect 26 5 25 0; -#X connect 26 6 29 0; -#X connect 27 0 10 0; -#X connect 29 0 30 0; diff --git a/externals/apple/.svn/text-base/fans.pd.svn-base b/externals/apple/.svn/text-base/fans.pd.svn-base deleted file mode 100644 index b4107f9d7..000000000 --- a/externals/apple/.svn/text-base/fans.pd.svn-base +++ /dev/null @@ -1,54 +0,0 @@ -#N canvas 421 265 470 381 10; -#X obj 164 29 inlet; -#X obj 146 343 outlet; -#X obj 197 343 outlet; -#X obj 26 112 route FNum; -#X msg 106 119 F\$1Ac; -#X msg 147 119 F\$1Mn; -#X msg 230 119 F\$1Mx; -#X msg 271 119 F\$1Sf; -#X msg 313 119 F\$1Tg; -#X obj 146 229 apple/smc; -#X msg 408 119 FNum; -#N canvas 0 22 450 300 gen 0; -#X obj 92 9 inlet; -#X obj 93 270 outlet; -#X obj 93 136 until; -#X obj 93 172 float; -#X obj 134 172 + 1; -#X msg 180 123 0; -#X obj 92 74 trigger anything bang; -#X connect 0 0 6 0; -#X connect 2 0 3 0; -#X connect 3 0 4 0; -#X connect 3 0 1 0; -#X connect 4 0 3 1; -#X connect 5 0 3 1; -#X connect 6 0 2 0; -#X connect 6 1 5 0; -#X restore 26 133 pd gen fnums; -#X obj 164 51 route float bang; -#X msg 188 119 F\$1Mt; -#X msg 358 119 F\$1ID; -#X connect 0 0 12 0; -#X connect 3 0 11 0; -#X connect 4 0 9 0; -#X connect 5 0 9 0; -#X connect 6 0 9 0; -#X connect 7 0 9 0; -#X connect 8 0 9 0; -#X connect 9 0 1 0; -#X connect 9 0 3 0; -#X connect 9 1 2 0; -#X connect 10 0 9 0; -#X connect 11 0 12 0; -#X connect 12 0 4 0; -#X connect 12 0 5 0; -#X connect 12 0 6 0; -#X connect 12 0 7 0; -#X connect 12 0 8 0; -#X connect 12 0 13 0; -#X connect 12 0 14 0; -#X connect 12 1 10 0; -#X connect 13 0 9 0; -#X connect 14 0 9 0; diff --git a/externals/apple/.svn/text-base/iodisplay-help.pd.svn-base b/externals/apple/.svn/text-base/iodisplay-help.pd.svn-base deleted file mode 100644 index 6a3c679a6..000000000 --- a/externals/apple/.svn/text-base/iodisplay-help.pd.svn-base +++ /dev/null @@ -1,82 +0,0 @@ -#N canvas 392 89 560 598 10; -#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header iodisplay 3 12 -0 18 -241536 -1 0; -#X obj 3 179 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13 --245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 504 549 pd META; -#X obj 3 271 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 15 12 0 -13 -245500 -191407 0; -#X obj 3 321 cnv 3 550 3 empty \$0-pddp.cnv.argument argument 15 12 -0 13 -245500 -191407 0; -#X obj 3 371 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 -12 0 13 -245500 -191407 0; -#X obj 72 245 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 --162280 0; -#X obj 72 199 cnv 17 3 40 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 --162280 0; -#X obj 412 6 pddp/pddplink http://wiki.puredata.info/en/apple/keyboard_light --text pdpedia: keyboard_light; -#X obj 104 390 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/ -; -#X obj 456 -14 apple/iodisplay; -#X text 15 6 description: query and control IODisplay parameters on -Apple; -#X msg 81 33 bang; -#X obj 103 58 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 0 1; -#X floatatom 116 82 5 0 0 0 - - -; -#X obj 81 140 pddp/print; -#X obj 81 107 iodisplay brightness; -#X text 102 339 symbol - name of the IODisplay parameter to control -; -#X text 103 289 float - value of the current IODisplay parameter; -#X text 102 245 symbol - name of the IODisplay parameter to control -; -#X text 102 198 bang - output the current IODisplay parameter level -; -#X text 102 218 float - set the current IODisplay parameter level; -#X obj 103 411 pddp/pddplink http://darcs.brianweb.net/vendor/powerpc-apple-darwin/include/IOKit/graphics/IOGraphicsTypes.h --text IOKit/graphics/IOGraphicsTypes.h; -#X text 14 430 Possible IODisplay parameters:; -#X text 64 447 brightness; -#X text 64 467 contrast; -#X text 64 487 horizontal-position; -#X text 64 507 horizontal-size; -#X text 64 527 vertical-position; -#X text 222 447 trapezoid; -#X text 222 467 pincushion; -#X text 222 487 parallelogram; -#X text 222 508 rotation; -#X text 222 528 theatre-mode; -#X text 384 447 theatre-mode-window; -#X text 384 467 oscn; -#X text 384 487 vbst; -#X text 384 507 commit; -#X text 384 527 defaults; -#X msg 291 33 bang; -#X obj 306 59 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 0 1; -#X floatatom 319 83 5 0 0 0 - - -; -#X obj 291 140 pddp/print; -#X msg 366 83 symbol brightness; -#X obj 291 107 iodisplay; -#X connect 12 0 16 0; -#X connect 13 0 14 0; -#X connect 13 0 16 0; -#X connect 16 0 15 0; -#X connect 39 0 44 0; -#X connect 40 0 41 0; -#X connect 40 0 44 0; -#X connect 43 0 44 1; -#X connect 44 0 42 0; diff --git a/externals/apple/.svn/text-base/iodisplay.c.svn-base b/externals/apple/.svn/text-base/iodisplay.c.svn-base deleted file mode 100644 index bcca4bb10..000000000 --- a/externals/apple/.svn/text-base/iodisplay.c.svn-base +++ /dev/null @@ -1,124 +0,0 @@ -/* --------------------------------------------------------------------------*/ -/* */ -/* control the iodisplay of the display on Apple Mac OS X */ -/* Written by Hans-Christoph Steiner <hans@eds.org> */ -/* */ -/* Copyright (c) 2008 Free Software Foundation */ -/* */ -/* This program is free software; you can redistribute it and/or */ -/* modify it under the terms of the GNU General Public License */ -/* as published by the Free Software Foundation; either version 2 */ -/* of the License, or (at your option) any later version. */ -/* */ -/* See file LICENSE for further informations on licensing terms. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program; if not, write to the Free Software Foundation, */ -/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* */ -/* --------------------------------------------------------------------------*/ - -#include <IOKit/graphics/IOGraphicsLib.h> -#include <ApplicationServices/ApplicationServices.h> -#include <m_pd.h> - -#define DEBUG(x) -//#define DEBUG(x) x - -/*------------------------------------------------------------------------------ - * CLASS DEF - */ - -static t_class *iodisplay_class; - -typedef struct _iodisplay { - t_object x_obj; - t_float parameter_value; - io_service_t io_service; - CGDirectDisplayID target_display; - t_symbol* parameter; -} t_iodisplay; - -/*------------------------------------------------------------------------------ - * IMPLEMENTATION - */ - -static void iodisplay_output(t_iodisplay* x) -{ - DEBUG(post("iodisplay_output");); - CFStringRef cfs_parameter; - CGDisplayErr err; - t_atom output_atom; - - cfs_parameter = CFStringCreateWithCString(kCFAllocatorDefault, - x->parameter->s_name, - kCFStringEncodingASCII); - err = IODisplayGetFloatParameter(x->io_service, kNilOptions, - cfs_parameter, &(x->parameter_value)); - if (err != kIOReturnSuccess) - pd_error(x,"[iodisplay]: couldn't get %s value", x->parameter->s_name); - - SETFLOAT(&output_atom, x->parameter_value); - outlet_anything(x->x_obj.ob_outlet, x->parameter, 1, &output_atom); -} - - -static void iodisplay_float(t_iodisplay* x, t_float f) -{ - DEBUG(post("iodisplay_float");); - CFStringRef cfs_parameter; - CGDisplayErr err; - - if (f < 0.) x->parameter_value = 0.; - else if (f > 1.) x->parameter_value = 1.; - else x->parameter_value = f; - - cfs_parameter = CFStringCreateWithCString(kCFAllocatorDefault, - x->parameter->s_name, - kCFStringEncodingASCII); - err = IODisplaySetFloatParameter(x->io_service, kNilOptions, - cfs_parameter, x->parameter_value); - if (err != kIOReturnSuccess) - pd_error(x,"[iodisplay]: couldn't set %s", x->parameter->s_name); -} - - -static void iodisplay_free(t_iodisplay* x) -{ - DEBUG(post("iodisplay_free");); -} - - -static void *iodisplay_new(t_symbol *s) -{ - DEBUG(post("iodisplay_new");); - t_iodisplay *x = (t_iodisplay *)pd_new(iodisplay_class); - - x->target_display = CGMainDisplayID(); - x->io_service = CGDisplayIOServicePort(x->target_display); - x->parameter = s; - - symbolinlet_new(&x->x_obj, &x->parameter); - outlet_new(&x->x_obj, &s_anything); - - return (x); -} - -void iodisplay_setup(void) -{ - iodisplay_class = class_new(gensym("iodisplay"), - (t_newmethod)iodisplay_new, - (t_method)iodisplay_free, - sizeof(t_iodisplay), - CLASS_DEFAULT, - A_DEFSYMBOL, 0); - - /* add inlet datatype methods */ - class_addbang(iodisplay_class,(t_method) iodisplay_output); - class_addfloat(iodisplay_class,(t_method) iodisplay_float); -} diff --git a/externals/apple/.svn/text-base/keyboard_layout-help.pd.svn-base b/externals/apple/.svn/text-base/keyboard_layout-help.pd.svn-base deleted file mode 100644 index f7ecfdd20..000000000 --- a/externals/apple/.svn/text-base/keyboard_layout-help.pd.svn-base +++ /dev/null @@ -1,37 +0,0 @@ -#N canvas 0 26 553 346 10; -#X msg 116 32 bang; -#X msg 144 63 menu; -#X obj 242 244 flatgui/popup 124 25 #ffffff _ option; -#X msg 141 209 options; -#X obj 203 163 route clear; -#X symbolatom 116 277 0 0 0 0 - - -; -#X text 183 64 see all options in the popup menu; -#X obj 308 111 symbol; -#X text 250 283 select a new input method with the popup menu; -#X obj 202 185 bang; -#X msg 197 208 name language; -#N canvas 231 99 494 344 META 0; -#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan -Wilkes for Pd version 0.42.; -#X text 12 25 LICENSE GPL v3; -#X text 12 125 AUTHOR Hans-Christoph Steiner; -#X text 12 5 KEYWORDS control GUI needs_work (object won't create) -; -#X text 12 45 DESCRIPTION needs a description; -#X text 12 65 INLET_0 bang menu symbol; -#X text 12 85 OUTLET_0; -#X text 12 105 OUTLET_1; -#X restore 502 322 pd META; -#X obj 116 144 keyboard_layout; -#X connect 0 0 12 0; -#X connect 1 0 12 0; -#X connect 2 1 7 0; -#X connect 3 0 2 0; -#X connect 4 0 9 0; -#X connect 4 1 2 0; -#X connect 7 0 12 0; -#X connect 9 0 3 0; -#X connect 9 0 10 0; -#X connect 10 0 2 0; -#X connect 12 0 5 0; -#X connect 12 1 4 0; diff --git a/externals/apple/.svn/text-base/keyboard_layout.c.svn-base b/externals/apple/.svn/text-base/keyboard_layout.c.svn-base deleted file mode 100644 index e2a8790d3..000000000 --- a/externals/apple/.svn/text-base/keyboard_layout.c.svn-base +++ /dev/null @@ -1,116 +0,0 @@ -/* Copyright 2006 Fredrik Olofsson - * Copyright 2007 Free Software Foundation - * ported to Pd by Hans-Christoph Steiner <hans@eds.org> from f0.keyboard_layout.c - */ - -#include "m_pd.h" -#ifdef __APPLE__ -#include <Carbon/Carbon.h> -#endif - -static t_class *keyboard_layout_class; - -typedef struct _keyboard_layout { - t_object x_obj; - t_outlet* x_data_outlet; - t_outlet* x_status_outlet; -} t_keyboard_layout; - -#ifdef __APPLE__ - -//---------------------------------------------------------------------------------------------- -void keyboard_layout_bang(t_keyboard_layout *x) { - //OSStatus err; - KeyboardLayoutRef currentLayoutRef; - const void *keyboardName; - char cKeyboardName[100]; - - KLGetCurrentKeyboardLayout(¤tLayoutRef); - KLGetKeyboardLayoutProperty(currentLayoutRef, kKLName, (const void **)&keyboardName); - CFStringGetCString((CFStringRef)keyboardName, cKeyboardName, 100, kCFStringEncodingASCII); - - outlet_symbol(x->x_data_outlet, gensym(cKeyboardName)); -} - -void keyboard_layout_menu(t_keyboard_layout *x) { - //OSStatus err; - KeyboardLayoutRef currentLayoutRef; - const void *keyboardName; - char cKeyboardName[100]; - CFIndex countOfLayouts; - CFIndex i; - t_atom name; - -// TODO this should probably output [menu clear( so other messages work too - outlet_anything(x->x_status_outlet, gensym("clear"), 0, NULL); - - KLGetKeyboardLayoutCount(&countOfLayouts); - for(i= 0; i<countOfLayouts; i++) { - KLGetKeyboardLayoutAtIndex(i, ¤tLayoutRef); - KLGetKeyboardLayoutProperty(currentLayoutRef, kKLName, (const void **)&keyboardName); - CFStringGetCString((CFStringRef)keyboardName, cKeyboardName, 100, kCFStringEncodingASCII); - - SETSYMBOL(&name, gensym(cKeyboardName)); -// TODO this should probably output [menu append( so other messages work too - outlet_anything(x->x_status_outlet, gensym("append"), 1, &name); - } -} - -void keyboard_layout_anything(t_keyboard_layout *x, t_symbol *s, short argc, t_atom *argv) { - //OSStatus err; - KeyboardLayoutRef currentLayoutRef; - const void *keyboardName; - char cKeyboardName[100]; - - keyboardName= CFStringCreateWithCString(NULL, s->s_name, kCFStringEncodingASCII); - KLGetKeyboardLayoutWithName(keyboardName, ¤tLayoutRef); - KLGetKeyboardLayoutProperty(currentLayoutRef, kKLName, (const void **)&keyboardName); - CFStringGetCString((CFStringRef)keyboardName, cKeyboardName, 100, kCFStringEncodingASCII); - KLSetCurrentKeyboardLayout(currentLayoutRef); - //outlet_anything(x->t_out, s, 0, NULL); - keyboard_layout_bang(x); -} - -void *keyboard_layout_new(void) { - t_keyboard_layout *x = (t_keyboard_layout *)pd_new(keyboard_layout_class); - - x->x_data_outlet = outlet_new(&x->x_obj, &s_float); - x->x_status_outlet = outlet_new(&x->x_obj, &s_symbol); - - return (x); -} - -//---------------------------------------------------------------------------------------------- -void keyboard_layout_setup(void) { - keyboard_layout_class = class_new(gensym("keyboard_layout"), - (t_newmethod)keyboard_layout_new, - NULL, - sizeof(t_keyboard_layout), - 0, A_GIMME, 0); - - class_addbang(keyboard_layout_class, (t_method)keyboard_layout_bang); - class_addanything(keyboard_layout_class, (t_method)keyboard_layout_anything); - - class_addmethod(keyboard_layout_class, (t_method)keyboard_layout_menu, - gensym("menu"), 0); - - post("f0.keyboard_layout v1.1-ub; distributed under GNU GPL license"); -} - - -#else /* GNU/Linux and Windows */ - - -void keyboard_layout_new(void) -{ - post("f0.keyboard_layout v1.1-ub; distributed under GNU GPL license"); - post("ERROR: this objectclass is currently only for Mac OS X"); -} - -void keyboard_layout_setup(void) -{ - keyboard_layout_class = class_new(gensym("text"), (t_method)keyboard_layout_new, - NULL, sizeof(t_keyboard_layout), 0, 0); -} - -#endif /* __APPLE__ */ diff --git a/externals/apple/.svn/text-base/keyboard_light-help.pd.svn-base b/externals/apple/.svn/text-base/keyboard_light-help.pd.svn-base deleted file mode 100644 index 5a05e9773..000000000 --- a/externals/apple/.svn/text-base/keyboard_light-help.pd.svn-base +++ /dev/null @@ -1,89 +0,0 @@ -#N canvas 165 58 563 577 10; -#X obj 4 529 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0 -14 -228856 -66577 0; -#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header keyboard_light -3 12 0 18 -241536 -1 0; -#X obj 3 239 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13 --245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 504 531 pd META; -#X obj 3 359 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 15 12 0 -13 -245500 -191407 0; -#X obj 3 409 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 15 12 -0 13 -245500 -191407 0; -#X obj 3 469 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 -12 0 13 -245500 -191407 0; -#X obj 72 325 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 --162280 0; -#X obj 72 259 cnv 17 3 60 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 --162280 0; -#N canvas 309 454 609 478 guts 0; -#X obj 117 95 textfile; -#X msg 116 24 symbol template-HCS.pd; -#X msg 116 54 read \$1 \, rewind \, bang; -#X obj 117 141 trigger bang anything; -#X obj 58 117 bang; -#X obj 240 162 route #X; -#X obj 240 183 route text; -#X obj 240 250 route DESCRIPTION; -#X obj 239 276 print; -#X obj 140 277 print TEXT; -#X connect 0 0 3 0; -#X connect 1 0 2 0; -#X connect 2 0 0 0; -#X connect 3 0 4 0; -#X connect 3 1 5 0; -#X connect 4 0 0 0; -#X connect 5 0 6 0; -#X connect 7 0 8 0; -#X restore 453 531 pd guts; -#X obj 412 6 pddp/pddplink http://wiki.puredata.info/en/apple/keyboard_light --text pdpedia: keyboard_light; -#X text 15 6 description: query and control the keyboard lights on -Apples; -#X obj 426 -14 apple/keyboard_light; -#X msg 125 39 bang; -#X obj 158 70 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 10 -204786 --1 -1 0 0; -#X floatatom 135 214 5 0 0 0 - - -; -#X obj 135 177 apple/keyboard_light; -#X text 293 69 light level; -#X obj 255 91 hsl 128 15 40 4000 1 0 empty empty empty -2 -6 0 10 -204800 --1 -1 0 0; -#X text 390 90 fade time; -#X floatatom 261 110 5 0 0 0 - - -; -#X floatatom 164 93 5 0 0 0 - - -; -#X text 209 136 set level and fade as a list; -#X msg 164 147 0 50; -#X msg 160 125 1 1000; -#X text 167 38 get current level; -#X text 102 298 list - set the keyboard light level and fade time in -ms; -#X text 102 325 float - set the fade time in milliseconds (ms); -#X text 103 377 float - the current keyboard light level (between 0 -and 1); -#X text 102 278 float - set the keyboard light level (between 0 and -1); -#X text 102 258 bang - output current keyboard light level; -#X text 102 427 Accepts two floats as arguments \, the first sets the -keyboard light level \, the second sets the fade time.; -#X obj 104 495 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/ -; -#X connect 13 0 16 0; -#X connect 14 0 16 0; -#X connect 14 0 21 0; -#X connect 16 0 15 0; -#X connect 18 0 16 1; -#X connect 18 0 20 0; -#X connect 23 0 16 0; -#X connect 24 0 16 0; diff --git a/externals/apple/.svn/text-base/keyboard_light.c.svn-base b/externals/apple/.svn/text-base/keyboard_light.c.svn-base deleted file mode 100644 index 7d0a3b2b4..000000000 --- a/externals/apple/.svn/text-base/keyboard_light.c.svn-base +++ /dev/null @@ -1,243 +0,0 @@ -/* --------------------------------------------------------------------------*/ -/* */ -/* get/set the keyboard light level on Apple Mac OS X */ -/* Written by Hans-Christoph Steiner <hans@eds.org> */ -/* */ -/* Copyright (c) 2008 Free Software Foundation */ -/* */ -/* This program is free software; you can redistribute it and/or */ -/* modify it under the terms of the GNU General Public License */ -/* as published by the Free Software Foundation; either version 2 */ -/* of the License, or (at your option) any later version. */ -/* */ -/* See file LICENSE for further informations on licensing terms. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program; if not, write to the Free Software Foundation, */ -/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* */ -/* --------------------------------------------------------------------------*/ - -#include <mach/mach.h> -#include <IOKit/IOKitLib.h> -#include <CoreFoundation/CoreFoundation.h> -#include <CoreServices/CoreServices.h> -#include <m_pd.h> - -#define DEBUG(x) -//#define DEBUG(x) x - -#define DEFAULT_DELAYTIME 250 -#define BRIGHTNESS_MAX 0xfff - -/*------------------------------------------------------------------------------ - * CLASS DEF - */ - -static t_class *keyboard_light_class; - -typedef struct _keyboard_light { - t_object x_obj; - t_float fade_time; - io_service_t io_service; - io_connect_t io_connect; -} t_keyboard_light; - - - -enum { - kGetSensorReadingID = 0, // getSensorReading(int *, int *) - kGetLEDBrightnessID = 1, // getLEDBrightness(int, int *) - kSetLEDBrightnessID = 2, // setLEDBrightness(int, int, int *) - kSetLEDFadeID = 3, // setLEDFade(int, int, int, int *) - // other firmware-related functions - verifyFirmwareID = 4, // verifyFirmware(int *) - getFirmwareVersionID = 5,// getFirmwareVersion(int *) - // other flashing-related functions - // ... -}; - -/*------------------------------------------------------------------------------ - * IMPLEMENTATION - */ - -static void keyboard_light_output(t_keyboard_light* x) -{ - DEBUG(post("keyboard_light_output");); - kern_return_t kernResult; - t_float brightness; - - if(! x->io_connect) return; - -#if !defined(__LP64__) - // Check if Mac OS X 10.5 API is available... -// if (IOConnectCallScalarMethod != NULL) { - if(0) { - // ...and use it if it is. -#endif - uint64_t inputValues[1] = {0}; - uint64_t inputCount = 1; - uint64_t outputValues[1] = {0}; - uint32_t outputCount = 1; - kernResult = IOConnectCallScalarMethod(x->io_connect, - kGetLEDBrightnessID, - inputValues, - inputCount, - outputValues, - &outputCount); - brightness = (t_float)outputValues[0] / BRIGHTNESS_MAX; -#if !defined(__LP64__) - } - else { - // Otherwise fall back to older API. - IOItemCount scalarInputCount = 1; - IOItemCount scalarOutputCount = 1; - uint32_t in_brightness = 0; - uint32_t out_brightness; - kernResult = IOConnectMethodScalarIScalarO(x->io_connect, - kGetLEDBrightnessID, - scalarInputCount, - scalarOutputCount, - in_brightness, - &out_brightness); - brightness = (t_float)out_brightness / BRIGHTNESS_MAX; - } -#endif - if( kernResult == KERN_SUCCESS) - outlet_float(x->x_obj.ob_outlet, brightness); - else if(kernResult == kIOReturnBusy) - pd_error(x,"[keyboard_light]: device busy"); - else - pd_error(x,"[keyboard_light]: could not read device"); -} - - -static void keyboard_light_float(t_keyboard_light* x, t_float f) -{ - DEBUG(post("keyboard_light_float");); - - kern_return_t kernResult; - t_float brightness; - - if(!x->io_connect) return; - - brightness = f * BRIGHTNESS_MAX; - if(brightness < 0) - brightness = 0; - else if(brightness > BRIGHTNESS_MAX) - brightness = BRIGHTNESS_MAX; - -#if !defined(__LP64__) - // Check if Mac OS X 10.5/10.6 API is available... - SInt32 MacVersion; - if ((Gestalt(gestaltSystemVersion, &MacVersion) == noErr) && (MacVersion >= 0x1060)) { - // ...and use it if it is. -#endif -#ifdef AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER - uint64_t inputValues[3]; - uint32_t inputCount = 3; - uint64_t outputValues[1]; - uint32_t outputCount = 1; - inputValues[0] = 0; - inputValues[1] = brightness; - inputValues[2] = x->fade_time; - kernResult = IOConnectCallScalarMethod(x->io_connect, - kSetLEDFadeID, - inputValues, - inputCount, - outputValues, - &outputCount); -#endif -#if !defined(__LP64__) - } - else { - // Otherwise fall back to older API. - IOItemCount scalarInputCount = 3; - IOItemCount scalarOutputCount = 1; - SInt32 in_unknown = 0, in_brightness, out_brightness; - in_brightness = brightness; - kernResult = IOConnectMethodScalarIScalarO(x->io_connect, - kSetLEDFadeID, - scalarInputCount, - scalarOutputCount, - in_unknown, - in_brightness, - (SInt32) x->fade_time, - &out_brightness); - } -#endif - - if( kernResult != KERN_SUCCESS) - { - if(kernResult == kIOReturnBusy) - pd_error(x,"[keyboard_light]: device busy"); - else - pd_error(x,"[keyboard_light]: could not write to device"); - } -} - - -static void keyboard_light_free(t_keyboard_light* x) -{ - DEBUG(post("keyboard_light_free");); -} - - -static void *keyboard_light_new(t_float level, t_float fade_time) -{ - DEBUG(post("keyboard_light_new");); - t_keyboard_light *x = (t_keyboard_light *)pd_new(keyboard_light_class); - kern_return_t kernResult; - - x->io_service = IOServiceGetMatchingService(kIOMasterPortDefault, - IOServiceMatching("AppleLMUController")); - if(x->io_service) - { - logpost(x, 4, "[keyboard_light]: found AppleLMUController"); - } - else - { - error("[keyboard_light]: AppleLMUController not found, trying IOI2CDeviceLMU"); - x->io_service = IOServiceGetMatchingService(kIOMasterPortDefault, - IOServiceMatching("IOI2CDeviceLMU")); - if(x->io_service) - { - logpost(x, 4, "[keyboard_light]: found IOI2CDeviceLMU"); - } - else - pd_error(x,"[keyboard_light]: no sensor found"); - } - kernResult = IOServiceOpen(x->io_service, mach_task_self(), 0, &x->io_connect); - - IOObjectRelease(x->io_service); - if (kernResult != KERN_SUCCESS) - { - error("[keyboard_light]: IOServiceOpen(): %d", kernResult); - } - - x->fade_time = fade_time; - floatinlet_new(&x->x_obj, &x->fade_time); - outlet_new(&x->x_obj, &s_float); - - keyboard_light_float(x, level); - - return (x); -} - -void keyboard_light_setup(void) -{ - keyboard_light_class = class_new(gensym("keyboard_light"), - (t_newmethod)keyboard_light_new, - (t_method)keyboard_light_free, - sizeof(t_keyboard_light), - CLASS_DEFAULT, - A_DEFFLOAT, A_DEFFLOAT, 0); - /* add inlet datatype methods */ - class_addbang(keyboard_light_class,(t_method) keyboard_light_output); - class_addfloat(keyboard_light_class,(t_method) keyboard_light_float); -} diff --git a/externals/apple/.svn/text-base/multitouch-help.pd.svn-base b/externals/apple/.svn/text-base/multitouch-help.pd.svn-base deleted file mode 100644 index 1732f2f35..000000000 --- a/externals/apple/.svn/text-base/multitouch-help.pd.svn-base +++ /dev/null @@ -1,77 +0,0 @@ -#N canvas 147 22 562 447 10; -#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header multitouch 3 12 -0 18 -241536 -1 0; -#X obj 3 220 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 --245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X text 12 5 GENRE storage; -#X restore 500 404 pd META; -#X obj 3 289 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 -13 -245500 -191407 0; -#X obj 3 369 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 -12 0 13 -245500 -191407 0; -#X obj 434 6 pddp/pddplink http://wiki.puredata.info/en/apple/multitouch --text pdpedia: multitouch; -#X obj 449 -14 apple/multitouch; -#X obj 146 101 multitouch; -#X msg 146 48 bang; -#X msg 179 73 info; -#X obj 203 120 pddp/print; -#X text 216 73 output info on right outlet; -#X obj 73 73 metro 250; -#X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1 -; -#X text 183 46 output sensor values; -#X text 102 258 "info" - outputs info about the sensor on the right -outlet; -#X obj 72 336 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 --162280 0; -#X obj 72 310 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 --162280 0; -#X text 15 6 description: get multitouches from trackpads and iPhones -; -#X text 102 239 bang - output current multitouch data; -#X text 103 337 a message with info about the sensor status; -#X text 103 311 a list of values for each touch that is being tracked -; -#X obj 104 395 pddp/pddplink http://steike.com/code/multitouch/; -#X floatatom 6 179 5 0 0 3 finger - -; -#X floatatom 45 179 5 0 0 3 frame - -; -#X floatatom 81 179 5 0 0 3 angle - -; -#X floatatom 120 179 5 0 0 3 majorAxis - -; -#X floatatom 178 179 5 0 0 3 minorAxis - -; -#X obj 146 145 unpack 0 0 0 0 0 0 0 0 0 0 0 0; -#X floatatom 236 179 5 0 0 3 x - -; -#X floatatom 274 179 5 0 0 3 y - -; -#X floatatom 307 179 5 0 0 3 x-velocity - -; -#X floatatom 368 179 5 0 0 3 Y-velocity - -; -#X floatatom 431 179 5 0 0 3 ID - -; -#X floatatom 469 179 5 0 0 3 state - -; -#X floatatom 509 179 5 0 0 3 size - -; -#X connect 7 0 28 0; -#X connect 7 1 10 0; -#X connect 8 0 7 0; -#X connect 9 0 7 0; -#X connect 12 0 7 0; -#X connect 13 0 12 0; -#X connect 28 0 23 0; -#X connect 28 1 24 0; -#X connect 28 2 25 0; -#X connect 28 3 26 0; -#X connect 28 4 27 0; -#X connect 28 5 29 0; -#X connect 28 6 30 0; -#X connect 28 7 31 0; -#X connect 28 8 32 0; -#X connect 28 9 33 0; -#X connect 28 10 34 0; -#X connect 28 11 35 0; diff --git a/externals/apple/.svn/text-base/multitouch.c.svn-base b/externals/apple/.svn/text-base/multitouch.c.svn-base deleted file mode 100644 index 0d2f3bf93..000000000 --- a/externals/apple/.svn/text-base/multitouch.c.svn-base +++ /dev/null @@ -1,145 +0,0 @@ -/* --------------------------------------------------------------------------*/ -/* */ -/* get info from the multitouch trackpad on Apple Mac OS X */ -/* based on 'fingerpinger' */ -/* */ -/* Copyright (c) 2009 Hans-Christoph Steiner */ -/* Copyright (c) 2009 Michael & Max Egger */ -/* Copyright (c) 2008 Steike */ -/* */ -/* This program is free software; you can redistribute it and/or */ -/* modify it under the terms of the GNU General Public License */ -/* as published by the Free Software Foundation; either version 3 */ -/* of the License, or (at your option) any later version. */ -/* */ -/* See file LICENSE for further informations on licensing terms. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program; if not, write to the Free Software Foundation, */ -/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* */ -/* --------------------------------------------------------------------------*/ - -#include <mach/mach.h> -#include <IOKit/IOKitLib.h> -#include <CoreFoundation/CoreFoundation.h> -#include <math.h> -#include <unistd.h> -#include "MultitouchSupport.h" -#include <m_pd.h> - -#define DEBUG(x) -//#define DEBUG(x) x - -/*------------------------------------------------------------------------------ - * CLASS DEF - */ - -static t_class *multitouch_class; - -typedef struct _multitouch { - t_object x_obj; - t_outlet* data_outlet; - t_outlet* status_outlet; -} t_multitouch; - -static MTDeviceRef dev; /* reference to the trackpad */ -static int fingerc; /* current count of Fingers */ -static Finger fingerv[32]; /* current list of Fingers */ -static int multitouch_instances = 0; /* set when one instance is polling so others don't */ - -/*------------------------------------------------------------------------------ - * CALLBACK TO GET DATA - */ - -static int callback(int device, Finger *data, int nFingers, double timestamp, int frame) -{ - DEBUG(post("callback");); - memcpy(fingerv, data, nFingers * sizeof(Finger)); - fingerc = nFingers; - return 0; -} - -/*------------------------------------------------------------------------------ - * IMPLEMENTATION - */ - -static void multitouch_output(t_multitouch* x) -{ - DEBUG(post("multitouch_output");); - int i; - t_atom output_list[12]; - for (i=0; i < fingerc; i++) { - Finger *f = &fingerv[i]; - SETFLOAT(output_list,i); - SETFLOAT(output_list + 1 , f->frame); - SETFLOAT(output_list + 2 , f->angle); - SETFLOAT(output_list + 3 , f->majorAxis); - SETFLOAT(output_list + 4 , f->minorAxis); - SETFLOAT(output_list + 5 , f->normalized.pos.x); - SETFLOAT(output_list + 6 , f->normalized.pos.y); - SETFLOAT(output_list + 7 , f->normalized.vel.x); - SETFLOAT(output_list + 8 , f->normalized.vel.y); - SETFLOAT(output_list + 9 , f->identifier); - SETFLOAT(output_list + 10 , f->state); - SETFLOAT(output_list + 11 , f->size); - outlet_list(x->data_outlet, &s_, 12, output_list); - } -} - -static void multitouch_info(t_multitouch* x) -{ - t_atom output_atom; - SETFLOAT(&output_atom, fingerc); - outlet_anything(x->status_outlet, gensym("fingers"), 1, &output_atom); -} - -static void multitouch_free(t_multitouch* x) -{ - DEBUG(post("multitouch_free");); - multitouch_instances--; - /* if I am the last instance, clean up the callback stuff */ - if (multitouch_instances == 0) { - MTDeviceStop(dev); - MTUnregisterContactFrameCallback(dev, callback); - MTDeviceRelease(dev); - dev = NULL; - } -} - -static void *multitouch_new(void) -{ - DEBUG(post("multitouch_new");); - t_multitouch *x = (t_multitouch *)pd_new(multitouch_class); - - multitouch_instances++; - /* if I am the first instance to poll, then set the callback up */ - if (multitouch_instances == 1) { - dev = MTDeviceCreateDefault(); - MTRegisterContactFrameCallback(dev, callback); - MTDeviceStart(dev, 0); - } - - x->data_outlet = outlet_new(&x->x_obj, &s_list); - x->status_outlet = outlet_new(&x->x_obj, &s_anything); - - return (x); -} - -void multitouch_setup(void) -{ - multitouch_class = class_new(gensym("multitouch"), - (t_newmethod)multitouch_new, - (t_method)multitouch_free, - sizeof(t_multitouch), - CLASS_DEFAULT, - 0); - /* add inlet datatype methods */ - class_addbang(multitouch_class,(t_method) multitouch_output); - class_addmethod(multitouch_class,(t_method) multitouch_info, gensym("info"), 0); -} diff --git a/externals/apple/.svn/text-base/smc-help.pd.svn-base b/externals/apple/.svn/text-base/smc-help.pd.svn-base deleted file mode 100644 index a580f6006..000000000 --- a/externals/apple/.svn/text-base/smc-help.pd.svn-base +++ /dev/null @@ -1,60 +0,0 @@ -#N canvas 235 77 559 441 10; -#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header smc 3 12 0 18 --241536 -1 0; -#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 --245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 504 400 pd META; -#X obj 3 262 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 -13 -245500 -191407 0; -#X obj 3 341 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 -12 0 13 -245500 -191407 0; -#X msg 146 48 bang; -#X obj 72 312 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 --162280 0; -#X obj 72 286 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 --162280 0; -#X obj 489 -14 apple/smc; -#X obj 146 111 apple/smc; -#X obj 197 134 pddp/print; -#X obj 439 4 pddp/pddplink http://wiki.puredata.info/en/apple/smc -text -pdpedia: apple/smc; -#X text 15 6 description: interface to Apple System Management Controller -; -#X obj 69 163 pddp/print; -#X obj 78 363 pddp/pddplink http://en.wikipedia.org/wiki/System_Management_Controller -; -#X obj 143 142 print; -#X msg 158 70 keys; -#X msg 53 57 symbol TC0D; -#X msg 167 90 info; -#X obj 195 377 pddp/pddplink http://discussions.apple.com/thread.jspa?threadID=734247 --text Apple Forum: Mac Pro Tempurature question; -#X text 77 377 for a list of keys:; -#X msg 55 89 TC0D; -#X text 103 283 a message with the key symbol and its value; -#X text 103 313 messages with meta info; -#X text 102 208 BANG - output the value of the current key; -#X text 102 225 info - outputs info about the sensor on the right outlet -; -#X text 102 241 keys - output all available keys in the right outlet -; -#X text 16 34 get data:; -#X connect 5 0 9 0; -#X connect 9 0 13 0; -#X connect 9 0 15 0; -#X connect 9 1 10 0; -#X connect 16 0 9 0; -#X connect 17 0 9 0; -#X connect 18 0 9 0; -#X connect 21 0 9 0; diff --git a/externals/apple/.svn/text-base/smc.c.svn-base b/externals/apple/.svn/text-base/smc.c.svn-base deleted file mode 100644 index e804fb15b..000000000 --- a/externals/apple/.svn/text-base/smc.c.svn-base +++ /dev/null @@ -1,427 +0,0 @@ -/* --------------------------------------------------------------------------*/ -/* */ -/* read the System Management Controller on Apple Mac OS X */ -/* Written by Hans-Christoph Steiner <hans@eds.org> */ -/* */ -/* Copyright (C) 2008-2009 Hans-Christoph Steiner */ -/* Copyright (C) 2006 devnull */ -/* */ -/* This program is free software; you can redistribute it and/or */ -/* modify it under the terms of the GNU General Public License */ -/* as published by the Free Software Foundation; either version 3 */ -/* of the License, or (at your option) any later version. */ -/* */ -/* See file LICENSE for further informations on licensing terms. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program; if not, write to the Free Software Foundation, */ -/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* */ -/* --------------------------------------------------------------------------*/ - -#include <mach/mach.h> -#include <unistd.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <ctype.h> -#include <IOKit/IOKitLib.h> -#include <CoreServices/CoreServices.h> - -#include "m_pd.h" -#include "smc.h" - -#define DEBUG(x) -//#define DEBUG(x) x - -/*------------------------------------------------------------------------------ - * CLASS DEF - */ - -static t_class *smc_class; - -typedef struct _smc { - t_object x_obj; - t_symbol* key; - t_outlet* data_outlet; - t_outlet* status_outlet; -} t_smc; - -/* TODO make this in the t_smc struct */ -static io_connect_t conn; - - -/*------------------------------------------------------------------------------ - * WEIRD SHIT TO GET RID OF (why not just use the standard functions?) - */ - -UInt32 _strtoul(char *str, int size, int base) -{ - UInt32 total = 0; - int i; - - for (i = 0; i < size; i++) - { - if (base == 16) - total += str[i] << (size - 1 - i) * 8; - else - total += (unsigned char) (str[i] << (size - 1 - i) * 8); - } - return total; -} - -void _ultostr(char *str, UInt32 val) -{ - str[0] = '\0'; - sprintf(str, "%c%c%c%c", - (unsigned int) val >> 24, - (unsigned int) val >> 16, - (unsigned int) val >> 8, - (unsigned int) val); -} - -float _strtof(char *str, int size, int e) -{ - float total = 0; - int i; - - for (i = 0; i < size; i++) - { - if (i == (size - 1)) - total += (str[i] & 0xff) >> e; - else - total += str[i] << (size - 1 - i) * (8 - e); - } - - return total; -} - -/*------------------------------------------------------------------------------ - * SUPPORT FUNCTIONS - */ - -/* this function expects two 5 byte arrays of chars, 4 chars and a null. if - * the string is shorter than 4 chars, then pad it with spaces */ -void padkeycpy(char* dst, char* src) -{ - int i; - dst = " "; - strncpy(dst, src, 4); - for(i = 0; i < 4; i++) - if( ! isprint(src[i])) dst[i] = ' '; - dst[4] = '\0'; -} - -kern_return_t SMCOpen(void) -{ - kern_return_t result; - mach_port_t masterPort; - io_iterator_t iterator; - io_object_t device; - - result = IOMasterPort(MACH_PORT_NULL, &masterPort); - - CFMutableDictionaryRef matchingDictionary = IOServiceMatching("AppleSMC"); - result = IOServiceGetMatchingServices(masterPort, matchingDictionary, &iterator); - if (result != kIOReturnSuccess) - { - post("Error: IOServiceGetMatchingServices() = %08x\n", result); - return 1; - } - - device = IOIteratorNext(iterator); - IOObjectRelease(iterator); - if (device == 0) - { - post("Error: no SMC found\n"); - return 1; - } - - result = IOServiceOpen(device, mach_task_self(), 0, &conn); - IOObjectRelease(device); - if (result != kIOReturnSuccess) - { - post("Error: IOServiceOpen() = %08x\n", result); - return 1; - } - - return kIOReturnSuccess; -} - -kern_return_t SMCClose() -{ - return IOServiceClose(conn); -} - - -kern_return_t SMCCall(int index, SMCKeyData_t *inputStructure, SMCKeyData_t *outputStructure) -{ - IOItemCount structureInputSize; - IOByteCount structureOutputSize; - - structureInputSize = sizeof(SMCKeyData_t); - structureOutputSize = sizeof(SMCKeyData_t); -#if !defined(__LP64__) - // Check if Mac OS X 10.5/10.6 API is available... - SInt32 MacVersion; - if ((Gestalt(gestaltSystemVersion, &MacVersion) == noErr) && (MacVersion >= 0x1060)) { - // ...and use it if it is. -#endif -#ifdef AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER - return IOConnectCallStructMethod( - conn, // an io_connect_t returned from IOServiceOpen(). - index, // selector of the function to be called via the user client. - inputStructure, // pointer to the input struct parameter. - structureInputSize, // the size of the input structure parameter. - outputStructure, // pointer to the output struct parameter. - &structureOutputSize// pointer to the size of the output structure parameter. - ); -#endif -#if !defined(__LP64__) - } - else { - // Otherwise fall back to older API. - return IOConnectMethodStructureIStructureO( - conn, // an io_connect_t returned from IOServiceOpen(). - index, // an index to the function to be called via the user client. - structureInputSize, // the size of the input struct paramter. - &structureOutputSize, // a pointer to the size of the output struct paramter. - inputStructure, // a pointer to the input struct parameter. - outputStructure // a pointer to the output struct parameter. - ); - } -#endif -} - -kern_return_t SMCReadKey(UInt32Char_t key, SMCVal_t *val) -{ - kern_return_t result; - SMCKeyData_t inputStructure; - SMCKeyData_t outputStructure; - - memset(&inputStructure, 0, sizeof(SMCKeyData_t)); - memset(&outputStructure, 0, sizeof(SMCKeyData_t)); - memset(val, 0, sizeof(SMCVal_t)); - - inputStructure.key = _strtoul(key, 4, 16); - sprintf(val->key, key); - inputStructure.data8 = SMC_CMD_READ_KEYINFO; - - result = SMCCall(KERNEL_INDEX_SMC, &inputStructure, &outputStructure); - if (result != kIOReturnSuccess) - return result; - - val->dataSize = outputStructure.keyInfo.dataSize; - _ultostr(val->dataType, outputStructure.keyInfo.dataType); - inputStructure.keyInfo.dataSize = val->dataSize; - inputStructure.data8 = SMC_CMD_READ_BYTES; - - result = SMCCall(KERNEL_INDEX_SMC, &inputStructure, &outputStructure); - if (result != kIOReturnSuccess) - return result; - - memcpy(val->bytes, outputStructure.bytes, sizeof(outputStructure.bytes)); - - return kIOReturnSuccess; -} - -kern_return_t SMCWriteKey(SMCVal_t writeVal) -{ - kern_return_t result; - SMCKeyData_t inputStructure; - SMCKeyData_t outputStructure; - - SMCVal_t readVal; - - result = SMCReadKey(writeVal.key, &readVal); - if (result != kIOReturnSuccess) - return result; - - if (readVal.dataSize != writeVal.dataSize) - return kIOReturnError; - - memset(&inputStructure, 0, sizeof(SMCKeyData_t)); - memset(&outputStructure, 0, sizeof(SMCKeyData_t)); - - inputStructure.key = _strtoul(writeVal.key, 4, 16); - inputStructure.data8 = SMC_CMD_WRITE_BYTES; - inputStructure.keyInfo.dataSize = writeVal.dataSize; - memcpy(inputStructure.bytes, writeVal.bytes, sizeof(writeVal.bytes)); - - result = SMCCall(KERNEL_INDEX_SMC, &inputStructure, &outputStructure); - if (result != kIOReturnSuccess) - return result; - - return kIOReturnSuccess; -} - -UInt32 SMCReadIndexCount(void) -{ - SMCVal_t val; - - SMCReadKey("#KEY", &val); - return _strtoul(val.bytes, val.dataSize, 10); -} - -/*------------------------------------------------------------------------------ - * IMPLEMENTATION - */ - -static void smc_symbol(t_smc* x, t_symbol* key) -{ - DEBUG(post("smc_symbol");); - kern_return_t result; - SMCVal_t val; - t_atom output_atom; - - SMCOpen(); - result = SMCReadKey(key->s_name, &val); - if (result == kIOReturnSuccess) { - x->key = key; - if (val.dataSize > 0) { - if (strcmp(val.dataType, DATATYPE_SP78) == 0) { - int intValue = (val.bytes[0] * 256 + val.bytes[1]) >> 2; - SETFLOAT(&output_atom, intValue / 64.0); - outlet_anything(x->data_outlet, key, 1, &output_atom); - } else if ((strcmp(val.dataType, DATATYPE_UINT8) == 0) || - (strcmp(val.dataType, DATATYPE_UINT16) == 0) || - (strcmp(val.dataType, DATATYPE_UINT32) == 0)) { - SETFLOAT(&output_atom, _strtoul(val.bytes, val.dataSize, 10)); - outlet_anything(x->data_outlet, gensym(val.key), 1, &output_atom); - } else if (strcmp(val.dataType, DATATYPE_FPE2) == 0) { - SETFLOAT(&output_atom, _strtof(val.bytes, val.dataSize, 2)); - outlet_anything(x->data_outlet, gensym(val.key), 1, &output_atom); - } else { - UInt32 i; - t_atom output_list[val.dataSize]; - for (i = 0; i < val.dataSize; i++) - SETFLOAT(output_list + i, (unsigned char) val.bytes[i]); - outlet_anything(x->data_outlet, gensym(val.key), - val.dataSize, output_list); - } - } - - } - SMCClose(); -} - -static void smc_bang(t_smc* x) -{ - smc_symbol(x, x->key); -} - -static void smc_keys(t_smc* x) -{ - DEBUG(post("smc_keys");); - kern_return_t result; - SMCKeyData_t inputStructure; - SMCKeyData_t outputStructure; - - int totalKeys, i; - UInt32Char_t key; - SMCVal_t val; - - SMCOpen(); - totalKeys = SMCReadIndexCount(); - t_atom output_list[totalKeys]; - for (i = 0; i < totalKeys; i++) - { - memset(&inputStructure, 0, sizeof(SMCKeyData_t)); - memset(&outputStructure, 0, sizeof(SMCKeyData_t)); - memset(&val, 0, sizeof(SMCVal_t)); - - inputStructure.data8 = SMC_CMD_READ_INDEX; - inputStructure.data32 = i; - - result = SMCCall(KERNEL_INDEX_SMC, &inputStructure, &outputStructure); - if (result != kIOReturnSuccess) - continue; - - _ultostr(key, outputStructure.key); - SETSYMBOL(output_list + i, gensym(key)); - } - SMCClose(); - outlet_anything(x->status_outlet, gensym("keys"), totalKeys, output_list); -} - -static void smc_info(t_smc* x) -{ - t_atom output_atom; - SETSYMBOL(&output_atom, x->key); - outlet_anything(x->status_outlet, gensym("key"), 1, &output_atom); - smc_keys(x); -} - -static void smc_anything(t_smc* x, t_symbol *s, int argc, t_atom *argv) -{ - DEBUG(post("smc_anything %d", argc);); - if(argc == 0) { - x->key = s; - if(x->key != &s_) smc_bang(x); - } else if(argc == 1) { - /* if there is one symbol and one float, then look up the proper data - * type then convert the float to the proper sequence of bytes */ - SMCVal_t val; - char value = (char) atom_getfloatarg(0, argc, argv); - - x->key = s; - padkeycpy(val.key, x->key->s_name); - val.bytes[0] = (value << 2) / 256; - val.bytes[1] = (value << 2) % 256; - val.dataSize = 2; - SMCOpen(); - SMCWriteKey(val); - SMCClose(); - smc_symbol(x, x->key); - } else { - /* if there is a symbol and a list of bytes, then send that list of - * bytes directly to the key given by the symbol */ - int i; - SMCVal_t val; - x->key = s; - padkeycpy(val.key, x->key->s_name); - for(i = 0; i < argc && i < 32; i++) { - val.bytes[i] = (char) atom_getfloatarg(i, argc, argv); - post(" byte %d: %i", i, val.bytes[i]); - } - val.dataSize = argc; - SMCOpen(); - SMCWriteKey(val); - SMCClose(); - smc_symbol(x, x->key); - } -} - -static void *smc_new(t_symbol* s) -{ - DEBUG(post("smc_new");); - t_smc *x = (t_smc *)pd_new(smc_class); - - x->key = s; - x->data_outlet = outlet_new(&x->x_obj, &s_anything); - x->status_outlet = outlet_new(&x->x_obj, &s_anything); - - return (x); -} - -void smc_setup(void) -{ - smc_class = class_new(gensym("smc"), - (t_newmethod)smc_new, - NULL, - sizeof(t_smc), - CLASS_DEFAULT, - A_DEFSYMBOL, - 0); - /* add inlet datatype methods */ - class_addbang(smc_class,(t_method) smc_bang); - class_addsymbol(smc_class,(t_method) smc_symbol); - class_addmethod(smc_class,(t_method) smc_info, gensym("info"), 0); - class_addmethod(smc_class,(t_method) smc_keys, gensym("keys"), 0); - class_addanything(smc_class,(t_method) smc_anything); -} diff --git a/externals/apple/.svn/text-base/smc.h.svn-base b/externals/apple/.svn/text-base/smc.h.svn-base deleted file mode 100644 index 8c2a2276e..000000000 --- a/externals/apple/.svn/text-base/smc.h.svn-base +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Apple System Management Control (SMC) Tool - * Copyright (C) 2006 devnull - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#ifndef __SMC_H__ -#define __SMC_H__ -#endif - -#define VERSION "0.01" - -#define OP_NONE 0 -#define OP_LIST 1 -#define OP_READ 2 -#define OP_READ_FAN 3 -#define OP_WRITE 4 - -#define KERNEL_INDEX_SMC 2 - -#define SMC_CMD_READ_BYTES 5 -#define SMC_CMD_WRITE_BYTES 6 -#define SMC_CMD_READ_INDEX 8 -#define SMC_CMD_READ_KEYINFO 9 -#define SMC_CMD_READ_PLIMIT 11 -#define SMC_CMD_READ_VERS 12 - -#define DATATYPE_FPE2 "fpe2" -#define DATATYPE_UINT8 "ui8 " -#define DATATYPE_UINT16 "ui16" -#define DATATYPE_UINT32 "ui32" -#define DATATYPE_SP78 "sp78" - -// key values -// lots more here: -// http://discussions.apple.com/thread.jspa?threadID=734247&tstart=0 -#define SMC_KEY_CPU_TEMP "TC0D" -#define SMC_KEY_FAN0_RPM_MIN "F0Mn" -#define SMC_KEY_FAN1_RPM_MIN "F1Mn" -#define SMC_KEY_FAN0_RPM_CUR "F0Ac" -#define SMC_KEY_FAN1_RPM_CUR "F1Ac" - - -typedef struct { - char major; - char minor; - char build; - char reserved[1]; - UInt16 release; -} SMCKeyData_vers_t; - -typedef struct { - UInt16 version; - UInt16 length; - UInt32 cpuPLimit; - UInt32 gpuPLimit; - UInt32 memPLimit; -} SMCKeyData_pLimitData_t; - -typedef struct { - UInt32 dataSize; - UInt32 dataType; - char dataAttributes; -} SMCKeyData_keyInfo_t; - -typedef char SMCBytes_t[32]; - -typedef struct { - UInt32 key; - SMCKeyData_vers_t vers; - SMCKeyData_pLimitData_t pLimitData; - SMCKeyData_keyInfo_t keyInfo; - char result; - char status; - char data8; - UInt32 data32; - SMCBytes_t bytes; -} SMCKeyData_t; - -typedef char UInt32Char_t[5]; - -typedef struct { - UInt32Char_t key; - UInt32 dataSize; - UInt32Char_t dataType; - SMCBytes_t bytes; -} SMCVal_t; - - -// prototypes -//double SMCGetTemperature(char *key); -//kern_return_t SMCSetFanRpm(char *key, int rpm); -//int SMCGetFanRpm(char *key); - diff --git a/externals/apple/.svn/text-base/sudden_motion_sensor-help.pd.svn-base b/externals/apple/.svn/text-base/sudden_motion_sensor-help.pd.svn-base deleted file mode 100644 index aee39b71d..000000000 --- a/externals/apple/.svn/text-base/sudden_motion_sensor-help.pd.svn-base +++ /dev/null @@ -1,62 +0,0 @@ -#N canvas 162 65 562 428 10; -#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header sudden_motion_sensor -3 12 0 18 -241536 -1 0; -#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 --245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 499 377 pd META; -#X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 -13 -245500 -191407 0; -#X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 -12 0 13 -245500 -191407 0; -#X obj 374 6 pddp/pddplink http://wiki.puredata.info/en/apple/sudden_motion_sensor --text pdpedia: sudden_motion_sensor; -#X text 102 208 bang - output current screen brightness; -#X msg 146 48 bang; -#X msg 179 73 info; -#X floatatom 146 155 5 0 0 3 z - -; -#X floatatom 182 155 5 0 0 3 y - -; -#X text 216 73 output info on right outlet; -#X obj 73 73 metro 250; -#X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1 -; -#X text 183 46 output sensor values; -#X text 102 227 "info" - outputs info about the sensor on the right -outlet; -#X obj 72 305 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 --162280 0; -#X obj 72 279 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 --162280 0; -#X text 103 276 list - a list with the values of the left and right -sensors; -#X text 103 306 selector series with info about the sensor; -#X text 15 6 description: query the sudden motion sensor in Apples -; -#X obj 389 -14 apple/sudden_motion_sensor; -#X obj 146 101 apple/sudden_motion_sensor; -#X obj 299 153 pddp/print; -#X obj 299 129 route sensor; -#X obj 104 364 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/sms/ -; -#X obj 146 129 unpack 0 0 0; -#X floatatom 219 155 5 0 0 3 z - -; -#X connect 7 0 22 0; -#X connect 8 0 22 0; -#X connect 12 0 22 0; -#X connect 13 0 12 0; -#X connect 22 0 26 0; -#X connect 22 1 24 0; -#X connect 24 0 23 0; -#X connect 26 0 9 0; -#X connect 26 1 10 0; -#X connect 26 2 27 0; diff --git a/externals/apple/.svn/text-base/sudden_motion_sensor.c.svn-base b/externals/apple/.svn/text-base/sudden_motion_sensor.c.svn-base deleted file mode 100644 index a5dffae81..000000000 --- a/externals/apple/.svn/text-base/sudden_motion_sensor.c.svn-base +++ /dev/null @@ -1,222 +0,0 @@ -/* --------------------------------------------------------------------------*/ -/* */ -/* read the sudden motion sensor on Apple Mac OS X */ -/* Written by Hans-Christoph Steiner <hans@eds.org> */ -/* */ -/* Copyright (c) 2008 Free Software Foundation */ -/* */ -/* This program is free software; you can redistribute it and/or */ -/* modify it under the terms of the GNU General Public License */ -/* as published by the Free Software Foundation; either version 2 */ -/* of the License, or (at your option) any later version. */ -/* */ -/* See file LICENSE for further informations on licensing terms. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program; if not, write to the Free Software Foundation, */ -/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* */ -/* --------------------------------------------------------------------------*/ - -#include <mach/mach.h> -#include <IOKit/IOKitLib.h> -#include <CoreFoundation/CoreFoundation.h> -#include <CoreServices/CoreServices.h> -#include <m_pd.h> - -#define DEBUG(x) -//#define DEBUG(x) x - -/*------------------------------------------------------------------------------ - * CLASS DEF - */ - -static t_class *sudden_motion_sensor_class; - -typedef struct _sudden_motion_sensor { - t_object x_obj; - t_symbol* sensor_name; - - io_connect_t io_connect; - int kernel_function; - int data_size; - - t_outlet* data_outlet; - t_outlet* status_outlet; -} t_sudden_motion_sensor; - -struct data { - char x; - char y; - char z; - char pad[57]; -}; - -/*------------------------------------------------------------------------------ - * IMPLEMENTATION - */ - -static void sudden_motion_sensor_output(t_sudden_motion_sensor* x) -{ - DEBUG(post("sudden_motion_sensor_output");); - t_atom output_atoms[3]; - - kern_return_t kern_return; - mach_port_t mach_port; - io_iterator_t io_iterator; - io_object_t io_object; - io_connect_t io_connect; - int kernel_function, sizeof_data; - - IOItemCount structureInputSize; - IOByteCount structureOutputSize; - - struct data inputStructure; - struct data outputStructure; - - kern_return = IOMasterPort(MACH_PORT_NULL, &mach_port); - if (kern_return != KERN_SUCCESS) - { - pd_error(x, "[sudden_motion_sensor]: cannot get mach_port"); - return; - } - - //PowerBookG4, iBookG4 - kern_return = IOServiceGetMatchingServices(mach_port, IOServiceMatching("IOI2CMotionSensor"), &io_iterator); - if (kern_return == KERN_SUCCESS && io_iterator != 0) - { - x->sensor_name = gensym("IOI2CMotionSensor"); - sizeof_data = 60; - kernel_function = 21; - goto FOUND_SENSOR; - } - // - kern_return = IOServiceGetMatchingServices(mach_port, IOServiceMatching("PMUMotionSensor"), &io_iterator); - if(kern_return == KERN_SUCCESS && io_iterator != 0) - { - x->sensor_name = gensym("PMUMotionSensor"); - sizeof_data = 60; - kernel_function = 21; - goto FOUND_SENSOR; - } - // MacBook Pro - kern_return = IOServiceGetMatchingServices(mach_port, IOServiceMatching("SMCMotionSensor"), &io_iterator); - if(kern_return == KERN_SUCCESS && io_iterator != 0) - { - x->sensor_name = gensym("SMCMotionSensor"); - sizeof_data = 40; - kernel_function = 5; - goto FOUND_SENSOR; - } - - pd_error(x,"[sudden_motion_sensor]: cannot find motionsensor\n"); - return; - - -FOUND_SENSOR: - io_object = IOIteratorNext(io_iterator); - IOObjectRelease(io_iterator); - - if(!io_object) - { - pd_error(x,"[sudden_motion_sensor]: No motion sensor available."); - return; - } - - kern_return = IOServiceOpen(io_object, mach_task_self(), 0, &io_connect); - IOObjectRelease(io_object); - - if(kern_return != KERN_SUCCESS) - { - pd_error(x,"[sudden_motion_sensor]: Could not open motion sensor device."); - return; - } - - structureInputSize = sizeof_data; //sizeof(struct data); - structureOutputSize = sizeof_data; //sizeof(struct data); - - memset(&inputStructure, 0, sizeof(inputStructure)); - memset(&outputStructure, 0, sizeof(outputStructure)); - -#if !defined(__LP64__) - // Check if Mac OS X 10.5/10.6 API is available... - SInt32 MacVersion; - if ((Gestalt(gestaltSystemVersion, &MacVersion) == noErr) && (MacVersion >= 0x1060)) { - // ...and use it if it is. -#endif -#ifdef AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER - kern_return = IOConnectCallStructMethod( - io_connect, // an io_connect_t returned from IOServiceOpen(). - kernel_function, // selector of the function to be called via the user client. - &inputStructure, // pointer to the input struct parameter. - structureInputSize, // the size of the input structure parameter. - &outputStructure, // pointer to the output struct parameter. - &structureOutputSize// pointer to the size of the output structure parameter. - ); -#endif -#if !defined(__LP64__) - } - else { - // Otherwise fall back to older API. - kern_return = IOConnectMethodStructureIStructureO( - io_connect, // an io_connect_t returned from IOServiceOpen(). - kernel_function, // an index to the function to be called via the user client. - structureInputSize, // the size of the input struct paramter. - &structureOutputSize,// a pointer to the size of the output struct paramter. - &inputStructure, // a pointer to the input struct parameter. - &outputStructure); // a pointer to the output struct parameter. - } -#endif - - if( kern_return == KERN_SUCCESS) - { - SETFLOAT(output_atoms, outputStructure.x); - SETFLOAT(output_atoms + 1, outputStructure.y); - SETFLOAT(output_atoms + 2, outputStructure.z); - outlet_list(x->data_outlet, &s_list, 3, output_atoms); - } - else if(kern_return == kIOReturnBusy) - pd_error(x,"[sudden_motion_sensor]: device busy"); - else - pd_error(x,"[sudden_motion_sensor]: could not read device"); - IOServiceClose(io_connect); -} - - -static void sudden_motion_sensor_info(t_sudden_motion_sensor* x) -{ - t_atom output_atom; - SETSYMBOL(&output_atom, x->sensor_name); - outlet_anything(x->status_outlet, gensym("sensor"), 1, &output_atom); -} - - -static void *sudden_motion_sensor_new(void) -{ - DEBUG(post("sudden_motion_sensor_new");); - t_sudden_motion_sensor *x = (t_sudden_motion_sensor *)pd_new(sudden_motion_sensor_class); - - x->data_outlet = outlet_new(&x->x_obj, &s_list); - x->status_outlet = outlet_new(&x->x_obj, &s_anything); - - return (x); -} - -void sudden_motion_sensor_setup(void) -{ - sudden_motion_sensor_class = class_new(gensym("sudden_motion_sensor"), - (t_newmethod)sudden_motion_sensor_new, - NULL, - sizeof(t_sudden_motion_sensor), - CLASS_DEFAULT, - 0); - /* add inlet datatype methods */ - class_addbang(sudden_motion_sensor_class,(t_method) sudden_motion_sensor_output); - class_addmethod(sudden_motion_sensor_class,(t_method) sudden_motion_sensor_info, - gensym("info"), 0); -} diff --git a/externals/apple/ambient_light_sensor-help.pd b/externals/apple/ambient_light_sensor-help.pd index 576e44629..4cd46ae0c 100644 --- a/externals/apple/ambient_light_sensor-help.pd +++ b/externals/apple/ambient_light_sensor-help.pd @@ -1,20 +1,8 @@ -#N canvas 259 213 560 421 10; +#N canvas 260 238 560 421 10; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header ambient_light_sensor 3 12 0 18 -241536 -1 0; #X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 -245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X text 12 5 GENRE storage; -#X restore 500 373 pd META; #X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 13 -245500 -191407 0; #X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 @@ -31,8 +19,8 @@ #X msg 146 48 bang; #X msg 179 73 info; #X obj 146 129 unpack; -#X floatatom 146 155 5 0 0 0 left - -; -#X floatatom 182 155 5 0 0 1 right - -; +#X floatatom 146 155 5 0 0 0 left - -, f 5; +#X floatatom 182 155 5 0 0 1 right - -, f 5; #X obj 263 153 pddp/print; #X text 216 73 output info on right outlet; #X obj 263 129 route sensor; @@ -49,12 +37,12 @@ outlet; #X text 103 276 list - a list with the values of the left and right sensors; #X text 103 306 selector series with info about the sensor; -#X connect 10 0 13 0; -#X connect 10 1 18 0; -#X connect 11 0 10 0; -#X connect 12 0 10 0; -#X connect 13 0 14 0; -#X connect 13 1 15 0; -#X connect 18 0 16 0; -#X connect 19 0 10 0; -#X connect 20 0 19 0; +#X connect 9 0 12 0; +#X connect 9 1 17 0; +#X connect 10 0 9 0; +#X connect 11 0 9 0; +#X connect 12 0 13 0; +#X connect 12 1 14 0; +#X connect 17 0 15 0; +#X connect 18 0 9 0; +#X connect 19 0 18 0; diff --git a/externals/apple/brightness-help.pd b/externals/apple/brightness-help.pd index ced5bdfab..afd2ffb1a 100644 --- a/externals/apple/brightness-help.pd +++ b/externals/apple/brightness-help.pd @@ -1,20 +1,8 @@ -#N canvas 180 29 562 479 10; +#N canvas 181 54 562 479 10; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header brightness 3 12 0 18 -241536 -1 0; #X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13 -245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 504 430 pd META; #X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 15 12 0 13 -245500 -191407 0; #X obj 3 308 cnv 3 550 3 empty \$0-pddp.cnv.argument argument 15 12 @@ -26,10 +14,10 @@ #X obj 104 394 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/ ; #X msg 197 39 bang; -#X floatatom 197 153 5 0 0 0 - - -; +#X floatatom 197 153 5 0 0 0 - - -, f 5; #X obj 216 73 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; -#X floatatom 229 97 5 0 0 0 - - -; +#X floatatom 229 97 5 0 0 0 - - -, f 5; #X text 15 6 description: query and control screen brightness on Apples ; #X obj 446 -14 apple/brightness; @@ -41,7 +29,7 @@ #X text 102 228 float - set the screen brightness (between 0 and 1) ; #X obj 197 122 apple/brightness; -#X connect 8 0 18 0; -#X connect 10 0 11 0; -#X connect 10 0 18 0; -#X connect 18 0 9 0; +#X connect 7 0 17 0; +#X connect 9 0 10 0; +#X connect 9 0 17 0; +#X connect 17 0 8 0; diff --git a/externals/apple/cpu_temperature-help.pd b/externals/apple/cpu_temperature-help.pd index 52135587c..c25d79b19 100644 --- a/externals/apple/cpu_temperature-help.pd +++ b/externals/apple/cpu_temperature-help.pd @@ -1,20 +1,8 @@ -#N canvas 259 213 560 421 10; +#N canvas 260 238 560 421 10; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header cpu_temperature 3 12 0 18 -241536 -1 0; #X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 -245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X text 12 5 GENRE storage; -#X restore 500 373 pd META; #X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 13 -245500 -191407 0; #X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 @@ -34,10 +22,10 @@ -162280 0; #X text 103 276 list - a list with the values of the left and right sensors; -#X floatatom 146 144 5 0 0 0 - - -; +#X floatatom 146 144 5 0 0 0 - - -, f 5; #X obj 146 101 apple/cpu_temperature; #X text 15 6 description: query the CPU temperature in Apples; -#X connect 9 0 16 0; -#X connect 10 0 16 0; -#X connect 11 0 10 0; -#X connect 16 0 15 0; +#X connect 8 0 15 0; +#X connect 9 0 15 0; +#X connect 10 0 9 0; +#X connect 15 0 14 0; diff --git a/externals/apple/fans-help.pd b/externals/apple/fans-help.pd index 92efa6bde..1daba39f3 100644 --- a/externals/apple/fans-help.pd +++ b/externals/apple/fans-help.pd @@ -1,20 +1,8 @@ -#N canvas 273 22 560 421 10; +#N canvas 274 47 560 421 10; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header fans 3 12 0 18 -241536 -1 0; #X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 -245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X text 12 5 GENRE storage; -#X restore 500 373 pd META; #X obj 3 262 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 13 -245500 -191407 0; #X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 @@ -30,39 +18,39 @@ #X obj 146 101 apple/fans; #X text 15 6 description: query the system fans in Apples; #X text 94 201 bang - output all data about all fans; -#X floatatom 146 147 5 0 0 0 - - -; -#X floatatom 180 147 5 0 0 0 - - -; -#X floatatom 215 147 5 0 0 0 - - -; +#X floatatom 146 147 5 0 0 0 - - -, f 5; +#X floatatom 180 147 5 0 0 0 - - -, f 5; +#X floatatom 215 147 5 0 0 0 - - -, f 5; #X obj 173 75 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144 -1 --1 1; +-1 0; #X text 302 73 choose a specific fan; #X text 94 221 float - output all data about a specific fan; -#X floatatom 249 147 5 0 0 0 - - -; -#X floatatom 284 147 5 0 0 0 - - -; +#X floatatom 249 147 5 0 0 0 - - -, f 5; +#X floatatom 284 147 5 0 0 0 - - -, f 5; #X obj 72 309 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 -162280 0; #X text 103 280 messages with the values of the various data; #X text 104 306 messages with status information; #X text 94 241 symbol - output a specific data about a specific fan ; -#X floatatom 318 147 5 0 0 0 - - -; +#X floatatom 318 147 5 0 0 0 - - -, f 5; #X obj 146 125 route F0Ac F0Mn F0Mx F0Mt F0Sf F0Tg F0ID; #X obj 73 73 metro 2000; #X obj 485 -14 apple/fans; #X obj 356 147 moocow/string2any; #X obj 356 170 pddp/print; #X obj 83 139 print; -#X connect 6 0 10 0; -#X connect 7 0 27 0; -#X connect 10 0 26 0; -#X connect 10 0 31 0; -#X connect 16 0 10 0; -#X connect 26 0 13 0; -#X connect 26 1 14 0; -#X connect 26 2 15 0; -#X connect 26 3 19 0; -#X connect 26 4 20 0; -#X connect 26 5 25 0; -#X connect 26 6 29 0; -#X connect 27 0 10 0; -#X connect 29 0 30 0; +#X connect 5 0 9 0; +#X connect 6 0 26 0; +#X connect 9 0 25 0; +#X connect 9 0 30 0; +#X connect 15 0 9 0; +#X connect 25 0 12 0; +#X connect 25 1 13 0; +#X connect 25 2 14 0; +#X connect 25 3 18 0; +#X connect 25 4 19 0; +#X connect 25 5 24 0; +#X connect 25 6 28 0; +#X connect 26 0 9 0; +#X connect 28 0 29 0; diff --git a/externals/apple/iodisplay-help.pd b/externals/apple/iodisplay-help.pd index 6a3c679a6..05f4d8056 100644 --- a/externals/apple/iodisplay-help.pd +++ b/externals/apple/iodisplay-help.pd @@ -1,20 +1,8 @@ -#N canvas 392 89 560 598 10; +#N canvas 393 98 560 598 10; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header iodisplay 3 12 0 18 -241536 -1 0; #X obj 3 179 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13 -245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 504 549 pd META; #X obj 3 271 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 15 12 0 13 -245500 -191407 0; #X obj 3 321 cnv 3 550 3 empty \$0-pddp.cnv.argument argument 15 12 @@ -35,7 +23,7 @@ Apple; #X msg 81 33 bang; #X obj 103 58 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; -#X floatatom 116 82 5 0 0 0 - - -; +#X floatatom 116 82 5 0 0 0 - - -, f 5; #X obj 81 140 pddp/print; #X obj 81 107 iodisplay brightness; #X text 102 339 symbol - name of the IODisplay parameter to control @@ -67,16 +55,16 @@ Apple; #X msg 291 33 bang; #X obj 306 59 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; -#X floatatom 319 83 5 0 0 0 - - -; +#X floatatom 319 83 5 0 0 0 - - -, f 5; #X obj 291 140 pddp/print; #X msg 366 83 symbol brightness; #X obj 291 107 iodisplay; -#X connect 12 0 16 0; -#X connect 13 0 14 0; -#X connect 13 0 16 0; -#X connect 16 0 15 0; -#X connect 39 0 44 0; -#X connect 40 0 41 0; -#X connect 40 0 44 0; -#X connect 43 0 44 1; -#X connect 44 0 42 0; +#X connect 11 0 15 0; +#X connect 12 0 13 0; +#X connect 12 0 15 0; +#X connect 15 0 14 0; +#X connect 38 0 43 0; +#X connect 39 0 40 0; +#X connect 39 0 43 0; +#X connect 42 0 43 1; +#X connect 43 0 41 0; diff --git a/externals/apple/keyboard_layout-help.pd b/externals/apple/keyboard_layout-help.pd index f7ecfdd20..b31baade6 100644 --- a/externals/apple/keyboard_layout-help.pd +++ b/externals/apple/keyboard_layout-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 26 553 346 10; +#N canvas 236 202 553 346 10; #X msg 116 32 bang; #X msg 144 63 menu; #X obj 242 244 flatgui/popup 124 25 #ffffff _ option; @@ -10,28 +10,16 @@ #X text 250 283 select a new input method with the popup menu; #X obj 202 185 bang; #X msg 197 208 name language; -#N canvas 231 99 494 344 META 0; -#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan -Wilkes for Pd version 0.42.; -#X text 12 25 LICENSE GPL v3; -#X text 12 125 AUTHOR Hans-Christoph Steiner; -#X text 12 5 KEYWORDS control GUI needs_work (object won't create) -; -#X text 12 45 DESCRIPTION needs a description; -#X text 12 65 INLET_0 bang menu symbol; -#X text 12 85 OUTLET_0; -#X text 12 105 OUTLET_1; -#X restore 502 322 pd META; #X obj 116 144 keyboard_layout; -#X connect 0 0 12 0; -#X connect 1 0 12 0; +#X connect 0 0 11 0; +#X connect 1 0 11 0; #X connect 2 1 7 0; #X connect 3 0 2 0; #X connect 4 0 9 0; #X connect 4 1 2 0; -#X connect 7 0 12 0; +#X connect 7 0 11 0; #X connect 9 0 3 0; #X connect 9 0 10 0; #X connect 10 0 2 0; -#X connect 12 0 5 0; -#X connect 12 1 4 0; +#X connect 11 0 5 0; +#X connect 11 1 4 0; diff --git a/externals/apple/keyboard_light-help.pd b/externals/apple/keyboard_light-help.pd index 5a05e9773..04fcf8ffd 100644 --- a/externals/apple/keyboard_light-help.pd +++ b/externals/apple/keyboard_light-help.pd @@ -1,22 +1,10 @@ -#N canvas 165 58 563 577 10; +#N canvas 166 83 563 577 10; #X obj 4 529 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -228856 -66577 0; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header keyboard_light 3 12 0 18 -241536 -1 0; #X obj 3 239 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13 -245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 504 531 pd META; #X obj 3 359 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 15 12 0 13 -245500 -191407 0; #X obj 3 409 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 15 12 @@ -55,14 +43,14 @@ Apples; #X msg 125 39 bang; #X obj 158 70 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 10 -204786 -1 -1 0 0; -#X floatatom 135 214 5 0 0 0 - - -; +#X floatatom 135 214 5 0 0 0 - - -, f 5; #X obj 135 177 apple/keyboard_light; #X text 293 69 light level; #X obj 255 91 hsl 128 15 40 4000 1 0 empty empty empty -2 -6 0 10 -204800 -1 -1 0 0; #X text 390 90 fade time; -#X floatatom 261 110 5 0 0 0 - - -; -#X floatatom 164 93 5 0 0 0 - - -; +#X floatatom 261 110 5 0 0 0 - - -, f 5; +#X floatatom 164 93 5 0 0 0 - - -, f 5; #X text 209 136 set level and fade as a list; #X msg 164 147 0 50; #X msg 160 125 1 1000; @@ -79,11 +67,11 @@ and 1); keyboard light level \, the second sets the fade time.; #X obj 104 495 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/ ; -#X connect 13 0 16 0; -#X connect 14 0 16 0; -#X connect 14 0 21 0; -#X connect 16 0 15 0; -#X connect 18 0 16 1; -#X connect 18 0 20 0; -#X connect 23 0 16 0; -#X connect 24 0 16 0; +#X connect 12 0 15 0; +#X connect 13 0 15 0; +#X connect 13 0 20 0; +#X connect 15 0 14 0; +#X connect 17 0 15 1; +#X connect 17 0 19 0; +#X connect 22 0 15 0; +#X connect 23 0 15 0; diff --git a/externals/apple/multitouch-help.pd b/externals/apple/multitouch-help.pd index 1732f2f35..6cc1d93df 100644 --- a/externals/apple/multitouch-help.pd +++ b/externals/apple/multitouch-help.pd @@ -1,20 +1,8 @@ -#N canvas 147 22 562 447 10; +#N canvas 148 47 562 447 10; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header multitouch 3 12 0 18 -241536 -1 0; #X obj 3 220 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 -245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X text 12 5 GENRE storage; -#X restore 500 404 pd META; #X obj 3 289 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 13 -245500 -191407 0; #X obj 3 369 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 @@ -44,34 +32,34 @@ outlet; #X text 103 311 a list of values for each touch that is being tracked ; #X obj 104 395 pddp/pddplink http://steike.com/code/multitouch/; -#X floatatom 6 179 5 0 0 3 finger - -; -#X floatatom 45 179 5 0 0 3 frame - -; -#X floatatom 81 179 5 0 0 3 angle - -; -#X floatatom 120 179 5 0 0 3 majorAxis - -; -#X floatatom 178 179 5 0 0 3 minorAxis - -; +#X floatatom 6 179 5 0 0 3 finger - -, f 5; +#X floatatom 45 179 5 0 0 3 frame - -, f 5; +#X floatatom 81 179 5 0 0 3 angle - -, f 5; +#X floatatom 120 179 5 0 0 3 majorAxis - -, f 5; +#X floatatom 178 179 5 0 0 3 minorAxis - -, f 5; #X obj 146 145 unpack 0 0 0 0 0 0 0 0 0 0 0 0; -#X floatatom 236 179 5 0 0 3 x - -; -#X floatatom 274 179 5 0 0 3 y - -; -#X floatatom 307 179 5 0 0 3 x-velocity - -; -#X floatatom 368 179 5 0 0 3 Y-velocity - -; -#X floatatom 431 179 5 0 0 3 ID - -; -#X floatatom 469 179 5 0 0 3 state - -; -#X floatatom 509 179 5 0 0 3 size - -; -#X connect 7 0 28 0; -#X connect 7 1 10 0; -#X connect 8 0 7 0; -#X connect 9 0 7 0; -#X connect 12 0 7 0; -#X connect 13 0 12 0; -#X connect 28 0 23 0; -#X connect 28 1 24 0; -#X connect 28 2 25 0; -#X connect 28 3 26 0; -#X connect 28 4 27 0; -#X connect 28 5 29 0; -#X connect 28 6 30 0; -#X connect 28 7 31 0; -#X connect 28 8 32 0; -#X connect 28 9 33 0; -#X connect 28 10 34 0; -#X connect 28 11 35 0; +#X floatatom 236 179 5 0 0 3 x - -, f 5; +#X floatatom 274 179 5 0 0 3 y - -, f 5; +#X floatatom 307 179 5 0 0 3 x-velocity - -, f 5; +#X floatatom 368 179 5 0 0 3 Y-velocity - -, f 5; +#X floatatom 431 179 5 0 0 3 ID - -, f 5; +#X floatatom 469 179 5 0 0 3 state - -, f 5; +#X floatatom 509 179 5 0 0 3 size - -, f 5; +#X connect 6 0 27 0; +#X connect 6 1 9 0; +#X connect 7 0 6 0; +#X connect 8 0 6 0; +#X connect 11 0 6 0; +#X connect 12 0 11 0; +#X connect 27 0 22 0; +#X connect 27 1 23 0; +#X connect 27 2 24 0; +#X connect 27 3 25 0; +#X connect 27 4 26 0; +#X connect 27 5 28 0; +#X connect 27 6 29 0; +#X connect 27 7 30 0; +#X connect 27 8 31 0; +#X connect 27 9 32 0; +#X connect 27 10 33 0; +#X connect 27 11 34 0; diff --git a/externals/apple/smc-help.pd b/externals/apple/smc-help.pd index a580f6006..eccb52ad9 100644 --- a/externals/apple/smc-help.pd +++ b/externals/apple/smc-help.pd @@ -1,20 +1,8 @@ -#N canvas 235 77 559 441 10; +#N canvas 236 102 559 441 10; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header smc 3 12 0 18 -241536 -1 0; #X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 -245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 504 400 pd META; #X obj 3 262 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 13 -245500 -191407 0; #X obj 3 341 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 @@ -50,11 +38,11 @@ pdpedia: apple/smc; #X text 102 241 keys - output all available keys in the right outlet ; #X text 16 34 get data:; -#X connect 5 0 9 0; -#X connect 9 0 13 0; -#X connect 9 0 15 0; -#X connect 9 1 10 0; -#X connect 16 0 9 0; -#X connect 17 0 9 0; -#X connect 18 0 9 0; -#X connect 21 0 9 0; +#X connect 4 0 8 0; +#X connect 8 0 12 0; +#X connect 8 0 14 0; +#X connect 8 1 9 0; +#X connect 15 0 8 0; +#X connect 16 0 8 0; +#X connect 17 0 8 0; +#X connect 20 0 8 0; diff --git a/externals/apple/sudden_motion_sensor-help.pd b/externals/apple/sudden_motion_sensor-help.pd index aee39b71d..a772b22db 100644 --- a/externals/apple/sudden_motion_sensor-help.pd +++ b/externals/apple/sudden_motion_sensor-help.pd @@ -1,20 +1,8 @@ -#N canvas 162 65 562 428 10; +#N canvas 163 90 562 428 10; #X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header sudden_motion_sensor 3 12 0 18 -241536 -1 0; #X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 -245500 -191407 0; -#N canvas 779 22 494 344 META 0; -#X text 12 25 KEYWORDS control number float store; -#X text 12 45 LICENSE GPL; -#X text 12 65 TEMPLATE template-help.pd v0.1; -#X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 105 DATATYPE float list; -#X text 12 5 GENRE storage; -#X text 12 125 LIBRARY internal; -#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_DATE 2007-08-24; -#X text 12 185 RELEASE_VERSION 0.40-test05; -#X restore 499 377 pd META; #X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 13 -245500 -191407 0; #X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 @@ -24,8 +12,8 @@ #X text 102 208 bang - output current screen brightness; #X msg 146 48 bang; #X msg 179 73 info; -#X floatatom 146 155 5 0 0 3 z - -; -#X floatatom 182 155 5 0 0 3 y - -; +#X floatatom 146 155 5 0 0 3 z - -, f 5; +#X floatatom 182 155 5 0 0 3 y - -, f 5; #X text 216 73 output info on right outlet; #X obj 73 73 metro 250; #X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1 @@ -49,14 +37,14 @@ sensors; #X obj 104 364 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/sms/ ; #X obj 146 129 unpack 0 0 0; -#X floatatom 219 155 5 0 0 3 z - -; -#X connect 7 0 22 0; -#X connect 8 0 22 0; -#X connect 12 0 22 0; -#X connect 13 0 12 0; -#X connect 22 0 26 0; -#X connect 22 1 24 0; -#X connect 24 0 23 0; -#X connect 26 0 9 0; -#X connect 26 1 10 0; -#X connect 26 2 27 0; +#X floatatom 219 155 5 0 0 3 z - -, f 5; +#X connect 6 0 21 0; +#X connect 7 0 21 0; +#X connect 11 0 21 0; +#X connect 12 0 11 0; +#X connect 21 0 25 0; +#X connect 21 1 23 0; +#X connect 23 0 22 0; +#X connect 25 0 8 0; +#X connect 25 1 9 0; +#X connect 25 2 26 0; diff --git a/externals/cxc/proc-help.pd b/externals/cxc/proc-help.pd index e56f68d2f..1abf2ef33 100644 --- a/externals/cxc/proc-help.pd +++ b/externals/cxc/proc-help.pd @@ -1,11 +1,11 @@ -#N canvas 0 31 658 496 10; +#N canvas 184 127 658 496 10; #X obj 151 118 proc; #X text 96 15 interface to the linux proc filesystem; #X msg 88 80 cpuinfo; #X obj 27 281 unpack f f f; -#X floatatom 25 304 5 0 0 0 - - -; -#X floatatom 67 305 5 0 0 0 - - -; -#X floatatom 109 304 5 0 0 0 - - -; +#X floatatom 25 304 5 0 0 0 - - -, f 5; +#X floatatom 67 305 5 0 0 0 - - -, f 5; +#X floatatom 109 304 5 0 0 0 - - -, f 5; #X text 37 254 cpu-id \, cpu-mhz \, bogomips; #X obj 151 147 print proc_raw; #X msg 151 94 proc \$1; @@ -16,17 +16,17 @@ #X msg 389 38 blubb; #X obj 242 276 unpack f f; #X text 241 255 uptime in s \, idle-time in s; -#X floatatom 241 301 5 0 0 0 - - -; -#X floatatom 302 305 5 0 0 0 - - -; +#X floatatom 241 301 5 0 0 0 - - -, f 5; +#X floatatom 302 305 5 0 0 0 - - -, f 5; #X msg 237 38 loadavg; #X msg 297 39 version; #X obj 174 349 unpack f f f f f f; -#X floatatom 172 373 5 0 0 0 - - -; -#X floatatom 187 397 5 0 0 0 - - -; -#X floatatom 220 373 5 0 0 0 - - -; -#X floatatom 238 397 5 0 0 0 - - -; -#X floatatom 271 372 5 0 0 0 - - -; -#X floatatom 289 396 5 0 0 0 - - -; +#X floatatom 172 373 5 0 0 0 - - -, f 5; +#X floatatom 187 397 5 0 0 0 - - -, f 5; +#X floatatom 220 373 5 0 0 0 - - -, f 5; +#X floatatom 238 397 5 0 0 0 - - -, f 5; +#X floatatom 271 372 5 0 0 0 - - -, f 5; +#X floatatom 289 396 5 0 0 0 - - -, f 5; #X text 315 345 apparently the loadavg format is something liek this ; #X text 318 359 my manpage seems outdated ...; @@ -38,16 +38,15 @@ #X text 339 438 5: num of processes now total; #X obj 27 234 route cpuinfo uptime loadavg version stat; #X obj 458 241 unpack f f f; -#X floatatom 458 267 5 0 0 0 - - -; -#X floatatom 484 293 5 0 0 0 - - -; -#X floatatom 516 266 5 0 0 0 - - -; +#X floatatom 458 267 5 0 0 0 - - -, f 5; +#X floatatom 484 293 5 0 0 0 - - -, f 5; +#X floatatom 516 266 5 0 0 0 - - -, f 5; #X text 462 215 uname -r; #X text 307 82 really useless stuff but maybe good for estimating number of voices in self-generating patches; -#N canvas 176 129 494 344 META 0; +#N canvas 177 154 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 5 GENRE help; #X text 12 25 KEYWORDS control filesystem; #X text 12 65 DESCRIPTION interface to the linux proc filesystem; #X text 12 85 INLET_0 anything; diff --git a/externals/ekext/maskxor-help.pd b/externals/ekext/maskxor-help.pd index 0e81fd0fc..350b3e52b 100644 --- a/externals/ekext/maskxor-help.pd +++ b/externals/ekext/maskxor-help.pd @@ -1,10 +1,10 @@ -#N canvas 0 31 956 304 10; +#N canvas 35 223 956 304 10; #X obj 368 207 maskxor; #X obj 457 63 t b b; #X msg 38 157 bang; -#X floatatom 390 247 5 0 0 0 - - -; -#X floatatom 368 264 5 0 0 0 - - -; -#X floatatom 254 122 5 0 0 0 - - -; +#X floatatom 390 247 5 0 0 0 - - -, f 5; +#X floatatom 368 264 5 0 0 0 - - -, f 5; +#X floatatom 254 122 5 0 0 0 - - -, f 5; #X msg 457 46 bang; #X msg 457 80 listl 1 1 0 0 0 1 1; #X msg 500 97 listr 0 1 1 0 2 1 0; @@ -77,8 +77,7 @@ is GNU software.; #X text 847 105 |; #X text 847 114 |; #X text 759 65 <; -#N canvas 355 347 494 344 META 0; -#X text 12 5 GENRE help; +#N canvas 356 352 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes for Pd-extended 0.42 to conform to the PDDP template.; #X text 12 45 LICENSE GPL v3; diff --git a/externals/ekext/voicing_detector~-help.pd b/externals/ekext/voicing_detector~-help.pd index af82432f7..e00b48a79 100644 --- a/externals/ekext/voicing_detector~-help.pd +++ b/externals/ekext/voicing_detector~-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 31 486 356 10; +#N canvas 270 197 486 356 10; #N canvas 119 189 450 300 voxdetect 0; #X obj 150 156 voicing_detector~; #X obj 150 99 inlet~; @@ -58,14 +58,14 @@ #X connect 10 0 9 0; #X restore 139 86 pd load; #N canvas 0 22 450 300 (subpatch) 0; -#X array \$0-voice 88800 float 0; +#X array \$0-voice 88800 float 0 black black; #X coords 0 1 88799 -1 100 70 1; #X restore 281 55 graph; -#X floatatom 96 234 5 0 0 0 - - -; +#X floatatom 96 234 5 0 0 0 - - -, f 5; #X obj 166 233 dac~; #X obj 217 44 vsl 15 101 0 100 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; -#X floatatom 193 168 5 0 0 0 - - -; +#X floatatom 193 168 5 0 0 0 - - -, f 5; #X text 79 253 The voicing detector estimates whether a frame of speech is voiced (uses the vocal chords) or unvoiced (does not).; #X text 128 318 (Gnu) Edward Kelly and Nicolas Chetry 2005; @@ -74,8 +74,7 @@ is voiced (uses the vocal chords) or unvoiced (does not).; 0 1; #X obj 124 162 adc~; #X obj 93 291 pddp/pddplink voicing_detector~test3-help.pd; -#N canvas 397 190 494 344 META 0; -#X text 12 5 GENRE help; +#N canvas 398 215 494 344 META 0; #X text 12 195 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes for Pd-extended 0.42 to conform to the PDDP template.; #X text 12 45 LICENSE GPL v3; diff --git a/externals/ggee/signal/mixer~-help.pd b/externals/ggee/signal/mixer~-help.pd index 19602ea5f..3461cafa6 100644 --- a/externals/ggee/signal/mixer~-help.pd +++ b/externals/ggee/signal/mixer~-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 26 610 404 10; +#N canvas 208 173 610 404 10; #X obj 163 120 osc~ 220; #X obj 186 297 dac~; #X obj 163 140 *~ 0.1; @@ -43,8 +43,7 @@ #X msg 101 358 7 \$1; #X text 57 7 The beginnig of a dynamic mixer matrix object \, implemented together with Oswald; -#N canvas 440 303 494 344 META 0; -#X text 12 5 GENRE help; +#N canvas 441 328 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 45 LICENSE Tcl/Tk; diff --git a/externals/hcs/pwm~-help.pd b/externals/hcs/pwm~-help.pd index ae44f6eab..4e8d85bce 100644 --- a/externals/hcs/pwm~-help.pd +++ b/externals/hcs/pwm~-help.pd @@ -1,7 +1,7 @@ -#N canvas 0 26 492 402 10; +#N canvas 267 174 492 402 10; #N canvas 0 22 450 300 (subpatch) 0; -#X array \$0-pwm~ 100 float 0; -#X coords 0 1.1 100 -0.1 200 100 1; +#X array \$0-pwm~ 100 float 0 black black; +#X coords 0 1.1 99 -0.1 200 100 1; #X restore 58 236 graph; #X obj 83 144 r metro; #X text 355 21 <-- Click to start; @@ -13,7 +13,7 @@ #X obj 376 287 pwm; #X obj 70 66 hsl 128 15 0 1 0 1 empty empty pulse_width -2 -6 1 12 -225280 -1 -1 10700 0; -#X floatatom 79 88 5 0 0 0 - - -; +#X floatatom 79 88 5 0 0 0 - - -, f 5; #X text 139 112 argument = pwm rate in Hz; #X obj 67 112 pwm~ 2000; #X obj 83 169 metro 238.3; @@ -22,8 +22,7 @@ #X text 22 351 for more info:; #X text 16 11 pulse width modulation at audio rate; #X obj 67 193 tabwrite~ \$0-pwm~; -#N canvas 280 175 494 344 META 0; -#X text 12 5 GENRE help; +#N canvas 281 200 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 125 AUTHOR Hans-Christoph Steiner; @@ -34,7 +33,6 @@ Wilkes for Pd version 0.42.; #X text 12 105 OUTLET_0 signal; #X restore 442 381 pd META; #X connect 1 0 12 0; -#X connect 1 0 12 0; #X connect 5 0 6 0; #X connect 8 0 9 0; #X connect 8 0 11 0; diff --git a/externals/hcs/screensize-help.pd b/externals/hcs/screensize-help.pd index e0eaf567b..3e7cc05c9 100644 --- a/externals/hcs/screensize-help.pd +++ b/externals/hcs/screensize-help.pd @@ -1,20 +1,19 @@ -#N canvas 0 26 372 243 10; +#N canvas 327 254 372 243 10; #X msg 184 101 bang; -#X floatatom 184 170 5 0 0 0 width - -; -#X floatatom 241 170 5 0 0 1 height - -; +#X floatatom 184 170 5 0 0 0 width - -, f 5; +#X floatatom 241 170 5 0 0 1 height - -, f 5; #X text 111 47 get the current screen resolution; #X obj 184 138 screensize; -#N canvas 280 175 494 344 META 0; +#N canvas 281 200 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 45 LICENSE GPL v3; #X text 12 145 AUTHOR Hans-Christoph Steiner; -#X text 12 25 KEYWORDS control; -#X text 12 5 GENRE help filesystem; #X text 12 65 DESCRIPTION get the current screen resolution; #X text 12 85 INLET_0 bang; #X text 12 105 OUTLET_0 float; #X text 12 125 OUTLET_1 float; +#X text 12 25 KEYWORDS control filesystem; #X restore 323 223 pd META; #X connect 0 0 4 0; #X connect 4 0 1 0; diff --git a/externals/maxlib/nroute-help.pd b/externals/maxlib/nroute-help.pd index 25cc75cca..e6e62d2e3 100644 --- a/externals/maxlib/nroute-help.pd +++ b/externals/maxlib/nroute-help.pd @@ -1,5 +1,5 @@ -#N canvas 10 3 630 380 12; -#X floatatom 116 199 5 0 0 0 - - -; +#N canvas 11 28 630 380 12; +#X floatatom 116 199 5 0 0 0 - - -, f 5; #X obj 41 290 print matched; #X obj 116 256 print failed; #X msg 78 151 8; @@ -8,7 +8,7 @@ #X msg 56 105 17 3 45; #X msg 116 153 3; #X text 170 197 position to match; -#X floatatom 427 204 5 0 0 0 - - -; +#X floatatom 427 204 5 0 0 0 - - -, f 5; #X obj 336 293 print matched; #X obj 427 259 print failed; #X obj 336 229 nroute fly 2; @@ -20,10 +20,9 @@ #X text 153 152 what to match; #X text 54 8 nroute :: route if Nth argument is matched; #X text 135 24 written by Olaf Matthes <olaf.matthes@gmx.de>; -#N canvas 260 141 494 344 META 0; +#N canvas 261 166 494 344 META 0; #X text 12 65 TEMPLATE template-help.pd v0.1; #X text 12 85 PLATFORM windows macosx gnulinux; -#X text 12 5 GENRE help; #X text 12 165 WEBSITE; #X text 12 205 RELEASE_VERSION 0.42; #X text 12 225 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan diff --git a/externals/miXed/doc/help/cyclone/all_about_cyclone.pd b/externals/miXed/doc/help/cyclone/all_about_cyclone.pd index 4f476f300..418cb710b 100644 --- a/externals/miXed/doc/help/cyclone/all_about_cyclone.pd +++ b/externals/miXed/doc/help/cyclone/all_about_cyclone.pd @@ -1,16 +1,15 @@ -#N canvas 423 141 448 398 10; +#N canvas 424 166 448 398 10; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header all_about_cyclone 20 10 1 18 -261106 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X obj 1 376 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 44 246 494 344 META 0; -#X text 12 5 GENRE all_about_pd; +#N canvas 45 271 494 344 META 0; #X text 12 45 DESCRIPTION outline of the cyclone library; #X text 12 65 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan Wilkes for Pd-extended 0.42 to conform to the PDDP template.; -#X text 12 25 KEYWORDS cyclone needs_work; +#X text 12 25 KEYWORDS cyclone needs_work all_about_pd; #X restore 392 378 pd META; #N canvas 8 287 428 105 Related_objects 0; #X text 31 37 Hm...what to put here?; diff --git a/externals/miXed/doc/help/cyclone/past-help.pd b/externals/miXed/doc/help/cyclone/past-help.pd index 42b22179b..3b143a5cb 100644 --- a/externals/miXed/doc/help/cyclone/past-help.pd +++ b/externals/miXed/doc/help/cyclone/past-help.pd @@ -1,12 +1,11 @@ -#N canvas 428 35 558 453 10; +#N canvas 429 60 558 453 10; #X obj -1 426 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #X obj -1 255 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13 -228856 -1 0; -#N canvas 483 187 494 275 META 0; +#N canvas 484 212 494 275 META 0; #X text 12 95 RELEASE_VERSION 0.41.4; #X text 158 96 Keywords:; -#X text 12 5 GENRE help; #X text 12 65 DESCRIPTION using help patches in Pure Data; #X text 12 25 KEYWORDS needs_work (mention how pd finds help files and replace 'common_terminology' subpatch with link to glossary); @@ -114,8 +113,8 @@ list; #X connect 14 0 11 0; #X restore 441 215 pd weirdness; #X text 238 215 list behavior is a bit strange:; -#X obj 14 428 pddp/pddplink @pd_help/all_about_help_patches.pd -text Usage Guide -; +#X obj 14 428 pddp/pddplink @pd_help/all_about_help_patches.pd -text +Usage Guide; #X connect 12 0 11 0; #X connect 13 0 12 0; #X connect 15 0 12 0; diff --git a/pd/doc/2.control.examples/01.PART1.hello.pd b/pd/doc/2.control.examples/01.PART1.hello.pd index 8023b351a..e6d3e5db2 100644 --- a/pd/doc/2.control.examples/01.PART1.hello.pd +++ b/pd/doc/2.control.examples/01.PART1.hello.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 448 496 10; +#N canvas 448 60 448 496 10; #X msg 144 42 hello world; #X obj 144 116 print; #X floatatom 257 42 0 0 0 0 - - -; @@ -9,17 +9,16 @@ ; #X obj 1 474 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 94 237 494 284 META 0; +#N canvas 385 143 494 284 META 0; #X text 12 115 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 95 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 135 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 DESCRIPTION the obligatory first program as in any programming language to print out "Hello World"; -#X text 12 25 KEYWORDS control GUI user_input; +#X text 12 25 KEYWORDS control GUI user_input tutorial; #X restore 382 476 pd META; #N canvas 20 281 428 279 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/02.editing.pd b/pd/doc/2.control.examples/02.editing.pd index 79dbd7d38..dc88177e3 100644 --- a/pd/doc/2.control.examples/02.editing.pd +++ b/pd/doc/2.control.examples/02.editing.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 448 559 10; +#N canvas 432 25 448 559 10; #X msg 145 43 hello world; #X obj 145 84 print; #X floatatom 254 43 0 0 0 0 - - -; @@ -14,13 +14,12 @@ the new text.; #N canvas 42 254 494 284 META 0; #X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS control GUI; #X text 12 65 DESCRIPTION the basics of how to edit objects in Pd; #X text 12 125 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; +#X text 12 25 KEYWORDS control GUI tutorial; #X restore 382 539 pd META; #X text 32 323 Edit mode also lets you make and break connections between objects. Put the "hand" cursor over a line connecting two objects: diff --git a/pd/doc/2.control.examples/03.connections.pd b/pd/doc/2.control.examples/03.connections.pd index e3dc2fea7..d7d973158 100644 --- a/pd/doc/2.control.examples/03.connections.pd +++ b/pd/doc/2.control.examples/03.connections.pd @@ -1,4 +1,4 @@ -#N canvas 433 96 448 562 10; +#N canvas 434 62 448 562 10; #X floatatom 28 518 0 0 0 0 - - -; #X floatatom 139 519 0 0 0 0 - - -; #X floatatom 28 417 0 0 0 0 - - -; @@ -25,14 +25,13 @@ #N canvas 42 254 494 284 META 0; #X text 12 115 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 95 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS control; #X text 12 135 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 DESCRIPTION connections between objects \, and hot and cold inlets; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 541 pd META; #N canvas 13 202 428 143 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/04.messages.pd b/pd/doc/2.control.examples/04.messages.pd index 108dae9a9..deeb2c69f 100644 --- a/pd/doc/2.control.examples/04.messages.pd +++ b/pd/doc/2.control.examples/04.messages.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 448 451 10; +#N canvas 434 79 448 451 10; #X floatatom 210 123 0 0 0 0 - - -; #X floatatom 177 123 0 0 0 0 - - -; #X msg 177 71 5 6; @@ -30,13 +30,12 @@ points.; #N canvas 79 230 494 284 META 0; #X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS control GUI; #X text 12 125 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 DESCRIPTION messages and message passing in Pd; +#X text 12 25 KEYWORDS control GUI tutorial; #X restore 382 430 pd META; #N canvas 7 226 428 287 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/05.counter.pd b/pd/doc/2.control.examples/05.counter.pd index 7c0a55a62..0433345ca 100644 --- a/pd/doc/2.control.examples/05.counter.pd +++ b/pd/doc/2.control.examples/05.counter.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 448 525 10; +#N canvas 413 76 448 525 10; #X floatatom 72 473 0 0 0 0 - - -; #X msg 28 393 bang; #X obj 72 448 + 1; @@ -27,13 +27,12 @@ to spit out.; #N canvas 42 254 494 284 META 0; #X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS control; #X text 12 65 DESCRIPTION how to build a simple counter; #X text 12 125 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 505 pd META; #X text 25 148 The [float] object is a storage element holding one floating-point number. The cold inlet (i.e. \, the one on the right) @@ -67,7 +66,6 @@ message to see it work:; #X connect 8 0 14 1; #X connect 12 0 16 0; #X connect 13 0 12 0; -#X connect 13 0 12 0; #X connect 14 0 8 0; #X connect 15 0 4 0; #X connect 16 0 2 0; diff --git a/pd/doc/2.control.examples/06.more.counters.pd b/pd/doc/2.control.examples/06.more.counters.pd index e18cc4747..2d92166bb 100644 --- a/pd/doc/2.control.examples/06.more.counters.pd +++ b/pd/doc/2.control.examples/06.more.counters.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 448 509 10; +#N canvas 393 60 448 509 10; #X floatatom 127 209 0 0 0 0 - - -; #X obj 127 183 + 1; #X msg 127 79 bang; @@ -36,13 +36,12 @@ #N canvas 76 223 494 284 META 0; #X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS control; #X text 12 65 DESCRIPTION examples of simple counters; #X text 12 125 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 489 pd META; #X text 164 79 <-- click here to start; #N canvas 12 434 428 143 References 0; diff --git a/pd/doc/2.control.examples/07.time.pd b/pd/doc/2.control.examples/07.time.pd index b27fd1bd8..93487546d 100644 --- a/pd/doc/2.control.examples/07.time.pd +++ b/pd/doc/2.control.examples/07.time.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 448 540 10; +#N canvas 448 39 448 540 10; #X text 19 37 Besides the metronome \, there are three objects for dealing with time:; #X obj 22 130 print; @@ -20,16 +20,15 @@ scheduling any output.; ; #X obj 1 518 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 42 254 494 284 META 0; +#N canvas 438 145 494 284 META 0; #X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS control time; #X text 12 65 DESCRIPTION dealing with time in Pd; #X text 12 125 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; +#X text 12 25 KEYWORDS control time tutorial; #X restore 382 520 pd META; #X text 90 100 The [delay] object schedules an event for a future time expressed in milliseconds. Unlike in Max \, time values need not be diff --git a/pd/doc/2.control.examples/08.depthfirst.pd b/pd/doc/2.control.examples/08.depthfirst.pd index f80250d30..6b6f30622 100644 --- a/pd/doc/2.control.examples/08.depthfirst.pd +++ b/pd/doc/2.control.examples/08.depthfirst.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 448 563 10; +#N canvas 400 37 448 563 10; #X msg 64 81 1; #X obj 81 176 + 1; #X obj 163 217 print x1; @@ -35,13 +35,12 @@ seen always have the message chain terminated somewhere in a cold inlet: #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS control; #X text 12 65 DESCRIPTION depth first message passing explained; #X text 12 145 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 543 pd META; #X text 19 257 ... you get "x1" first \, notwithstanding the fact that "x2" and "x3" appear to be closer to the source. This means that you diff --git a/pd/doc/2.control.examples/09.send_receive.pd b/pd/doc/2.control.examples/09.send_receive.pd index c67934946..d1910572d 100644 --- a/pd/doc/2.control.examples/09.send_receive.pd +++ b/pd/doc/2.control.examples/09.send_receive.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 448 494 10; +#N canvas 370 59 448 494 10; #X floatatom 22 219 0 0 0 0 - - -; #X obj 22 192 receive crackers; #X floatatom 164 219 0 0 0 0 - - -; @@ -29,14 +29,13 @@ you tried to use "timer" to measure the time delay between the two #N canvas 44 246 494 284 META 0; #X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control nonlocal; #X text 12 65 DESCRIPTION introducing the send and receive objects ; +#X text 12 25 KEYWORDS control nonlocal tutorial; #X restore 382 474 pd META; #X text 19 419 [send] and [receive] can be abbreviated [s] and [r]: ; diff --git a/pd/doc/2.control.examples/10.more.messages.pd b/pd/doc/2.control.examples/10.more.messages.pd index ab7efcc45..afd819d9e 100644 --- a/pd/doc/2.control.examples/10.more.messages.pd +++ b/pd/doc/2.control.examples/10.more.messages.pd @@ -1,16 +1,16 @@ -#N canvas 0 0 448 573 10; +#N canvas 424 32 448 573 10; #X obj 161 348 print; #X msg 30 111 3 \, 4 \, 5; #X msg 22 84 3 4 5; #X msg 25 322 3 \$1 5; -#X floatatom 25 295 4 0 0 0 - - -; +#X floatatom 25 295 4 0 0 0 - - -, f 4; #X msg 161 320 \$2 \$1 5; #X msg 161 295 45 67; #X msg 239 295 45 67; -#X floatatom 28 427 4 0 0 0 - - -; -#X floatatom 63 427 4 0 0 0 - - -; -#X floatatom 270 201 4 0 0 0 - - -; -#X floatatom 164 204 4 0 0 0 - - -; +#X floatatom 28 427 4 0 0 0 - - -, f 4; +#X floatatom 63 427 4 0 0 0 - - -, f 4; +#X floatatom 270 201 4 0 0 0 - - -, f 4; +#X floatatom 164 204 4 0 0 0 - - -, f 4; #X obj 164 177 receive number9; #X obj 270 177 receive 9bis; #X obj 22 200 print; @@ -31,7 +31,7 @@ variables \, you will need the "pack" object to get two or more values into the same message:; #X obj 28 509 print; #X obj 28 457 pack 0 0 0; -#X floatatom 99 427 4 0 0 0 - - -; +#X floatatom 99 427 4 0 0 0 - - -, f 4; #X msg 28 483 cis \$1 \, boom \$2 \, bah \$3; #X text 94 457 <-- creation arguments to "pack" set the number of inlets. ; @@ -44,14 +44,13 @@ into the same message:; #N canvas 54 300 494 284 META 0; #X text 12 115 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 95 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS control nonlocal; #X text 12 135 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 DESCRIPTION how to send multiple messages and messages without wires; +#X text 12 25 KEYWORDS control nonlocal tutorial; #X restore 382 553 pd META; #X text 19 227 You can use "\$1" \, "\$2" \, etc. \, as variables in messages. Send the message box a list whose elements supply the values. diff --git a/pd/doc/2.control.examples/11.review.pd b/pd/doc/2.control.examples/11.review.pd index 79c581405..9a52d5ccc 100644 --- a/pd/doc/2.control.examples/11.review.pd +++ b/pd/doc/2.control.examples/11.review.pd @@ -1,4 +1,4 @@ -#N canvas 433 104 448 540 10; +#N canvas 434 63 448 540 10; #X obj 60 254 receive; #X obj 60 227 send; #X obj 60 308 pack; @@ -46,13 +46,12 @@ have abbreviations. Right click on any one to get reference documentation: #N canvas 44 246 494 284 META 0; #X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS control; #X text 12 65 DESCRIPTION review of basic pd objects; #X text 12 125 HELP_PATCH_AUTHORS Miller Puckette. Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 520 pd META; #N canvas 7 226 428 143 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/12.PART2.subpatch.pd b/pd/doc/2.control.examples/12.PART2.subpatch.pd index 95878e878..d0cf0c9f3 100644 --- a/pd/doc/2.control.examples/12.PART2.subpatch.pd +++ b/pd/doc/2.control.examples/12.PART2.subpatch.pd @@ -1,4 +1,4 @@ -#N canvas 433 87 448 590 10; +#N canvas 434 48 448 590 10; #X msg 22 319 bang; #X floatatom 307 343 0 0 0 0 - - -; #X text 19 37 You can nest entire windows inside Pd boxes (and so on @@ -50,17 +50,16 @@ and outlets.; ; #X obj 1 568 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 44 246 494 284 META 0; +#N canvas 434 137 494 284 META 0; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control abstraction; #X text 12 65 DESCRIPTION subpatches in Pd; +#X text 12 25 KEYWORDS control abstraction tutorial; #X restore 382 570 pd META; #X text 141 95 <-- you can give the window a name as an argument; #X text 19 247 There is also a facility for making many copies of a diff --git a/pd/doc/2.control.examples/13.locality.pd b/pd/doc/2.control.examples/13.locality.pd index 4b749b2cf..8641ef28d 100644 --- a/pd/doc/2.control.examples/13.locality.pd +++ b/pd/doc/2.control.examples/13.locality.pd @@ -1,4 +1,4 @@ -#N canvas 433 199 448 254 10; +#N canvas 434 131 448 254 10; #X floatatom 22 194 0 0 0 0 - - -; #X floatatom 145 194 0 0 0 0 - - -; #X text 19 37 You can use dollarsigns in abstractions to get local @@ -21,17 +21,16 @@ sends and receives as shown here.; ; #X obj 1 232 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 21 325 494 284 META 0; +#N canvas 403 107 494 284 META 0; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control nonlocal; #X text 12 65 DESCRIPTION dollarsign variables and locality in Pd; +#X text 12 25 KEYWORDS control nonlocal tutorial; #X restore 382 234 pd META; #X obj 22 100 dollarsign one; #N canvas 13 202 428 196 References 0; diff --git a/pd/doc/2.control.examples/14.dollarsigns.pd b/pd/doc/2.control.examples/14.dollarsigns.pd index 21fdaf61e..76638f581 100644 --- a/pd/doc/2.control.examples/14.dollarsigns.pd +++ b/pd/doc/2.control.examples/14.dollarsigns.pd @@ -1,4 +1,4 @@ -#N canvas 433 237 448 139 10; +#N canvas 434 123 448 139 10; #X obj 103 79 dollarsign2 three 4; #X text 19 37 An abstraction's creation arguments may be either numbers or symbols. Gory details are inside:; @@ -8,17 +8,16 @@ or symbols. Gory details are inside:; ; #X obj 1 117 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 29 301 494 284 META 0; +#N canvas 405 151 494 284 META 0; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control abstraction; #X text 12 65 DESCRIPTION example patch for dollarsign variables; +#X text 12 25 KEYWORDS control abstraction tutorial; #X restore 382 119 pd META; #N canvas 13 202 428 143 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/15.array.pd b/pd/doc/2.control.examples/15.array.pd index ad8c470a5..0a829afee 100644 --- a/pd/doc/2.control.examples/15.array.pd +++ b/pd/doc/2.control.examples/15.array.pd @@ -1,6 +1,6 @@ #N canvas 433 81 448 607 10; #N canvas 0 22 450 300 (subpatch) 0; -#X array array99 100 float 0; +#X array array99 100 float 0 black black; #X coords 0 1 99 -1 150 100 1; #X restore 277 479 graph; #X msg 149 237 \; array99 resize \$1; @@ -51,16 +51,15 @@ know how to readjust themselves automatically when the arrays are resized. ; #X obj 1 585 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 44 246 494 284 META 0; +#N canvas 422 155 494 284 META 1; #X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 85 AUTHOR Miller Puckette; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control array; #X text 12 65 DESCRIPTION basic array methods; +#X text 12 25 KEYWORDS control array tutorial; #X restore 382 587 pd META; #N canvas 13 366 428 212 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/16.more.arrays.pd b/pd/doc/2.control.examples/16.more.arrays.pd index f0b5fe3ef..e250e9a88 100644 --- a/pd/doc/2.control.examples/16.more.arrays.pd +++ b/pd/doc/2.control.examples/16.more.arrays.pd @@ -1,8 +1,8 @@ -#N canvas 433 83 448 601 10; +#N canvas 434 47 448 601 10; #N canvas 0 22 450 300 (subpatch) 0; -#X array array99 5 float 0; -#X array array98 7 float 0; -#X coords 0 1 5 -1 150 90 1; +#X array array99 5 float 0 black black; +#X array array98 7 float 0 black black; +#X coords 0 1 6 -1 150 90 1; #X restore 211 484 graph; #X msg 22 182 \; array99 rename george; #X msg 196 182 \; george rename array99; @@ -42,14 +42,13 @@ ticks \, labels \, and the actual data are lost between Pd sessions. #X text 12 155 RELEASE_VERSION 0.41.4; #X text 12 135 RELEASE_DATE 2009-06-12; #X text 12 95 AUTHOR Miller Puckette; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 175 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control array GUI; #X text 12 65 DESCRIPTION array methods for manipulating array data and appearance; +#X text 12 25 KEYWORDS control array GUI tutorial; #X restore 382 581 pd META; #N canvas 5 431 428 143 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/17.PART3.midi.pd b/pd/doc/2.control.examples/17.PART3.midi.pd index ba5d8e5a7..12b5995c1 100644 --- a/pd/doc/2.control.examples/17.PART3.midi.pd +++ b/pd/doc/2.control.examples/17.PART3.midi.pd @@ -1,4 +1,4 @@ -#N canvas 424 82 448 355 10; +#N canvas 425 107 448 355 10; #X floatatom 93 94 0 0 0 0 - - -; #X floatatom 57 94 0 0 0 0 - - -; #X obj 21 67 notein; @@ -31,13 +31,12 @@ #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control MIDI; #X text 12 65 DESCRIPTION simple MIDI input and output; +#X text 12 25 KEYWORDS control MIDI tutorial; #X restore 382 335 pd META; #N canvas 13 202 428 143 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/18.conditional.pd b/pd/doc/2.control.examples/18.conditional.pd index 09187a393..72a197e1f 100644 --- a/pd/doc/2.control.examples/18.conditional.pd +++ b/pd/doc/2.control.examples/18.conditional.pd @@ -1,4 +1,4 @@ -#N canvas 433 105 448 537 10; +#N canvas 434 130 448 537 10; #X obj 23 158 select 1 2; #X floatatom 23 130 0 0 0 0 - - -; #X obj 23 235 print select-1; @@ -35,14 +35,13 @@ #X text 12 135 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 115 AUTHOR Miller Puckette; #X text 12 95 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 155 HELP_PATCH_AUTHORS Updated for release 0.26. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control; #X text 12 65 DESCRIPTION creating conditional branches with control object; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 517 pd META; #X text 20 283 You also get [spigot] which turns a flow of messages on and off (like the [gate] object in Max \, but with the inputs reversed): diff --git a/pd/doc/2.control.examples/19.random.pd b/pd/doc/2.control.examples/19.random.pd index 88750ed19..b1ea82d63 100644 --- a/pd/doc/2.control.examples/19.random.pd +++ b/pd/doc/2.control.examples/19.random.pd @@ -1,4 +1,4 @@ -#N canvas 433 135 448 447 10; +#N canvas 434 160 448 447 10; #X obj 22 112 random 5; #X msg 22 86 bang; #X floatatom 22 138 0 0 0 0 - - -; @@ -25,20 +25,19 @@ the patch \, use the time from load to first click as a seed:; ; #X obj 1 425 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 44 246 494 284 META 0; +#N canvas 425 186 494 284 META 0; #X text 12 95 PLATFORM windows macosx gnulinux; #X text 12 175 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 155 AUTHOR Miller Puckette; #X text 12 135 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 115 DATATYPE float; #X text 12 195 HELP_PATCH_AUTHORS Updated for release 0.26. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control random; #X text 12 65 DESCRIPTION generating pseudo-random integers with the [random] object; +#X text 12 25 KEYWORDS control random tutorial; #X restore 382 427 pd META; #X text 19 37 Use the [random] object to make pseudo-random integers. To get continuously variable random numbers \, make a random number diff --git a/pd/doc/2.control.examples/20.weighted-random.pd b/pd/doc/2.control.examples/20.weighted-random.pd index 53a9352b7..65a2b928d 100644 --- a/pd/doc/2.control.examples/20.weighted-random.pd +++ b/pd/doc/2.control.examples/20.weighted-random.pd @@ -1,4 +1,4 @@ -#N canvas 433 129 448 465 10; +#N canvas 434 154 448 465 10; #X msg 123 95 bang; #X text 19 37 You can generate weighted random numbers from uniformly distributed ones. If you just want two possible outcomes with a varying @@ -36,17 +36,16 @@ like this:; ; #X obj 1 443 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 44 246 494 284 META 0; +#N canvas 434 187 494 284 META 0; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 DESCRIPTION weighted-random numbers; -#X text 12 25 KEYWORDS control random; +#X text 12 25 KEYWORDS control random tutorial; #X restore 382 445 pd META; #N canvas 21 377 428 143 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/21.markov.chain.pd b/pd/doc/2.control.examples/21.markov.chain.pd index 272047adb..93508ace2 100644 --- a/pd/doc/2.control.examples/21.markov.chain.pd +++ b/pd/doc/2.control.examples/21.markov.chain.pd @@ -1,4 +1,4 @@ -#N canvas 433 121 448 488 10; +#N canvas 434 95 448 488 10; #X obj 22 262 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X obj 22 368 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 @@ -58,18 +58,17 @@ ; #X obj 1 466 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 190 254 494 284 META 0; +#N canvas 460 168 494 284 META 0; #X text 12 135 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 115 AUTHOR Miller Puckette; #X text 12 95 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 155 HELP_PATCH_AUTHORS Updated for release 0.35. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control; #X text 12 65 DESCRIPTION how to construct a simple three-valued Markov chain; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 468 pd META; #X text 19 135 STEP; #N canvas 13 392 428 143 References 0; diff --git a/pd/doc/2.control.examples/22.random-walk.pd b/pd/doc/2.control.examples/22.random-walk.pd index 6452965d4..492eee699 100644 --- a/pd/doc/2.control.examples/22.random-walk.pd +++ b/pd/doc/2.control.examples/22.random-walk.pd @@ -1,4 +1,4 @@ -#N canvas 433 99 448 555 10; +#N canvas 434 124 448 555 10; #X floatatom 97 297 5 0 0 0 - - -, f 5; #X obj 118 217 f; #X obj 87 275 random 4; @@ -42,17 +42,16 @@ to a random number (from 1 to 4) multiplied by a random sign (-1 or ; #X obj 1 533 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 44 246 494 284 META 0; +#N canvas 379 239 494 284 META 0; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control; #X text 12 65 DESCRIPTION random walk generator; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 535 pd META; #N canvas 11 381 428 143 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/2.control.examples/23.sequencing.pd b/pd/doc/2.control.examples/23.sequencing.pd index f827ee30a..02ec4be75 100644 --- a/pd/doc/2.control.examples/23.sequencing.pd +++ b/pd/doc/2.control.examples/23.sequencing.pd @@ -1,4 +1,4 @@ -#N canvas 433 132 448 454 10; +#N canvas 434 157 448 454 10; #X obj 115 131 r receive1; #X obj 201 131 r receive2; #X msg 22 85 clear \, add receive1 1 \, add 1000 receive1 0 \, add @@ -26,17 +26,16 @@ request that amount of delay.; ; #X obj 1 432 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 33 353 494 284 META 0; +#N canvas 34 378 494 284 META 0; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.26. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control; #X text 12 65 DESCRIPTION sequencing with [qlist] and [textfile]; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 434 pd META; #X text 19 37 You can use [qlist] or [textfile] objects for sequencing. [qlist] is simpler to use than the (more versatile) [textfile].; diff --git a/pd/doc/2.control.examples/24.loops.pd b/pd/doc/2.control.examples/24.loops.pd index 9d89de66e..cfda01a84 100644 --- a/pd/doc/2.control.examples/24.loops.pd +++ b/pd/doc/2.control.examples/24.loops.pd @@ -1,4 +1,4 @@ -#N canvas 433 82 448 605 10; +#N canvas 434 35 448 605 10; #X obj 140 261 until; #X obj 166 234 max 0; #X floatatom 166 213 5 0 0 1 times - -, f 5; @@ -30,17 +30,16 @@ numbers to be equivalent to zero.); ; #X obj 1 583 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 44 246 494 284 META 0; +#N canvas 45 271 494 284 META 0; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 65 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.41. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS control; #X text 12 45 DESCRIPTION looping with the [until] object; +#X text 12 25 KEYWORDS control tutorial; #X restore 382 585 pd META; #X text 19 32 Looping with the [until] object; #X text 19 51 It is sometimes desirable to make a loop without an embedded diff --git a/pd/doc/3.audio.examples/A00.intro.pd b/pd/doc/3.audio.examples/A00.intro.pd index f2eccfd12..916072299 100644 --- a/pd/doc/3.audio.examples/A00.intro.pd +++ b/pd/doc/3.audio.examples/A00.intro.pd @@ -1,4 +1,4 @@ -#N canvas 433 205 448 236 10; +#N canvas 434 230 448 236 10; #X text 19 56 This is the second of three tutorial series on Pd. This one shows the time-domain audio processing features. (The first one showed how to use Pd to do "control" computations \, and the third @@ -12,16 +12,15 @@ is about frequency-domain techniques.); #X obj 1 214 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS; -#X text 12 65 DESCRIPTION introduction to audio tutorials; +#X text 12 45 DESCRIPTION introduction to audio tutorials; +#X text 12 5 KEYWORDS tutorial; #X restore 392 216 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A01.sinewave.pd b/pd/doc/3.audio.examples/A01.sinewave.pd index 311bf9195..d55cbcc1a 100644 --- a/pd/doc/3.audio.examples/A01.sinewave.pd +++ b/pd/doc/3.audio.examples/A01.sinewave.pd @@ -1,4 +1,4 @@ -#N canvas 433 125 448 475 10; +#N canvas 434 81 448 475 10; #X obj 95 99 osc~ 440; #X obj 95 158 dac~; #X text 162 99 <-- 440 Hz. sine wave at full blast; @@ -33,16 +33,15 @@ messages.; #X obj 1 453 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS signal; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.36. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.36. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION making a sinewave; +#X text 12 45 DESCRIPTION making a sinewave; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 455 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A02.amplitude.pd b/pd/doc/3.audio.examples/A02.amplitude.pd index 06febcd9c..4b58bba18 100644 --- a/pd/doc/3.audio.examples/A02.amplitude.pd +++ b/pd/doc/3.audio.examples/A02.amplitude.pd @@ -1,4 +1,4 @@ -#N canvas 433 136 448 442 10; +#N canvas 434 92 448 442 10; #X obj 22 42 osc~ 440; #X obj 22 225 dac~; #X text 103 43 <-- 440 Hz. sine wave at full blast; @@ -31,16 +31,15 @@ you tell it otherwise.; #X obj 1 420 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS signal conversion; -#X text 12 65 DESCRIPTION controlling amplitude; +#X text 12 25 LICENSE SIBSD; +#X text 12 45 DESCRIPTION controlling amplitude; +#X text 12 5 KEYWORDS signal conversion tutorial; #X restore 392 422 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A03.line.pd b/pd/doc/3.audio.examples/A03.line.pd index 5c1dd98fa..2041ccb8c 100644 --- a/pd/doc/3.audio.examples/A03.line.pd +++ b/pd/doc/3.audio.examples/A03.line.pd @@ -1,4 +1,4 @@ -#N canvas 433 100 448 550 10; +#N canvas 434 75 448 550 10; #X obj 33 89 osc~ 440; #X obj 33 317 dac~; #X msg 316 79 \; pd dsp 1; @@ -49,16 +49,15 @@ lists of numbers across their inlets. In this case \, "0 50" becomes #X obj 1 528 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 65 DESCRIPTION controlling amplitude using line~; -#X text 12 25 KEYWORDS signal ramp; +#X text 12 25 LICENSE SIBSD; +#X text 12 45 DESCRIPTION controlling amplitude using line~; +#X text 12 5 KEYWORDS signal ramp tutorial; #X restore 392 530 pd META; #N canvas 12 325 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A04.line2.pd b/pd/doc/3.audio.examples/A04.line2.pd index 443c2789f..a83349793 100644 --- a/pd/doc/3.audio.examples/A04.line2.pd +++ b/pd/doc/3.audio.examples/A04.line2.pd @@ -1,4 +1,4 @@ -#N canvas 433 73 448 632 10; +#N canvas 434 43 448 632 10; #X obj 62 77 osc~ 440; #X obj 62 288 dac~; #X obj 62 220 *~; @@ -9,16 +9,16 @@ #X obj 146 224 r graphit; #X obj 78 139 r to-line; #N canvas 0 0 450 300 (subpatch) 0; -#X array product 44100 float 0; -#X coords 0 1.02 44100 -1.02 100 65 1; +#X array product 44100 float 0 black black; +#X coords 0 1.02 44099 -1.02 100 65 1; #X restore 313 239 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array osc-output 44100 float 0; -#X coords 0 1.02 44100 -1.02 100 65 1; +#X array osc-output 44100 float 0 black black; +#X coords 0 1.02 44099 -1.02 100 65 1; #X restore 313 73 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array line-output 44100 float 0; -#X coords 0 1.02 44100 -1.02 100 65 1; +#X array line-output 44100 float 0 black black; +#X coords 0 1.02 44099 -1.02 100 65 1; #X restore 313 157 graph; #X obj 144 119 tabwrite~ osc-output; #X obj 62 263 *~ 0.1; @@ -47,16 +47,15 @@ an [osc~] \, but with the outputs graphed:; #X obj 1 610 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION lines graphed; -#X text 12 25 KEYWORDS signal ramp; +#X text 12 45 DESCRIPTION lines graphed; +#X text 12 5 KEYWORDS signal ramp tutorial; #X restore 392 612 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A05.output.subpatch.pd b/pd/doc/3.audio.examples/A05.output.subpatch.pd index d06e6fcf6..b39bbcc9d 100644 --- a/pd/doc/3.audio.examples/A05.output.subpatch.pd +++ b/pd/doc/3.audio.examples/A05.output.subpatch.pd @@ -1,4 +1,4 @@ -#N canvas 433 138 448 436 10; +#N canvas 434 58 448 436 10; #X obj 22 42 osc~ 440; #X obj 37 70 osc~ 550; #X obj 38 131 osc~ 660; @@ -23,16 +23,15 @@ essentially no level limit.; #X obj 1 414 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.36. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.36. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal GUI; -#X text 12 65 DESCRIPTION controlling output amplitude; +#X text 12 45 DESCRIPTION controlling output amplitude; +#X text 12 5 KEYWORDS signal GUI tutorial; #X restore 392 416 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A06.frequency.pd b/pd/doc/3.audio.examples/A06.frequency.pd index 3a4096ad5..38cbedda4 100644 --- a/pd/doc/3.audio.examples/A06.frequency.pd +++ b/pd/doc/3.audio.examples/A06.frequency.pd @@ -1,7 +1,7 @@ -#N canvas 433 94 448 570 10; +#N canvas 434 60 448 570 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array osc-output 4410 float 0; -#X coords 0 1.02 4410 -1.02 180 117 1; +#X array osc-output 4410 float 0 black black; +#X coords 0 1.02 4409 -1.02 180 117 1; #X restore 259 210 graph; #X obj 105 255 tabwrite~ osc-output; #X msg 105 226 bang; @@ -50,16 +50,15 @@ Pitch is "60" for Middle C \, 61 for C sharp \, 72 for the next C up #X obj 1 548 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.36. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.36. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS MIDI conversion; -#X text 12 65 DESCRIPTION frequency and pitch; +#X text 12 45 DESCRIPTION frequency and pitch; +#X text 12 5 KEYWORDS MIDI conversion tutorial; #X restore 392 550 pd META; #N canvas 12 348 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A07.fusion.pd b/pd/doc/3.audio.examples/A07.fusion.pd index 9e85dc063..0fe8ece76 100644 --- a/pd/doc/3.audio.examples/A07.fusion.pd +++ b/pd/doc/3.audio.examples/A07.fusion.pd @@ -1,4 +1,4 @@ -#N canvas 433 76 448 623 10; +#N canvas 434 40 448 623 10; #X floatatom 22 82 0 0 0 0 - - -; #X obj 22 108 mtof; #X obj 22 350 output~; @@ -20,7 +20,7 @@ #X obj 64 242 +~; #X obj 64 266 +~; #N canvas 0 0 450 300 (subpatch) 0; -#X array tab.01.07 882 float 0; +#X array tab.01.07 882 float 0 black black; #X coords 0 1.02 881 -1.02 160 104 1; #X restore 267 42 graph; #X msg 106 322 bang; @@ -43,16 +43,15 @@ the "bang" message to graph it.; #X obj 1 601 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.40. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.40. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION adding sinusoids to make a complex tone; +#X text 12 45 DESCRIPTION adding sinusoids to make a complex tone; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 603 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A08.beating.pd b/pd/doc/3.audio.examples/A08.beating.pd index c5be63076..4217e055a 100644 --- a/pd/doc/3.audio.examples/A08.beating.pd +++ b/pd/doc/3.audio.examples/A08.beating.pd @@ -1,4 +1,4 @@ -#N canvas 433 117 448 500 10; +#N canvas 434 64 448 500 10; #X obj 21 197 output~; #X obj 22 163 +~; #X obj 22 95 +~; @@ -28,16 +28,15 @@ frequencies 330 \, 440 \, and 587 are heard separately.; #X obj 1 478 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.40. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.40. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION beating between closely tuned sinusoids; +#X text 12 45 DESCRIPTION beating between closely tuned sinusoids; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 480 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A09.frequency.mod.pd b/pd/doc/3.audio.examples/A09.frequency.mod.pd index cb7af277f..f42a23a7f 100644 --- a/pd/doc/3.audio.examples/A09.frequency.mod.pd +++ b/pd/doc/3.audio.examples/A09.frequency.mod.pd @@ -1,10 +1,10 @@ -#N canvas 433 90 448 581 10; +#N canvas 434 72 448 581 10; #X obj 178 161 *~; #X floatatom 178 76 0 0 0 0 - - -; #X floatatom 106 111 0 0 0 0 - - -; #X obj 106 191 +~; #N canvas 0 0 450 300 (subpatch) 0; -#X array fm-output 441 float 0; +#X array fm-output 441 float 0 black black; #X coords 0 1.02 440 -1.02 150 97 1; #X restore 289 57 graph; #X msg 181 241 bang; @@ -46,17 +46,16 @@ discussion of FM occurs in part 5 of this series.; #X obj 1 559 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION frequency modulation using two oscillators +#X text 12 45 DESCRIPTION frequency modulation using two oscillators ; -#X text 12 25 KEYWORDS signal; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 561 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/A10.review.pd b/pd/doc/3.audio.examples/A10.review.pd index 94193a417..79c96d640 100644 --- a/pd/doc/3.audio.examples/A10.review.pd +++ b/pd/doc/3.audio.examples/A10.review.pd @@ -1,4 +1,4 @@ -#N canvas 433 124 448 479 10; +#N canvas 434 104 448 479 10; #X obj 49 116 tabwrite~; #X obj 49 90 line~; #X obj 49 222 +; @@ -40,16 +40,15 @@ #X obj 1 457 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION review of part 1 of the audio tutorials; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.40. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 45 DESCRIPTION review of part 1 of the audio tutorials; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.40. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.43.; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 459 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B01.wavetables.pd b/pd/doc/3.audio.examples/B01.wavetables.pd index e6d916f72..a7ed4bfe2 100644 --- a/pd/doc/3.audio.examples/B01.wavetables.pd +++ b/pd/doc/3.audio.examples/B01.wavetables.pd @@ -1,7 +1,7 @@ -#N canvas 433 90 448 580 10; +#N canvas 431 46 448 580 10; #X floatatom 87 109 0 0 0 0 - - -; #N canvas 0 0 450 300 (subpatch) 0; -#X array table10 259 float 1; +#X array table10 259 float 1 black black; #A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.612 0.612 0.612 0.612 0.612 0.627692 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0.470769 -0.470769 -0.470769 -0.470769 -0.470769 @@ -51,13 +51,12 @@ waveform. You can draw in the waveform with the mouse.; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.40. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal array; #X text 12 65 DESCRIPTION wavetable oscillators; +#X text 12 25 KEYWORDS signal array tutorial; #X restore 392 560 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B02.two-wavetables.pd b/pd/doc/3.audio.examples/B02.two-wavetables.pd index e76470081..d87571e6c 100644 --- a/pd/doc/3.audio.examples/B02.two-wavetables.pd +++ b/pd/doc/3.audio.examples/B02.two-wavetables.pd @@ -1,6 +1,6 @@ -#N canvas 433 131 448 459 10; +#N canvas 434 54 448 459 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array waveform11 259 float 1; +#X array waveform11 259 float 1 black black; #A 0 -0.0896033 0 0.0896033 0.178356 0.265425 0.350007 0.431348 0.508756 0.58161 0.649372 0.711597 0.767935 0.818137 0.862053 0.89963 0.930912 0.956028 0.975187 0.988669 0.996811 1 0.998655 0.993223 0.984158 0.971919 @@ -97,7 +97,7 @@ #X msg 72 204 MUTE; #X text 43 144 wavetable; #N canvas 0 0 450 300 (subpatch) 0; -#X array pitch11 259 float 1; +#X array pitch11 259 float 1 black black; #A 0 757.143 757.143 735.714 700 671.429 650 621.429 600 571.429 550 521.429 507.143 485.714 464.286 442.857 428.571 414.286 400 378.571 364.286 342.857 328.571 928.571 921.429 921.429 914.286 907.143 892.857 @@ -149,13 +149,12 @@ input of the second [tabosc4~]. I've detected Klingons \, Captain Kirk... #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal array GUI; #X text 12 65 DESCRIPTION wavetable oscillators; +#X text 12 25 KEYWORDS signal array GUI tutorial; #X restore 392 439 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B03.tabread4.pd b/pd/doc/3.audio.examples/B03.tabread4.pd index 691f60e86..94872a1e6 100644 --- a/pd/doc/3.audio.examples/B03.tabread4.pd +++ b/pd/doc/3.audio.examples/B03.tabread4.pd @@ -1,4 +1,4 @@ -#N canvas 374 90 452 581 10; +#N canvas 396 44 452 581 10; #N canvas 0 0 450 300 (subpatch) 0; #X array waveform12 131 float 1 black black; #A 0 -0.172615 -0.172615 -0.172615 -0.172615 -0.172615 -0.141231 -0.109846 @@ -18,7 +18,7 @@ 0.219692 0.109846 -0.0156923 -0.0941538 -0.109846 -0.141231 -0.156923 -0.172615 -0.188308 -0.204 -0.204 -0.219692 -0.204 -0.204 -0.219692 -0.219692 -0.204 -0.204 -0.204 -0.204 -0.204 -0.188308; -#X coords 0 1.02 131 -1.02 150 80 1; +#X coords 0 1.02 130 -1.02 150 80 1; #X restore 274 39 graph; #X floatatom 131 292 0 0 100 0 - - -; #N canvas 159 26 532 285 output 0; @@ -92,7 +92,7 @@ #X text 92 38 frequency; #N canvas 0 0 450 300 (subpatch) 0; #X array wave-out12 441 float 0 black black; -#X coords 0 1 441 -1 150 80 1; +#X coords 0 1 440 -1 150 80 1; #X restore 274 124 graph; #X obj 127 260 tabwrite~ wave-out12; #X msg 127 234 bang; @@ -108,13 +108,12 @@ #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal array; #X text 12 65 DESCRIPTION wavetable oscillators; +#X text 12 25 KEYWORDS signal array tutorial; #X restore 392 561 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B04.tabread4.interpolation.pd b/pd/doc/3.audio.examples/B04.tabread4.interpolation.pd index 40118a06b..549d776b1 100644 --- a/pd/doc/3.audio.examples/B04.tabread4.interpolation.pd +++ b/pd/doc/3.audio.examples/B04.tabread4.interpolation.pd @@ -1,12 +1,12 @@ -#N canvas 433 106 448 534 10; +#N canvas 438 50 448 534 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array waveform13 11 float 1; +#X array waveform13 11 float 1 black black; #A 0 1 1 1 1 1 1 1 -1 -1 -1 -1; #X coords 0 1.02 10 -1.02 180 130 1; #X restore 254 43 graph; #X obj 115 138 +~ 1; #N canvas 0 0 450 300 (subpatch) 0; -#X array wave-out13 441 float 0; +#X array wave-out13 441 float 0 black black; #X coords 0 1.02 440 -1.02 270 105 1; #X restore 165 274 graph; #X msg 136 197 bang; @@ -46,13 +46,12 @@ between 4 consccutive samples of the table \, disregarding wraparound. #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal array; #X text 12 65 DESCRIPTION 4-point interpolation in detail; +#X text 12 25 KEYWORDS signal array tutorial; #X restore 392 514 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B05.tabread.FM.pd b/pd/doc/3.audio.examples/B05.tabread.FM.pd index 450f16d68..5ac3c27dc 100644 --- a/pd/doc/3.audio.examples/B05.tabread.FM.pd +++ b/pd/doc/3.audio.examples/B05.tabread.FM.pd @@ -1,6 +1,6 @@ -#N canvas 433 153 448 392 10; +#N canvas 434 72 448 392 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array pitchmod14 131 float 1; +#X array pitchmod14 131 float 1 black black; #A 0 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.863077 0.863077 0.863077 0.863077 0.863077 0.863077 0.863077 0.863077 0.863077 @@ -103,13 +103,12 @@ #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal array; #X text 12 65 DESCRIPTION frequency modulation by wavetable; +#X text 12 25 KEYWORDS signal array tutorial; #X restore 392 372 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B06.table.switching.pd b/pd/doc/3.audio.examples/B06.table.switching.pd index 2abb6eb05..ee31a958f 100644 --- a/pd/doc/3.audio.examples/B06.table.switching.pd +++ b/pd/doc/3.audio.examples/B06.table.switching.pd @@ -1,6 +1,6 @@ -#N canvas 355 127 684 470 10; +#N canvas 300 48 684 470 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array waveshape15a 131 float 1; +#X array waveshape15a 131 float 1 black black; #A 0 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.847385 0.863077 0.863077 0.863077 0.863077 0.863077 0.863077 0.863077 0.863077 0.863077 @@ -78,7 +78,7 @@ #X restore 66 288 pd output; #X msg 117 267 MUTE; #N canvas 0 0 450 300 (subpatch) 0; -#X array waveshape15b 131 float 1; +#X array waveshape15b 131 float 1 black black; #A 0 -0.659077 -0.643385 -0.643385 -0.627692 -0.612 -0.612 -0.596308 -0.596308 -0.580615 -0.580615 -0.580615 -0.580615 -0.580615 -0.580615 -0.580615 -0.596308 -0.596308 -0.596308 -0.596308 -0.596308 -0.596308 @@ -97,7 +97,7 @@ -0.784615 -0.768923 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.784615 -0.800308 -0.800308 -0.800308 -0.800308 --0.800308 -0.800308 -0.800308; +-0.800308 -0.800308 -0.800308 ; #X coords 0 1.02 130 -1.02 258 130 1; #X restore 405 229 graph; #X obj 66 235 tabosc4~ waveshape15a; @@ -128,13 +128,12 @@ arrays with parametrizable names and sizes:; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal array; #X text 12 65 DESCRIPTION switching between tables; +#X text 12 25 KEYWORDS signal array tutorial; #X restore 392 450 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B07.sampler.pd b/pd/doc/3.audio.examples/B07.sampler.pd index 4623e1ebd..dfb3b7eb7 100644 --- a/pd/doc/3.audio.examples/B07.sampler.pd +++ b/pd/doc/3.audio.examples/B07.sampler.pd @@ -1,9 +1,9 @@ -#N canvas 433 80 448 610 10; +#N canvas 434 33 448 610 10; #X obj 22 199 hip~ 5; #X text 81 199 high pass filter to cut DC; #N canvas 0 0 450 300 (subpatch) 0; #X array sample-table 44104 float 0 black black; -#X coords 0 1.02 44104 -1.02 200 130 1; +#X coords 0 1.02 44103 -1.02 200 130 1; #X restore 99 243 graph; #X obj 22 172 tabread4~ sample-table; #X obj 22 142 line~; @@ -47,13 +47,12 @@ sent when you load this patch by the "loadbang" object.); #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal array; #X text 12 65 DESCRIPTION scratch machine; +#X text 12 25 KEYWORDS signal array tutorial; #X restore 392 589 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B08.sampler.loop.pd b/pd/doc/3.audio.examples/B08.sampler.loop.pd index 7c0bd6a0b..ba977e268 100644 --- a/pd/doc/3.audio.examples/B08.sampler.loop.pd +++ b/pd/doc/3.audio.examples/B08.sampler.loop.pd @@ -1,11 +1,11 @@ -#N canvas 344 96 716 564 10; +#N canvas 307 60 716 564 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array tabread4-out 44100 float 0; -#X coords 0 1.02 44100 -1.02 200 130 1; +#X array tabread4-out 44100 float 0 black black; +#X coords 0 1.02 44099 -1.02 200 130 1; #X restore 362 220 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array table17 44103 float 0; -#X coords 0 1.02 44103 -1.02 200 130 1; +#X array table17 44103 float 0 black black; +#X coords 0 1.02 44102 -1.02 200 130 1; #X restore 361 44 graph; #X obj 412 469 loadbang; #X obj 53 255 tabwrite~ tabread4-out; @@ -55,13 +55,12 @@ on number boxes to make fine adjustments.; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; #X text 12 65 DESCRIPTION looping sampler; +#X text 12 25 KEYWORDS signal tutorial; #X restore 392 544 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B09.sampler.loop.smooth.pd b/pd/doc/3.audio.examples/B09.sampler.loop.smooth.pd index 99f1ba5fd..c824ab9af 100644 --- a/pd/doc/3.audio.examples/B09.sampler.loop.smooth.pd +++ b/pd/doc/3.audio.examples/B09.sampler.loop.smooth.pd @@ -1,11 +1,11 @@ -#N canvas 353 101 689 547 10; +#N canvas 334 68 689 547 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array cos-output 44100 float 0; -#X coords 0 1.02 44100 -1.02 200 130 1; +#X array cos-output 44100 float 0 black black; +#X coords 0 1.02 44099 -1.02 200 130 1; #X restore 361 217 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array table18 44103 float 0; -#X coords 0 1.02 44103 -1.02 200 130 1; +#X array table18 44103 float 0 black black; +#X coords 0 1.02 44102 -1.02 200 130 1; #X restore 361 42 graph; #X obj 395 452 loadbang; #X obj 21 251 hip~ 5; @@ -58,13 +58,12 @@ of the envelope \, but this will be taken up later.; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; #X text 12 65 DESCRIPTION enveloping your looping sampler; +#X text 12 25 KEYWORDS signal tutorial; #X restore 392 527 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B10.sampler.scratch.pd b/pd/doc/3.audio.examples/B10.sampler.scratch.pd index 32461e229..e608ce1aa 100644 --- a/pd/doc/3.audio.examples/B10.sampler.scratch.pd +++ b/pd/doc/3.audio.examples/B10.sampler.scratch.pd @@ -1,7 +1,7 @@ -#N canvas 365 74 653 628 10; +#N canvas 366 68 653 628 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array table19 44103 float 0; -#X coords 0 1.02 44100 -1.02 200 130 1; +#X array table19 44103 float 0 black black; +#X coords 0 1.02 44102 -1.02 200 130 1; #X restore 400 48 graph; #X obj 23 376 hip~ 5; #X floatatom 82 45 0 0 0 0 - - -; @@ -16,8 +16,8 @@ #X obj 311 375 hip~ 5; #X msg 329 400 bang; #N canvas 0 0 450 300 (subpatch) 0; -#X array graph19 44100 float 0; -#X coords 0 44100 44100 0 200 130 1; +#X array graph19 44100 float 0 black black; +#X coords 0 44100 44099 0 200 130 1; #X restore 400 236 graph; #X obj 23 350 *~; #X obj 106 270 line~; @@ -64,14 +64,13 @@ to.; #X text 12 165 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 145 AUTHOR Miller Puckette; #X text 12 125 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 105 DATATYPE float; #X text 12 185 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; #X text 12 65 DESCRIPTION enveloping the looping sampler; +#X text 12 25 KEYWORDS signal tutorial; #X restore 392 608 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B11.sampler.nodoppler.pd b/pd/doc/3.audio.examples/B11.sampler.nodoppler.pd index 02576a4a8..b40624a9a 100644 --- a/pd/doc/3.audio.examples/B11.sampler.nodoppler.pd +++ b/pd/doc/3.audio.examples/B11.sampler.nodoppler.pd @@ -1,7 +1,7 @@ -#N canvas 433 97 448 561 10; +#N canvas 430 51 448 561 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array table20 44103 float 0; -#X coords 0 1.02 44100 -1.02 130 84 1; +#X array table20 44103 float 0 black black; +#X coords 0 1.02 44102 -1.02 130 84 1; #X restore 281 213 graph; #X obj 14 370 hip~ 5; #X floatatom 63 42 0 0 0 0 - - -; @@ -15,8 +15,8 @@ #X obj 152 378 hip~ 5; #X msg 167 401 bang; #N canvas 0 0 450 300 (subpatch) 0; -#X array graph20 44100 float 0; -#X coords 0 44100 44100 0 130 84 1; +#X array graph20 44100 float 0 black black; +#X coords 0 44100 44099 0 130 84 1; #X restore 283 330 graph; #X obj 14 346 *~; #X obj 78 225 line~; @@ -67,14 +67,13 @@ when the read point is changing.; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; #X text 12 65 DESCRIPTION sliding stable loops without doppler shift ; -#X text 12 25 KEYWORDS signal; +#X text 12 25 KEYWORDS signal tutorial; #X restore 392 541 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B12.sampler.transpose.pd b/pd/doc/3.audio.examples/B12.sampler.transpose.pd index 7cebb3c49..75e788cf8 100644 --- a/pd/doc/3.audio.examples/B12.sampler.transpose.pd +++ b/pd/doc/3.audio.examples/B12.sampler.transpose.pd @@ -1,7 +1,7 @@ -#N canvas 346 32 679 621 10; +#N canvas 344 57 679 621 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array table21 44103 float 0; -#X coords 0 1.02 44100 -1.02 200 130 1; +#X array table21 44103 float 0 black black; +#X coords 0 1.02 44102 -1.02 200 130 1; #X restore 406 240 graph; #X obj 337 477 loadbang; #X obj 31 509 hip~ 5; @@ -77,13 +77,12 @@ to the next topic...; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; #X text 12 105 AUTHOR Miller Puckette; #X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; #X text 12 45 LICENSE SIBSD; #X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; #X text 12 65 DESCRIPTION calculating loop frequency; +#X text 12 25 KEYWORDS signal tutorial; #X restore 392 601 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B13.sampler.overlap.pd b/pd/doc/3.audio.examples/B13.sampler.overlap.pd index 719355e09..b84961824 100644 --- a/pd/doc/3.audio.examples/B13.sampler.overlap.pd +++ b/pd/doc/3.audio.examples/B13.sampler.overlap.pd @@ -1,4 +1,4 @@ -#N canvas 388 59 583 675 10; +#N canvas 389 25 583 671 10; #X obj 22 506 hip~ 5; #X floatatom 22 42 0 0 100 0 - - -; #X obj 22 70 * 441; @@ -37,7 +37,7 @@ #X obj 298 190 phasor~; #N canvas 56 366 660 275 table 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array table22 44103 float 0; +#X array table22 44103 float 0 black black; #X coords 0 1.02 44100 -1.02 200 130 1; #X restore 442 61 graph; #X text 444 195 --- 44103 samples ---; @@ -107,16 +107,15 @@ result sent to the audio output.; #X obj 1 653 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION two overlapping sample read elements; -#X text 12 25 KEYWORDS signal array; +#X text 12 45 DESCRIPTION two overlapping sample read elements; +#X text 12 5 KEYWORDS signal array tutorial; #X restore 392 655 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B14.sampler.rockafella.pd b/pd/doc/3.audio.examples/B14.sampler.rockafella.pd index 166a9bb69..67450260d 100644 --- a/pd/doc/3.audio.examples/B14.sampler.rockafella.pd +++ b/pd/doc/3.audio.examples/B14.sampler.rockafella.pd @@ -1,4 +1,4 @@ -#N canvas 406 56 531 683 10; +#N canvas 407 25 531 671 10; #X obj 21 538 hip~ 5; #X floatatom 22 86 4 0 100 0 - - -, f 4; #X obj 22 485 *~; @@ -23,7 +23,7 @@ #X obj 297 192 phasor~; #N canvas 30 567 660 275 table 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array table23 44103 float 0; +#X array table23 44103 float 0 black black; #X coords 0 1.02 44100 -1.02 200 130 1; #X restore 442 61 graph; #X text 444 195 --- 44103 samples ---; @@ -106,17 +106,16 @@ using "read-pt" and "chunk size" can be in the same units (seconds.) #X text 158 23 ...by looped sampling; #X obj 1 662 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#N canvas 431 183 494 284 META 0; +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal array; -#X text 12 65 DESCRIPTION time compression and expansion; +#X text 12 45 DESCRIPTION time compression and expansion; +#X text 12 5 KEYWORDS signal array tutorial; #X restore 392 664 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/B15.tabread4~-onset.pd b/pd/doc/3.audio.examples/B15.tabread4~-onset.pd index 5d12ecb05..8a90d592e 100644 --- a/pd/doc/3.audio.examples/B15.tabread4~-onset.pd +++ b/pd/doc/3.audio.examples/B15.tabread4~-onset.pd @@ -1,4 +1,4 @@ -#N canvas 433 87 448 590 10; +#N canvas 416 31 448 590 10; #X text 19 37 Pd is usually compiled to work on 32-bit audio samples. These do not \, in general \, have enough precision for use as indices into an array of more than about 32K samples. This is because the mantissa @@ -8,54 +8,53 @@ into the array \, so there would remain 8 or fewer bits to supply the fraction. In the most extreme situation possible \, the sample could contain a Nyquist frequency sinusoid and the output would then have only about 8 bits of accuracy!; -#X obj 21 492 output~; -#X obj 285 411 samplerate~; -#X obj 285 435 / 2; -#X obj 274 349 loadbang; -#X obj 274 486 tabwrite~ \$0-tab; -#X obj 20 460 tabread4~ \$0-tab; -#X obj 285 459 osc~; -#X obj 140 460 tabread4~ \$0-tab; -#X obj 141 492 output~; -#X obj 274 390 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +#X obj 21 512 output~; +#X obj 285 431 samplerate~; +#X obj 285 455 / 2; +#X obj 274 369 loadbang; +#X obj 274 506 tabwrite~ \$0-tab; +#X obj 20 480 tabread4~ \$0-tab; +#X obj 285 479 osc~; +#X obj 140 480 tabread4~ \$0-tab; +#X obj 141 512 output~; +#X obj 274 410 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; -#X msg 298 372 \; pd dsp 1; -#X obj 21 377 *~ 10000; -#X obj 21 430 +~; -#X floatatom 140 379 6 0 0 0 - - -, f 6; -#X msg 195 349 1; -#X obj 273 514 table \$0-tab 200000; -#X obj 22 349 phasor~ 0.02; -#X msg 140 349 150001; -#X text 19 242 At left below an onset (1 or 150000 samples) is added +#X msg 298 392 \; pd dsp 1; +#X obj 21 397 *~ 10000; +#X obj 21 450 +~; +#X floatatom 140 399 6 0 0 0 - - -, f 6; +#X msg 195 369 1; +#X obj 273 534 table \$0-tab 200000; +#X obj 22 369 phasor~ 0.02; +#X msg 140 369 150001; +#X text 19 262 At left below an onset (1 or 150000 samples) is added to the index of a table lookup. If you select the onset of 150001 \, you should hear the truncation error. (The table contains a Nyquist signal and the "correct" output should be a 100 Hz. tone.) At right \, the onset is presented in the separate onset inlet. The worst-case truncation error drops by about 30 dB.; -#X text 39 540 BAD; -#X text 158 540 GOOD; -#X text 135 329 ONSET INTO TABLE; -#X text 274 330 This loads the table:; +#X text 39 570 BAD; +#X text 158 570 GOOD; +#X text 135 349 ONSET INTO TABLE; +#X text 274 350 This loads the table:; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header onsets_into_[tabread4~]_to_improve_accuracy 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 568 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 588 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; -#N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 25 KEYWORDS; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.42. Jonathan +#N canvas 407 220 494 284 META 0; +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.42. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION onsets into tabread4~ to improve accuracy +#X text 12 45 DESCRIPTION onsets into tabread4~ to improve accuracy ; -#X restore 392 570 pd META; +#X text 12 5 KEYWORDS tutorial; +#X restore 392 590 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; @@ -69,9 +68,9 @@ You can search for answers to questions on there \, and if you're having a hard time finding info you can always ask questions \, too. (See the netiquette page before posting \, though.); #X text 69 159 rethink calling that an "atom"; -#X restore 103 570 pd References; -#X obj 6 570 pddp/pddplink ../5.reference/pddp/help.pd -text help; -#X text 19 156 You can use the "onset" inlet to [tabread4~] to get +#X restore 103 590 pd References; +#X obj 6 590 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X text 19 176 You can use the "onset" inlet to [tabread4~] to get good accuracy reading longer arrays. The [tabread4~] object adds the index and the "main" (signal) inlet in 64-bit precision. So if \, for example \, the onset inlet could specify an integer exactly up to about diff --git a/pd/doc/3.audio.examples/B16.long-varispeed.pd b/pd/doc/3.audio.examples/B16.long-varispeed.pd index 6a86e7cd3..1d23937bf 100644 --- a/pd/doc/3.audio.examples/B16.long-varispeed.pd +++ b/pd/doc/3.audio.examples/B16.long-varispeed.pd @@ -1,4 +1,4 @@ -#N canvas 313 19 779 655 10; +#N canvas 244 30 779 655 10; #X obj 407 469 metro 100; #X obj 209 422 phasor~; #X obj 407 499 snapshot~; @@ -96,23 +96,22 @@ onset has actually increased (which has truncation error from summing in the phase snapshot) \, and subtract that increase from the phase \, giving a value that differs from zero by the truncation error but reflects the true phase we should reset to for continuity.; -#X text 17 241 The metronome rate is arbitrary but should be fast enough +#X text 17 251 The metronome rate is arbitrary but should be fast enough that the [phasor~] never has time to wrap.; #X text 467 402 Each 100 msec \, poll phase of [phasor~]; #X obj 1 778 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 25 KEYWORDS; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.42. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.42. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION variable speed playback from long tables +#X text 12 45 DESCRIPTION variable speed playback from long tables ; +#X text 12 5 KEYWORDS tutorial; #X restore 392 780 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C01.nyquist.pd b/pd/doc/3.audio.examples/C01.nyquist.pd index 82f23646a..b168ad0d8 100644 --- a/pd/doc/3.audio.examples/C01.nyquist.pd +++ b/pd/doc/3.audio.examples/C01.nyquist.pd @@ -1,7 +1,7 @@ -#N canvas 433 91 448 577 10; +#N canvas 430 25 448 577 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array table24 259 float 0; -#X coords 0 1.02 259 -1.02 258 130 1; +#X array table24 259 float 0 black black; +#X coords 0 1.02 258 -1.02 258 130 1; #X restore 24 358 graph; #X obj 24 232 line~; #X msg 24 181 500 \, 1423 4000; @@ -61,16 +61,15 @@ effect especially strong if you're running at a sample rate of 44100 #X obj 1 555 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION the nyquist theorem and foldover; +#X text 12 45 DESCRIPTION the nyquist theorem and foldover; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 557 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C02.sawtooth-foldover.pd b/pd/doc/3.audio.examples/C02.sawtooth-foldover.pd index 7aea62f94..e3687f026 100644 --- a/pd/doc/3.audio.examples/C02.sawtooth-foldover.pd +++ b/pd/doc/3.audio.examples/C02.sawtooth-foldover.pd @@ -1,4 +1,4 @@ -#N canvas 433 133 448 453 10; +#N canvas 434 25 448 453 10; #X obj 155 333 output~; #X obj 155 305 clip~ 0 1; #X obj 155 152 mtof; @@ -32,16 +32,15 @@ the straight sawtooth \, especially at high pitches.; #X obj 1 431 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION foldover in sawtooth waves; +#X text 12 45 DESCRIPTION foldover in sawtooth waves; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 433 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C03.zipper.noise.pd b/pd/doc/3.audio.examples/C03.zipper.noise.pd index ca6671a4a..78cd258a3 100644 --- a/pd/doc/3.audio.examples/C03.zipper.noise.pd +++ b/pd/doc/3.audio.examples/C03.zipper.noise.pd @@ -1,4 +1,4 @@ -#N canvas 433 149 448 405 10; +#N canvas 434 30 448 405 10; #X obj 21 318 output~; #X obj 22 290 *~; #X obj 96 318 output~; @@ -42,16 +42,15 @@ sample.; #X obj 1 383 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION zipper noise; -#X text 12 25 KEYWORDS signal; +#X text 12 45 DESCRIPTION zipper noise; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 385 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C04.control.to.signal.pd b/pd/doc/3.audio.examples/C04.control.to.signal.pd index 1ad6a1836..cb5b18564 100644 --- a/pd/doc/3.audio.examples/C04.control.to.signal.pd +++ b/pd/doc/3.audio.examples/C04.control.to.signal.pd @@ -1,10 +1,10 @@ -#N canvas 433 140 448 430 10; +#N canvas 434 37 448 430 10; #X obj 21 310 output~; #X obj 99 310 output~; #N canvas 0 0 450 300 metro 0; #X obj 88 39 loadbang; #X msg 87 65 1; -#X obj 87 131 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +#X obj 87 131 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 87 153 sel 0 1; #X obj 87 190 outlet; @@ -41,16 +41,15 @@ cycle has a different shape. Using [vline~] resolves the problem.; #X obj 1 408 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal conversion; -#X text 12 65 DESCRIPTION converting controls to signals; +#X text 12 45 DESCRIPTION converting controls to signals; +#X text 12 5 KEYWORDS signal conversion tutorial; #X restore 392 410 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C05.sampler.oneshot.pd b/pd/doc/3.audio.examples/C05.sampler.oneshot.pd index a231bbd93..a06f15523 100644 --- a/pd/doc/3.audio.examples/C05.sampler.oneshot.pd +++ b/pd/doc/3.audio.examples/C05.sampler.oneshot.pd @@ -1,7 +1,7 @@ -#N canvas 343 57 720 680 10; +#N canvas 271 25 720 613 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array tab28 176403 float 0; -#X coords 0 1.02 176403 -1.02 200 130 1; +#X array tab28 176403 float 0 black black; +#X coords 0 1.02 176402 -1.02 200 130 1; #X restore 479 189 graph; #X obj 150 321 loadbang; #X obj 23 270 hip~ 5; @@ -62,16 +62,15 @@ for two notes in under 5 msec. The second request would reset the delay #X obj 1 658 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION one-shot sampler using line~ as phase; -#X text 12 25 KEYWORDS signal; +#X text 12 45 DESCRIPTION one-shot sampler using line~ as phase; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 660 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C06.signal.to.control.pd b/pd/doc/3.audio.examples/C06.signal.to.control.pd index 0e6e2ceb6..e3f0121bf 100644 --- a/pd/doc/3.audio.examples/C06.signal.to.control.pd +++ b/pd/doc/3.audio.examples/C06.signal.to.control.pd @@ -1,4 +1,4 @@ -#N canvas 433 195 448 265 10; +#N canvas 434 220 448 265 10; #N canvas 0 0 269 179 metro 0; #X obj 88 39 loadbang; #X msg 87 65 1; @@ -25,16 +25,15 @@ not give you samples that are exactly evenly spaced.; #X obj 1 243 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal conversion; -#X text 12 65 DESCRIPTION converting signals to controls; +#X text 12 45 DESCRIPTION converting signals to controls; +#X text 12 5 KEYWORDS signal conversion tutorial; #X restore 392 245 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C07.envelope.follower.pd b/pd/doc/3.audio.examples/C07.envelope.follower.pd index 714151690..b9ab26653 100644 --- a/pd/doc/3.audio.examples/C07.envelope.follower.pd +++ b/pd/doc/3.audio.examples/C07.envelope.follower.pd @@ -1,4 +1,4 @@ -#N canvas 433 83 448 603 10; +#N canvas 388 27 448 603 10; #X text 19 123 Envelope followers are frequently used to detect attacks and periods of silence. (There are fancier attack detectors out there \, though.) Here is a simple threshold-based attack and rest detector. @@ -76,16 +76,15 @@ frequently it appears. Computation time doesn't depend heavily on N. #X obj 1 870 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION envelope followers; +#X text 12 45 DESCRIPTION envelope followers; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 872 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C08.analog.sequencer.pd b/pd/doc/3.audio.examples/C08.analog.sequencer.pd index 10afbd0cd..467b76826 100644 --- a/pd/doc/3.audio.examples/C08.analog.sequencer.pd +++ b/pd/doc/3.audio.examples/C08.analog.sequencer.pd @@ -1,13 +1,13 @@ -#N canvas 371 99 634 555 10; +#N canvas 336 36 634 555 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array 29-sequence 9 float 3; +#X array 29-sequence 9 float 3 black black; #A 0 110 550 385 495 165 385 495 275 615; #X coords 0 500 9 0 200 100 1; #X restore 411 112 graph; #X obj 23 406 *~; #X obj 23 434 hip~ 5; #N canvas 0 0 450 300 (subpatch) 0; -#X array 29-envelope 103 float 1; +#X array 29-envelope 103 float 1 black black; #A 0 -0.0199988 1.0673e-06 0.0500008 0.13 0.16 0.28 0.5 0.6 0.7 0.8 1.01111 1 0.988889 0.977778 0.966667 0.955556 0.944444 0.933333 0.922222 0.911111 0.9 0.888889 0.797778 0.737777 0.677777 0.647777 0.617777 @@ -24,7 +24,7 @@ #X coords 0 1 102 0 200 100 1; #X restore 412 216 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array 29-sample 259 float 1; +#X array 29-sample 259 float 1 black black; #A 0 0.989177 1 0.989177 0.95694 0.903989 0.83147 0.740952 0.634394 0.514103 0.382684 0.242981 0.0980184 -0.0490663 -0.195089 -0.336888 -0.471395 -0.595698 -0.707105 -0.803206 -0.88192 -0.941543 -0.980785 @@ -139,16 +139,15 @@ earlier.; #X obj 1 533 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION analog synth-style sequencer; +#X text 12 45 DESCRIPTION analog synth-style sequencer; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 534 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C09.sample.hold.pd b/pd/doc/3.audio.examples/C09.sample.hold.pd index e55160828..3cad8c748 100644 --- a/pd/doc/3.audio.examples/C09.sample.hold.pd +++ b/pd/doc/3.audio.examples/C09.sample.hold.pd @@ -1,11 +1,11 @@ -#N canvas 345 127 713 469 10; +#N canvas 293 25 713 469 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array samphold 44100 float 0; -#X coords 0 1 44100 0 300 200 1; +#X array samphold 44100 float 0 black black; +#X coords 0 1 44099 0 300 200 1; #X restore 365 116 graph; #N canvas 0 0 439 429 tables 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array dbtorms 123 float 1; +#X array dbtorms 123 float 1 black black; #A 0 0 0 1.25893e-05 1.41254e-05 1.58489e-05 1.77828e-05 1.99526e-05 2.23872e-05 2.51189e-05 2.81838e-05 3.16228e-05 3.54813e-05 3.98107e-05 4.46684e-05 5.01187e-05 5.62341e-05 6.30957e-05 7.07946e-05 7.94328e-05 @@ -30,7 +30,7 @@ #X text 282 48 10; #X text 97 158 ------ 123 samples ------; #N canvas 0 0 450 300 (subpatch) 0; -#X array mtof 130 float 1; +#X array mtof 130 float 1 black black; #A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499 12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017 21.8268 23.1247 24.4997 25.9565 27.5 29.1352 30.8677 32.7032 34.6478 @@ -86,16 +86,15 @@ is ideal for updating values when a phasor wraps around.; #X obj 1 447 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION sample and hold; +#X text 12 45 DESCRIPTION sample and hold; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 449 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/C10.monophonic.synth.pd b/pd/doc/3.audio.examples/C10.monophonic.synth.pd index fdb1be606..b99bf4d0b 100644 --- a/pd/doc/3.audio.examples/C10.monophonic.synth.pd +++ b/pd/doc/3.audio.examples/C10.monophonic.synth.pd @@ -1,4 +1,4 @@ -#N canvas 424 19 448 637 10; +#N canvas 426 42 448 637 10; #X obj 22 484 mtof; #X obj 22 433 stripnote; #X obj 173 489 select; @@ -70,16 +70,15 @@ replacing the wavetable lookup.; #X obj 1 747 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS MIDI; -#X text 12 65 DESCRIPTION monophonic MIDI synth; +#X text 12 45 DESCRIPTION monophonic MIDI synth; +#X text 12 5 KEYWORDS MIDI tutorial; #X restore 392 749 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D01.envelope.gen.pd b/pd/doc/3.audio.examples/D01.envelope.gen.pd index 26b9aff24..d6c67a846 100644 --- a/pd/doc/3.audio.examples/D01.envelope.gen.pd +++ b/pd/doc/3.audio.examples/D01.envelope.gen.pd @@ -1,60 +1,59 @@ -#N canvas 433 97 448 560 10; -#X text 203 210 attack; -#X text 274 211 release; -#X obj 204 347 line~; -#X msg 275 305 0 500; -#X obj 21 329 phasor~ 50; -#X obj 21 377 *~; -#X obj 21 425 wrap~; -#X msg 204 305 1 2500; -#X obj 21 353 -~ 0.5; -#X msg 139 281 10 200; -#X obj 204 281 del 200; +#N canvas 434 45 448 560 10; +#X text 203 220 attack; +#X text 274 221 release; +#X obj 204 357 line~; +#X msg 275 315 0 500; +#X obj 21 339 phasor~ 50; +#X obj 21 387 *~; +#X obj 21 435 wrap~; +#X msg 204 315 1 2500; +#X obj 21 363 -~ 0.5; +#X msg 139 291 10 200; +#X obj 204 291 del 200; #X text 18 37 This patch uses an envelope generator to control a sound. When you hit "attack" two things happen. First \, the line~ object rises to 10 in 200 milliseconds. Then after a "delay" of the same 200 msec \, the second message sends the line~ back down to 1 over another 2500 msec. The "release" just ramps us down to zero at the end.; -#X obj 21 473 output~; -#X obj 21 401 +~ 0.5; -#X obj 21 449 hip~ 5; -#X obj 204 230 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 21 483 output~; +#X obj 21 411 +~ 0.5; +#X obj 21 459 hip~ 5; +#X obj 204 240 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 275 231 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 275 241 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X msg 214 258 stop; -#X text 18 112 You can hit the "attack" and/or "release" while something +#X msg 214 268 stop; +#X text 18 122 You can hit the "attack" and/or "release" while something is still going on from a previous attack or release \, and the envelope generator does the ``right thing". In particular \, the release button sends a "stop" to the "del" object \, in case it is still scheduled to go off from a previous attack.; -#X text 18 187 The synthesis method is a form of waveshaping \, which +#X text 18 197 The synthesis method is a form of waveshaping \, which is the subject of a later chapter.; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header envelope_generators 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 538 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 548 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION envelope generators; -#X restore 392 540 pd META; +#X text 12 45 DESCRIPTION envelope generators; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 550 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 19 37 links:; #X text 7 2 envelope generators- Related Help Documents; -#X restore 103 540 pd References; -#X obj 6 540 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 550 pd References; +#X obj 6 550 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 2 0 5 1; #X connect 3 0 2 0; #X connect 4 0 8 0; diff --git a/pd/doc/3.audio.examples/D02.adsr.pd b/pd/doc/3.audio.examples/D02.adsr.pd index f272239d4..fdb336010 100644 --- a/pd/doc/3.audio.examples/D02.adsr.pd +++ b/pd/doc/3.audio.examples/D02.adsr.pd @@ -1,7 +1,7 @@ -#N canvas 433 88 448 588 10; +#N canvas 434 33 448 588 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array adsr-output 44100 float 0; -#X coords 0 1.02 44100 -1.02 200 130 1; +#X array adsr-output 44100 float 0 black black; +#X coords 0 1.02 44099 -1.02 200 130 1; #X restore 21 332 graph; #X text 50 464 ------ 1 second ------; #X obj 23 84 r trigger; @@ -35,16 +35,15 @@ you wish without having to wait for attacks or releases to finish; #X obj 1 566 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION envelope generators abstraction; +#X text 12 45 DESCRIPTION envelope generators abstraction; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 568 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D03.envelope.dB.pd b/pd/doc/3.audio.examples/D03.envelope.dB.pd index b4edaa2ae..c208a782d 100644 --- a/pd/doc/3.audio.examples/D03.envelope.dB.pd +++ b/pd/doc/3.audio.examples/D03.envelope.dB.pd @@ -1,8 +1,8 @@ -#N canvas 433 84 448 600 10; +#N canvas 434 33 448 600 10; #X obj 22 83 r trigger; #X obj 22 134 tabread4~ dbtorms; #N canvas 0 0 450 300 (subpatch) 0; -#X array dbtorms 123 float 1; +#X array dbtorms 123 float 1 black black; #A 0 0 0 1.25893e-05 1.41254e-05 1.58489e-05 1.77828e-05 1.99526e-05 2.23872e-05 2.51189e-05 2.81838e-05 3.16228e-05 3.54813e-05 3.98107e-05 4.46684e-05 5.01187e-05 5.62341e-05 6.30957e-05 7.07946e-05 7.94328e-05 @@ -21,7 +21,7 @@ 1.58489 1.77828 1.99526 2.23872 2.51189 2.81838 3.16228 3.54813 3.98107 4.46684 5.01187 5.62341 6.30957 7.07946 7.94328 8.91251 10 11.2202 12.5893; -#X coords 0 10 123 0 200 100 1; +#X coords 0 10 122 0 200 100 1; #X restore 207 109 graph; #N canvas 361 410 663 358 make-table 0; #X obj 97 195 moses 2; @@ -95,16 +95,15 @@ using a lookup table:; #X obj 1 577 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION using ADSR's output as dB; +#X text 12 45 DESCRIPTION using ADSR's output as dB; +#X text 13 5 KEYWORDS signal tutorial; #X restore 392 579 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D04.envelope.quartic.pd b/pd/doc/3.audio.examples/D04.envelope.quartic.pd index ca654625b..064837199 100644 --- a/pd/doc/3.audio.examples/D04.envelope.quartic.pd +++ b/pd/doc/3.audio.examples/D04.envelope.quartic.pd @@ -1,4 +1,4 @@ -#N canvas 433 97 448 559 10; +#N canvas 434 33 448 559 10; #X obj 21 268 osc~; #X obj 21 293 *~; #X obj 68 267 line~; @@ -47,16 +47,15 @@ than linear ones.; #X obj 1 537 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION quartic and linear envelopes compared; +#X text 12 45 DESCRIPTION quartic and linear envelopes compared; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 539 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D05.envelope.pitch.pd b/pd/doc/3.audio.examples/D05.envelope.pitch.pd index 3b079de81..b33e27cb7 100644 --- a/pd/doc/3.audio.examples/D05.envelope.pitch.pd +++ b/pd/doc/3.audio.examples/D05.envelope.pitch.pd @@ -1,4 +1,4 @@ -#N canvas 433 112 448 515 10; +#N canvas 434 41 448 515 10; #X obj 22 108 r trigger; #X obj 22 156 tabread4~ dbtorms; #X obj 22 230 *~; @@ -13,7 +13,7 @@ #X floatatom 369 67 0 0 0 0 - - -; #X floatatom 369 127 0 0 0 0 - - -; #N canvas 0 0 450 300 (subpatch) 0; -#X array dbtorms 123 float 1; +#X array dbtorms 123 float 1 black black; #A 0 0 0 1.25893e-05 1.41254e-05 1.58489e-05 1.77828e-05 1.99526e-05 2.23872e-05 2.51189e-05 2.81838e-05 3.16228e-05 3.54813e-05 3.98107e-05 4.46684e-05 5.01187e-05 5.62341e-05 6.30957e-05 7.07946e-05 7.94328e-05 @@ -38,7 +38,7 @@ #X text 742 291 10; #X text 544 403 ------ 123 samples ------; #N canvas 0 0 450 300 (subpatch) 0; -#X array mtof 130 float 1; +#X array mtof 130 float 1 black black; #A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499 12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017 21.8268 23.1247 24.4997 25.9565 27.5 29.1352 30.8677 32.7032 34.6478 @@ -144,16 +144,15 @@ like instead of straight pitch.; #X obj 1 492 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 25 KEYWORDS; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION pitch envelopes; +#X text 12 45 DESCRIPTION pitch envelopes; +#X text 12 5 KEYWORDS tutorial; #X restore 392 494 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D06.envelope.portamento.pd b/pd/doc/3.audio.examples/D06.envelope.portamento.pd index 284b97a5a..99823c897 100644 --- a/pd/doc/3.audio.examples/D06.envelope.portamento.pd +++ b/pd/doc/3.audio.examples/D06.envelope.portamento.pd @@ -1,4 +1,4 @@ -#N canvas 433 181 448 307 10; +#N canvas 434 48 448 307 10; #X floatatom 48 209 0 0 0 0 - - -; #N canvas 159 26 495 266 output 0; #X obj 338 160 t b; @@ -58,7 +58,7 @@ #X obj 23 179 osc~; #N canvas 247 30 505 439 tables 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array dbtorms 123 float 1; +#X array dbtorms 123 float 1 black black; #A 0 0 0 1.25893e-05 1.41254e-05 1.58489e-05 1.77828e-05 1.99526e-05 2.23872e-05 2.51189e-05 2.81838e-05 3.16228e-05 3.54813e-05 3.98107e-05 4.46684e-05 5.01187e-05 5.62341e-05 6.30957e-05 7.07946e-05 7.94328e-05 @@ -83,7 +83,7 @@ #X text 333 42 10; #X text 127 157 ------ 123 samples ------; #N canvas 0 0 450 300 (subpatch) 0; -#X array mtof 130 float 1; +#X array mtof 130 float 1 black black; #A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499 12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017 21.8268 23.1247 24.4997 25.9565 27.5 29.1352 30.8677 32.7032 34.6478 @@ -132,16 +132,15 @@ still might want to sweep in pitch \, not frequency:; #X obj 1 284 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.35. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.35. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION portamento; +#X text 12 45 DESCRIPTION portamento; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 286 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D07.additive.pd b/pd/doc/3.audio.examples/D07.additive.pd index 2bfe511fd..ef3c2a751 100644 --- a/pd/doc/3.audio.examples/D07.additive.pd +++ b/pd/doc/3.audio.examples/D07.additive.pd @@ -1,4 +1,4 @@ -#N canvas 433 103 448 542 10; +#N canvas 434 38 448 542 10; #X obj 23 424 catch~ sum; #X obj 209 254 s frequency; #X obj 293 254 s duration; @@ -42,16 +42,15 @@ Risset.; #X obj 1 519 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION additive synthesis; +#X text 12 45 DESCRIPTION additive synthesis; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 521 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D08.table.spectrum.pd b/pd/doc/3.audio.examples/D08.table.spectrum.pd index 2c29321fc..e2ed07e4f 100644 --- a/pd/doc/3.audio.examples/D08.table.spectrum.pd +++ b/pd/doc/3.audio.examples/D08.table.spectrum.pd @@ -1,6 +1,6 @@ -#N canvas 375 139 624 433 10; +#N canvas 344 37 624 433 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array spectrum-tab 127 float 1; +#X array spectrum-tab 127 float 1 black black; #A 0 48.5713 48.5713 48.5713 48.2142 48.2142 48.2142 48.2142 48.2142 48.2142 48.2142 48.2142 48.2142 48.2142 48.5713 48.5713 48.9284 48.9284 48.9284 48.9284 48.9284 48.9284 48.9284 48.5713 48.5713 48.5713 48.2142 @@ -90,16 +90,15 @@ which are computed in "oscbank".; #X obj 1 411 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal array; -#X text 12 65 DESCRIPTION drawable spectra; +#X text 12 45 DESCRIPTION drawable spectra; +#X text 12 5 KEYWORDS signal array tutorial; #X restore 392 413 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D09.shepard.tone.pd b/pd/doc/3.audio.examples/D09.shepard.tone.pd index 43b419f25..5ef2344a2 100644 --- a/pd/doc/3.audio.examples/D09.shepard.tone.pd +++ b/pd/doc/3.audio.examples/D09.shepard.tone.pd @@ -1,4 +1,4 @@ -#N canvas 433 93 448 573 10; +#N canvas 420 35 448 573 10; #X floatatom 179 479 0 0 0 0 - - -; #X floatatom 179 405 0 0 0 0 - - -; #X text 352 178 START; @@ -66,16 +66,15 @@ reverberator at bottom.; #X obj 1 793 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION shepard tone; +#X text 12 45 DESCRIPTION shepard tone; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 795 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D10.sampler.notes.pd b/pd/doc/3.audio.examples/D10.sampler.notes.pd index 48c8d8f9f..19713c361 100644 --- a/pd/doc/3.audio.examples/D10.sampler.notes.pd +++ b/pd/doc/3.audio.examples/D10.sampler.notes.pd @@ -1,16 +1,16 @@ -#N canvas 303 74 840 630 10; +#N canvas 109 25 840 630 10; #X msg 207 32 bang; #X obj 207 60 delay 5; #X text 447 294 end of note; #X obj 313 60 r note; #N canvas 459 46 678 451 samples 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array sample1 176403 float 0; +#X array sample1 176403 float 0 black black; #X coords 0 1.02 176403 -1.02 200 130 1; #X restore 262 41 graph; #X text 264 376 ------ 4 seconds ------; #N canvas 0 0 450 300 (subpatch) 0; -#X array sample2 176403 float 0; +#X array sample2 176403 float 0 black black; #X coords 0 1.02 176403 -1.02 200 130 1; #X restore 262 226 graph; #X restore 18 292 pd samples; @@ -212,16 +212,15 @@ change the duration and rise and decay times.; #X obj 1 796 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION chocolate sampler; +#X text 12 45 DESCRIPTION chocolate sampler; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 798 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D11.sampler.poly.pd b/pd/doc/3.audio.examples/D11.sampler.poly.pd index 4133ed42a..9d7d1eec1 100644 --- a/pd/doc/3.audio.examples/D11.sampler.poly.pd +++ b/pd/doc/3.audio.examples/D11.sampler.poly.pd @@ -1,12 +1,12 @@ -#N canvas 279 81 910 609 10; +#N canvas 75 25 910 609 10; #N canvas 0 0 600 392 samples 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array sample1 176403 float 0; +#X array sample1 176403 float 0 black black; #X coords 0 1.02 176403 -1.02 200 130 1; #X restore 262 41 graph; #X text 282 385 ------ 4 seconds ------; #N canvas 0 0 450 300 (subpatch) 0; -#X array sample2 176403 float 0; +#X array sample2 176403 float 0 black black; #X coords 0 1.02 176403 -1.02 200 130 1; #X restore 262 226 graph; #X restore 741 100 pd samples; @@ -133,16 +133,15 @@ voice number we just scored.; #X obj 1 587 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.33. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION polyphonic sampler; +#X text 12 45 DESCRIPTION polyphonic sampler; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 589 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D12.sampler.bis.pd b/pd/doc/3.audio.examples/D12.sampler.bis.pd index c2a5d2f1b..bf710c9da 100644 --- a/pd/doc/3.audio.examples/D12.sampler.bis.pd +++ b/pd/doc/3.audio.examples/D12.sampler.bis.pd @@ -1,12 +1,12 @@ -#N canvas 293 77 868 620 10; +#N canvas 142 33 868 620 10; #N canvas 0 0 600 392 samples 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array sample1 176403 float 0; +#X array sample1 176403 float 0 black black; #X coords 0 1.02 176403 -1.02 200 130 1; #X restore 262 41 graph; #X text 282 385 ------ 4 seconds ------; #N canvas 0 0 450 300 (subpatch) 0; -#X array sample2 176403 float 0; +#X array sample2 176403 float 0 black black; #X coords 0 1.02 176403 -1.02 200 130 1; #X restore 262 226 graph; #X restore 575 533 pd samples; @@ -105,11 +105,11 @@ sample2; #X obj 689 285 s onoff; #X obj 670 230 pipe; #X obj 670 253 pack; -#X msg 23 448 \; onoff 1 90 60 1 0 0 100; -#X msg 183 448 \; onoff 1 0; -#X msg 24 490 \; onoff 2 90 48 1 0 0 100; -#X msg 183 490 \; onoff 2 0; -#X msg 24 547 \; note 51 90 1000 1 0 0 100; +#X msg 23 458 \; onoff 1 90 60 1 0 0 100; +#X msg 183 458 \; onoff 1 0; +#X msg 24 500 \; onoff 2 90 48 1 0 0 100; +#X msg 183 500 \; onoff 2 0; +#X msg 24 557 \; note 51 90 1000 1 0 0 100; #X obj 397 292 sampvoice2; #X obj 397 316 sampvoice2; #X obj 397 340 sampvoice2; @@ -123,21 +123,21 @@ attach it to a MIDI keyboard \, for example.) "Note" messages act as before \, but in an intermediate step they are split onto note-on and note-off messages \, sent to "onoff". You can alternatively send messages straight to onoff if you don't know the duration in advance.; -#X text 19 133 Messages to "onoff" require a tag \, which is a number +#X text 19 143 Messages to "onoff" require a tag \, which is a number shared between the note-on and note-off message so that we can track down the voice to turn it off. If you're using MIDI input \, you can just re-use the pitch as a tag.; -#X text 22 428 separate messages for not on and off:; -#X text 21 528 single messages to do both as before:; -#X text 19 186 Messages to "onoff" whose amplitude is zero are note-off +#X text 22 438 separate messages for not on and off:; +#X text 21 538 single messages to do both as before:; +#X text 19 196 Messages to "onoff" whose amplitude is zero are note-off messages (the other parameters of note-off messages are ignored). The "sampvoice2" abstraction is a modification of "sampvoice" which looks at the amplitude field to decide whether to begin or end a note.; -#X text 20 250 To convert "note" messages to pairs of "onoff" messages +#X text 20 260 To convert "note" messages to pairs of "onoff" messages \, first a counter generates a tag. The the "pipe" object delays a copy of the tag \, which the following "pack" object converts into a note-off message (a pair of numbers \, the tag and a zero.); -#X text 20 314 Under "r onoff" \, the poly object allocates a voice +#X text 20 324 Under "r onoff" \, the poly object allocates a voice number \, putting it out paired with velocity. After swapping the two and packing them into a single message \, the amplitude is checked against zero by the "route 0" object \; if zero \, the "pack" confects @@ -149,27 +149,26 @@ add all the other parameters and route to the appropriate voice.; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X text 74 27 ... version 2 for separate note-on/off messages; -#X obj 1 598 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 608 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION polyphonic sampler; -#X restore 392 600 pd META; +#X text 12 45 DESCRIPTION polyphonic sampler; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 610 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 polyphonic sampler- Related Help Documents; #X text 19 37 links:; -#X restore 103 600 pd References; -#X obj 6 600 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 610 pd References; +#X obj 6 610 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 3 0 4 0; #X connect 3 1 30 1; #X connect 3 1 4 1; diff --git a/pd/doc/3.audio.examples/D13.additive.qlist.pd b/pd/doc/3.audio.examples/D13.additive.qlist.pd index 752216a45..e808f8c2a 100644 --- a/pd/doc/3.audio.examples/D13.additive.qlist.pd +++ b/pd/doc/3.audio.examples/D13.additive.qlist.pd @@ -1,4 +1,4 @@ -#N canvas 433 153 448 391 10; +#N canvas 426 75 448 391 10; #X obj 22 106 osc-voice amp1 pit1; #X obj 22 130 osc-voice amp2 pit2; #X obj 22 154 osc-voice amp3 pit3; @@ -34,17 +34,16 @@ react to qlists but also to mousing.; #X obj 1 369 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION using qlist to sequence an oscillator bank +#X text 12 45 DESCRIPTION using qlist to sequence an oscillator bank ; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 371 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/D14.vibrato.pd b/pd/doc/3.audio.examples/D14.vibrato.pd index 1a505bcbb..a4f8cf012 100644 --- a/pd/doc/3.audio.examples/D14.vibrato.pd +++ b/pd/doc/3.audio.examples/D14.vibrato.pd @@ -1,4 +1,4 @@ -#N canvas 418 74 493 629 10; +#N canvas 418 38 493 629 10; #X obj 21 213 r trigger; #X obj 21 409 *~; #X obj 21 437 *~; @@ -19,7 +19,7 @@ #X obj 21 379 *~; #X obj 182 359 +~ 1; #N canvas 0 0 450 300 (subpatch) 0; -#X array array62 131 float 1; +#X array array62 131 float 1 black black; #A 0 0.970031 1 0.970031 0.881921 0.740952 0.555571 0.336891 0.0980184 -0.146729 -0.382682 -0.595698 -0.773009 -0.88 -0.9 -0.92 -0.92 -0.85773 -0.707109 -0.514106 -0.290288 -0.0490716 0.195086 0.427551 0.63439 @@ -83,16 +83,15 @@ wave if you prefer.; #X obj 1 607 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION using ADSRs for portamento; +#X text 12 45 DESCRIPTION using ADSRs for portamento; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 609 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/E01.spectrum.pd b/pd/doc/3.audio.examples/E01.spectrum.pd index 022c046ff..524589ef4 100644 --- a/pd/doc/3.audio.examples/E01.spectrum.pd +++ b/pd/doc/3.audio.examples/E01.spectrum.pd @@ -1,11 +1,11 @@ -#N canvas 375 55 624 683 10; +#N canvas 255 25 624 671 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array E01-signal 882 float 0; -#X coords 0 5 882 -5 200 130 1; +#X array E01-signal 882 float 0 black black; +#X coords 0 5 881 -5 200 130 1; #X restore 381 61 graph; #X obj 21 304 hip~ 5; #N canvas 0 0 450 300 (subpatch) 0; -#X array E01-spectrum 128 float 0; +#X array E01-spectrum 128 float 0 black black; #X coords 0 4300 127 -40 257 130 1; #X restore 235 246 graph; #X text 115 243 <-- click to graph; @@ -118,14 +118,14 @@ to be analyzed is a simple sum of up to six partials of a fundamental frequency (which is 172 Hz \, close to F below middle C \, if your sample rate happens to be 44100 Hz. The fundamental is chosen to agree with the analysis patch ("pd FFT") and is computed within it).; -#X text 18 522 The partials are numbered 0 through 5 \, where 0 means +#X text 18 532 The partials are numbered 0 through 5 \, where 0 means DC \, or zero frequency \, 1 is the fundamental \, and so on. The toggle switches allow you to turn them on and off separately. You have to press the "click to graph" button to update the two graphs.; #X text 495 364 0; #X text 493 243 1; #X text 494 302 0.5; -#X text 18 586 The upper graph is just the (time domain) waveform \, +#X text 18 596 The upper graph is just the (time domain) waveform \, about four periods long. The lower graph is the magnitude spectrum. Its peaks are the magnitudes of the partials. Note that a DC signal of amplitude one is considered a partial of magnitude 1 \, but the @@ -135,34 +135,33 @@ have peak magnitudes of only 0.5 in the spectrum.; #X text 583 57 5; #X text 584 177 -5; #X text 62 221 sum; -#X text 18 672 Here we're introducing a new feature: multiple signals +#X text 18 682 Here we're introducing a new feature: multiple signals connected to a signal inlet (as in the "*~ 1") are added. This is the most convenient way to sum the six partials.; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header graphing_spectra_of_audio_signals 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 727 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 737 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION graphing spectra of audio signals; -#X restore 392 729 pd META; +#X text 12 45 DESCRIPTION graphing spectra of audio signals; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 739 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 spectrum- Related Help Documents; #X text 19 37 links:; -#X restore 103 729 pd References; -#X obj 6 729 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 739 pd References; +#X obj 6 739 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 1 0 7 0; #X connect 1 0 7 1; #X connect 6 0 4 1; diff --git a/pd/doc/3.audio.examples/E02.ring.modulation.pd b/pd/doc/3.audio.examples/E02.ring.modulation.pd index 27b99b0a8..c9d9fa917 100644 --- a/pd/doc/3.audio.examples/E02.ring.modulation.pd +++ b/pd/doc/3.audio.examples/E02.ring.modulation.pd @@ -1,11 +1,11 @@ -#N canvas 320 21 755 628 10; +#N canvas 225 25 755 628 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array E02-signal 882 float 0; -#X coords 0 5 882 -5 200 130 1; +#X array E02-signal 882 float 0 black black; +#X coords 0 5 881 -5 200 130 1; #X restore 361 66 graph; #X obj 15 392 hip~ 5; #N canvas 0 0 450 300 (subpatch) 0; -#X array E02-spectrum 128 float 0; +#X array E02-spectrum 128 float 0 black black; #X coords 0 4300 127 -40 257 130 1; #X restore 295 271 graph; #N canvas 45 83 558 569 fft 0; @@ -143,7 +143,7 @@ f/16 where "f" is the fundamental frequency \, giving roughly 11 Hz. per step. Note that if the modulation frequency is set to zero we can't predict the overall amplitude because it depends on what phase the modulation oscillator happened to have at that moment.; -#X text 12 560 If you choose a multiple of the fundamental as a modulation +#X text 12 570 If you choose a multiple of the fundamental as a modulation frequency (16 \, 32 \, 48 \, 64 \, ... "steps") the result is again periodic at the original frequency. If you select a half-integer times the fundamental (8 \, 24 \, 40 \, ... steps) the pitch drops by an @@ -156,27 +156,26 @@ indeterminate pitch.; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X text 91 27 multiplying a complex tone by a sinusoid; -#X obj 1 681 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 691 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION ring modulation; -#X text 12 25 KEYWORDS signal; -#X restore 392 683 pd META; +#X text 12 45 DESCRIPTION ring modulation; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 693 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 ring modulation- Related Help Documents; #X text 19 37 links:; -#X restore 103 683 pd References; -#X obj 6 683 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 693 pd References; +#X obj 6 693 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 1 0 6 0; #X connect 1 0 6 1; #X connect 5 0 3 1; diff --git a/pd/doc/3.audio.examples/E03.octave.divider.pd b/pd/doc/3.audio.examples/E03.octave.divider.pd index 0d52dbad0..04e2b02c0 100644 --- a/pd/doc/3.audio.examples/E03.octave.divider.pd +++ b/pd/doc/3.audio.examples/E03.octave.divider.pd @@ -1,4 +1,4 @@ -#N canvas 392 78 571 618 10; +#N canvas 361 29 571 618 10; #X obj 287 155 loadbang; #X obj 31 271 hip~ 5; #X obj 407 67 adc~ 1; @@ -44,7 +44,7 @@ #X obj 201 89 loadbang; #N canvas 414 195 613 302 looper 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array E03-table 44103 float 0; +#X array E03-table 44103 float 0 black black; #X coords 0 1.02 44103 -1.02 200 130 1; #X restore 349 22 graph; #X text 347 161 ---- 44103 samples ----; @@ -101,7 +101,7 @@ with what the sound was doing at the middle of the window \, i.e. \, samples so it will be as tightly synchronized with the analysis data as possible. (If you're doing this on a real-time input \, you might drop the delay and settle for less perfect synchronization.); -#X text 28 486 About fiddle~ \, suffice it to say that the third outlet +#X text 28 501 About fiddle~ \, suffice it to say that the third outlet contains (pitch \, amplitude) pairs. We unpack the pitch and strip out any zeros (when fiddle~ fails to find a pitch it outputs zero but we'd rather stick with the most recent good one). This is converted @@ -110,27 +110,26 @@ oscillator. (You can also try large-ish integers which leave the pitch intact but introduce funny formants.); #X msg 306 207 read ../../saucisse.wav E03-table; #X obj 31 38 adc~ 1; -#X obj 1 596 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 611 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION octave dividing via ring modulation; -#X restore 392 598 pd META; +#X text 12 45 DESCRIPTION octave dividing via ring modulation; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 613 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 octave dividing- Related Help Documents; #X text 19 37 links:; -#X restore 103 598 pd References; -#X obj 6 598 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 613 pd References; +#X obj 6 613 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header octave_dividing_via_ring_modulation 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp diff --git a/pd/doc/3.audio.examples/E04.difference.tone.pd b/pd/doc/3.audio.examples/E04.difference.tone.pd index f45ca7b59..2050ca960 100644 --- a/pd/doc/3.audio.examples/E04.difference.tone.pd +++ b/pd/doc/3.audio.examples/E04.difference.tone.pd @@ -1,4 +1,4 @@ -#N canvas 433 116 448 504 10; +#N canvas 405 31 448 504 10; #X obj 23 151 +~; #X obj 22 232 output~; #X obj 158 197 / 100; @@ -21,7 +21,7 @@ sinusoids. The sinusoids are initially tuned to 225 and 300 Hz \, a musical fourth \, and have amplitude of 50 percent (0.5) so that the sum is always less than 1 in absolute value. At these settings the "clip~" object passes its input through unchanged.; -#X text 21 372 If the amplitude rises above 50 percent \, the clip~ +#X text 21 382 If the amplitude rises above 50 percent \, the clip~ object starts altering the signal nonlinearly \, and the result is no longer as if the two sinusoids had been processed separately. Instead \, they "intermodulate" \, finding a common subharmonic if one exists. @@ -32,28 +32,27 @@ of the second tone and you will hear a variety of effects.; 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 482 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 492 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 25 KEYWORDS; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION nonlinear distortion and difference tones +#X text 12 45 DESCRIPTION nonlinear distortion and difference tones ; -#X restore 392 484 pd META; +#X text 12 5 KEYWORDS tutorial; +#X restore 392 494 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 difference tones- Related Help Documents; #X text 19 37 links:; -#X restore 103 484 pd References; -#X obj 6 484 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 494 pd References; +#X obj 6 494 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 7 0; #X connect 2 0 7 1; #X connect 3 0 2 0; diff --git a/pd/doc/3.audio.examples/E05.chebychev.pd b/pd/doc/3.audio.examples/E05.chebychev.pd index 420d2df02..f11229534 100644 --- a/pd/doc/3.audio.examples/E05.chebychev.pd +++ b/pd/doc/3.audio.examples/E05.chebychev.pd @@ -1,4 +1,4 @@ -#N canvas 392 109 573 523 10; +#N canvas 340 28 573 523 10; #X obj 22 282 output~; #X obj 44 87 / 100; #X floatatom 44 67 5 0 100 0 - - -, f 5; @@ -11,7 +11,7 @@ #X obj 22 182 *~ 128; #X obj 22 230 tabread4~ E05-tab; #N canvas 0 0 450 300 (subpatch) 0; -#X array E05-tab 259 float 1; +#X array E05-tab 259 float 1 black black; #A 0 -1.20148 -1 -0.810724 -0.63326 -0.467216 -0.31221 -0.167866 -0.0338144 0.0903053 0.204849 0.310166 0.406597 0.494477 0.574137 0.645895 0.71007 0.766969 0.816895 0.860145 0.897008 0.927771 0.952708 0.972093 0.98619 @@ -244,16 +244,15 @@ draw your own functions by hand and/or try other formulas.; #X obj 1 501 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION waveshaping with Chebychev polynomials; +#X text 12 45 DESCRIPTION waveshaping with Chebychev polynomials; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 503 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/E06.exponential.pd b/pd/doc/3.audio.examples/E06.exponential.pd index b5bb97f30..16bb1345b 100644 --- a/pd/doc/3.audio.examples/E06.exponential.pd +++ b/pd/doc/3.audio.examples/E06.exponential.pd @@ -1,13 +1,13 @@ -#N canvas 410 22 486 623 10; +#N canvas 363 34 486 623 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array E06-signal 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array E06-signal 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 228 206 graph; #X obj 14 301 hip~ 5; #N canvas 0 0 450 300 (subpatch) 0; -#X array E06-spectrum 128 float 0; +#X array E06-spectrum 128 float 0 black black; #X coords 0 4300 127 -40 257 130 1; -#X restore 171 402 graph; +#X restore 171 392 graph; #N canvas 45 83 558 569 fft 0; #X obj 19 61 inlet~; #X obj 208 212 inlet; @@ -79,27 +79,27 @@ frequency for showing spectra: the 16th bin in a 4096-point spectrum #X obj 82 237 bng 18 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 14 329 output~; -#X text 202 535 1; -#X text 236 535 2; -#X text 268 535 3; -#X text 300 535 4; -#X text 333 535 5; -#X text 363 535 6; -#X text 394 535 7; -#X text 170 535 0; -#X text 235 552 -- partial number --; +#X text 202 523 1; +#X text 236 523 2; +#X text 268 523 3; +#X text 300 523 4; +#X text 333 523 5; +#X text 363 523 6; +#X text 394 523 7; +#X text 170 523 0; +#X text 235 540 -- partial number --; #X text 430 260 0; #X obj 12 50 r fundamental; #X obj 12 73 osc~; #X text 299 186 WAVEFORM; -#X text 265 384 SPECTRUM; -#X text 431 518 0; -#X text 429 397 1; -#X text 430 456 0.5; +#X text 265 374 SPECTRUM; +#X text 431 508 0; +#X text 429 387 1; +#X text 430 446 0.5; #X obj 82 258 tgl 18 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #N canvas 0 0 450 300 (subpatch) 0; -#X array E06-tab 1003 float 1; +#X array E06-tab 1003 float 1 black black; #A 0 1.01005 1 0.99005 0.980199 0.970446 0.960789 0.951229 0.941765 0.932394 0.923116 0.913931 0.904837 0.895834 0.88692 0.878095 0.869358 0.860708 0.852144 0.843665 0.83527 0.826959 0.818731 0.810584 0.802519 @@ -297,16 +297,16 @@ frequency for showing spectra: the 16th bin in a 4096-point spectrum #X text 107 73 <--index in; #X text 224 166 0; #X text 391 168 10; -#X text 12 766 When the index of modulation exceeds 5 we scan past +#X text 12 772 When the index of modulation exceeds 5 we scan past the right hand border of the table (the thousandth point \, corresponding to exp(-10). This isn't a problem because the values are all close to zero there.; -#X text 11 691 Table lookup is prepared as follows. First add one to +#X text 11 692 Table lookup is prepared as follows. First add one to the sinusoid and adjust its amplitude according to index \; it ranges from 0 to 2*index. Then adjust for the table's input scale (100 points per unit \, so multiply by 100) and add one to skip the interpolation point at the beginning of the table.; -#X text 11 572 Here we use an exponential function as a waveshaping +#X text 11 559 Here we use an exponential function as a waveshaping transfer function. The theory is shown in detail in the accompanying book \, but in short \, we adjust the sinusoid so that \, as the index increases \, we scan starting from the left of the transfer function @@ -322,17 +322,16 @@ gets progressively fatter.; #X obj 1 832 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION waveshaping using an exponential function +#X text 12 45 DESCRIPTION waveshaping using an exponential function ; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 834 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/E07.evenodd.pd b/pd/doc/3.audio.examples/E07.evenodd.pd index 340957244..e1851013f 100644 --- a/pd/doc/3.audio.examples/E07.evenodd.pd +++ b/pd/doc/3.audio.examples/E07.evenodd.pd @@ -1,10 +1,10 @@ -#N canvas 340 102 729 544 10; +#N canvas 217 25 729 544 10; #X obj 230 131 f; #X obj 264 107 + 1; #X obj 264 131 mod 11; #N canvas 0 0 450 300 (subpatch) 0; -#X array E07 11 float 0; -#X coords 0 96 11 36 100 160 1; +#X array E07 11 float 0 black black; +#X coords 0 96 10 36 100 160 1; #X restore 600 46 graph; #X floatatom 320 83 0 10 999 0 - - -; #X obj 230 203 mtof; @@ -81,16 +81,15 @@ Between the two we get mixtures of even and odd.; #X obj 1 522 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION sequenced waveshaping synthesizer; +#X text 12 45 DESCRIPTION sequenced waveshaping synthesizer; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 524 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/E08.phase.mod.pd b/pd/doc/3.audio.examples/E08.phase.mod.pd index 2cbfd66b9..b28aba2a4 100644 --- a/pd/doc/3.audio.examples/E08.phase.mod.pd +++ b/pd/doc/3.audio.examples/E08.phase.mod.pd @@ -1,4 +1,4 @@ -#N canvas 371 19 618 656 10; +#N canvas 298 25 618 656 10; #X obj 194 174 *~; #X floatatom 194 117 0 0 0 0 - - -; #X obj 282 154 line~; @@ -39,7 +39,7 @@ modulation index \, which wasn't necessary in the previous patch.; #X text 182 498 as this:; #X obj 297 491 osc~; #N canvas 0 0 450 300 (subpatch) 0; -#X array phase-out 441 float 1; +#X array phase-out 441 float 1 black black; #A 0 0.43245 0.433463 0.434452 0.435418 0.43636 0.43728 0.438178 0.439056 0.439912 0.440749 0.441567 0.442366 0.443148 0.443912 0.444659 0.445391 0.446107 0.446809 0.447497 0.448172 0.448834 0.449484 0.450122 0.450751 @@ -97,7 +97,7 @@ modulation index \, which wasn't necessary in the previous patch.; 0.633203 0.636873 0.640491 0.644057 0.647571 0.651033 0.654445 0.657805 0.661114 0.664372 0.66758 0.670739 0.673847 0.676905 0.679914 0.682875 ; -#X array cos-out 441 float 1; +#X array cos-out 441 float 1 black black; #A 0 -0.911256 -0.913872 -0.916365 -0.918789 -0.921097 -0.923342 -0.925486 -0.927564 -0.92956 -0.931483 -0.93335 -0.935129 -0.936867 -0.938528 -0.940137 -0.941707 -0.943197 -0.944657 -0.946072 -0.947426 -0.948755 @@ -181,16 +181,15 @@ to be between 0 and 1... in this patch the index is in hundredths. #X obj 1 634 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION phase modulation; +#X text 12 45 DESCRIPTION phase modulation; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 636 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/E09.FM.spectrum.pd b/pd/doc/3.audio.examples/E09.FM.spectrum.pd index 35849f7cb..ffc64e282 100644 --- a/pd/doc/3.audio.examples/E09.FM.spectrum.pd +++ b/pd/doc/3.audio.examples/E09.FM.spectrum.pd @@ -1,4 +1,4 @@ -#N canvas 399 119 551 495 10; +#N canvas 338 35 551 495 10; #X obj 94 208 *~; #X obj 136 208 line~; #X obj 18 199 cos~; @@ -81,11 +81,11 @@ frequency for showing spectra: the 16th bin in a 4096-point spectrum #X text 143 262 <-- repeatedly; #X text 144 242 <-- graph once; #N canvas 0 0 450 300 (subpatch) 0; -#X array E09-signal 882 float 0; -#X coords 0 1.02 882 -1.02 200 80 1; +#X array E09-signal 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 80 1; #X restore 283 46 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array E09-spectrum 259 float 0; +#X array E09-spectrum 259 float 0 black black; #X coords 0 0.51 258 -0.008 259 130 1; #X restore 253 193 graph; #X text 292 132 ---- 0.02 seconds ----; @@ -123,17 +123,16 @@ complicated interference effects.; #X obj 1 473 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION spectrum of two-operator phase modulation +#X text 12 45 DESCRIPTION spectrum of two-operator phase modulation ; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 475 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/E10.complex.FM.pd b/pd/doc/3.audio.examples/E10.complex.FM.pd index 2b3ae3831..e4589efdf 100644 --- a/pd/doc/3.audio.examples/E10.complex.FM.pd +++ b/pd/doc/3.audio.examples/E10.complex.FM.pd @@ -1,4 +1,4 @@ -#N canvas 378 124 615 479 10; +#N canvas 336 25 615 479 10; #X obj 98 256 *~; #X obj 113 232 line~; #X obj 22 188 cos~; @@ -77,7 +77,7 @@ fundamental; #X text 150 319 <-- repeatedly; #X text 151 299 <-- graph once; #N canvas 0 0 450 300 (subpatch) 0; -#X array E10-spectrum 259 float 0; +#X array E10-spectrum 259 float 0 black black; #X coords 0 2100 258 -20 259 130 1; #X restore 320 151 graph; #X text 350 282 2; @@ -127,16 +127,15 @@ upward from 0 introduces sidebands around each of the sidebands.; #X obj 1 457 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION spectrum of complex phase modulation; +#X text 12 45 DESCRIPTION spectrum of complex phase modulation; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 459 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/F01.pulse.pd b/pd/doc/3.audio.examples/F01.pulse.pd index cc6a1a1b1..6690e8c06 100644 --- a/pd/doc/3.audio.examples/F01.pulse.pd +++ b/pd/doc/3.audio.examples/F01.pulse.pd @@ -1,10 +1,10 @@ -#N canvas 363 20 641 592 10; +#N canvas 338 34 641 592 10; #X obj 242 131 line~; #X floatatom 58 58 0 0 0 0 - - -; #X obj 35 309 cos~; #N canvas 0 0 450 300 (subpatch) 0; -#X array pulse-output 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array pulse-output 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 393 299 graph; #X obj 58 85 phasor~ 0; #X obj 242 107 pack 0 50; @@ -16,12 +16,12 @@ #X obj 35 259 clip~ -0.5 0.5; #X obj 35 412 hip~ 5; #N canvas 0 0 450 300 (subpatch) 0; -#X array phase-output 882 float 0; -#X coords 0 1.02 882 -1.02 200 60 1; +#X array phase-output 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 60 1; #X restore 393 57 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array clip-output 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array clip-output 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 393 142 graph; #X text 118 108 phase -1/2 to 1/2; #X text 144 85 phase 0 to 1; @@ -45,7 +45,7 @@ #X obj 35 355 *~ 0.5; #X text 93 331 add one (range now from 0 to 2); #X text 101 354 ...and now from 0 to 1; -#X text 20 493 This patch computes a pulse train \, with an "index" +#X text 20 498 This patch computes a pulse train \, with an "index" control that essentually squeezes the pulses. If "bandwidth" is zero you get a pure cosine wave \, and for larger values of the bandwidth \, the cosine wave is squeezed to fill smaller portions of the waveform. @@ -61,27 +61,26 @@ you get a pure cosine wave \, and for larger values of the bandwidth 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 570 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 575 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION pulse generator; -#X restore 392 572 pd META; +#X text 12 45 DESCRIPTION pulse generator; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 577 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 pulse generator- Related Help Documents; #X text 19 37 links:; -#X restore 103 572 pd References; -#X obj 6 572 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 577 pd References; +#X obj 6 577 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 27 0; #X connect 1 0 4 0; #X connect 2 0 32 0; diff --git a/pd/doc/3.audio.examples/F02.just.say.pd b/pd/doc/3.audio.examples/F02.just.say.pd index 9047467b1..3ed6f0135 100644 --- a/pd/doc/3.audio.examples/F02.just.say.pd +++ b/pd/doc/3.audio.examples/F02.just.say.pd @@ -1,8 +1,8 @@ -#N canvas 392 32 567 408 10; +#N canvas 358 31 567 408 10; #X obj 23 262 cos~; #N canvas 0 0 450 300 (subpatch) 0; -#X array env-output 44100 float 0; -#X coords 0 1.02 44100 -1.02 200 130 1; +#X array env-output 44100 float 0 black black; +#X coords 0 1.02 44099 -1.02 200 130 1; #X restore 326 91 graph; #X floatatom 48 320 0 0 0 0 - - -; #N canvas 159 26 495 266 output 0; @@ -135,16 +135,15 @@ turn-of-the-millenium western art music.; #X obj 1 386 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION portamento; +#X text 12 45 DESCRIPTION portamento; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 388 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/F03.pulse.spectrum.pd b/pd/doc/3.audio.examples/F03.pulse.spectrum.pd index 439cb3004..7e0d5c467 100644 --- a/pd/doc/3.audio.examples/F03.pulse.spectrum.pd +++ b/pd/doc/3.audio.examples/F03.pulse.spectrum.pd @@ -1,4 +1,4 @@ -#N canvas 375 33 610 515 10; +#N canvas 363 27 610 515 10; #X obj 169 180 line~; #X obj 22 201 cos~; #X obj 169 156 pack 0 50; @@ -12,11 +12,11 @@ #X text 164 37 bandwidth; #X obj 169 205 +~ 1; #X obj 22 225 +~ 1; -#X text 19 357 Here is a measured amplitude spectrum for the pulse +#X text 19 367 Here is a measured amplitude spectrum for the pulse train. Nutice that \, other than a smallish spillover \, the energy sits in one "lobe" whose changing width justifies our calling the squeeze factor the "bandwidth."; -#X text 18 410 The spectrum is in units of amplitude. THe sidelobes +#X text 18 430 The spectrum is in units of amplitude. THe sidelobes \, although they look small \, are actually only about 34 dB down. You can design more complicated pulse trains \, little Blackman window functions \, which control the sidelobes much better.; @@ -83,11 +83,11 @@ until much later.; #X obj 22 249 *~ 0.5; #X obj 23 104 phasor~; #N canvas 0 0 450 300 (subpatch) 0; -#X array F03-signal 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array F03-signal 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 390 251 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array F03-spectrum 259 float 0; +#X array F03-spectrum 259 float 0 black black; #X coords 0 0.51 258 -0.008 256 130 1; #X restore 279 56 graph; #X text 418 384 ---- 0.02 seconds ----; @@ -105,27 +105,26 @@ until much later.; 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 487 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 507 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION pulse spectrum measurement; -#X restore 392 489 pd META; +#X text 12 45 DESCRIPTION pulse spectrum measurement; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 509 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 pulse spectrum- Related Help Documents; #X text 19 37 links:; -#X restore 103 489 pd References; -#X obj 6 489 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 509 pd References; +#X obj 6 509 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 11 0; #X connect 1 0 12 0; #X connect 2 0 0 0; diff --git a/pd/doc/3.audio.examples/F04.waveshaping.pulse.pd b/pd/doc/3.audio.examples/F04.waveshaping.pulse.pd index 790382bc2..3bc52b2a1 100644 --- a/pd/doc/3.audio.examples/F04.waveshaping.pulse.pd +++ b/pd/doc/3.audio.examples/F04.waveshaping.pulse.pd @@ -1,4 +1,4 @@ -#N canvas 370 23 611 541 10; +#N canvas 368 32 611 541 10; #X obj 220 181 line~; #X obj 220 157 pack 0 50; #X floatatom 220 56 0 0 0 0 - - -; @@ -15,11 +15,11 @@ #X text 84 181 1+X^2; #X text 71 206 1/(1+X^2); #N canvas 0 0 450 300 (subpatch) 0; -#X array F04-signal 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array F04-signal 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 396 313 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array F04-spectrum 259 float 0; +#X array F04-spectrum 259 float 0 black black; #X coords 0 1.01 258 -0.008 256 200 1; #X restore 307 48 graph; #X text 426 446 ---- 0.02 seconds ----; @@ -93,12 +93,12 @@ until much later.; #X text 174 257 <-- repeatedly; #X text 175 237 <-- graph once; #X obj 69 91 osc~; -#X text 19 464 NOTE: The PAF algorithm is protected by patents belonging +#X text 19 484 NOTE: The PAF algorithm is protected by patents belonging to IRCAM. Noncommercial use seems to be fine with them but contact them first if you want to sell something using this.; -#X text 19 433 This is the form of pulse train used in the original +#X text 19 453 This is the form of pulse train used in the original Phase Aligned Formant (PAF) algorithm.; -#X text 19 336 Here we use waveshaping to make another form of pulse +#X text 19 346 Here we use waveshaping to make another form of pulse train. This one has a neat spectrum: the partials drop off exponentially (with the "bandwidth" controlling the rate of dropoff.) In later patches we'll use a wavetable to do the waveshaping but for simplicity \, it's @@ -112,28 +112,27 @@ the output.; 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 519 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 539 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION another pulse width modulation algorithm +#X text 12 45 DESCRIPTION another pulse width modulation algorithm ; -#X restore 392 521 pd META; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 541 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 pulse width modulation- Related Help Documents; #X text 19 37 links:; -#X restore 103 521 pd References; -#X obj 6 521 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 541 pd References; +#X obj 6 541 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 3 1; #X connect 1 0 0 0; #X connect 2 0 4 0; diff --git a/pd/doc/3.audio.examples/F05.ring.modulation.pd b/pd/doc/3.audio.examples/F05.ring.modulation.pd index bf0c7a5c8..a49ecd050 100644 --- a/pd/doc/3.audio.examples/F05.ring.modulation.pd +++ b/pd/doc/3.audio.examples/F05.ring.modulation.pd @@ -1,10 +1,10 @@ -#N canvas 367 20 625 517 10; +#N canvas 273 25 625 517 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array F05-signal 882 float 0; -#X coords 0 1 882 -1 200 130 1; +#X array F05-signal 882 float 0 black black; +#X coords 0 1 881 -1 200 130 1; #X restore 388 248 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array F05-spectrum 256 float 0; +#X array F05-spectrum 256 float 0 black black; #X coords 0 0.51 255 -0.008 256 130 1; #X restore 299 52 graph; #X text 386 379 ---- 0.02 seconds ----; @@ -136,7 +136,7 @@ formant centered at the given partial.; #X obj 38 173 osc~; #X obj 38 148 *; #X obj 72 148 r freq; -#X text 18 406 This patch is limited to making formants centered on +#X text 18 415 This patch is limited to making formants centered on harmonics. The center frequency thus can't be moved smoothly up and down at will (try shift-clicking on modulation frequency to make fractions). Next we'll look at two techniques for sliding a formant frequency without @@ -148,27 +148,26 @@ losing harmonicity.; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X text 74 173 modulating oscillator; -#X obj 1 494 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 503 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION ring modulated pulse trains; -#X restore 392 496 pd META; +#X text 12 45 DESCRIPTION ring modulated pulse trains; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 505 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 pulse trains- Related Help Documents; #X text 19 37 links:; -#X restore 103 496 pd References; -#X obj 6 496 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 505 pd References; +#X obj 6 505 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 7 0 8 0; #X connect 8 0 10 0; #X connect 10 0 14 0; diff --git a/pd/doc/3.audio.examples/F06.packets.pd b/pd/doc/3.audio.examples/F06.packets.pd index c404665e6..b1cc1e08f 100644 --- a/pd/doc/3.audio.examples/F06.packets.pd +++ b/pd/doc/3.audio.examples/F06.packets.pd @@ -1,9 +1,9 @@ -#N canvas 341 22 692 622 10; +#N canvas 229 25 692 622 10; #X obj 283 346 line~; #X obj 21 387 cos~; #N canvas 0 0 450 300 (subpatch) 0; -#X array pulse-output 882 float 0; -#X coords 0 1 882 -1 200 130 1; +#X array pulse-output 882 float 0 black black; +#X coords 0 1 881 -1 200 130 1; #X restore 447 394 graph; #X obj 283 323 pack 0 50; #X floatatom 283 277 0 0 0 0 - - -; @@ -40,11 +40,11 @@ #X obj 188 343 line~; #X obj 188 320 pack 0 50; #N canvas 0 0 450 300 (subpatch) 0; -#X array carrier 882 float 0; +#X array carrier 882 float 0 black black; #X coords 0 1 881 -1 200 140 1; #X restore 447 223 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array window 882 float 0; +#X array window 882 float 0 black black; #X coords 0 1 881 -1 200 140 1; #X restore 447 55 graph; #X text 170 504 <-- graph; @@ -61,7 +61,7 @@ #X text 221 423 <--this cosine goes at the; #X text 250 459 but its phase is reset each; #X text 248 478 fundamental period.; -#X text 19 36 The simpler of two techniques for making slidable center +#X text 19 31 The simpler of two techniques for making slidable center frequencies is to synthesize enveloped sinusoidal wave packets. The packets should repeat at the fundamental frequency \, but the frequency of the packet itself controls the center frequency of the formant. @@ -93,16 +93,15 @@ occur when the enveloping signal is zero.; #X obj 1 600 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION windowed packets; +#X text 12 45 DESCRIPTION windowed packets; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 602 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/F07.packet.spectrum.pd b/pd/doc/3.audio.examples/F07.packet.spectrum.pd index ed45baa42..28e5dabeb 100644 --- a/pd/doc/3.audio.examples/F07.packet.spectrum.pd +++ b/pd/doc/3.audio.examples/F07.packet.spectrum.pd @@ -1,7 +1,7 @@ -#N canvas 399 22 531 624 10; -#X obj 282 351 line~; -#X obj 34 442 cos~; -#X floatatom 59 542 0 0 0 0 - - -; +#N canvas 383 27 531 624 10; +#X obj 282 326 line~; +#X obj 34 417 cos~; +#X floatatom 59 517 0 0 0 0 - - -; #N canvas 176 241 532 273 output 0; #X obj 338 160 t b; #X obj 338 110 f; @@ -53,38 +53,38 @@ #X connect 21 0 22 1; #X connect 23 0 20 0; #X connect 26 0 21 0; -#X restore 34 564 pd output; -#X msg 85 542 MUTE; -#X obj 282 327 pack 0 50; -#X floatatom 282 255 0 0 0 0 - - -; -#X obj 34 356 -~ 0.5; -#X obj 34 398 *~; -#X obj 282 279 / 10; -#X obj 34 420 clip~ -0.5 0.5; -#X text 279 232 bandwidth; -#X obj 282 375 +~ 1; -#X obj 34 465 +~ 1; -#X obj 184 436 cos~; -#X obj 34 489 *~; -#X floatatom 198 274 4 0 0 0 - - -, f 4; -#X obj 198 298 / 10; -#X obj 184 414 *~; -#X text 196 236 center; -#X text 196 251 freq.; -#X obj 282 303 max 0; -#X obj 198 370 line~; -#X obj 198 346 pack 0 50; -#X obj 198 322 max 0; -#X floatatom 34 308 4 0 0 0 - - -, f 4; -#X obj 34 332 phasor~ 100; -#X text 120 542 <-- output; -#X text 31 284 freq.; -#X text 31 269 fundamental; +#X restore 34 539 pd output; +#X msg 85 517 MUTE; +#X obj 282 302 pack 0 50; +#X floatatom 282 230 0 0 0 0 - - -; +#X obj 34 331 -~ 0.5; +#X obj 34 373 *~; +#X obj 282 254 / 10; +#X obj 34 395 clip~ -0.5 0.5; +#X text 279 207 bandwidth; +#X obj 282 350 +~ 1; +#X obj 34 440 +~ 1; +#X obj 184 411 cos~; +#X obj 34 464 *~; +#X floatatom 198 249 4 0 0 0 - - -, f 4; +#X obj 198 273 / 10; +#X obj 184 389 *~; +#X text 196 211 center; +#X text 196 226 freq.; +#X obj 282 278 max 0; +#X obj 198 345 line~; +#X obj 198 321 pack 0 50; +#X obj 198 297 max 0; +#X floatatom 34 283 4 0 0 0 - - -, f 4; +#X obj 34 307 phasor~ 100; +#X text 120 517 <-- output; +#X text 31 259 freq.; +#X text 31 244 fundamental; #N canvas 0 0 450 300 (subpatch) 0; -#X array spectrum 128 float 0; -#X coords 0 500 128 0 256 130 1; -#X restore 240 432 graph; -#X msg 91 495 bang; +#X array spectrum 128 float 0 black black; +#X coords 0 500 127 0 256 130 1; +#X restore 240 407 graph; +#X msg 91 470 bang; #N canvas 204 17 358 238 fft 0; #X obj 46 48 inlet~; #X obj 159 181 tabwrite~ spectrum; @@ -103,45 +103,44 @@ #X connect 4 0 6 0; #X connect 5 0 6 0; #X connect 6 0 1 0; -#X restore 58 517 pd fft; -#X text 239 572 0; -#X text 487 569 5512; -#X text 127 495 <-- graph; -#X text 19 64 Here's the spectrum you get. Note that even if you put +#X restore 58 492 pd fft; +#X text 239 547 0; +#X text 487 544 5512; +#X text 127 470 <-- graph; +#X text 19 39 Here's the spectrum you get. Note that even if you put the center frequency right on a partial \, there is significant energy in neighboring partials (try fundamental 440 \, "center freq" 30 \, bandwidth 0.); -#X text 18 134 The center frequency is in units of ten per partial +#X text 18 109 The center frequency is in units of ten per partial \, or in other words a value of "30" means "centered on the third partial". ; -#X text 22 185 This technique only works if you're doing Hanning-window +#X text 22 160 This technique only works if you're doing Hanning-window shaped PWM--you can't combine this naturally with FM or with the waveshaping technique we'll see later.; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header windowed_packet_spectrum 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 602 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 577 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION windowed packet spectrum; -#X restore 392 604 pd META; +#X text 12 45 DESCRIPTION windowed packet spectrum; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 579 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 windowed packet spectrum- Related Help Documents; #X text 19 37 links:; -#X restore 103 604 pd References; -#X obj 6 604 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 579 pd References; +#X obj 6 579 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 12 0; #X connect 1 0 13 0; #X connect 2 0 3 1; diff --git a/pd/doc/3.audio.examples/F08.two.cosines.pd b/pd/doc/3.audio.examples/F08.two.cosines.pd index 61a0a3b7e..255fd66bc 100644 --- a/pd/doc/3.audio.examples/F08.two.cosines.pd +++ b/pd/doc/3.audio.examples/F08.two.cosines.pd @@ -1,4 +1,4 @@ -#N canvas 405 23 493 610 10; +#N canvas 396 28 493 610 10; #X obj 124 379 cos~; #X floatatom 171 169 4 0 100 0 - - -, f 4; #X obj 171 193 / 10; @@ -7,7 +7,7 @@ #X obj 171 265 line~; #X obj 171 217 max 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array F08-carrier 882 float 0; +#X array F08-carrier 882 float 0 black black; #X coords 0 2 881 -2 200 140 1; #X restore 277 121 graph; #X floatatom 24 266 4 0 0 0 - - -, f 4; @@ -49,16 +49,15 @@ partial 5 with amplitude 0.7 and partial 6 with amplitude 0.3:; #X obj 1 588 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION movable center frequency; +#X text 12 45 DESCRIPTION movable center frequency; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 590 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/F09.declickit.pd b/pd/doc/3.audio.examples/F09.declickit.pd index 17a062682..bd33426ee 100644 --- a/pd/doc/3.audio.examples/F09.declickit.pd +++ b/pd/doc/3.audio.examples/F09.declickit.pd @@ -1,4 +1,4 @@ -#N canvas 420 23 448 659 10; +#N canvas 401 36 448 622 10; #X obj 82 451 cos~; #X obj 82 421 *~; #X obj 124 451 cos~; @@ -8,9 +8,9 @@ #X obj 124 486 -~; #X obj 144 518 *~; #X obj 122 543 +~; -#X obj 156 129 loadbang; -#X obj 156 155 metro 400; -#X obj 168 179 del 200; +#X obj 156 134 loadbang; +#X obj 156 160 metro 400; +#X obj 168 184 del 200; #X obj 204 296 samphold~; #N canvas 0 0 405 406 switch 0; #X obj 15 383 outlet~; @@ -68,16 +68,15 @@ crossings. At the phase crossings the two weighted cosines add to one #X obj 1 637 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION changing the center frequency quickly; +#X text 12 45 DESCRIPTION changing the center frequency quickly; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 639 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/F10.sweepable.FM.pd b/pd/doc/3.audio.examples/F10.sweepable.FM.pd index 5c9ece801..194ead23e 100644 --- a/pd/doc/3.audio.examples/F10.sweepable.FM.pd +++ b/pd/doc/3.audio.examples/F10.sweepable.FM.pd @@ -1,36 +1,36 @@ -#N canvas 337 19 711 648 10; -#X obj 138 405 cos~; -#X obj 138 359 *~; -#X obj 181 407 cos~; -#X obj 222 308 wrap~; -#X obj 185 307 -~; -#X obj 181 384 +~; -#X obj 179 442 -~; -#X obj 200 468 *~; -#X obj 185 277 samphold~; -#X floatatom 202 157 4 0 200 0 - - -, f 4; -#X obj 202 180 / 10; -#X obj 202 229 line~; -#X obj 202 206 pack 0 50; -#X obj 91 212 phasor~; -#X floatatom 91 189 4 0 0 0 - - -, f 4; -#X text 77 151 fundamental; -#X text 77 166 (= mod freq); -#X text 400 185 index; -#X text 400 200 (percent); -#X floatatom 405 224 4 0 500 0 - - -, f 4; -#X obj 355 290 cos~; -#X obj 405 293 line~; -#X obj 355 313 *~; -#X obj 405 247 / 100; -#X obj 405 270 pack 0 50; -#X obj 138 382 +~; -#X text 358 339 modulating; -#X text 358 355 oscillator; -#X text 42 381 both phases-->; -#X text 11 368 add modulator to; -#X obj 203 561 output~; -#X obj 202 530 hip~; +#N canvas 241 25 711 648 10; +#X obj 138 425 cos~; +#X obj 138 379 *~; +#X obj 181 427 cos~; +#X obj 222 328 wrap~; +#X obj 185 327 -~; +#X obj 181 404 +~; +#X obj 179 462 -~; +#X obj 200 488 *~; +#X obj 185 297 samphold~; +#X floatatom 202 177 4 0 200 0 - - -, f 4; +#X obj 202 200 / 10; +#X obj 202 249 line~; +#X obj 202 226 pack 0 50; +#X obj 91 232 phasor~; +#X floatatom 91 209 4 0 0 0 - - -, f 4; +#X text 77 171 fundamental; +#X text 77 186 (= mod freq); +#X text 400 205 index; +#X text 400 220 (percent); +#X floatatom 405 244 4 0 500 0 - - -, f 4; +#X obj 355 310 cos~; +#X obj 405 313 line~; +#X obj 355 333 *~; +#X obj 405 267 / 100; +#X obj 405 290 pack 0 50; +#X obj 138 402 +~; +#X text 358 359 modulating; +#X text 358 375 oscillator; +#X text 42 401 both phases-->; +#X text 11 388 add modulator to; +#X obj 203 581 output~; +#X obj 202 550 hip~; #N canvas 122 211 558 609 fft 0; #X obj 23 55 inlet~; #X obj 210 303 inlet; @@ -87,19 +87,19 @@ until much later.; #X connect 26 0 27 1; #X connect 27 0 2 0; #X connect 29 0 25 1; -#X restore 256 530 pd fft; -#X obj 289 485 bng 18 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 256 550 pd fft; +#X obj 289 505 bng 18 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 289 506 tgl 18 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 289 526 tgl 18 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X text 310 505 <-- repeatedly; -#X text 311 485 <-- graph once; +#X text 310 525 <-- repeatedly; +#X text 311 505 <-- graph once; #N canvas 0 0 450 300 (subpatch) 0; -#X array F10-spectrum 259 float 0; +#X array F10-spectrum 259 float 0 black black; #X coords 0 0.51 258 -0.008 256 130 1; -#X restore 440 394 graph; -#X text 432 525 0; -#X obj 177 494 +~; +#X restore 440 414 graph; +#X text 432 545 0; +#X obj 177 514 +~; #X text 20 37 We can apply the two-cosine method to FM synthesis to get FM spectra which slide up and down: we just treat the cosines like carrier signals in an FM instrument. This doesn't work as well as you'd @@ -107,35 +107,34 @@ wish \, because the phases of the partials of the two FM instruments don't line up \, so that \, for indices of modulation above about 20% \, you get beating effects as the center frequency goes up and down. ; -#X text 521 535 -- frequency --; -#X text 672 526 2700; +#X text 521 555 -- frequency --; +#X text 672 546 2700; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header applying_two-cosine_carrier_to_FM 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 626 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 646 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.34. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION applying two-cosine carrier to FM; -#X restore 392 628 pd META; +#X text 12 45 DESCRIPTION applying two-cosine carrier to FM; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 648 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 frequency modulation- Related Help Documents; #X text 19 37 links:; -#X restore 103 628 pd References; -#X obj 6 628 pddp/pddplink ../5.reference/pddp/help.pd -text help; -#X text 202 122 center freq.; -#X text 202 136 in tenths of fundamental); +#X restore 103 648 pd References; +#X obj 6 648 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X text 202 142 center freq.; +#X text 202 156 in tenths of fundamental); #X connect 0 0 6 1; #X connect 0 0 39 0; #X connect 1 0 25 0; diff --git a/pd/doc/3.audio.examples/F11.anharmonic.FM.pd b/pd/doc/3.audio.examples/F11.anharmonic.FM.pd index cba84c58e..fa9d14322 100644 --- a/pd/doc/3.audio.examples/F11.anharmonic.FM.pd +++ b/pd/doc/3.audio.examples/F11.anharmonic.FM.pd @@ -1,4 +1,4 @@ -#N canvas 376 33 596 536 10; +#N canvas 369 25 596 536 10; #X obj 102 353 cos~; #X floatatom 153 156 4 0 200 0 - - -, f 4; #X obj 153 179 / 10; @@ -85,7 +85,7 @@ until much later.; #X text 210 393 <-- repeatedly; #X text 211 373 <-- graph once; #N canvas 0 0 450 300 (subpatch) 0; -#X array F11-spectrum 259 float 0; +#X array F11-spectrum 259 float 0 black black; #X coords 0 0.51 258 -0.008 256 130 1; #X restore 324 110 graph; #X text 316 242 0; @@ -108,17 +108,16 @@ at the original period when the center frequency roosts on a harmonic. #X obj 1 513 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION how not to apply two-cosine carrier to fm +#X text 12 45 DESCRIPTION how not to apply two-cosine carrier to fm ; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 515 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/F12.paf.pd b/pd/doc/3.audio.examples/F12.paf.pd index 00a1551df..7e655ee8f 100644 --- a/pd/doc/3.audio.examples/F12.paf.pd +++ b/pd/doc/3.audio.examples/F12.paf.pd @@ -1,29 +1,29 @@ -#N canvas 337 22 692 652 10; -#X obj 98 520 cos~; -#X obj 98 497 *~; -#X obj 141 520 cos~; -#X obj 197 454 wrap~; -#X obj 161 454 -~; -#X obj 141 497 +~; -#X obj 141 550 -~; -#X obj 141 582 *~; -#X obj 97 582 +~; -#X obj 160 427 samphold~; -#X floatatom 159 305 4 0 500 0 - - -, f 4; -#X obj 159 328 / 10; -#X obj 159 376 line~; -#X obj 159 353 pack 0 50; -#X obj 99 373 phasor~; -#X floatatom 99 352 4 0 0 0 - - -, f 4; -#X text 79 333 fundamental; -#X text 333 390 index; -#X text 333 407 (percent); -#X floatatom 333 428 4 0 500 0 - - -, f 4; -#X obj 333 474 line~; -#X obj 254 494 *~; -#X obj 333 451 pack 0 50; +#N canvas 312 25 692 652 10; +#X obj 98 540 cos~; +#X obj 98 517 *~; +#X obj 141 540 cos~; +#X obj 197 474 wrap~; +#X obj 161 474 -~; +#X obj 141 517 +~; +#X obj 141 570 -~; +#X obj 141 602 *~; +#X obj 97 602 +~; +#X obj 160 447 samphold~; +#X floatatom 159 325 4 0 500 0 - - -, f 4; +#X obj 159 348 / 10; +#X obj 159 396 line~; +#X obj 159 373 pack 0 50; +#X obj 99 393 phasor~; +#X floatatom 99 372 4 0 0 0 - - -, f 4; +#X text 79 353 fundamental; +#X text 333 410 index; +#X text 333 427 (percent); +#X floatatom 333 448 4 0 500 0 - - -, f 4; +#X obj 333 494 line~; +#X obj 254 514 *~; +#X obj 333 471 pack 0 50; #N canvas 0 0 450 300 (subpatch) 0; -#X array bell-curve 200 float 1; +#X array bell-curve 200 float 1 black black; #A 0 1.12535e-07 1.54727e-07 2.12059e-07 2.89706e-07 3.94519e-07 5.35535e-07 7.24633e-07 9.77371e-07 1.31404e-06 1.76105e-06 2.35258e-06 3.13275e-06 4.15832e-06 5.50199e-06 7.25659e-06 9.54016e-06 1.25023e-05 1.63317e-05 @@ -82,23 +82,23 @@ #X connect 9 0 5 1; #X connect 10 0 8 0; #X restore 496 226 pd make-table; -#X obj 254 471 cos~; -#X obj 254 448 -~ 0.25; -#X obj 254 517 +~ 100; -#X obj 254 540 tabread4~ bell-curve; -#X obj 125 614 *~; -#X text 286 557 waveshaper; +#X obj 254 491 cos~; +#X obj 254 468 -~ 0.25; +#X obj 254 537 +~ 100; +#X obj 254 560 tabread4~ bell-curve; +#X obj 125 634 *~; +#X text 286 577 waveshaper; #X text 430 409 0; #X text 621 408 200; #N canvas 0 0 450 300 (subpatch) 0; -#X array F12-spectrum 259 float 0; +#X array F12-spectrum 259 float 0 black black; #X coords 0 0.51 258 -0.008 256 130 1; #X restore 406 48 graph; #X text 403 180 0; #X text 487 184 -- frequency --; #X text 629 181 2700; -#X obj 125 686 output~; -#X obj 124 655 hip~; +#X obj 125 706 output~; +#X obj 124 675 hip~; #N canvas 122 211 558 609 fft 0; #X obj 23 55 inlet~; #X obj 210 303 inlet; @@ -155,39 +155,39 @@ until much later.; #X connect 25 0 26 1; #X connect 26 0 2 0; #X connect 28 0 24 1; -#X restore 178 655 pd fft; -#X obj 211 611 bng 18 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 178 675 pd fft; +#X obj 211 631 bng 18 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 211 632 tgl 18 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 211 652 tgl 18 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X text 232 631 <-- repeatedly; -#X text 233 611 <-- graph once; +#X text 232 651 <-- repeatedly; +#X text 233 631 <-- graph once; #X text 19 46 Instead of using the two cosines as FM carrier oscillators \, we can use them as ring modulators for a natural or synthetic tone. Here we use waveshaping - to wit \, a sinusoid looking up a Gaussian bell curve. This has the nice properties that the partials are always positive cosines in phase \, and the spectrum spreads out smoothly as the index changes.; -#X obj 254 422 *~ 0.5; +#X obj 254 442 *~ 0.5; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header PAF: 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X text 38 26 two-cosine ring modulator for waveshaper; -#X text 19 132 For phase coherency \, the waveshaper and the cosine +#X text 19 140 For phase coherency \, the waveshaper and the cosine pair are driven from the same [phasor~] object. Since the waveshaping is done using a symmetric curve \, its output is at double the frequency of the input. So for each cycle of the phasor we compute a half-cycle of the sine function (by multiplying by 0.5 and subtracting 0.25 before the cosine lookup). We center the cosine output for lookup in a 200-point table containing a bell curve.; -#X text 18 229 Then with [*~] we do the ring modulation and we're done. +#X text 18 248 Then with [*~] we do the ring modulation and we're done. This is the PAF (phase-aligned formant) synthesis algorithm (patented 1993 by IRCAM).; -#X text 157 270 center frequency; -#X text 157 285 (tenths of fundamental); -#X text 16 613 ring mod step -->; -#X obj 1 751 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X text 157 290 center frequency; +#X text 157 305 (tenths of fundamental); +#X text 16 633 ring mod step -->; +#X obj 1 771 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; #X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; @@ -201,14 +201,14 @@ Wilkes revised the patch to conform to the PDDP template for Pd version #X text 12 25 KEYWORDS signal; #X text 12 65 DESCRIPTION two-cosine ring modulator for waveshaper ; -#X restore 392 753 pd META; +#X restore 392 773 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 PAF- Related Help Documents; #X text 19 37 links:; -#X restore 103 753 pd References; -#X obj 6 753 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 773 pd References; +#X obj 6 773 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 6 1; #X connect 0 0 8 0; #X connect 1 0 5 0; diff --git a/pd/doc/3.audio.examples/F13.paf.control.pd b/pd/doc/3.audio.examples/F13.paf.control.pd index 8ee79bba6..5b07cd202 100644 --- a/pd/doc/3.audio.examples/F13.paf.control.pd +++ b/pd/doc/3.audio.examples/F13.paf.control.pd @@ -1,24 +1,24 @@ -#N canvas 400 28 528 645 10; -#X obj 76 528 cos~; -#X obj 76 505 *~; -#X obj 119 528 cos~; -#X obj 174 473 wrap~; -#X obj 138 473 -~; -#X obj 119 505 +~; -#X obj 112 558 -~; -#X obj 132 590 *~; -#X obj 94 590 +~; -#X obj 138 441 samphold~; -#X floatatom 138 241 4 0 127 0 - - -, f 4; -#X obj 138 308 line~; -#X obj 138 285 pack 0 50; -#X obj 29 384 phasor~; -#X floatatom 29 290 4 0 127 0 - - -, f 4; -#X text 20 251 fundamental; -#X floatatom 336 304 4 0 127 0 - - -, f 4; -#X obj 336 375 line~; -#X obj 247 504 *~; -#X obj 336 352 pack 0 50; +#N canvas 377 25 528 645 10; +#X obj 76 548 cos~; +#X obj 76 525 *~; +#X obj 119 548 cos~; +#X obj 174 493 wrap~; +#X obj 138 493 -~; +#X obj 119 525 +~; +#X obj 112 578 -~; +#X obj 132 610 *~; +#X obj 94 610 +~; +#X obj 138 461 samphold~; +#X floatatom 138 261 4 0 127 0 - - -, f 4; +#X obj 138 328 line~; +#X obj 138 305 pack 0 50; +#X obj 29 404 phasor~; +#X floatatom 29 310 4 0 127 0 - - -, f 4; +#X text 20 271 fundamental; +#X floatatom 336 324 4 0 127 0 - - -, f 4; +#X obj 336 395 line~; +#X obj 247 524 *~; +#X obj 336 372 pack 0 50; #N canvas 94 264 600 388 make-table 0; #X msg 81 44 bang; #X obj 81 73 t b b; @@ -32,7 +32,7 @@ #X obj 63 168 sel 199; #X obj 51 241 expr ($f1-100)/25; #N canvas 0 0 450 300 (subpatch) 0; -#X array bell-curve 200 float 1; +#X array bell-curve 200 float 1 black black; #A 0 1.12535e-07 1.54727e-07 2.12059e-07 2.89706e-07 3.94519e-07 5.35535e-07 7.24633e-07 9.77371e-07 1.31404e-06 1.76105e-06 2.35258e-06 3.13275e-06 4.15832e-06 5.50199e-06 7.25659e-06 9.54016e-06 1.25023e-05 1.63317e-05 @@ -78,30 +78,30 @@ #X connect 8 0 7 0; #X connect 9 0 5 1; #X connect 10 0 8 0; -#X restore 255 647 pd make-table; -#X obj 247 478 cos~; -#X obj 247 453 -~ 0.25; -#X obj 247 530 +~ 100; -#X obj 247 553 tabread4~ bell-curve; -#X obj 133 619 *~; -#X text 279 578 waveshaper; -#X obj 29 314 mtof; -#X obj 160 333 expr 1/$f1; -#X obj 138 261 mtof; -#X obj 138 357 *~; -#X text 334 277 bandwidth; -#X obj 336 326 mtof; -#X obj 336 411 *~; -#X obj 336 435 *~ 25; -#X text 376 410 divide by fundamental; -#X text 394 434 range for table; -#X text 313 529 offset to middle of table; -#X text 145 379 C.F. relative; -#X text 146 395 to fundamental; -#X text 18 266 (MIDI units); -#X text 169 617 ring mod; -#X obj 133 646 output~; -#X text 20 123 Here we take a somewhat lax approach to sampholding +#X restore 255 667 pd make-table; +#X obj 247 498 cos~; +#X obj 247 473 -~ 0.25; +#X obj 247 550 +~ 100; +#X obj 247 573 tabread4~ bell-curve; +#X obj 133 639 *~; +#X text 279 598 waveshaper; +#X obj 29 334 mtof; +#X obj 160 353 expr 1/$f1; +#X obj 138 281 mtof; +#X obj 138 377 *~; +#X text 334 297 bandwidth; +#X obj 336 346 mtof; +#X obj 336 431 *~; +#X obj 336 455 *~ 25; +#X text 376 430 divide by fundamental; +#X text 394 454 range for table; +#X text 313 549 offset to middle of table; +#X text 145 399 C.F. relative; +#X text 146 415 to fundamental; +#X text 18 286 (MIDI units); +#X text 169 637 ring mod; +#X obj 133 666 output~; +#X text 20 133 Here we take a somewhat lax approach to sampholding the center frequency control. The frequency itself changes instantly \, but the center/fundamental frequency ratio waits for the next period. This gives a slight "chirp" if the fundamental is abruptly raised a @@ -109,7 +109,7 @@ couple of octaves. There's no easy way using Pd's built-in primitives to avoid this. Note however that there's a "paf~" extern available which solves this problem better and \, moreover \, runs much faster. ; -#X obj 247 428 *~ 0.5; +#X obj 247 448 *~ 0.5; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header changing_PAF_controls_to_natural_units 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -120,28 +120,27 @@ without having the formant shift up and down in parallel. Here all three frequencies are expressed in MIDI units. The bandwidth and center frequency have to be divided by the fundamental (the expr 1/$f1 takes its reciprocal and two [*~] objects finish the division.); -#X text 136 222 center freq.; -#X obj 1 711 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X text 136 242 center freq.; +#X obj 1 731 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION changing PAF controls to natural units; -#X text 12 25 KEYWORDS signal; -#X restore 392 713 pd META; +#X text 12 45 DESCRIPTION changing PAF controls to natural units; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 733 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 PAF- Related Help Documents; #X text 19 37 links:; -#X restore 103 713 pd References; -#X obj 6 713 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 733 pd References; +#X obj 6 733 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 6 1; #X connect 0 0 8 0; #X connect 1 0 5 0; diff --git a/pd/doc/3.audio.examples/F14.wave.packet.pd b/pd/doc/3.audio.examples/F14.wave.packet.pd index 9e551fde8..6d6fac4d2 100644 --- a/pd/doc/3.audio.examples/F14.wave.packet.pd +++ b/pd/doc/3.audio.examples/F14.wave.packet.pd @@ -1,4 +1,4 @@ -#N canvas 387 23 561 651 10; +#N canvas 388 45 561 651 10; #X floatatom 232 201 4 0 127 0 - - -, f 4; #X text 228 163 center; #X obj 232 268 line~; @@ -64,16 +64,15 @@ of sinusoids to make complex spectral shapes.; #X obj 1 745 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.40. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.40. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION wave packets as alternative to PAF; +#X text 12 45 DESCRIPTION wave packets as alternative to PAF; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 747 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/G01.delay.pd b/pd/doc/3.audio.examples/G01.delay.pd index 2696f62b0..368026ac9 100644 --- a/pd/doc/3.audio.examples/G01.delay.pd +++ b/pd/doc/3.audio.examples/G01.delay.pd @@ -1,8 +1,8 @@ -#N canvas 424 20 448 557 10; +#N canvas 425 45 448 557 10; #N canvas 0 0 548 248 sample 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array G01-tab 61079 float 0; -#X coords 0 1 61078 -1 200 140 1; +#X array G01-tab 62079 float 0 black black; +#X coords 0 1 62078 -1 200 140 1; #X restore 100 20 graph; #X obj 61 176 loadbang; #X obj 60 221 soundfiler; @@ -27,40 +27,39 @@ -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 535 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 545 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION delays; -#X restore 392 537 pd META; +#X text 12 45 DESCRIPTION delays; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 547 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 delays- Related Help Documents; #X text 19 37 links:; -#X restore 103 537 pd References; -#X text 21 345 You can delay a signal using the [delwrite~] and [delread~] +#X restore 103 547 pd References; +#X text 21 355 You can delay a signal using the [delwrite~] and [delread~] objects. In this example \, a sample loops continuously and is added to a delayed copy of itself.; -#X text 21 387 The [delwrite~] object creates the delay line \; you +#X text 21 397 The [delwrite~] object creates the delay line \; you give it a name and a size in milliseconds. Each [delwrite~] should have a different name.; -#X text 21 429 [delread~]'s arguments are the name of a [delwrite~] +#X text 21 439 [delread~]'s arguments are the name of a [delwrite~] (of which there should be exactly one) and an optional delay time in milliseconds between 0 and the length of the delay line. Each [delwrite~] may have as many [delread~]s as you wish \, which can then function as multiple delay taps.; -#X text 20 493 The [delread~] object always delays the signal an integer +#X text 20 503 The [delread~] object always delays the signal an integer number of samples and does no interpolation.; -#X obj 6 537 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X obj 6 547 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 1 0 4 0; #X connect 4 0 10 1; #X connect 5 0 10 0; diff --git a/pd/doc/3.audio.examples/G02.delay.loop.pd b/pd/doc/3.audio.examples/G02.delay.loop.pd index def2bbb03..e5627427a 100644 --- a/pd/doc/3.audio.examples/G02.delay.loop.pd +++ b/pd/doc/3.audio.examples/G02.delay.loop.pd @@ -1,4 +1,4 @@ -#N canvas 424 19 448 520 10; +#N canvas 425 44 448 520 10; #X floatatom 22 167 5 -30 130 0 - - -, f 5; #X floatatom 39 292 0 0 0 0 - - -; #X text 61 166 <-- pitch; @@ -32,16 +32,15 @@ For longer delay times you get the famous old delay loop effect.; #X obj 1 498 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION delays with feedback; +#X text 12 45 DESCRIPTION delays with feedback; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 500 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/G03.delay.variable.pd b/pd/doc/3.audio.examples/G03.delay.variable.pd index cd7a451ff..5f5c5ce5c 100644 --- a/pd/doc/3.audio.examples/G03.delay.variable.pd +++ b/pd/doc/3.audio.examples/G03.delay.variable.pd @@ -1,4 +1,4 @@ -#N canvas 424 19 448 503 10; +#N canvas 425 44 448 503 10; #X obj 33 305 hip~ 10; #X floatatom 251 216 0 0 0 0 - - -; #X obj 251 264 line~; @@ -44,16 +44,15 @@ #X obj 1 481 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal nonlocal; -#X text 12 65 DESCRIPTION variable delays; +#X text 12 45 DESCRIPTION variable delays; +#X text 12 5 KEYWORDS signal nonlocal tutorial; #X restore 392 483 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/G04.control.blocksize.pd b/pd/doc/3.audio.examples/G04.control.blocksize.pd index 544f07ce8..28078050c 100644 --- a/pd/doc/3.audio.examples/G04.control.blocksize.pd +++ b/pd/doc/3.audio.examples/G04.control.blocksize.pd @@ -1,4 +1,4 @@ -#N canvas 424 19 448 486 10; +#N canvas 425 44 448 486 10; #N canvas 195 311 647 354 delay-writer 0; #X obj 86 220 inlet~; #X obj 86 326 outlet~; @@ -68,18 +68,17 @@ older than their paper.; #X obj 1 464 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 165 RELEASE_VERSION 0.41.4; -#X text 12 145 RELEASE_DATE 2009-06-12; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 185 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 145 RELEASE_VERSION 0.41.4; +#X text 12 125 RELEASE_DATE 2009-06-12; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 165 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal nonlocal; -#X text 12 65 DESCRIPTION controlling delay with block~; +#X text 12 45 DESCRIPTION controlling delay with block~; +#X text 12 5 KEYWORDS signal nonlocal tutorial; #X restore 392 466 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/G05.execution.order.pd b/pd/doc/3.audio.examples/G05.execution.order.pd index acd577d21..a09af3d51 100644 --- a/pd/doc/3.audio.examples/G05.execution.order.pd +++ b/pd/doc/3.audio.examples/G05.execution.order.pd @@ -1,4 +1,4 @@ -#N canvas 424 19 448 624 10; +#N canvas 425 28 448 624 10; #X floatatom 332 260 0 0 100 0 - - -; #X obj 21 417 +~; #X text 21 49 If you're writing to and reading from a delay line \, @@ -64,16 +64,15 @@ DSP sorting in Pd follows the hierarchy of subpatches.; #X obj 1 602 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal nonlocal; -#X text 12 65 DESCRIPTION order of execution; +#X text 12 45 DESCRIPTION order of execution; +#X text 12 5 KEYWORDS signal nonlocal tutorial; #X restore 392 604 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/G06.octave.doubler.pd b/pd/doc/3.audio.examples/G06.octave.doubler.pd index 0fb601ca3..8cd9def60 100644 --- a/pd/doc/3.audio.examples/G06.octave.doubler.pd +++ b/pd/doc/3.audio.examples/G06.octave.doubler.pd @@ -1,4 +1,4 @@ -#N canvas 424 19 448 622 10; +#N canvas 425 25 448 622 10; #X obj 197 378 loadbang; #X obj 279 300 adc~ 1; #X obj 197 422 soundfiler; @@ -35,7 +35,7 @@ #X restore 22 339 pd; #N canvas 414 195 613 302 looper 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array E03-table 44103 float 0; +#X array E03-table 44103 float 0 black black; #X coords 0 1.02 44103 -1.02 200 130 1; #X restore 349 22 graph; #X text 347 161 ---- 44103 samples ----; @@ -78,29 +78,28 @@ with an adc~ if you want to go live.; #X text 135 325 on/off for; #X text 135 355 processed sounds; #X text 111 340 <-- original and; -#X obj 1 600 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 610 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION octave doubling via variable comb filter +#X text 12 45 DESCRIPTION octave doubling via variable comb filter ; -#X restore 392 602 pd META; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 612 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 octave doubling- Related Help Documents; #X text 19 37 links:; -#X restore 103 602 pd References; -#X obj 6 602 pddp/pddplink ../5.reference/pddp/help.pd -text help; -#X text 20 446 We already saw how to use ring modulation to alias a +#X restore 103 612 pd References; +#X obj 6 612 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X text 20 456 We already saw how to use ring modulation to alias a pitched sound down one octave. Here we do the reverse: filter out all odd harmonics using a variable-delay comb filter tuned one octave above the incoming sound. We use two taps into the delay line. The fixed diff --git a/pd/doc/3.audio.examples/G07.shaker.pd b/pd/doc/3.audio.examples/G07.shaker.pd index cb2e487c5..69a935a70 100644 --- a/pd/doc/3.audio.examples/G07.shaker.pd +++ b/pd/doc/3.audio.examples/G07.shaker.pd @@ -1,4 +1,4 @@ -#N canvas 370 22 611 540 10; +#N canvas 316 28 611 540 10; #X obj 21 453 output~; #X obj 21 426 +~; #X obj 33 207 delwrite~ G07-del 30; @@ -38,7 +38,7 @@ off \, one of the four delay's gains is changed in sequence. The change occurs over the next four ticks of the metronome (so \, if the metronome ticks every 50 msec \, each message to a line~ has a second argument of 200.); -#X text 236 407 Any collection of four gains for the four delayed copies +#X text 236 417 Any collection of four gains for the four delayed copies of the signal (including the original) defines some sort of irregular comb filter. The peaks and valleys of the comb filter shift constantly as the gains change to new \, random values.; @@ -49,17 +49,16 @@ as the gains change to new \, random values.; #X obj 1 518 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal nonlocal; -#X text 12 65 DESCRIPTION the "shaker" - a time-varying comb filter +#X text 12 45 DESCRIPTION the "shaker" - a time-varying comb filter ; +#X text 12 5 KEYWORDS signal nonlocal tutorial; #X restore 392 520 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/G08.reverb.pd b/pd/doc/3.audio.examples/G08.reverb.pd index 2350154b1..d22eea8d0 100644 --- a/pd/doc/3.audio.examples/G08.reverb.pd +++ b/pd/doc/3.audio.examples/G08.reverb.pd @@ -1,4 +1,4 @@ -#N canvas 424 19 448 331 10; +#N canvas 339 28 448 331 10; #N canvas 0 0 499 321 test-input 0; #X obj 75 253 outlet~; #X obj 74 201 -~; @@ -16,7 +16,7 @@ #X obj 73 54 inlet; #N canvas 0 0 600 392 conversion-tables 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array dbtorms 123 float 1; +#X array dbtorms 123 float 1 black black; #A 0 0 0 1.25893e-05 1.41254e-05 1.58489e-05 1.77828e-05 1.99526e-05 2.23872e-05 2.51189e-05 2.81838e-05 3.16228e-05 3.54813e-05 3.98107e-05 4.46684e-05 5.01187e-05 5.62341e-05 6.30957e-05 7.07946e-05 7.94328e-05 @@ -41,7 +41,7 @@ #X text 274 38 10; #X text 89 148 ------ 123 samples ------; #N canvas 0 0 450 300 (subpatch) 0; -#X array mtof 130 float 1; +#X array mtof 130 float 1 black black; #A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499 12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017 21.8268 23.1247 24.4997 25.9565 27.5 29.1352 30.8677 32.7032 34.6478 @@ -251,16 +251,15 @@ should be between 0 and 100 - if 100 \, the reverberation lasts forever. #X obj 1 309 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 25 KEYWORDS; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION reverberator; +#X text 12 45 DESCRIPTION reverberator; +#X text 12 5 KEYWORDS tutorial; #X restore 392 311 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/G09.pitchshift.pd b/pd/doc/3.audio.examples/G09.pitchshift.pd index 12e3d61bf..c53468fc9 100644 --- a/pd/doc/3.audio.examples/G09.pitchshift.pd +++ b/pd/doc/3.audio.examples/G09.pitchshift.pd @@ -1,4 +1,4 @@ -#N canvas 318 99 794 553 10; +#N canvas 189 34 794 553 10; #X floatatom 19 107 0 0 0 0 - - -; #X obj 82 338 *~; #X obj 205 275 line~; @@ -43,7 +43,7 @@ #X text 54 236 tape head; #N canvas 0 0 612 637 test-input 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array array1 155948 float 0; +#X array array1 155948 float 0 black black; #X coords 0 1 155947 -1 200 150 1; #X restore 150 141 graph; #X obj 139 518 tabread4~ array1; @@ -101,31 +101,30 @@ using the [vd~] variable delay object. Ther are two moving tape heads enveloped out at the moment it has to jump back (or forward) to start another scratch. Most of the brain work is in computing how fast the tape heads have to move to get the desired transposition.; -#X text 409 229 The "window size" is the total trajectory of the read +#X text 409 239 The "window size" is the total trajectory of the read points in the delay line \, in milliseconds. The delay times are controlled by a [phasor~] object. The second delay time \, 180 degrees out of phase from the first one \, is computed using the "wrap" object.; -#X text 408 293 The "window size" is the total trajectory of the read +#X text 408 313 The "window size" is the total trajectory of the read points in the delay line \, in milliseconds. The delay times are controlled by a [phasor~] object. The second delay time \, 180 degrees out of phase from the first one \, is computed using the "wrap" object.; -#X text 407 357 The [cos~] objects compute the fadein and fadeout of +#X text 407 387 The [cos~] objects compute the fadein and fadeout of the two delay line outputs. They each traverse the positive half of the cosine waveform (phase -0.25 to +0.25) over the time the phase goes from one end to the other.; #X obj 1 531 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37-1. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION pitch shifter; -#X text 12 25 KEYWORDS signal; +#X text 12 45 DESCRIPTION pitch shifter; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 533 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/H01.low-pass.pd b/pd/doc/3.audio.examples/H01.low-pass.pd index 51b2cc259..248780d1d 100644 --- a/pd/doc/3.audio.examples/H01.low-pass.pd +++ b/pd/doc/3.audio.examples/H01.low-pass.pd @@ -1,20 +1,20 @@ -#N canvas 430 19 448 544 10; -#X obj 52 326 mtof; -#X floatatom 52 303 5 0 0 0 - #0-pit -, f 5; -#X obj 21 457 output~; -#X obj 21 372 lop~; -#X obj 22 269 noise~; -#X text 89 303 <-- cutoff (pitch units); -#X text 86 351 <-- cutoff (Hertz); -#X floatatom 52 351 5 0 0 0 - - -, f 5; -#X text 57 374 low-pass filter; -#X obj 110 450 tabwrite~ H01-graph; -#X obj 110 425 metro 250; -#X obj 110 405 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#N canvas 408 34 448 544 10; +#X obj 52 346 mtof; +#X floatatom 52 323 5 0 0 0 - #0-pit -, f 5; +#X obj 21 477 output~; +#X obj 21 392 lop~; +#X obj 22 289 noise~; +#X text 89 323 <-- cutoff (pitch units); +#X text 86 371 <-- cutoff (Hertz); +#X floatatom 52 371 5 0 0 0 - - -, f 5; +#X text 57 394 low-pass filter; +#X obj 110 470 tabwrite~ H01-graph; +#X obj 110 445 metro 250; +#X obj 110 425 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X text 128 402 graphing on/off; +#X text 128 422 graphing on/off; #N canvas 0 0 450 300 (subpatch) 0; -#X array H01-graph 882 float 3; +#X array H01-graph 882 float 3 black black; #A 0 -0.107788 -0.0695636 -0.0991016 -0.104581 -0.0683972 -0.0547128 -0.0857414 -0.0731684 -0.0892636 -0.115914 -0.0935128 -0.0572466 -0.0387586 -0.0429956 -0.03826 -0.0628797 -0.0383263 -0.0720175 -0.0923909 -0.0707558 @@ -141,13 +141,13 @@ -0.00476758 -0.0362654 -0.0701252 -0.0547324 -0.0708724 -0.0970369 -0.099428 -0.102544 -0.0736354 -0.0556618 -0.0863601; #X coords 0 1 882 -1 200 140 1; -#X restore 244 327 graph; -#X text 288 469 --- 0.02 sec ---; -#X text 19 199 At the cutoff frequency the gain is about -3 dB \, and +#X restore 244 347 graph; +#X text 288 489 --- 0.02 sec ---; +#X text 19 219 At the cutoff frequency the gain is about -3 dB \, and above that the gain drops a further 6 dB per octave. (Sometimes one uses the word "rolloff" instead of "cutoff" to emphasize the gradual way the gain drops off with frequency.); -#X text 69 268 white noise \, test signal; +#X text 69 288 white noise \, test signal; #N canvas 0 0 450 300 loadbang 0; #X obj 85 16 loadbang; #X obj 85 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 @@ -159,7 +159,7 @@ way the gain drops off with frequency.); #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 5 0; -#X restore 110 484 pd loadbang; +#X restore 110 504 pd loadbang; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header one-pole_low-pass_filter 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -170,33 +170,32 @@ Here we test it with an input of white noise. The [lop~] object does the filtering. Its left inlet takes an audio signal to be filtered \, and its right inlet takes messages to set its cutoff frequency in Hertz.; -#X text 19 113 The [lop~] object is normalized to pass DC (the lowest +#X text 19 123 The [lop~] object is normalized to pass DC (the lowest frequency) with a gain of one. Higher frequencies are progressively more and more attenuated. The lower the cutoff frequency \, the lower the total power of the filtered noise. If you graph the output you'll see that the waveform gets smoother (and smaller overall) as the cutoff frequency is lowered.; -#X obj 1 522 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 542 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION one-pole low-pass filter; -#X restore 392 524 pd META; +#X text 12 45 DESCRIPTION one-pole low-pass filter; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 544 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 low-pass filter- Related Help Documents; #X text 19 37 links:; -#X restore 103 524 pd References; -#X obj 6 524 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 544 pd References; +#X obj 6 544 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 7 0; #X connect 1 0 0 0; #X connect 3 0 2 0; diff --git a/pd/doc/3.audio.examples/H02.high-pass.pd b/pd/doc/3.audio.examples/H02.high-pass.pd index ac10b3ce2..441a8bf20 100644 --- a/pd/doc/3.audio.examples/H02.high-pass.pd +++ b/pd/doc/3.audio.examples/H02.high-pass.pd @@ -1,11 +1,11 @@ -#N canvas 402 19 504 516 10; +#N canvas 394 40 504 516 10; #X obj 22 429 output~; #X obj 110 410 metro 250; #X obj 110 390 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 128 387 graphing on/off; #N canvas 0 0 450 300 (subpatch) 0; -#X array H02-graph 882 float 3; +#X array H02-graph 882 float 3 black black; #A 0 0.86084 0.876465 0.891113 0.904785 0.917725 0.929688 0.940918 0.950928 0.960205 0.968506 0.97583 0.982178 0.987793 0.992188 0.995605 0.998047 0.999512 1 0.999756 0.998291 0.99585 0.992432 0.988037 0.982666 @@ -160,16 +160,15 @@ one in the "hip~" object.; #X obj 1 494 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 25 KEYWORDS; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION one-pole one-zero high-pass filter; +#X text 12 45 DESCRIPTION one-pole one-zero high-pass filter; +#X text 12 5 KEYWORDS tutorial; #X restore 392 496 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/H03.band-pass.pd b/pd/doc/3.audio.examples/H03.band-pass.pd index 689405198..9a1ed3082 100644 --- a/pd/doc/3.audio.examples/H03.band-pass.pd +++ b/pd/doc/3.audio.examples/H03.band-pass.pd @@ -1,26 +1,26 @@ -#N canvas 418 19 470 499 10; -#X obj 33 244 mtof; -#X floatatom 33 221 5 0 150 0 - #0-pit -, f 5; -#X obj 22 412 output~; -#X obj 22 191 noise~; -#X text 85 220 <-- cutoff (pitch units); -#X text 96 267 <-- cutoff (Hertz); -#X floatatom 33 269 5 0 0 0 - - -, f 5; -#X obj 111 380 metro 250; -#X obj 111 360 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#N canvas 363 32 470 499 10; +#X obj 33 254 mtof; +#X floatatom 33 231 5 0 150 0 - #0-pit -, f 5; +#X obj 22 422 output~; +#X obj 22 201 noise~; +#X text 85 230 <-- cutoff (pitch units); +#X text 96 277 <-- cutoff (Hertz); +#X floatatom 33 279 5 0 0 0 - - -, f 5; +#X obj 111 390 metro 250; +#X obj 111 370 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X text 129 357 graphing on/off; +#X text 129 367 graphing on/off; #N canvas 0 0 450 300 (subpatch) 0; -#X array H03-graph 882 float 2; +#X array H03-graph 882 float 2 black black; #X coords 0 1 882 -1 200 140 1; -#X restore 258 256 graph; -#X text 282 398 --- 0.02 sec ---; -#X text 88 190 white noise \, test signal; -#X obj 22 327 bp~; -#X text 63 329 band-pass filter; -#X obj 111 405 tabwrite~ H03-graph; -#X floatatom 44 297 5 0 1000 0 - #0-q -, f 5; -#X text 96 295 <-- q; +#X restore 258 266 graph; +#X text 282 408 --- 0.02 sec ---; +#X text 88 200 white noise \, test signal; +#X obj 22 337 bp~; +#X text 63 339 band-pass filter; +#X obj 111 415 tabwrite~ H03-graph; +#X floatatom 44 307 5 0 1000 0 - #0-q -, f 5; +#X text 96 305 <-- q; #N canvas 0 0 450 300 loadbang 0; #X obj 85 16 loadbang; #X obj 85 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 @@ -32,8 +32,8 @@ #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 5 0; -#X restore 111 439 pd loadbang; -#X text 19 112 The two controls specify \, first \, the center frequency +#X restore 111 449 pd loadbang; +#X text 19 122 The two controls specify \, first \, the center frequency \, and second \, the sharpness of the filter \, commonly called "q". If you increase q to 10 or 20 \, you will see a drop in total signal power \, and moreover \, you'll see and hear the resonant frequency @@ -47,27 +47,26 @@ patch uses a white noise source to demonstrate bp~.; 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 477 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 487 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION resonant (band-pass) filter; -#X restore 392 479 pd META; +#X text 12 45 DESCRIPTION resonant (band-pass) filter; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 489 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 band-pass filter- Related Help Documents; #X text 19 37 links:; -#X restore 103 479 pd References; -#X obj 6 479 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 489 pd References; +#X obj 6 489 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 6 0; #X connect 1 0 0 0; #X connect 3 0 13 0; diff --git a/pd/doc/3.audio.examples/H04.filter.sweep.pd b/pd/doc/3.audio.examples/H04.filter.sweep.pd index 61a76dcae..4b4b18d22 100644 --- a/pd/doc/3.audio.examples/H04.filter.sweep.pd +++ b/pd/doc/3.audio.examples/H04.filter.sweep.pd @@ -1,4 +1,4 @@ -#N canvas 424 19 448 536 10; +#N canvas 381 30 448 536 10; #X floatatom 22 138 5 0 150 0 - #0-pitch -, f 5; #X obj 22 185 phasor~; #X obj 37 343 +~; @@ -48,16 +48,15 @@ computationally somewhat more expensive than [bp~].; #X obj 1 514 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION sweeping filters; +#X text 12 45 DESCRIPTION sweeping filters; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 516 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/H05.filter.floyd.pd b/pd/doc/3.audio.examples/H05.filter.floyd.pd index decc34651..ebf265b67 100644 --- a/pd/doc/3.audio.examples/H05.filter.floyd.pd +++ b/pd/doc/3.audio.examples/H05.filter.floyd.pd @@ -1,7 +1,7 @@ -#N canvas 424 20 448 653 10; +#N canvas 350 25 448 653 10; #N canvas 0 0 600 392 conversion-tables 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array dbtorms 123 float 1; +#X array dbtorms 123 float 1 black black; #A 0 0 0 1.25893e-05 1.41254e-05 1.58489e-05 1.77828e-05 1.99526e-05 2.23872e-05 2.51189e-05 2.81838e-05 3.16228e-05 3.54813e-05 3.98107e-05 4.46684e-05 5.01187e-05 5.62341e-05 6.30957e-05 7.07946e-05 7.94328e-05 @@ -26,7 +26,7 @@ #X text 506 41 10; #X text 321 151 ------ 123 samples ------; #N canvas 0 0 450 300 (subpatch) 0; -#X array mtof 130 float 1; +#X array mtof 130 float 1 black black; #A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499 12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017 21.8268 23.1247 24.4997 25.9565 27.5 29.1352 30.8677 32.7032 34.6478 @@ -66,7 +66,7 @@ #X obj 22 207 mtof; #X obj 55 159 mod 8; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-array1 8 float 2; +#X array \$0-array1 8 float 2 black black; #X coords 0 96 8 36 200 100 1; #X restore 230 164 graph; #X text 73 326 <-- center frequency; @@ -110,16 +110,15 @@ we had had both even and odd ones.; #X obj 1 631 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION another sweeping filter example; +#X text 12 45 DESCRIPTION another sweeping filter example; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 633 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/H06.envelope.follower.pd b/pd/doc/3.audio.examples/H06.envelope.follower.pd index 952f79f9a..658f6a13f 100644 --- a/pd/doc/3.audio.examples/H06.envelope.follower.pd +++ b/pd/doc/3.audio.examples/H06.envelope.follower.pd @@ -1,19 +1,19 @@ -#N canvas 424 26 448 582 10; -#X floatatom 274 414 4 0 0 0 - - -, f 4; -#X floatatom 117 260 3 0 999 0 - #0-osc2 -, f 3; -#X obj 117 280 osc~; -#X obj 22 416 lop~; -#X floatatom 43 394 3 0 100 0 - #0-lop -, f 3; -#X obj 21 306 +~; -#X text 143 260 <-- frequency of second oscillator; -#X obj 22 280 osc~ 500; -#X obj 22 363 *~; -#X obj 22 472 snapshot~; -#X floatatom 22 523 5 0 999 0 - - -, f 5; -#X obj 22 495 sqrt; -#X text 254 316 built-in envelope; -#X obj 274 441 dbtorms; -#X floatatom 274 468 5 0 999 0 - - -, f 5; +#N canvas 338 31 448 582 10; +#X floatatom 274 419 4 0 0 0 - - -, f 4; +#X floatatom 117 265 3 0 999 0 - #0-osc2 -, f 3; +#X obj 117 285 osc~; +#X obj 22 421 lop~; +#X floatatom 43 399 3 0 100 0 - #0-lop -, f 3; +#X obj 21 311 +~; +#X text 143 265 <-- frequency of second oscillator; +#X obj 22 285 osc~ 500; +#X obj 22 368 *~; +#X obj 22 477 snapshot~; +#X floatatom 22 528 5 0 999 0 - - -, f 5; +#X obj 22 500 sqrt; +#X text 254 321 built-in envelope; +#X obj 274 446 dbtorms; +#X floatatom 274 473 5 0 999 0 - - -, f 5; #N canvas 536 459 382 265 startup 0; #X obj 22 24 loadbang; #X obj 22 48 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 @@ -31,24 +31,24 @@ #X connect 2 0 5 0; #X connect 6 0 8 0; #X connect 7 0 6 0; -#X restore 274 522 pd startup; -#X text 52 362 square the signal; -#X text 66 394 <-- responsiveness; -#X text 93 451 take snapshot; -#X text 61 495 convert to RMS; -#X text 254 331 follower for comparison; -#X text 56 416 low-pass filter; -#X text 61 523 output; -#X obj 30 447 r \$0-tick; -#X text 93 466 every 1/4 second; -#X obj 221 365 r \$0-tick; -#X obj 274 389 f; -#X obj 289 364 env~; -#X obj 117 303 *~; -#X obj 147 303 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X restore 274 527 pd startup; +#X text 52 367 square the signal; +#X text 66 399 <-- responsiveness; +#X text 93 456 take snapshot; +#X text 61 500 convert to RMS; +#X text 254 336 follower for comparison; +#X text 56 421 low-pass filter; +#X text 61 528 output; +#X obj 30 452 r \$0-tick; +#X text 93 471 every 1/4 second; +#X obj 221 370 r \$0-tick; +#X obj 274 394 f; +#X obj 289 369 env~; +#X obj 117 308 *~; +#X obj 147 308 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X text 166 301 <-- on/off; -#X text 19 112 Here we're adding two oscillators so the result should +#X text 166 306 <-- on/off; +#X text 19 117 Here we're adding two oscillators so the result should be an RMS of one if the second oscillator is on \, 0.707 otherwise. Note two effects: first \, the more responsive the envelope follower \, the less accurate the result (but the faster it responds). Second @@ -58,33 +58,32 @@ affects the nombers coming out.; 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 560 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 565 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION envelope follower; -#X restore 392 562 pd META; +#X text 12 45 DESCRIPTION envelope follower; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 567 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 envelope follower- Related Help Documents; #X text 19 37 links:; -#X restore 103 562 pd References; -#X obj 6 562 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 567 pd References; +#X obj 6 567 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X text 19 37 An envelope follower measures the mean square power of an signal as it changes over time. (You can convert mean square power to RMS ampitude or to decibels if you wish.) The term "mean square" means simply that the signal should be squared \, and then averaged. The averageing is done using a low-pass filter such as [lop~].; -#X text 18 198 The [env~] object at right \, which is a built-in envelope +#X text 18 203 The [env~] object at right \, which is a built-in envelope follower using a higher-quality low-pass filter than [lop~] \, is shown for comparison. Its output is artificially slowed down to match the homemade one at left.; diff --git a/pd/doc/3.audio.examples/H07.measure.spectrum.pd b/pd/doc/3.audio.examples/H07.measure.spectrum.pd index d38db73d5..d017836f4 100644 --- a/pd/doc/3.audio.examples/H07.measure.spectrum.pd +++ b/pd/doc/3.audio.examples/H07.measure.spectrum.pd @@ -1,28 +1,28 @@ -#N canvas 424 19 448 637 10; -#X floatatom 121 578 5 0 0 0 - - -, f 5; -#X obj 20 489 bp~; -#X obj 20 460 bp~; -#X obj 31 391 mtof; -#X floatatom 31 414 7 0 0 0 - - -, f 7; -#X floatatom 74 444 3 0 999 0 - #0-q -, f 3; -#X floatatom 31 371 7 0 150 0 - #0-pitch -, f 7; -#X obj 121 510 env~ 4096; -#X obj 21 294 *~ 0; -#X obj 20 319 +~ 1; -#X obj 121 532 + 0.5; -#X obj 121 555 int; +#N canvas 341 32 448 637 10; +#X floatatom 121 593 5 0 0 0 - - -, f 5; +#X obj 20 504 bp~; +#X obj 20 475 bp~; +#X obj 31 406 mtof; +#X floatatom 31 429 7 0 0 0 - - -, f 7; +#X floatatom 74 459 3 0 999 0 - #0-q -, f 3; +#X floatatom 31 386 7 0 150 0 - #0-pitch -, f 7; +#X obj 121 525 env~ 4096; +#X obj 21 309 *~ 0; +#X obj 20 334 +~ 1; +#X obj 121 547 + 0.5; +#X obj 121 570 int; #X text 19 37 In this example we use two cascaded bandpass filters to troll for partials in Jonathan Harvey's famous bell sample.; -#X text 18 176 You can hear partials around 48 \, 51.3 \, 55 (faint!) +#X text 18 191 You can hear partials around 48 \, 51.3 \, 55 (faint!) \, 57 (fainter!) \, 60 \, two beating partials around 65 \, 67 \, 69 \, 70.9 \, 71.75 \, 72.6 \, 74 \, 74.65 \, 75.6 \, 77 \, 81.2 \, 84.6 \, 86.5 \, and probably many more. There's also one down at 36 \, but it's easier to see it on the meter than hear it.; -#X text 83 371 <-- center pitch; -#X text 79 387 (shift-drag to fine tune); -#X text 83 415 <-- center frequency; -#X text 99 444 <-- Q (filter selectivity); -#X obj 20 538 output~; +#X text 83 386 <-- center pitch; +#X text 79 402 (shift-drag to fine tune); +#X text 83 430 <-- center frequency; +#X text 99 459 <-- Q (filter selectivity); +#X obj 20 553 output~; #N canvas 316 21 483 471 startup 0; #X obj 53 335 r readfile; #X obj 53 388 soundfiler; @@ -48,41 +48,40 @@ it's easier to see it on the meter than hear it.; #X connect 7 1 5 1; #X connect 8 0 7 0; #X connect 11 0 1 0; -#X restore 373 419 pd startup; +#X restore 373 434 pd startup; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-array 155948 float 0; +#X array \$0-array 155948 float 0 black black; #X coords 0 1 155947 -1 200 150 1; -#X restore 237 256 graph; -#X obj 21 246 r \$0-loopf; -#X obj 21 270 phasor~; -#X obj 20 343 tabread4~ \$0-array; -#X obj 65 294 r \$0-totsamps; +#X restore 237 271 graph; +#X obj 21 261 r \$0-loopf; +#X obj 21 285 phasor~; +#X obj 20 358 tabread4~ \$0-array; +#X obj 65 309 r \$0-totsamps; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header measuring_spectra_using_bandpass_filters 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 615 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 630 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION measuring spectra using bandpass filters +#X text 12 45 DESCRIPTION measuring spectra using bandpass filters ; -#X restore 392 617 pd META; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 632 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 bandpass filters- Related Help Documents; #X text 19 37 links; -#X restore 103 617 pd References; -#X obj 6 617 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 632 pd References; +#X obj 6 632 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X text 19 68 Note that filters can give unexpected level changes. The [bp~] object is designed to have roughly unit gain at the pass band \, so the higher you set "Q" the more amplitude is lost. You can diff --git a/pd/doc/3.audio.examples/H08.heterodyning.pd b/pd/doc/3.audio.examples/H08.heterodyning.pd index b7d8429ed..540653904 100644 --- a/pd/doc/3.audio.examples/H08.heterodyning.pd +++ b/pd/doc/3.audio.examples/H08.heterodyning.pd @@ -1,11 +1,11 @@ -#N canvas 424 19 448 650 10; -#X obj 22 222 phasor~ 100; -#X obj 75 270 phasor~; -#X floatatom 75 247 5 0 999 0 - #0-freq -, f 5; -#X obj 75 322 cos~; -#X obj 124 322 cos~; -#X obj 124 297 +~ 0.25; -#X obj 23 474 snapshot~; +#N canvas 355 31 448 650 10; +#X obj 22 232 phasor~ 100; +#X obj 75 280 phasor~; +#X floatatom 75 257 5 0 999 0 - #0-freq -, f 5; +#X obj 75 332 cos~; +#X obj 124 332 cos~; +#X obj 124 307 +~ 0.25; +#X obj 23 484 snapshot~; #N canvas 139 174 382 265 startup 0; #X obj 22 24 loadbang; #X obj 22 48 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 @@ -23,22 +23,22 @@ #X connect 2 0 8 0; #X connect 5 0 7 0; #X connect 6 0 5 0; -#X restore 320 316 pd startup; -#X obj 23 373 *~; -#X obj 67 373 *~; -#X obj 24 398 lop~; -#X obj 68 398 lop~; -#X floatatom 129 362 3 0 100 0 - #0-lop -, f 3; -#X text 156 362 <-- responsiveness; -#X obj 112 474 snapshot~; -#X floatatom 23 497 5 0 0 0 - - -, f 5; -#X floatatom 112 497 5 0 0 0 - - -, f 5; -#X obj 137 423 r \$0-tick; -#X obj 137 444 t b b; -#X obj 23 565 expr sqrt($f1*$f1+$f2*$f2); -#X floatatom 23 591 5 0 0 0 - - -, f 5; -#X text 32 187 signal to; -#X text 34 201 analyze; +#X restore 320 326 pd startup; +#X obj 23 383 *~; +#X obj 67 383 *~; +#X obj 24 408 lop~; +#X obj 68 408 lop~; +#X floatatom 129 372 3 0 100 0 - #0-lop -, f 3; +#X text 156 372 <-- responsiveness; +#X obj 112 484 snapshot~; +#X floatatom 23 507 5 0 0 0 - - -, f 5; +#X floatatom 112 507 5 0 0 0 - - -, f 5; +#X obj 137 433 r \$0-tick; +#X obj 137 454 t b b; +#X obj 23 575 expr sqrt($f1*$f1+$f2*$f2); +#X floatatom 23 601 5 0 0 0 - - -, f 5; +#X text 32 197 signal to; +#X text 34 211 analyze; #X text 20 37 Another method for picking out the strengths of partials in a sound is heterodyning. We guess the frequency of a partial (as in the previous patch) but this time we multiply by a complex exponential @@ -49,41 +49,40 @@ The result is two audio signals (which we take snapshots of) holding the real and imaginary parts of the complex amplitude of the partial we want. Compared to the previous method \, this had the advantage of reporting the phase of the partial as well as its frequency.; -#X text 180 283 modulate; -#X text 180 313 to DC; -#X text 112 247 <-- test frequency; -#X text 180 298 test frequency; -#X text 100 399 low-pass filter; -#X text 31 518 real; -#X text 32 532 part; -#X text 161 512 part; -#X text 152 497 imaginary; -#X text 62 591 magnitude; +#X text 180 293 modulate; +#X text 180 323 to DC; +#X text 112 257 <-- test frequency; +#X text 180 308 test frequency; +#X text 100 409 low-pass filter; +#X text 31 528 real; +#X text 32 542 part; +#X text 161 522 part; +#X text 152 507 imaginary; +#X text 62 601 magnitude; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header more_on_measuring_spectra:_heterodyning 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 628 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 638 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION more on measuring spectra: heterodyning; -#X restore 392 630 pd META; +#X text 12 45 DESCRIPTION more on measuring spectra: heterodyning; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 640 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 heterodyning- Related Help Documents; #X text 19 37 links:; -#X restore 103 630 pd References; -#X obj 6 630 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 640 pd References; +#X obj 6 640 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 8 0; #X connect 0 0 9 0; #X connect 1 0 3 0; diff --git a/pd/doc/3.audio.examples/H09.ssb.modulation.pd b/pd/doc/3.audio.examples/H09.ssb.modulation.pd index ed6897e6f..4e7b177d8 100644 --- a/pd/doc/3.audio.examples/H09.ssb.modulation.pd +++ b/pd/doc/3.audio.examples/H09.ssb.modulation.pd @@ -1,19 +1,19 @@ -#N canvas 424 21 448 560 10; -#X obj 186 371 cos~; -#X obj 229 349 +~ -0.25; -#X obj 229 372 cos~; -#X obj 21 416 *~; -#X obj 87 416 *~; -#X obj 20 440 -~; -#X floatatom 186 300 5 0 0 0 - - -, f 5; -#X text 24 221 sample loop for; -#X text 24 236 test signal; -#X text 33 299 pair of allpass; -#X text 32 316 filters to make; -#X text 32 334 90 degree phase; -#X text 30 351 shifted versions; -#X text 236 301 <-- shift frequency; -#X text 290 334 cosine and sine waves; +#N canvas 351 34 448 560 10; +#X obj 186 376 cos~; +#X obj 229 354 +~ -0.25; +#X obj 229 377 cos~; +#X obj 21 421 *~; +#X obj 87 421 *~; +#X obj 20 445 -~; +#X floatatom 186 305 5 0 0 0 - - -, f 5; +#X text 24 226 sample loop for; +#X text 24 241 test signal; +#X text 33 304 pair of allpass; +#X text 32 321 filters to make; +#X text 32 339 90 degree phase; +#X text 30 356 shifted versions; +#X text 236 306 <-- shift frequency; +#X text 290 339 cosine and sine waves; #N canvas 555 154 448 326 bell-loop 0; #X obj 23 142 /; #X obj 23 214 +~ 1; @@ -21,7 +21,7 @@ #X obj 23 91 t b f; #X obj 24 264 outlet~; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-array 155948 float 0; +#X array \$0-array 155948 float 0 black black; #X coords 0 1 155947 -1 200 150 1; #X restore 234 88 graph; #X obj 23 67 r \$0-totsamps; @@ -39,7 +39,7 @@ #X connect 8 0 1 0; #X connect 9 0 8 0; #X connect 10 0 4 0; -#X restore 22 257 pd bell-loop; +#X restore 22 262 pd bell-loop; #N canvas 711 110 483 471 startup 0; #X obj 53 335 r readfile; #X obj 53 388 soundfiler; @@ -64,14 +64,14 @@ #X connect 7 1 5 1; #X connect 8 0 7 0; #X connect 10 0 1 0; -#X restore 125 500 pd startup; -#X obj 19 473 output~; -#X obj 186 325 phasor~; -#X text 121 416 <-- complex multipier; -#X text 120 433 (calculates real part); -#X text 289 349 to form the real and; -#X text 289 365 imaginary part of a; -#X text 289 382 complex sinusoid; +#X restore 125 505 pd startup; +#X obj 19 478 output~; +#X obj 186 330 phasor~; +#X text 121 421 <-- complex multipier; +#X text 120 438 (calculates real part); +#X text 289 354 to form the real and; +#X text 289 370 imaginary part of a; +#X text 289 387 complex sinusoid; #X text 19 47 The signal sideband modulator gives you only one sideband for each frequency in the input signal (whereas ring modulation gave both a positive and negative sideband). You can set the shift frequency @@ -82,35 +82,34 @@ downwards.; and imaginary part of a complex signal with positive frequencies only. You can then form the (complex) product of this with a (complex) sinusoid to modulate upward or downward in frequency.; -#X obj 21 378 hilbert~; +#X obj 21 383 hilbert~; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header single_sideband_modulation 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X text 60 27 (a.k.a. frequency shifting); -#X text 18 186 The [hilbert~] object is an abstraction in pd/extra. +#X text 18 191 The [hilbert~] object is an abstraction in pd/extra. ; -#X obj 1 538 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 543 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION single sideband modulation; -#X restore 392 540 pd META; +#X text 12 45 DESCRIPTION single sideband modulation; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 545 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 19 37 links:; #X text 7 2 single sideband modulation- Related Help Documents; -#X restore 103 540 pd References; -#X obj 6 540 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 545 pd References; +#X obj 6 545 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 3 1; #X connect 1 0 2 0; #X connect 2 0 4 1; diff --git a/pd/doc/3.audio.examples/H10.measurement.pd b/pd/doc/3.audio.examples/H10.measurement.pd index ef9a45814..6512b5222 100644 --- a/pd/doc/3.audio.examples/H10.measurement.pd +++ b/pd/doc/3.audio.examples/H10.measurement.pd @@ -1,7 +1,7 @@ -#N canvas 346 25 666 457 10; +#N canvas 241 25 666 457 10; #X obj 25 336 filter-graph2 tab1 tab2; #N canvas 0 0 450 300 (subpatch) 0; -#X array tab1 100 float 1; +#X array tab1 100 float 1 black black; #A 0 0.830737 0.844715 0.882793 0.953057 1.0592 1.19383 1.30927 1.28362 1.08532 0.848171 0.656605 0.517756 0.418204 0.345252 0.291106 0.249389 0.216703 0.190566 0.169369 0.1519 0.137418 0.12526 0.114871 0.105957 @@ -19,7 +19,7 @@ #X coords 0 2 99 0 200 140 1; #X restore 434 49 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array tab2 100 float 3; +#X array tab2 100 float 3 black black; #A 0 8.59501e-06 0.0327982 0.0790568 0.143062 0.250239 0.425263 0.697661 1.04745 1.37257 1.59826 1.73194 1.8042 1.83798 1.84726 1.84029 1.8221 1.79589 1.76375 1.72711 1.68696 1.64405 1.5989 1.55192 1.50343 1.45366 @@ -32,7 +32,7 @@ 4.82934 4.77958 4.73108 4.6841 4.63895 4.59604 4.55589 4.51925 4.48711 4.4609 4.44271 4.43574 4.44501 4.4788 4.55106 4.68474 4.91043 5.23555 5.58534 5.85774 6.03276 6.13994 6.20394 6.24278; -#X coords 0 6.283 99 0 200 140 1; +#X coords 0 6.283 100 0 200 140 1; #X restore 439 250 graph; #X text 421 106 1; #X text 433 392 0; @@ -84,17 +84,16 @@ filter you're curious about.; #X obj 1 435 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION measuring filter frequency and phase response +#X text 12 45 DESCRIPTION measuring filter frequency and phase response ; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 437 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/H11.shelving.pd b/pd/doc/3.audio.examples/H11.shelving.pd index 12b41f49d..274196119 100644 --- a/pd/doc/3.audio.examples/H11.shelving.pd +++ b/pd/doc/3.audio.examples/H11.shelving.pd @@ -1,6 +1,6 @@ -#N canvas 348 19 658 417 10; +#N canvas 234 26 658 417 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-tab1 100 float 1; +#X array \$0-tab1 100 float 1 black black; #A 0 1.39998 1.39868 1.3942 1.39349 1.38496 1.3772 1.36745 1.35633 1.34208 1.32931 1.31817 1.30372 1.28879 1.27458 1.25944 1.24351 1.22874 1.21386 1.19924 1.18487 1.17063 1.15653 1.14284 1.13144 1.11914 1.10722 @@ -62,16 +62,15 @@ and q decrease from 100% to -100%.; #X obj 1 395 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION shelving filter; +#X text 12 45 DESCRIPTION shelving filter; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 397 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/H12.peaking.pd b/pd/doc/3.audio.examples/H12.peaking.pd index 04b562d37..3bff80117 100644 --- a/pd/doc/3.audio.examples/H12.peaking.pd +++ b/pd/doc/3.audio.examples/H12.peaking.pd @@ -1,6 +1,6 @@ -#N canvas 326 19 738 592 10; +#N canvas 199 25 738 592 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-tab1 100 float 1; +#X array \$0-tab1 100 float 1 black black; #A 0 0.960563 0.960996 0.962862 0.970269 0.977017 0.985214 1.00122 1.02249 1.05453 1.10332 1.18193 1.31034 1.5315 1.91468 2.37977 2.37001 1.92679 1.57244 1.36114 1.23298 1.15262 1.09943 1.06243 1.03636 1.0162 @@ -16,9 +16,9 @@ 0.921397 0.931729 0.976084; #X coords 0 5 99 0 200 300 1; #X restore 516 193 graph; -#X obj 23 334 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 23 344 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X floatatom 31 378 3 0 0 0 - - -, f 3; +#X floatatom 31 388 3 0 0 0 - - -, f 3; #X text 571 499 frequency; #N canvas 876 177 375 255 startup 0; #X obj 22 24 loadbang; @@ -31,36 +31,36 @@ #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 5 0; -#X restore 310 532 pd startup; -#X floatatom 258 298 3 0 99 0 - #0-pole -, f 3; -#X text 454 481 gain=0; -#X obj 23 530 filter-graph2 \$0-tab1; -#X obj 23 355 filter-graph1 100 22050; +#X restore 310 542 pd startup; +#X floatatom 258 308 3 0 99 0 - #0-pole -, f 3; +#X text 454 491 gain=0; +#X obj 23 540 filter-graph2 \$0-tab1; +#X obj 23 365 filter-graph1 100 22050; #X text 691 495 22050; -#X obj 258 321 / 100; -#X floatatom 312 297 4 0 100 0 - #0-zero -, f 4; -#X obj 312 320 / 100; +#X obj 258 331 / 100; +#X floatatom 312 307 4 0 100 0 - #0-zero -, f 4; +#X obj 312 330 / 100; #X text 494 182 5; #X text 511 492 0; #X text 499 423 1; -#X floatatom 388 296 3 0 180 0 - #0-pole -, f 3; -#X text 397 258 angle; -#X text 381 274 (degrees); -#X obj 442 365 sin; -#X obj 387 366 cos; -#X obj 387 317 * 3.14159; -#X obj 387 341 / 180; -#X obj 223 445 *; -#X obj 387 390 t b f; -#X obj 442 390 t b f; -#X obj 191 473 cpole~; -#X obj 208 504 czero~; -#X text 248 262 pole and zero; -#X text 266 277 radii (%); -#X obj 259 446 *; -#X obj 296 472 *; -#X obj 331 472 *; -#X text 20 198 Here the pole and zero radii (p and q) control the center-frequency +#X floatatom 388 306 3 0 180 0 - #0-pole -, f 3; +#X text 397 268 angle; +#X text 381 284 (degrees); +#X obj 442 375 sin; +#X obj 387 376 cos; +#X obj 387 327 * 3.14159; +#X obj 387 351 / 180; +#X obj 223 455 *; +#X obj 387 400 t b f; +#X obj 442 400 t b f; +#X obj 191 483 cpole~; +#X obj 208 514 czero~; +#X text 248 272 pole and zero; +#X text 266 287 radii (%); +#X obj 259 456 *; +#X obj 296 482 *; +#X obj 331 482 *; +#X text 20 208 Here the pole and zero radii (p and q) control the center-frequency gain by the formula (1-q)/(1-p). The closer to 1 the radii \, the narrower the band affected. The non-peak gain \, (1+q)/(1+p) \, is close to 1 as long as p and q are at least 50% or so.; @@ -75,28 +75,27 @@ with their complex-valued siblings \, cpole~ and czero~. These filters take a (real \, imaginary) pair to filter and another (real-imaginary) pair to specify the pole or zero. As for [rpole~] and [rzero~] \, the coefficients may change at audio rate.; -#X obj 1 570 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 580 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION peaking filter; -#X restore 392 572 pd META; +#X text 12 45 DESCRIPTION peaking filter; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 582 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 peaking filter- Related Help Documents; #X text 19 37 links:; -#X restore 103 572 pd References; -#X obj 6 572 pddp/pddplink ../5.reference/pddp/help.pd -text help; -#X text 19 134 The outputs of [cpole~] and [czero~] are also in the +#X restore 103 582 pd References; +#X obj 6 582 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X text 19 144 The outputs of [cpole~] and [czero~] are also in the form of a (real-imaginary) pair. Both outlets of [cpole~] are connected to [czero~] in this example \, but then since we want a real-valued filter \, we only take the real part of the (complex) output of [czero~]. diff --git a/pd/doc/3.audio.examples/H13.butterworth.pd b/pd/doc/3.audio.examples/H13.butterworth.pd index c2506daeb..82f4915ab 100644 --- a/pd/doc/3.audio.examples/H13.butterworth.pd +++ b/pd/doc/3.audio.examples/H13.butterworth.pd @@ -1,6 +1,6 @@ -#N canvas 356 19 647 471 10; +#N canvas 257 37 647 471 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-tab1 100 float 1; +#X array \$0-tab1 100 float 1 black black; #A 0 0.999974 0.998121 0.998981 1.00106 1.00019 1.00133 1.00017 0.997406 0.995891 0.986251 0.976591 0.959539 0.93749 0.903172 0.859824 0.805118 0.744756 0.682757 0.617726 0.555802 0.496807 0.443599 0.395099 0.351557 @@ -17,9 +17,9 @@ 0.00460384 0.00445121 0.00430475 0.00416536; #X coords 0 5 99 0 200 300 1; #X restore 422 112 graph; -#X obj 22 215 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 22 225 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X floatatom 30 259 3 0 0 0 - - -, f 3; +#X floatatom 30 269 3 0 0 0 - - -, f 3; #X text 477 418 frequency; #N canvas 876 177 375 255 startup 0; #X obj 22 24 loadbang; @@ -32,47 +32,46 @@ #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 5 0; -#X restore 216 397 pd startup; -#X text 360 400 gain=0; -#X obj 22 411 filter-graph2 \$0-tab1; +#X restore 216 407 pd startup; +#X text 360 410 gain=0; +#X obj 22 421 filter-graph2 \$0-tab1; #X text 400 101 5; #X text 417 411 0; #X text 405 342 1; -#X obj 146 373 butterworth3~; -#X floatatom 164 315 3 0 100 0 - #0-lf -, f 3; -#X floatatom 211 314 3 85 150 0 - #0-hf -, f 3; -#X obj 164 341 mtof; -#X obj 211 341 mtof; +#X obj 146 383 butterworth3~; +#X floatatom 164 325 3 0 100 0 - #0-lf -, f 3; +#X floatatom 211 324 3 85 150 0 - #0-hf -, f 3; +#X obj 164 351 mtof; +#X obj 211 351 mtof; #X text 597 414 5000; -#X obj 22 236 filter-graph1 100 5000; -#X text 156 293 poles; -#X text 208 293 zeros; +#X obj 22 246 filter-graph1 100 5000; +#X text 156 303 poles; +#X text 208 303 zeros; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header Butterworth_filter 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 449 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 459 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION Butterworth filter; -#X restore 392 451 pd META; +#X text 12 45 DESCRIPTION Butterworth filter; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 461 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 Butterworth filter- Related Help Documents; #X text 19 37 links:; -#X restore 103 451 pd References; -#X obj 6 451 pddp/pddplink ../5.reference/pddp/help.pd -text help; -#X text 19 133 The [butterworth3~] abstraction computes filter coeffients +#X restore 103 461 pd References; +#X obj 6 461 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X text 19 143 The [butterworth3~] abstraction computes filter coeffients using control messages \, and so it is not suitable for continuously time-varying Butterworth filters. For that \, it is often appropriate to use time-saving approximations \, but precisely which approximations diff --git a/pd/doc/3.audio.examples/H14.all.pass.pd b/pd/doc/3.audio.examples/H14.all.pass.pd index 9c371c584..b84a5a2d6 100644 --- a/pd/doc/3.audio.examples/H14.all.pass.pd +++ b/pd/doc/3.audio.examples/H14.all.pass.pd @@ -1,7 +1,7 @@ -#N canvas 424 23 448 647 10; +#N canvas 287 25 448 647 10; #X obj 22 254 filter-graph2 tab1 tab2; #N canvas 0 0 450 300 (subpatch) 0; -#X array tab1 100 float 1; +#X array tab1 100 float 1 black black; #A 0 0.999994 1.0015 1.00454 0.999907 0.99994 0.999773 1.00002 1.0004 0.999993 0.998703 1 0.999993 1 0.999699 0.999312 0.99924 0.999999 1 0.999937 0.999782 0.999733 0.999322 0.9998 1 0.999998 0.999945 0.999998 @@ -17,7 +17,7 @@ #X coords 0 2 99 0 200 140 1; #X restore 230 249 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array tab2 100 float 3; +#X array tab2 100 float 3 black black; #A 0 8.595e-06 0.0615936 0.127096 0.18809 0.251487 0.314087 0.376949 0.439804 0.502669 0.565481 0.628309 0.691149 0.753982 0.816816 0.879645 0.942477 1.00531 1.06814 1.13097 1.1938 1.25663 1.31947 1.3823 1.44513 @@ -30,7 +30,7 @@ 4.9007 4.96353 5.02637 5.0892 5.15203 5.21486 5.27769 5.34052 5.40335 5.46619 5.52902 5.59185 5.65469 5.71752 5.78033 5.8432 5.90605 5.96891 6.03151 6.09491 6.1559 6.21446; -#X coords 0 6.283 99 0 200 140 1; +#X coords 0 6.283 100 0 200 140 1; #X restore 235 450 graph; #X text 217 306 1; #X text 229 592 0; @@ -77,16 +77,15 @@ values of $p$ are allowed \, as long as p is between -1 and 1; #X obj 1 625 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION all-pass filters; +#X text 12 45 DESCRIPTION all-pass filters; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 627 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/H15.phaser.pd b/pd/doc/3.audio.examples/H15.phaser.pd index ed5c6b513..d57642075 100644 --- a/pd/doc/3.audio.examples/H15.phaser.pd +++ b/pd/doc/3.audio.examples/H15.phaser.pd @@ -1,4 +1,4 @@ -#N canvas 391 19 524 587 10; +#N canvas 280 25 524 587 10; #N canvas 876 177 375 255 startup 0; #X obj 22 24 loadbang; #X obj 22 48 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 @@ -92,16 +92,15 @@ a symmetrical triangle wave (abs($v1-0.5)) and then ranged appropriately. #X obj 1 565 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.37. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION phaser; +#X text 12 45 DESCRIPTION phaser; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 567 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/H16.adsr.filter.qlist.pd b/pd/doc/3.audio.examples/H16.adsr.filter.qlist.pd index f4a25b534..f7024b1f0 100644 --- a/pd/doc/3.audio.examples/H16.adsr.filter.qlist.pd +++ b/pd/doc/3.audio.examples/H16.adsr.filter.qlist.pd @@ -1,4 +1,4 @@ -#N canvas 328 19 745 613 10; +#N canvas 187 25 745 613 10; #X obj 22 229 r trigger; #X obj 22 447 *~; #X obj 22 340 *~ 0.01; @@ -65,7 +65,7 @@ #X obj 289 86 loadbang; #X obj 418 85 loadbang; #N canvas 0 0 450 300 (subpatch) 0; -#X array array1 67 float 1; +#X array array1 67 float 1 black black; #A 0 0 0 0 0 0.714286 0.742857 0.757143 0.771429 0.778571 0.785714 0.785714 0.785714 0.785714 0.790476 0.795238 0.614286 0.585714 0.442857 0.271429 -0.128571 -0.142857 -0.157143 -0.171429 -0.642857 -0.528571 @@ -106,16 +106,15 @@ gets the "mtof" treatment and the ADSR is an offset in halftones.; #X obj 1 591 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION analog style synth using qlist; +#X text 12 45 DESCRIPTION analog style synth using qlist; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 593 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/I01.Fourier.analysis.pd b/pd/doc/3.audio.examples/I01.Fourier.analysis.pd index 1e63fc392..219eda412 100644 --- a/pd/doc/3.audio.examples/I01.Fourier.analysis.pd +++ b/pd/doc/3.audio.examples/I01.Fourier.analysis.pd @@ -1,7 +1,7 @@ -#N canvas 343 19 688 666 10; +#N canvas 263 25 688 666 10; #X floatatom 38 284 7 0 0 0 - - -, f 7; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-real 64 float 2; +#X array \$0-real 64 float 2 black black; #X coords 0 64 64 -64 256 200 1; #X restore 393 194 graph; #X floatatom 38 188 5 0 32 0 - - -, f 5; @@ -13,7 +13,7 @@ #X obj 67 634 tabwrite~ \$0-imaginary; #X obj 38 404 osc~; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-imaginary 64 float 2; +#X array \$0-imaginary 64 float 2 black black; #X coords 0 64 64 -64 256 200 1; #X restore 393 427 graph; #X obj 69 380 f; @@ -23,10 +23,10 @@ #X text 565 175 real part; #X text 520 408 imaginary part; #X obj 80 565 loadbang; -#X text 94 186 <- frequency; -#X text 133 202 (as multiple; -#X text 135 218 of SR/64 \, the; -#X text 133 235 fundamental); +#X text 94 192 <- frequency; +#X text 133 208 (as multiple; +#X text 135 224 of SR/64 \, the; +#X text 133 241 fundamental); #X text 170 365 of a cycle; #X obj 89 610 s \$0-snap; #X obj 69 306 r \$0-snap; @@ -56,7 +56,7 @@ 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X text 135 28 The [fft~] object has separate inlets for the real and +#X text 135 24 The [fft~] object has separate inlets for the real and imaginary parts of a complex-valued signal and outputs its Fourier transform \, again using separate outlets for the real and imaginary part. The transform is done on one block of samples (here the block @@ -70,16 +70,15 @@ energy from real to imaginary and back.; #X obj 1 687 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION Fourier analysis; +#X text 12 45 DESCRIPTION Fourier analysis; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 689 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/I02.Hann.window.pd b/pd/doc/3.audio.examples/I02.Hann.window.pd index d0a3961b7..790df1aa2 100644 --- a/pd/doc/3.audio.examples/I02.Hann.window.pd +++ b/pd/doc/3.audio.examples/I02.Hann.window.pd @@ -1,4 +1,4 @@ -#N canvas 433 87 448 590 10; +#N canvas 432 35 448 590 10; #N canvas 228 148 529 544 fft-analysis 0; #X obj 15 164 *~; #X obj 14 99 inlet~; @@ -53,7 +53,7 @@ of "fft".; #X connect 22 0 6 0; #X restore 26 319 pd fft-analysis; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-magnitude 256 float 0; +#X array \$0-magnitude 256 float 0 black black; #X coords 0 256 255 0 256 100 1; #X restore 182 178 graph; #X obj 25 294 osc~; @@ -66,7 +66,7 @@ of "fft".; #X text 150 223 128; #X text 149 173 256; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hann 512 float 1; +#X array \$0-hann 512 float 1 black black; #A 0 0 3.76403e-05 0.000150591 0.000338793 0.000602275 0.000940949 0.00135478 0.00184369 0.00240764 0.00304651 0.00376022 0.00454867 0.00541174 0.0063493 0.00736117 0.00844723 0.00960734 0.0108413 0.0121489 0.01353 @@ -172,17 +172,16 @@ with the mouse...); #X obj 1 568 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION windowing and blocking Fourier transforms +#X text 12 45 DESCRIPTION windowing and blocking Fourier transforms ; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 570 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/I03.resynthesis.pd b/pd/doc/3.audio.examples/I03.resynthesis.pd index 0fb10460e..9d0ce6212 100644 --- a/pd/doc/3.audio.examples/I03.resynthesis.pd +++ b/pd/doc/3.audio.examples/I03.resynthesis.pd @@ -1,4 +1,4 @@ -#N canvas 376 24 580 400 10; +#N canvas 377 49 580 400 10; #N canvas 265 48 643 640 fft-analysis 0; #X obj 15 164 *~; #X obj 14 99 inlet~; @@ -60,7 +60,7 @@ four. This window now computes blocks of 512 samples at intervals of #X restore 23 279 pd fft-analysis; #N canvas 35 66 592 433 Hann-window 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hann 512 float 0; +#X array \$0-hann 512 float 0 black black; #X coords 0 1 511 0 200 120 1; #X restore 293 249 graph; #X msg 171 263 0; @@ -99,7 +99,7 @@ the file smaller (it doesn't have to be saved with the array.); #X obj 24 313 output~; #X obj 22 254 noise~; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-gain 256 float 3; +#X array \$0-gain 256 float 3 black black; #A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -131,16 +131,15 @@ patch to see the workings.; #X obj 1 378 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION Fourier resynthesis; +#X text 12 45 DESCRIPTION Fourier resynthesis; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 380 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/I04.noisegate.pd b/pd/doc/3.audio.examples/I04.noisegate.pd index d887e9246..75e6a31e6 100644 --- a/pd/doc/3.audio.examples/I04.noisegate.pd +++ b/pd/doc/3.audio.examples/I04.noisegate.pd @@ -1,4 +1,4 @@ -#N canvas 424 22 448 500 10; +#N canvas 425 47 448 500 10; #X floatatom 196 343 0 0 0 0 - - -; #X floatatom 30 315 0 0 100 0 - - -; #N canvas 98 0 648 669 fft-analysis 0; @@ -142,8 +142,8 @@ with each of the accumulating ones.; #X restore 30 367 pd fft-analysis; #N canvas 0 110 565 454 hann-window 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hann 1024 float 0; -#X coords 0 1 1024 0 300 100 1; +#X array \$0-hann 1024 float 0 black black; +#X coords 0 1 1023 0 300 100 1; #X restore 82 311 graph; #X obj 378 165 osc~; #X obj 378 190 *~ -0.5; @@ -193,8 +193,8 @@ and window-msec (analysis window size in seconds and msec).; #X text 106 293 noise; #N canvas 132 255 660 373 insample 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sample 155948 float 0; -#X coords 0 1 155947 -1 400 150 1; +#X array \$0-sample 62079 float 0 black black; +#X coords 0 1 62078 -1 400 150 1; #X restore 236 25 graph; #X obj 19 23 r read-sample; #X obj 19 74 unpack s f; @@ -296,7 +296,7 @@ amplitude of each in dB.; #X msg 196 315 15; #N canvas 0 0 592 442 mask-table 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-mask 512 float 0; +#X array \$0-mask 512 float 0 black black; #X coords 0 500 511 0 400 300 1; #X restore 110 76 graph; #X text 25 14 This table (1010-mask) is the average power measured @@ -326,15 +326,14 @@ of the noise to clean out of the signal).; #X obj 1 478 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION denoiser; +#X text 12 45 DESCRIPTION denoiser; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 480 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/I05.compressor.pd b/pd/doc/3.audio.examples/I05.compressor.pd index f4882ae78..0abb3d0a7 100644 --- a/pd/doc/3.audio.examples/I05.compressor.pd +++ b/pd/doc/3.audio.examples/I05.compressor.pd @@ -1,4 +1,4 @@ -#N canvas 433 145 448 416 10; +#N canvas 434 46 448 416 10; #N canvas 297 254 646 523 fft-analysis 0; #X obj 115 409 *~; #X obj 75 409 *~; @@ -118,8 +118,8 @@ set 10; #X obj 22 329 output~; #N canvas 388 86 722 350 insample 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sample 155948 float 0; -#X coords 0 1 155948 -1 400 150 1; +#X array \$0-sample 62079 float 0 black black; +#X coords 0 1 62078 -1 400 150 1; #X restore 259 24 graph; #X obj 19 23 r read-sample; #X obj 19 74 unpack s f; @@ -176,8 +176,8 @@ squelch value.; #X obj 172 237 s read-sample; #N canvas 0 110 565 454 hann-window 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hann 1024 float 0; -#X coords 0 1 1024 0 300 100 1; +#X array \$0-hann 1024 float 0 black black; +#X coords 0 1 1023 0 300 100 1; #X restore 82 311 graph; #X obj 378 165 osc~; #X obj 378 190 *~ -0.5; @@ -232,16 +232,15 @@ and window-msec (analysis window size in seconds and msec).; #X obj 1 394 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION dynamic range compression; +#X text 12 45 DESCRIPTION dynamic range compression; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 396 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/I06.timbre.stamp.pd b/pd/doc/3.audio.examples/I06.timbre.stamp.pd index dd2d663b6..e298e1e51 100644 --- a/pd/doc/3.audio.examples/I06.timbre.stamp.pd +++ b/pd/doc/3.audio.examples/I06.timbre.stamp.pd @@ -1,4 +1,4 @@ -#N canvas 433 119 448 494 10; +#N canvas 434 35 448 494 10; #N canvas 147 0 795 617 fft-analysis 0; #X obj 94 511 *~; #X obj 55 511 *~; @@ -212,7 +212,7 @@ with the filter input.); #X text 75 333 <- record ->; #N canvas 388 86 722 350 insample2 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sample2 62079 float 0; +#X array \$0-sample2 62079 float 0 black black; #X coords 0 1 62078 -1 400 150 1; #X restore 298 24 graph; #X obj 19 74 unpack s f; @@ -253,7 +253,7 @@ with the filter input.); #X restore 222 370 pd insample2; #N canvas 302 86 722 350 insample1 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sample 155948 float 0; +#X array \$0-sample 155948 float 0 black black; #X coords 0 1 155947 -1 400 150 1; #X restore 259 24 graph; #X obj 19 74 unpack s f; @@ -295,8 +295,8 @@ with the filter input.); #X floatatom 311 372 5 0 0 0 - #0-samp2-msec -, f 5; #N canvas 0 110 565 454 hann-window 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hann 1024 float 0; -#X coords 0 1 1024 0 300 100 1; +#X array \$0-hann 1024 float 0 black black; +#X coords 0 1 1023 0 300 100 1; #X restore 82 311 graph; #X obj 378 165 osc~; #X obj 378 190 *~ -0.5; @@ -360,16 +360,15 @@ for the filter input and the control source.; #X obj 1 472 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION Cort and Zack's secret; +#X text 12 45 DESCRIPTION Cort and Zack's secret; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 474 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/I07.phase.vocoder.pd b/pd/doc/3.audio.examples/I07.phase.vocoder.pd index 6c07ad4b4..6ac743ed7 100644 --- a/pd/doc/3.audio.examples/I07.phase.vocoder.pd +++ b/pd/doc/3.audio.examples/I07.phase.vocoder.pd @@ -1,4 +1,4 @@ -#N canvas 433 82 448 604 10; +#N canvas 434 34 448 604 10; #X floatatom 346 251 5 0 0 0 - transpo-set -, f 5; #X floatatom 101 295 3 0 0 0 - speed-set -, f 3; #X floatatom 22 295 7 0 0 0 - location-set -, f 7; @@ -364,11 +364,11 @@ shifts the signal to the left or right depending on its argument.) #X restore 22 490 pd fft-analysis; #N canvas 260 23 647 768 phase-tables 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array prev-imag 4096 float 0; +#X array prev-imag 4096 float 0 black black; #X coords 0 1000 4096 -1000 400 300 1; #X restore 169 326 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array prev-real 4096 float 0; +#X array prev-real 4096 float 0 black black; #X coords 0 500 4096 -500 400 300 1; #X restore 170 17 graph; #X restore 170 436 pd phase-tables; @@ -379,8 +379,8 @@ shifts the signal to the left or right depending on its argument.) #X obj 23 517 output~; #N canvas 0 110 565 454 hann-window 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hann 1024 float 0; -#X coords 0 1 1024 0 300 100 1; +#X array \$0-hann 1024 float 0 black black; +#X coords 0 1 1023 0 300 100 1; #X restore 82 311 graph; #X obj 378 165 osc~; #X obj 378 190 *~ -0.5; @@ -429,8 +429,8 @@ and window-msec (analysis window size in seconds and msec).; #X restore 170 460 pd hann-window; #N canvas 388 86 694 447 insample 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sample 82301 float 0; -#X coords 0 1 82300 -1 400 150 1; +#X array \$0-sample 62079 float 0 black black; +#X coords 0 1 62078 -1 400 150 1; #X restore 281 135 graph; #X obj 28 133 r read-sample; #X obj 28 184 unpack s f; @@ -551,16 +551,15 @@ to see the workings.; #X obj 1 582 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION phase vocoder; +#X text 12 45 DESCRIPTION phase vocoder; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 584 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/I08.pvoc.reverb.pd b/pd/doc/3.audio.examples/I08.pvoc.reverb.pd index b9b620c87..57e27963e 100644 --- a/pd/doc/3.audio.examples/I08.pvoc.reverb.pd +++ b/pd/doc/3.audio.examples/I08.pvoc.reverb.pd @@ -1,4 +1,4 @@ -#N canvas 433 147 448 409 10; +#N canvas 434 49 448 409 10; #N canvas 105 328 986 609 fft 0; #X obj 18 500 *~; #X obj 291 455 *~; @@ -329,13 +329,13 @@ than the input the input for that channel is ignored.; #X restore 31 238 pd test-sound; #X text 19 189 short tone; #X obj 229 235 s revtime; -#X text 19 142 For each window \, the amplitude in each channel is +#X text 19 146 For each window \, the amplitude in each channel is propagated by a constant phase increment and multiplied downward by a gain that determines the "reverb time".; #N canvas 0 110 565 454 hann-window 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hann 1024 float 0; -#X coords 0 1 1024 0 300 100 1; +#X array \$0-hann 1024 float 0 black black; +#X coords 0 1 1023 0 300 100 1; #X restore 82 311 graph; #X obj 378 165 osc~; #X obj 378 190 *~ -0.5; @@ -384,32 +384,32 @@ and window-msec (analysis window size in seconds and msec).; #X restore 229 311 pd hann-window; #N canvas 52 71 774 520 tables 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-last-real 2048 float 0; +#X array \$0-last-real 2048 float 0 black black; #X coords 0 500 2048 -500 200 150 1; #X restore 103 15 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-last-imag 2048 float 0; +#X array \$0-last-imag 2048 float 0 black black; #X coords 0 500 2048 500 200 150 1; #X restore 497 6 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-amp-real 2048 float 0; +#X array \$0-amp-real 2048 float 0 black black; #X coords 0 500 2048 -500 200 150 1; #X restore 105 185 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-amp-imag 2048 float 0; +#X array \$0-amp-imag 2048 float 0 black black; #X coords 0 500 2048 -500 200 150 1; #X restore 501 178 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-inc-real 2048 float 0; +#X array \$0-inc-real 2048 float 0 black black; #X coords 0 1 2048 -1 200 150 1; #X restore 105 357 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-inc-imag 2048 float 0; +#X array \$0-inc-imag 2048 float 0 black black; #X coords 0 1 2048 -1 200 150 1; #X restore 503 342 graph; #X restore 229 332 pd tables; -#X text 32 354 reverb in; -#X text 116 354 reverb out; +#X text 32 364 reverb in; +#X text 116 364 reverb out; #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header piano_reverb 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp @@ -417,16 +417,15 @@ and window-msec (analysis window size in seconds and msec).; #X obj 1 387 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION piano reverb; +#X text 12 45 DESCRIPTION piano reverb; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 389 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/I09.sheep.from.goats.pd b/pd/doc/3.audio.examples/I09.sheep.from.goats.pd index 6a929cc69..caa70bf3c 100644 --- a/pd/doc/3.audio.examples/I09.sheep.from.goats.pd +++ b/pd/doc/3.audio.examples/I09.sheep.from.goats.pd @@ -1,4 +1,4 @@ -#N canvas 433 105 448 535 10; +#N canvas 425 46 448 535 10; #N canvas 300 81 867 775 fft-analysis 0; #X obj 85 664 *~; #X obj 35 712 *~; @@ -164,12 +164,12 @@ #X connect 62 0 37 1; #X connect 63 0 61 0; #X connect 64 0 62 0; -#X restore 36 317 pd fft-analysis; -#X floatatom 254 263 0 0 100 0 - - -; -#X obj 35 350 output~; -#X floatatom 35 263 0 0 100 0 - - -; -#X text 69 243 noise; -#X floatatom 75 263 0 0 100 0 - - -; +#X restore 36 337 pd fft-analysis; +#X floatatom 254 283 0 0 100 0 - - -; +#X obj 35 370 output~; +#X floatatom 35 283 0 0 100 0 - - -; +#X text 69 263 noise; +#X floatatom 75 283 0 0 100 0 - - -; #N canvas 214 126 769 642 test-signal 0; #X obj 75 328 line~; #X obj 75 250 f; @@ -238,13 +238,13 @@ amplitude of each in dB.; #X connect 30 0 29 0; #X connect 32 0 28 0; #X connect 33 0 16 0; -#X restore 35 287 pd test-signal; -#X text 20 243 sampler; -#X text 36 224 amplitudes (dB); +#X restore 35 307 pd test-signal; +#X text 20 263 sampler; +#X text 36 244 amplitudes (dB); #N canvas 0 110 565 454 hann-window 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hann 1024 float 0; -#X coords 0 1 1024 0 300 100 1; +#X array \$0-hann 1024 float 0 black black; +#X coords 0 1 1023 0 300 100 1; #X restore 82 311 graph; #X obj 378 165 osc~; #X obj 378 190 *~ -0.5; @@ -290,36 +290,36 @@ and window-msec (analysis window size in seconds and msec).; #X connect 19 0 1 0; #X connect 19 1 4 0; #X connect 19 1 18 0; -#X restore 35 442 pd hann-window; +#X restore 35 462 pd hann-window; #N canvas 52 71 774 520 tables 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-last-real 2048 float 0; +#X array \$0-last-real 2048 float 0 black black; #X coords 0 500 2048 -500 200 150 1; #X restore 103 15 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-last-imag 2048 float 0; +#X array \$0-last-imag 2048 float 0 black black; #X coords 0 500 2048 500 200 150 1; #X restore 497 6 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-precess-real 2048 float 0; +#X array \$0-precess-real 2048 float 0 black black; #X coords 0 500 2048 -500 200 150 1; #X restore 105 185 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-precess-imag 2048 float 0; +#X array \$0-precess-imag 2048 float 0 black black; #X coords 0 500 2048 -500 200 150 1; #X restore 501 178 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-inc-real 2048 float 0; +#X array \$0-inc-real 2048 float 0 black black; #X coords 0 1 2048 -1 200 150 1; #X restore 105 357 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-inc-imag 2048 float 0; +#X array \$0-inc-imag 2048 float 0 black black; #X coords 0 1 2048 -1 200 150 1; #X restore 503 342 graph; -#X restore 35 463 pd tables; +#X restore 35 483 pd tables; #N canvas 388 86 722 350 insample 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sample 62079 float 0; +#X array \$0-sample 62079 float 0 black black; #X coords 0 1 62078 -1 400 150 1; #X restore 259 24 graph; #X obj 19 23 r read-sample; @@ -357,28 +357,28 @@ and window-msec (analysis window size in seconds and msec).; #X connect 15 0 16 0; #X connect 16 0 17 0; #X connect 18 0 15 1; -#X restore 291 442 pd insample; -#X msg 156 393 ../sound/bell.aiff; -#X msg 156 416 ../sound/voice.wav; -#X msg 156 439 ../sound/voice2.wav; -#X text 159 373 change input sound; -#X obj 156 463 s read-sample; -#X floatatom 291 464 5 0 0 0 - #0-samp-msec -, f 5; -#X floatatom 173 263 0 0 100 0 - - -; -#X floatatom 116 263 0 0 100 0 - - -; -#X text 114 243 osc; -#X msg 335 263 512; -#X msg 335 284 1024; -#X msg 335 306 2048; -#X obj 335 351 s window-size; -#X msg 335 328 4096; -#X obj 173 286 s clean; -#X text 173 309 0=silent; -#X text 173 326 100=all; -#X obj 254 286 s dirty; -#X text 251 309 100=silent; -#X text 251 326 0=all; -#X text 19 166 Two separate thresholds may be adjusted to listen to +#X restore 291 462 pd insample; +#X msg 156 413 ../sound/bell.aiff; +#X msg 156 436 ../sound/voice.wav; +#X msg 156 459 ../sound/voice2.wav; +#X text 159 393 change input sound; +#X obj 156 483 s read-sample; +#X floatatom 291 484 5 0 0 0 - #0-samp-msec -, f 5; +#X floatatom 173 283 0 0 100 0 - - -; +#X floatatom 116 283 0 0 100 0 - - -; +#X text 114 263 osc; +#X msg 335 283 512; +#X msg 335 304 1024; +#X msg 335 326 2048; +#X obj 335 371 s window-size; +#X msg 335 348 4096; +#X obj 173 306 s clean; +#X text 173 329 0=silent; +#X text 173 346 100=all; +#X obj 254 306 s dirty; +#X text 251 329 100=silent; +#X text 251 346 0=all; +#X text 19 186 Two separate thresholds may be adjusted to listen to the "clean" or "dirty" part of the signal. You'll hear anything less incoherent than the clean threshold \, OR more incoherent than the dirty one.; @@ -395,29 +395,28 @@ is perfect and progressively larger otherwise.; 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X text 349 479 (msec); -#X text 331 464 sample length; -#X obj 1 513 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X text 349 499 (msec); +#X text 331 484 sample length; +#X obj 1 533 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION pitched/unpitched separation; -#X restore 392 515 pd META; +#X text 12 45 DESCRIPTION pitched/unpitched separation; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 535 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 pitched/unpitched separation- Related Help Documents; #X text 19 37 links:; -#X restore 103 515 pd References; -#X obj 6 515 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 535 pd References; +#X obj 6 535 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 2 0; #X connect 0 0 2 1; #X connect 1 0 29 0; diff --git a/pd/doc/3.audio.examples/I10.phase.bash.pd b/pd/doc/3.audio.examples/I10.phase.bash.pd index a0e5eecd6..b67a00f66 100644 --- a/pd/doc/3.audio.examples/I10.phase.bash.pd +++ b/pd/doc/3.audio.examples/I10.phase.bash.pd @@ -1,5 +1,5 @@ -#N canvas 395 91 564 579 10; -#X floatatom 332 293 0 0 0 0 - - -; +#N canvas 396 116 564 579 10; +#X floatatom 332 303 0 0 0 0 - - -; #N canvas 122 165 801 538 fft 0; #X obj 39 153 *~; #X obj 7 153 *~; @@ -98,21 +98,21 @@ #X connect 33 0 27 0; #X connect 34 0 35 0; #X connect 35 0 29 0; -#X restore 22 447 pd fft; -#X floatatom 458 346 0 0 120 0 - pitch-set -; -#X floatatom 455 299 0 0 0 0 - specshift-set -; -#X obj 455 322 s specshift; -#X obj 332 413 s loco; -#X obj 458 369 s pitch; -#X obj 332 316 pack 0 100; -#X obj 457 422 output~; -#X floatatom 159 357 5 0 0 0 - #0-samp-msec -, f 5; -#X text 157 371 sample length \, msec; -#X msg 158 256 ../sound/bell.aiff; -#X msg 158 281 ../sound/voice.wav; -#X msg 158 306 ../sound/voice2.wav; -#X text 161 234 change input sound; -#X obj 158 332 s read-sample; +#X restore 22 457 pd fft; +#X floatatom 458 356 0 0 120 0 - pitch-set -; +#X floatatom 455 309 0 0 0 0 - specshift-set -; +#X obj 455 332 s specshift; +#X obj 332 423 s loco; +#X obj 458 379 s pitch; +#X obj 332 326 pack 0 100; +#X obj 457 432 output~; +#X floatatom 159 367 5 0 0 0 - #0-samp-msec -, f 5; +#X text 157 381 sample length \, msec; +#X msg 158 266 ../sound/bell.aiff; +#X msg 158 291 ../sound/voice.wav; +#X msg 158 316 ../sound/voice2.wav; +#X text 161 244 change input sound; +#X obj 158 342 s read-sample; #N canvas 190 43 657 626 test-signal 0; #X obj 88 381 line~; #X obj 88 306 f; @@ -170,13 +170,13 @@ #X connect 21 0 17 1; #X connect 22 0 2 0; #X connect 23 0 22 0; -#X restore 22 424 pd test-signal; -#X obj 103 404 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 22 434 pd test-signal; +#X obj 103 414 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #N canvas 0 110 565 454 hann-window 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hann 1024 float 0; -#X coords 0 1 1024 0 300 100 1; +#X array \$0-hann 1024 float 0 black black; +#X coords 0 1 1023 0 300 100 1; #X restore 82 311 graph; #X obj 378 165 osc~; #X obj 378 190 *~ -0.5; @@ -222,15 +222,15 @@ and window-msec (analysis window size in seconds and msec).; #X connect 19 0 1 0; #X connect 19 1 4 0; #X connect 19 1 18 0; -#X restore 135 446 pd hann-window; -#X msg 22 239 512; -#X msg 22 260 1024; -#X msg 22 282 2048; -#X obj 22 327 s window-size; -#X msg 22 304 4096; +#X restore 135 456 pd hann-window; +#X msg 22 249 512; +#X msg 22 270 1024; +#X msg 22 292 2048; +#X obj 22 337 s window-size; +#X msg 22 314 4096; #N canvas 388 86 736 499 insample 0; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sample 62079 float 0; +#X array \$0-sample 62079 float 0 black black; #X coords 0 1 62078 -1 400 150 1; #X restore 259 24 graph; #X obj 19 23 r read-sample; @@ -252,8 +252,8 @@ and window-msec (analysis window size in seconds and msec).; #X obj 57 281 r \$0-insamprate; #X msg 38 402 \; read-sample ../sound/voice.wav; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-nophase 1 float 0; -#X coords 0 1 1 -1 400 150 1; +#X array \$0-nophase 62079 float 0 black black; +#X coords 0 1 62078 -1 400 150 1; #X restore 256 185 graph; #X msg 376 403 resize \$1; #X obj 376 379 r \$0-samplength; @@ -277,15 +277,15 @@ and window-msec (analysis window size in seconds and msec).; #X connect 17 0 14 1; #X connect 20 0 22 0; #X connect 21 0 20 0; -#X restore 135 469 pd insample; -#X obj 22 404 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 135 479 pd insample; +#X obj 22 414 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 31 368 ---analyze---; -#X text 20 387 sample; -#X obj 104 492 tabwrite~ \$0-nophase; -#X obj 21 492 output~; -#X msg 340 354 0 \, 400 4000; -#X msg 340 389 0 \, 400 10000; +#X text 31 378 ---analyze---; +#X text 20 397 sample; +#X obj 104 502 tabwrite~ \$0-nophase; +#X obj 21 502 output~; +#X msg 340 364 0 \, 400 4000; +#X msg 340 399 0 \, 400 10000; #X text 20 36 This patch takes an incoming sound \, does an overlap-2 FFT analysis of it \, and bashes the phases of the spectra so that when regenerated the components will all have zero phase at the middle @@ -293,11 +293,11 @@ of each window. You can use the windows as waveforms and cross-fade them at will without getting phase modulation. This might be useful for making synthetic instruments that mimic the spectral variation of recorded sounds.; -#X text 323 275 (hundredths of sec); -#X text 326 259 location in sample; -#X text 345 335 normal speed; -#X text 347 373 slow; -#X text 358 232 ------ playback -------; +#X text 323 285 (hundredths of sec); +#X text 326 269 location in sample; +#X text 345 345 normal speed; +#X text 347 383 slow; +#X text 358 242 ------ playback -------; #N canvas 81 424 887 624 playback 0; #X obj 101 479 r invblk; #X obj 28 499 *~; @@ -526,48 +526,47 @@ shift; #X connect 107 0 108 0; #X connect 108 0 112 0; #X connect 109 0 106 0; -#X restore 458 397 pd playback; -#X text 457 259 spectral shift; -#X text 455 275 (hundredths of; -#X text 500 292 octave); -#X text 95 385 live; -#X text 19 133 You can save the analyses and needn't be running the +#X restore 458 407 pd playback; +#X text 457 269 spectral shift; +#X text 455 285 (hundredths of; +#X text 500 302 octave); +#X text 95 395 live; +#X text 19 143 You can save the analyses and needn't be running the FFT patch to do the resynthesis. You can read a sample \, select window size \, and press "sample" to analyze it \, or else analyze a "live" input. You'll hear the phase-bashed sample as the analysis runs. You can regenerate the sound with specified pitch \, sample location \, and spectral shift \, using the "playback" controls.; -#X text 67 248 analysis; -#X text 64 234 (redo; -#X text 67 264 after; -#X text 68 279 changing; -#X text 68 295 window; -#X text 69 309 size); +#X text 67 258 analysis; +#X text 64 244 (redo; +#X text 67 274 after; +#X text 68 289 changing; +#X text 68 305 window; +#X text 69 319 size); #X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header phase_bashing 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 557 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 567 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION phase bashing; -#X restore 392 559 pd META; +#X text 12 45 DESCRIPTION phase bashing; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 569 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 phase bashing- Related Help Documents; #X text 19 37 links:; -#X restore 103 559 pd References; -#X obj 6 559 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 569 pd References; +#X obj 6 569 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 7 0; #X connect 1 0 28 0; #X connect 1 0 29 0; diff --git a/pd/doc/3.audio.examples/J01.even.odd.pd b/pd/doc/3.audio.examples/J01.even.odd.pd index cb0ca26c1..79d1cc906 100644 --- a/pd/doc/3.audio.examples/J01.even.odd.pd +++ b/pd/doc/3.audio.examples/J01.even.odd.pd @@ -1,18 +1,18 @@ -#N canvas 368 22 615 581 10; +#N canvas 333 28 615 581 10; #X obj 80 186 wrap~; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-phasor 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array \$0-phasor 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 397 65 graph; #X obj 24 87 -~ 0.5; #X obj 80 214 -~ 0.5; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sum 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array \$0-sum 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 397 219 graph; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-difference 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array \$0-difference 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 396 373 graph; #X text 430 505 ---- 0.02 seconds ----; #X obj 22 365 output~; @@ -27,7 +27,7 @@ #X text 145 242 form the sum and difference; #X obj 23 254 +~; #X obj 59 253 -~; -#X text 19 418 This patch splits a sawtooth wave into its even and +#X text 19 428 This patch splits a sawtooth wave into its even and odd harmonics. The wrap~ object is used to make the phased copy. Adding and subtracting this to and from the original gives the results shown and heard. (Listen to the two outputs separately \, then together.) @@ -41,7 +41,7 @@ and heard. (Listen to the two outputs separately \, then together.) #X obj 138 277 tabwrite~ \$0-difference; #X obj 138 300 tabwrite~ \$0-sum; #X obj 138 168 tabwrite~ \$0-phasor; -#X text 19 482 This is a classic technique for gaining separate control +#X text 19 497 This is a classic technique for gaining separate control over the even and odd harmonics in a synthetic sound. It can also be used conceptually to understand the harmonic content of a square wave in terms of that of a sawtooth \, or vice versa.; @@ -50,27 +50,26 @@ in terms of that of a sawtooth \, or vice versa.; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X text 131 28 ... into even and odd harmonics; -#X obj 1 559 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 574 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION splitting a sawtooth wave; -#X restore 392 561 pd META; +#X text 12 45 DESCRIPTION splitting a sawtooth wave; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 576 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 splitting a sawtooth- Related Help Documents; #X text 19 37 links:; -#X restore 103 561 pd References; -#X obj 6 561 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 576 pd References; +#X obj 6 576 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 3 0; #X connect 2 0 0 0; #X connect 2 0 16 0; diff --git a/pd/doc/3.audio.examples/J02.trapezoids.pd b/pd/doc/3.audio.examples/J02.trapezoids.pd index d83ba9568..fb341d2c1 100644 --- a/pd/doc/3.audio.examples/J02.trapezoids.pd +++ b/pd/doc/3.audio.examples/J02.trapezoids.pd @@ -1,8 +1,8 @@ -#N canvas 376 25 605 568 10; +#N canvas 364 29 605 568 10; #X obj 137 153 wrap~; #X obj 137 175 -~ 0.5; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sum 882 float 0; +#X array \$0-sum 882 float 0 black black; #X coords 0 1.02 881 -1.02 200 130 1; #X restore 391 185 graph; #X text 422 318 ---- 0.02 seconds ----; @@ -50,16 +50,15 @@ cycle.; #X obj 1 546 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION making trapezoidal waves; +#X text 12 45 DESCRIPTION making trapezoidal waves; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 548 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/J03.pulse.width.mod.pd b/pd/doc/3.audio.examples/J03.pulse.width.mod.pd index 1af75c3c3..78cf16027 100644 --- a/pd/doc/3.audio.examples/J03.pulse.width.mod.pd +++ b/pd/doc/3.audio.examples/J03.pulse.width.mod.pd @@ -1,20 +1,20 @@ -#N canvas 368 112 644 514 10; +#N canvas 369 46 644 514 10; #X floatatom 33 62 0 0 0 0 - - -; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-difference 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array \$0-difference 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 415 341 graph; #X text 19 37 frequency; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-phasor1 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array \$0-phasor1 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 415 40 graph; #X obj 49 154 phasor~ 0; #X obj 49 130 + 0.2; #X obj 33 204 -~; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-phasor2 882 float 0; -#X coords 0 1.02 882 -1.02 200 130 1; +#X array \$0-phasor2 882 float 0 black black; +#X coords 0 1.02 881 -1.02 200 130 1; #X restore 415 192 graph; #X text 24 304 This patch demonstrates pulse width modulation \, which is accomplished simply by subtracting two sawtooth waves at a varying @@ -37,16 +37,15 @@ so that the relative phase wanders continuously.; #X obj 1 492 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION classical pulse width modulation; +#X text 12 45 DESCRIPTION classical pulse width modulation; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 494 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/J04.corners.pd b/pd/doc/3.audio.examples/J04.corners.pd index b715e919d..8a2cb7df9 100644 --- a/pd/doc/3.audio.examples/J04.corners.pd +++ b/pd/doc/3.audio.examples/J04.corners.pd @@ -1,8 +1,8 @@ -#N canvas 365 19 619 652 10; +#N canvas 343 25 619 652 10; #X obj 117 152 wrap~; #X obj 117 174 -~ 0.5; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sum 882 float 0; +#X array \$0-sum 882 float 0 black black; #X coords 0 0.25 881 -0.25 200 130 1; #X restore 411 90 graph; #X text 410 228 ---- 0.02 seconds ----; @@ -70,17 +70,16 @@ compared to the previous examples.; #X obj 1 668 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 135 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 115 AUTHOR Miller Puckette; -#X text 12 95 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 155 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 115 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 95 AUTHOR Miller Puckette; +#X text 12 75 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 135 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION making waveforms with corners using parabolic +#X text 12 45 DESCRIPTION making waveforms with corners using parabolic waves; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 670 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/J05.triangle.pd b/pd/doc/3.audio.examples/J05.triangle.pd index 0bd375949..d2098f1ad 100644 --- a/pd/doc/3.audio.examples/J05.triangle.pd +++ b/pd/doc/3.audio.examples/J05.triangle.pd @@ -1,6 +1,6 @@ -#N canvas 387 37 514 475 10; +#N canvas 343 31 514 475 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-sum 882 float 0; +#X array \$0-sum 882 float 0 black black; #X coords 0 0.5 881 -0.5 200 130 1; #X restore 302 99 graph; #X text 331 233 ---- 0.02 seconds ----; @@ -44,16 +44,15 @@ value is y/2.; #X obj 1 453 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION making waveforms with corners; +#X text 12 45 DESCRIPTION making waveforms with corners; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 455 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/J06.enveloping.pd b/pd/doc/3.audio.examples/J06.enveloping.pd index c771371c3..5518690a8 100644 --- a/pd/doc/3.audio.examples/J06.enveloping.pd +++ b/pd/doc/3.audio.examples/J06.enveloping.pd @@ -1,11 +1,11 @@ -#N canvas 328 34 727 584 10; +#N canvas 237 34 727 584 10; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-waveform 882 float 0; +#X array \$0-waveform 882 float 0 black black; #X coords 0 1.02 881 -1.02 200 130 1; #X restore 511 269 graph; #X floatatom 47 45 0 0 20 0 - - -; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-env 22050 float 0; +#X array \$0-env 22050 float 0 black black; #X coords 0 1.02 22049 -1.02 200 130 1; #X restore 511 89 graph; #X obj 47 67 phasor~; @@ -63,16 +63,15 @@ the sustain and silent regions.; #X obj 1 677 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION envelope generators from line segments; +#X text 12 45 DESCRIPTION envelope generators from line segments; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 679 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/J07.oversampling.pd b/pd/doc/3.audio.examples/J07.oversampling.pd index 146c236b3..c4224bb47 100644 --- a/pd/doc/3.audio.examples/J07.oversampling.pd +++ b/pd/doc/3.audio.examples/J07.oversampling.pd @@ -1,4 +1,4 @@ -#N canvas 433 122 448 484 10; +#N canvas 312 55 448 484 10; #N canvas 284 230 740 538 16x 0; #X obj 21 269 *~ 0.125; #X obj 21 292 rzero~ -1; @@ -68,19 +68,19 @@ H13.butterworth.pd in this series.; #X obj 22 66 mtof; #X floatatom 22 42 3 -24 135 0 - - -, f 3; #X text 47 41 <-- pitch; -#X text 131 230 not; -#X text 30 238 sampled; -#X text 30 225 16x up-; +#X text 131 238 not; +#X text 30 246 sampled; +#X text 30 233 16x up-; #X text 19 263 The "pd 16x" subpatch at left contains a phasor~ object \, but is locally upsampled by a factor of sixteen. Without upsampling \, partials as low as 24 Khz. fold back over into the audible range. With upsampling \, the first audibly folding over partial is at almost 700 Hz \, 29 times higher. The relevant partials will be 29 times \, or almost 30 dB \, quieter when upsampled.; -#X text 19 349 A third-order Butterworth filter is used inside the +#X text 19 359 A third-order Butterworth filter is used inside the "pd 16x" subpatch - without that \, the internal signal would fold over as it gets downsampled at the outlet~ object.; -#X text 19 396 You can trade off cutoff frequency with foldover. Here +#X text 19 406 You can trade off cutoff frequency with foldover. Here \, the filter is set for a cutoff of 15 kHz. Lowering it to 7500 Hz would further reduce foldover by 18 dB at the expense of losing energy in the range 7500-15000 Hz.; @@ -88,27 +88,26 @@ in the range 7500-15000 Hz.; 20 10 1 18 -261139 -33289 0; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; -#X obj 1 462 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 472 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.42. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.42. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION upsampling to control foldover; -#X restore 392 464 pd META; +#X text 12 45 DESCRIPTION upsampling to control foldover; +#X text 12 5 KEYWORDS signal tutorial; +#X restore 392 474 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 oversampling- Related Help Documents; #X text 19 37 Links:; -#X restore 103 464 pd References; -#X obj 6 464 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 474 pd References; +#X obj 6 474 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 3 0; #X connect 0 0 3 1; #X connect 1 0 0 0; diff --git a/pd/doc/3.audio.examples/J08.classicsynth.pd b/pd/doc/3.audio.examples/J08.classicsynth.pd index dff82d680..e6dadbbca 100644 --- a/pd/doc/3.audio.examples/J08.classicsynth.pd +++ b/pd/doc/3.audio.examples/J08.classicsynth.pd @@ -1,4 +1,4 @@ -#N canvas 433 111 448 519 10; +#N canvas 334 41 448 519 10; #N canvas 158 4 781 654 16x 0; #X obj 69 345 *~ 0.064; #X obj 69 368 rpole~ 0.93538; @@ -107,16 +107,15 @@ is controlled by other parameters set within the "pd 16x" window.; #X obj 1 497 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 44 246 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 25 KEYWORDS signal; -#X text 12 65 DESCRIPTION the classic subtractive synth sound; +#X text 12 45 DESCRIPTION the classic subtractive synth sound; +#X text 12 5 KEYWORDS signal tutorial; #X restore 392 499 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 diff --git a/pd/doc/3.audio.examples/J09.bandlimited.pd b/pd/doc/3.audio.examples/J09.bandlimited.pd index 0ad5a6885..dee85812d 100644 --- a/pd/doc/3.audio.examples/J09.bandlimited.pd +++ b/pd/doc/3.audio.examples/J09.bandlimited.pd @@ -1,4 +1,4 @@ -#N canvas 392 91 572 577 10; +#N canvas 296 25 572 577 10; #X floatatom 173 170 0 0 0 0 - - -; #X obj 34 394 -~; #X obj 173 244 /~; @@ -39,36 +39,36 @@ #X connect 6 0 8 0; #X restore 107 430 pd fft; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-fft 256 float 3; +#X array \$0-fft 256 float 3 black black; #A 0 0 88.2226 82.204 78.6858 76.1919 74.2601 72.6841 71.3543 70.2048 -69.1937 68.2916 67.4783 66.7382 66.0601 65.4346 64.855 64.3151 63.8106 -63.3371 62.8919 62.4716 62.0744 61.6977 61.3402 60.9999 60.6759 60.3665 -60.071 59.7881 59.5172 59.2573 59.008 58.7682 58.5377 58.3156 58.1018 -57.8955 57.6966 57.5043 57.3186 57.1388 56.9649 56.7964 56.6333 56.4749 -56.3213 56.172 56.0271 55.8861 55.749 55.6155 55.4855 55.3586 55.235 -55.1142 54.9964 54.8811 54.7685 54.6581 54.5502 54.4443 54.3407 54.2388 -54.1389 54.0406 53.9441 53.8491 53.7556 53.6634 53.5726 53.4829 53.3945 -53.3071 53.2207 53.1352 53.0507 52.9669 52.8839 52.8015 52.7198 52.6386 -52.5581 52.4778 52.3982 52.3187 52.2397 52.1609 52.0824 52.004 51.9258 -51.8477 51.7697 51.6917 51.6137 51.5356 51.4576 51.3793 51.301 51.2224 -51.1437 51.0647 50.9855 50.9059 50.8262 50.7459 50.6655 50.5845 50.5032 -50.4214 50.3391 50.2564 50.1732 50.0894 50.0051 49.9201 49.8347 49.7486 -49.6619 49.5745 49.4865 49.3978 49.3084 49.2182 49.1274 49.0358 48.9434 -48.8503 48.7564 48.6616 48.566 48.4696 48.3723 48.2741 48.1752 48.0752 -47.9744 47.8727 47.77 47.6664 47.5618 47.4562 47.3497 47.2421 47.1336 -47.024 46.9135 46.8018 46.6891 46.5753 46.4605 46.3445 46.2275 46.1092 -45.99 45.8695 45.7479 45.6251 45.5012 45.376 45.2497 45.122 44.9933 -44.8631 44.7319 44.5992 44.4654 44.3301 44.1936 44.0557 43.9166 43.7759 -43.634 43.4906 43.3458 43.1995 43.0518 42.9026 42.7519 42.5996 42.4459 -42.2905 42.1335 41.9749 41.8146 41.6526 41.489 41.3235 41.1563 40.9872 -40.8163 40.6434 40.4687 40.2919 40.1131 39.9322 39.7492 39.5638 39.3764 -39.1865 38.9943 38.7995 38.6023 38.4023 38.1998 37.9943 37.786 37.5746 -37.3602 37.1423 36.9212 36.6965 36.4682 36.2359 35.9997 35.7592 35.5144 -35.2648 35.0104 34.7508 34.4859 34.215 33.9383 33.6549 33.3649 33.0674 -32.7622 32.4486 32.1262 31.7941 31.4518 31.0983 30.7329 30.3542 29.9614 -29.5529 29.1275 28.6831 28.2179 27.7295 27.2153 26.6718 26.0954 25.4811 -24.8236 24.1153 23.3477 22.5087 21.5838 20.5517 19.3842 18.038 16.4488 -14.5061 12.0034 8.48161 2.45351; +69.1936 68.2915 67.4782 66.7381 66.06 65.4346 64.8549 64.315 63.8105 +63.3371 62.8918 62.4715 62.0743 61.6976 61.3401 60.9998 60.6758 60.3663 +60.0708 59.7879 59.5171 59.2572 59.0078 58.768 58.5376 58.3155 58.1017 +57.8954 57.6964 57.5041 57.3184 57.1387 56.9648 56.7963 56.6332 56.4748 +56.3213 56.172 56.0271 55.8861 55.7491 55.6155 55.4855 55.3587 55.2351 +55.1144 54.9966 54.8813 54.7687 54.6584 54.5505 54.4447 54.3411 54.2392 +54.1394 54.0412 53.9447 53.8497 53.7563 53.6641 53.5734 53.4838 53.3954 +53.308 53.2218 53.1363 53.0519 52.9681 52.8852 52.8028 52.7212 52.6401 +52.5596 52.4795 52.3998 52.3205 52.2416 52.1628 52.0844 52.0061 51.928 +51.8499 51.772 51.694 51.6162 51.5381 51.4602 51.382 51.3037 51.2252 +51.1466 51.0677 50.9886 50.9091 50.8293 50.7492 50.6688 50.5879 50.5066 +50.4248 50.3427 50.26 50.1768 50.0931 50.0088 49.9239 49.8386 49.7525 +49.6658 49.5784 49.4905 49.4017 49.3124 49.2222 49.1314 49.0398 48.9475 +48.8542 48.7603 48.6655 48.5699 48.4734 48.3762 48.2779 48.1789 48.0788 +47.978 47.8761 47.7734 47.6696 47.5649 47.4592 47.3526 47.2448 47.1362 +47.0264 46.9156 46.8037 46.6909 46.5768 46.4618 46.3455 46.2282 46.1097 +45.9902 45.8693 45.7474 45.6243 45.5 45.3744 45.2477 45.1196 44.9904 +44.8599 44.7281 44.5949 44.4606 44.3248 44.1878 44.0493 43.9095 43.7682 +43.6257 43.4816 43.3361 43.1891 43.0407 42.8907 42.7392 42.5861 42.4316 +42.2753 42.1175 41.9579 41.7967 41.6337 41.4691 41.3026 41.1344 40.9642 +40.7923 40.6183 40.4424 40.2644 40.0845 39.9023 39.7181 39.5315 39.3428 +39.1516 38.9581 38.7619 38.5634 38.362 38.1581 37.9512 37.7415 37.5286 +37.3127 37.0934 36.8709 36.6446 36.4148 36.181 35.9433 35.7013 35.455 +35.2038 34.948 34.6868 34.4203 34.148 33.8698 33.5849 33.2934 32.9944 +32.6878 32.3727 32.0489 31.7154 31.3718 31.0169 30.6502 30.2702 29.8762 +29.4664 29.0398 28.5943 28.1281 27.6386 27.1234 26.5789 26.0016 25.3865 +24.7281 24.0191 23.2507 22.4112 21.4856 20.4531 19.285 17.9386 16.3489 +14.4056 11.9028 8.37779 2.35788; #X coords 0 100 256 0 200 140 1; #X restore 338 255 graph; #X floatatom 338 405 5 0 0 0 - - -, f 5; @@ -82,13 +82,13 @@ -1; #X obj 167 429 tabwrite~ \$0-out; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-out 882 float 0; -#X coords 0 1 882 -1 200 140 1; +#X array \$0-out 882 float 0 black black; +#X coords 0 1 881 -1 200 140 1; #X restore 341 88 graph; #X obj 48 67 loadbang; #X obj 48 90 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 22 611 Now any time we wish to make a discontinuity in the +#X text 22 624 Now any time we wish to make a discontinuity in the output signal \, we make it look exactly like the bandlimited square wave looks. We do this by reading through the table we recorded \, carefully adding a "digital" \, non-band-limited \, sawtooth to "array1" @@ -129,7 +129,7 @@ left is the transition in the table.; #X text 28 644 This alternate one puts in harmonics 1 \, 3 \, and 5 ; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-transition 1002 float 0; +#X array \$0-transition 1002 float 0 black black; #X coords 0 1 1002 -1 200 140 1; #X restore 539 32 graph; #X text 537 179 ----- 1002 samples ----; @@ -177,7 +177,7 @@ the middle of the bottom half. Here we use a square wave at SR/10 \, so that only partials 1 and 3 fit below the Nyquist. The transition should take 1/2 period \, or 5 samples. The table is calculated and stored in the "transition-table" subpatch.; -#X text 22 697 The "band limit" controls how fast the transition table +#X text 22 717 The "band limit" controls how fast the transition table is read. If it is set to the Nyquist frequency the table is read at 0.4 times the Nyquist \, or five samples a cycle. Lowering the band limit cuts off the partials of the generated sawtooth wave at frequencies @@ -187,27 +187,26 @@ below the Nyquist.; #X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp ; #X text 105 27 ... using a transition table; -#X obj 1 774 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 +#X obj 1 794 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0 14 -233017 -33289 0; #N canvas 224 211 494 284 META 0; -#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/; -#X text 12 105 AUTHOR Miller Puckette; -#X text 12 85 LIBRARY PDDP; -#X text 12 5 GENRE tutorial; -#X text 12 45 LICENSE SIBSD; -#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan +#X text 12 105 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 85 AUTHOR Miller Puckette; +#X text 12 65 LIBRARY PDDP; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42.; -#X text 12 65 DESCRIPTION band-limited sawtooth generator; -#X text 12 25 KEYWORDS signal bandlimited; -#X restore 392 776 pd META; +#X text 12 45 DESCRIPTION band-limited sawtooth generator; +#X text 12 5 KEYWORDS signal bandlimited tutorial; +#X restore 392 796 pd META; #N canvas 13 202 428 190 References 0; #X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 14 -261139 -33289 0; #X text 7 2 band-limited sawtooth- Related Help Documents; #X text 19 37 Links:; -#X restore 103 776 pd References; -#X obj 6 776 pddp/pddplink ../5.reference/pddp/help.pd -text help; +#X restore 103 796 pd References; +#X obj 6 796 pddp/pddplink ../5.reference/pddp/help.pd -text help; #X connect 0 0 24 0; #X connect 1 0 18 0; #X connect 1 0 22 0; -- GitLab