Re: [PD] Thanks and now for something else!

2007-11-10 Thread Frank Barknecht
Hallo,
Timothy Sikes hat gesagt: // Timothy Sikes wrote:

 First of all, I want to thank everyone for the tremendous help you
 guys gave me to start PD a day or two ago.  I think parts of PD have
 finally started to sink in.  Whoever told me not to think of PD so
 procedurally, or orderly, really helped.  Right now,  I am getting
 the benefits of my labor by listening to a loop that goes from midi
 sound 50 -100 then loops again... and again.  Alright,  now for
 the stuff I don't get!  So, my next project I would like to tackle
 to better understand PD is to have it play a simple midi C scale.

Just send 60, 62, 64, 65, 67, 69, 71, 72 to [mtof]. Or better yet,
send 0,2,4,5,7,9,11,12 to [+ 60]. You may want to search Google for
Peter Elsea's Max tutorials on pitch (and rhythm and chords later, too)
(e.g. ftp://arts.ucsc.edu/pub/ems/maxtutors/)

 Some of the things that I want to understand better is the 'select'
 object, and what happens when an outlet is connected to it, how to
 use the equality (, =) symbols accurately, and how they work in
 PD.  I have already looked at the examples that came with it,  and
 they just confused me:  When I took them out at started it over,  it
 seemed to work just fine.  This is the 'more counting' one,  and
 when I remove the = 0 boxes, it still works, plus they're not
 really explained at all.Thanks again!

[] and so on work by sending either 0 for false and 1 for true
comparisons. [ 10] compares to 10. You can overwrite the stored 10
through the second inlet.

Select converts selected messages to bang-messages. [select 0 1] can
be used to convert a 0-message to a bang at the first outlet and a 1
to a bang at the second outlet. 

[select] and a comparison together form a kind of if-else-conditional: 

 if (x  10) then do bang1 else do bang2 end

in Pd would be: 
 
 float x
 |
 [ 10]
 |
 [select 1 0]
 |   |
 |   bang2
 bang1

Ciao
-- 
 Frank Barknecht _ __footils.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Thanks and now for something else!

2007-11-10 Thread Daniel Wilcox
I would suggest you check out Composing Interactive
Musichttp://www.amazon.com/Composing-Interactive-Music-Techniques-Ideas/dp/0262731398by
Todd Winkler which
covers using MAX to do lots of fun stuff with midi.  Naturally, you can
implement most of
the examples in PD.  I bought this book and went through the whole thing,
making the
example patches as I went.

If you want more of the technical bones behind this stuff, I'd also
recommend Machine
Musicianshiphttp://www.amazon.com/Machine-Musicianship-Robert-Rowe/dp/0262681498/ref=pd_sim_b_title_4/102-4863673-2463332
by Karl Rowe.  Although it is getting a bit dated (includes a cdrom with MAX
patches for OS 9 :P),
it really helped me a good grasp on how I could use midi in pd to do what I
wanted.

Anyway, those are two books that got me going in pd.

Shoot, there is enough experience on this list to write better books then
these focusing on pd!

Hallo,
Timothy Sikes hat gesagt: // Timothy Sikes wrote:

 First of all, I want to thank everyone for the tremendous help you
 guys gave me to start PD a day or two ago.  I think parts of PD have
 finally started to sink in.  Whoever told me not to think of PD so
 procedurally, or orderly, really helped.  Right now,  I am getting
 the benefits of my labor by listening to a loop that goes from midi
 sound 50 -100 then loops again... and again.  Alright,  now for
 the stuff I don't get!  So, my next project I would like to tackle
 to better understand PD is to have it play a simple midi C scale.

 Some of the things that I want to understand better is the 'select'
 object, and what happens when an outlet is connected to it, how to
 use the equality (, =) symbols accurately, and how they work in
 PD.  I have already looked at the examples that came with it,  and
 they just confused me:  When I took them out at started it over,  it
 seemed to work just fine.  This is the 'more counting' one,  and
 when I remove the = 0 boxes, it still works, plus they're not
 really explained at all.Thanks again!


-- 
Dan Wilcox
danomatika
www.robotcowboy.com
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list