Commit 7476eae5 authored by Jonathan Wilkes's avatar Jonathan Wilkes

Merge branch 'vanilla-port'

parents f92c6c74 1e59369d
......@@ -66,7 +66,7 @@ on and off. If on \, a test is run to determine whether to turn off
20 10 1 18 -261139 -33289 0;
#X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp
;
#X text 19 37 The [env~] object reports ths RMS signal level over the
#X text 19 37 The [env~] object reports the RMS signal level over the
last 256 samples (by default) or any other power of 2 that's at least
twice the block size. The analysis is done in an overlapped fashion
so that results appear every N/2 points if N is the analysis window
......
......@@ -197,7 +197,7 @@ phase \, and sample number in one message;
the parameters one by one.;
#X obj 19 492 output~;
#X text 16 560 This patch take the same principle as the earlier "one-shot
sampler" \, but allows you to parametrize sample playback. Since we
sampler" \, but allows you to parameterize sample playback. Since we
must wait 5 msec before starting the playback \, we store all the parameters
in "f" objects \, and recall them to construct the new note. Transposition
is done by altering the amount to play back in the (artificial) ten
......
......@@ -235,7 +235,7 @@ rises from zero to one.;
the table (which would be clipped appropriately). Anyway \, the polynomials
increase rapidly in value outside the interval from -1 to 1 that we
are using here.;
#X text 20 457 When you get tired of Chebychef polynomials you can
#X text 20 457 When you get tired of Chebychev polynomials you can
draw your own functions by hand and/or try other formulas.;
#X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header waveshaping_with_Chebychev_polynomials
20 10 1 18 -261139 -33289 0;
......
......@@ -105,7 +105,7 @@ 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
one (delread~) adjusts for the delayed output of [fiddle~]. The variable
one (vd~) adds to this an additional delay equal to 1/2 the measured
period of the incoming sound. THese two are added. Odd harmonics are
period of the incoming sound. These two are added. Odd harmonics are
180 degrees out of phase at the two taps and cancel. Even harmonics
get through -- so the sound goes up an octave \, without denaturing
the timbre as a speed-up would.;
......
......@@ -127,7 +127,7 @@
#X restore 289 283 graph;
#X text 313 425 --- 0.02 sec ---;
#X text 19 36 Many synthesis algorithms and transformations can have
outputs with a zero-freqency component (commonly called DC for "direct
outputs with a zero-frequency component (commonly called DC for "direct
current"). These are inaudible and sometimes cause distortion in audio
output devices \, or when converting to fixed-point soundfile formats.
It is often desirable to filter an audio signal to remove its DC component.
......
......@@ -80,9 +80,9 @@ Wilkes revised the patch to conform to the PDDP template for Pd version
#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"
to RMS amplitude 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~].;
The averaging is done using a low-pass filter such as [lop~].;
#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
......
......@@ -67,7 +67,7 @@
#X restore 125 505 pd startup;
#X obj 19 478 output~;
#X obj 186 330 phasor~;
#X text 121 421 <-- complex multipier;
#X text 121 421 <-- complex multiplier;
#X text 120 438 (calculates real part);
#X text 289 354 to form the real and;
#X text 289 370 imaginary part of a;
......
......@@ -71,7 +71,7 @@ Wilkes revised the patch to conform to the PDDP template for Pd version
#X text 19 37 links:;
#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
#X text 19 143 The [butterworth3~] abstraction computes filter coefficients
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
......
......@@ -89,7 +89,7 @@ tempo 4;
#X text 441 483 click to reload qlist2.txt;
#X obj 22 519 output~;
#X text 201 39 This is an analog-synth sound made using a wavetable
oscillator and a "vcf~' object. Unkike the "floyd" example earlier
oscillator and a "vcf~' object. Unlike the "floyd" example earlier
\, we use a qlist object to do the sequencing. This can also be adapted
to make a keyboard synth.;
#X text 199 105 The qlist reads the file \, "qlist2.txt" \, which contains
......
......@@ -27,7 +27,7 @@ the (real-valued) gain-and-normalization-factor;
#X obj 15 399 rifft~;
#X text 89 396 Real-valued inverse Fourier transform. This uses only
the first N/@ points of its inputs \, supplying the rest by symmerty
(so it's OK that rfft~ obly puts out those N/2 points.) There's only
(so it's OK that rfft~ only puts out those N/2 points.) There's only
one outlet because the output is real-valued.;
#X obj 16 566 outlet~;
#X text 88 499 Multiply by the Hann window function again \, necessary
......
......@@ -379,7 +379,7 @@ of recorded sounds.;
#X text 164 265 part of loc;
#X text 295 224 integer part of loc;
#X text 328 247 middle of block;
#X text 310 290 cvt to samples;
#X text 310 290 convert to samples;
#X text 522 265 run two copies 180 degrees out of phase;
#X text 29 589 window shaped;
#X text 27 604 by raised cos;
......
......@@ -98,7 +98,7 @@ and the amplitude to make the classic subtractive synthesis sound.
Send an "s \$0-note" object a (pitch \, duration) pair to play a note.
(Classic VC synths did not have velocity sensitive keyboards!) You
can add controls to change the parameters of the ADSR envelopes and/or
the vcf~ "Q" parameter. THe oscillators' waveforms and tuning relationship
the vcf~ "Q" parameter. The oscillators' waveforms and tuning relationship
is controlled by other parameters set within the "pd 16x" window.;
#X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header the_classic_subtractive_synth_sound
20 10 1 18 -261139 -33289 0;
......
......@@ -50,7 +50,7 @@
#X obj 620 215 t b;
#X text 583 184 clear filters;
#X text 582 198 to start;
#X text 578 452 cbeck if any table;
#X text 578 452 check if any table;
#X text 577 467 is specified for phase;
#X text 577 483 (don't compute it if;
#X text 578 498 not.);
......
......@@ -67,7 +67,7 @@ the template subpatch.);
#X text 210 264 template5;
#X text 12 360 work as before \, but on;
#X text 12 375 array elements...;
#X text 12 345 normal "set" amd "get";
#X text 12 345 normal "set" and "get";
#X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header arrays_in_data_structures
20 10 1 18 -261139 -33289 0;
#X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp
......
......@@ -831,7 +831,7 @@ above.;
#X text 19 37 This patch derives sinusoidal "tracks" from a sampled
sound using sigmund~ and the data structure facilities. The number
of tracks may range from 1 to 50 You can edit the tracks (but note
that the resynthezier is limited to 50-voice polyphony.);
that the resynthesizer is limited to 50-voice polyphony.);
#X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header sinusoid_tracking
20 10 1 18 -261139 -33289 0;
#X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp
......
......@@ -10,7 +10,7 @@
#X text 12 125 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 12 45 LICENSE SIBSD;
#X text 12 105 AUTHOR Miller Puckette;
#X text 12 165 HELP_PATCH_AUTHORS Updated for pd version 0.40. Jonathan
#X text 12 165 HELP_PATCH_AUTHORS Updated for Pd version 0.40. Jonathan
Wilkes revised the patch to conform to the PDDP template for Pd version
0.42.;
#X text 12 25 KEYWORDS control conversion MIDI;
......
......@@ -72,7 +72,7 @@ TIME. In a production patch \, you'll want to set a specific width.
;
#X floatatom 70 143 0 0 0 0 - - -;
#X text 148 143 width = 0 characters (read below);
#X text 69 240 A width of one gives a clickable toggle switch ala Max.
#X text 69 240 A width of one gives a clickable toggle switch a la Max.
;
#X text 88 223 width = 1 character: toggle between 0 and 1;
#X text 19 260 limits;
......
......@@ -18,7 +18,7 @@
#X obj 57 576 print packet;
#X text 234 445 a blob;
#X text 416 442 packets from network;
#X text 521 466 slisten on port 5000;
#X text 521 466 listen on port 5000;
#X text 558 521 UDP packets \, binary output, f 13;
#X text 45 41 oscparse take incoming lists of numbers \, interpreting
them as the bytes in an OSC message. The output is a list containing
......
......@@ -290,7 +290,7 @@
#X msg 29 179 stop the transformation;
#X text 193 9 (old-fashioned) VOCODER;
#X text 28 31 This takes in two soundfiles and uses the first to "vocode"
the second. THe resulting sound is as long as the shorter of the two
the second. The resulting sound is as long as the shorter of the two
inputs.;
#X msg 29 116 read the analysis sound from file;
#X msg 29 137 AND read the sound to be processed from file;
......
......@@ -730,7 +730,7 @@ set 1 \;;
#X obj 608 144 tgl 20 0 tone-ch116 tone-ch16 16 5 -8 0 12 -262144 -1
-1 1 1;
#X text 235 25 16 channel test tone patch;
#X text 316 77 AUTIO INPUT (RMS dB);
#X text 316 77 AUDIO INPUT (RMS dB);
#X text 337 175 AUDIO OUTPUT ON/OFF;
#X text 40 120 OFF;
#X text 101 88 noise;
......
......@@ -5,7 +5,7 @@ pdsend \- send messages to pd on this or a remote machine
.B pdsend
\fIport-number\fR [\fIhostname\fR] [udp|tcp]
.SH DESCRIPTION
Pdsend sends messages to pd(1), via a socket conection, from pdsend's
Pdsend sends messages to pd(1), via a socket connection, from pdsend's
standard input. This input can be any stream of Pd messages separated by
semicolons. This is probably the easiest way to control pd from another
application. The protocol used is easy to implement and is called FUDI.
......
......@@ -892,7 +892,12 @@ static void canvas_savetofile(t_canvas *x, t_symbol *filename, t_symbol *dir,
static void canvas_menusaveas(t_canvas *x, t_floatarg fdestroy)
{
t_canvas *x2 = canvas_getrootfor(x);
gui_vmess("gui_canvas_saveas", "xssi", x2, x2->gl_name->s_name, canvas_getdir(x2)->s_name, fdestroy != 0);
gui_vmess("gui_canvas_saveas", "xssi",
x2,
(strncmp(x2->gl_name->s_name, "Untitled", 8) ?
x2->gl_name->s_name : "title"),
canvas_getdir(x2)->s_name,
fdestroy != 0);
}
static void canvas_menusave(t_canvas *x, t_floatarg fdestroy)
......
......@@ -1103,17 +1103,20 @@ static void scalar_vis(t_gobj *z, t_glist *owner, int vis)
static void scalar_doredraw(t_gobj *client, t_glist *glist)
{
scalar_vis(client, glist, 0);
scalar_vis(client, glist, 1);
if (glist_isselected(glist_getcanvas(glist), (t_gobj *)glist))
if (glist_isvisible(glist))
{
//fprintf(stderr,"yes\n");
/* I still don't understand what this does... should probably
do some scalar gop tests to see if it is actually needed... */
//sys_vgui("pdtk_select_all_gop_widgets .x%lx %lx %d\n",
// glist_getcanvas(glist), glist, 1);
scalar_vis(client, glist, 0);
scalar_vis(client, glist, 1);
if (glist_isselected(glist_getcanvas(glist), (t_gobj *)glist))
{
//fprintf(stderr,"yes\n");
/* I still don't understand what this does... should probably
do some scalar gop tests to see if it is actually needed... */
//sys_vgui("pdtk_select_all_gop_widgets .x%lx %lx %d\n",
// glist_getcanvas(glist), glist, 1);
}
canvas_getscroll(glist_getcanvas(glist));
}
canvas_getscroll(glist_getcanvas(glist));
}
void scalar_redraw(t_scalar *x, t_glist *glist)
......
......@@ -1099,7 +1099,7 @@ ex_sum(t_expr *e, long int argc, struct ex_ex *argv, struct ex_ex *optr)
/*
* ex_Sum -- calculate the sum of table with the given boundries
* ex_Sum -- calculate the sum of table with the given boundaries
*/
void
......@@ -1132,7 +1132,7 @@ ex_Sum(t_expr *e, long int argc, struct ex_ex *argv, struct ex_ex *optr)
n1 = argv->ex_flt;
break;
default:
post("expr: Sum: boundries have to be fix values\n");
post("expr: Sum: boundaries have to be fix values\n");
optr->ex_type = ET_INT;
optr->ex_int = 0;
return;
......@@ -1148,7 +1148,7 @@ ex_Sum(t_expr *e, long int argc, struct ex_ex *argv, struct ex_ex *optr)
n2 = argv->ex_flt;
break;
default:
post("expr: Sum: boundries have to be fix values\n");
post("expr: Sum: boundaries have to be fix values\n");
optr->ex_type = ET_INT;
optr->ex_int = 0;
return;
......@@ -1201,7 +1201,7 @@ ex_avg(t_expr *e, long int argc, struct ex_ex *argv, struct ex_ex *optr)
/*
* ex_Avg -- calculate the avarage of table with the given boundries
* ex_Avg -- calculate the avarage of table with the given boundaries
*/
void
......@@ -1233,7 +1233,7 @@ ex_Avg(t_expr *e, long int argc, struct ex_ex *argv, struct ex_ex *optr)
if (argv->ex_type != ET_INT || argv[1].ex_type != ET_INT)
{
post("expr: Avg: boundries have to be fix values\n");
post("expr: Avg: boundaries have to be fix values\n");
optr->ex_type = ET_INT;
optr->ex_int = 0;
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment