[PD] a simple example to get me started/newbie

Josh Kinberg jbkinb at hotmail.com
Sun Mar 2 00:51:23 CET 2003


One other thing....
If you have two PD windows open at the same time and you hit "compute 
audio", it will only compute audio  for one of the windows (and that never 
seems to be the one you want!). It seems a little annoying at first because 
you'd think it should only compute audio for the active window. But, this 
becomes useful later when you start passing messages between windows. So, if 
you copy part of a "help" example to your project, its a good idea to close 
that help window before hitting "compute audio".

You can make PD messages that turn on audio, rather than relying on the 
pull-down menu too. There are lots of different ways of doing this, but I 
usually do it this way: I make two "message" boxes, one for "on" and one for 
"off". The On button has this written in it:

; pd dsp 1

--note the semicolon

The Off button is written like this:

; pd dsp 0

When you are in "Run Mode", just click on the On button to begin computing 
audio. You can switch between Run and Edit mode by hitting Ctrl-E 
(Command/Apple-E on Mac).

--Josh

>From: "Josh Kinberg" <jbkinb at hotmail.com>
>To: MchZanes2 at aol.com
>CC: pd-list at iem.kug.ac.at
>Subject: Re: [PD] a simple example to get me started/newbie
>Date: Sat, 01 Mar 2003 18:33:17 -0500
>
>There is a pretty good beginner's tutorial here (you can view it online or 
>download a PDF version):
>
>http://pd.iem.at/pdwiki/index.php?PdTutorial
>
>I'm new to PD as well, so I'm still playing around with the examples quite 
>a lot. That would be my suggestion for trying to familiarize yourself with 
>PD (or any programming language). Go over examples as much as you can, 
>tweak them around and see what does what. Try combining examples together 
>and see what happens. There are tons of examples in the Docs folder that 
>come with PD, and you can always copy-paste them into your projects. Also, 
>a great trick is to right-click (control-click on Mac) on any PD object and 
>select "help". This will bring up another PD window with some instructions 
>on how to use that object. If you right-click on an empty area on the PD 
>canvas and select "help", it will bring up a new window with a glossary of 
>PD objects.
>
>Hope that helps some.
>
>--Josh
>
>>From: smoerk <smoerk at gmx.de>
>>To: MchZanes2 at aol.com
>>CC: pd-list at iem.kug.ac.at
>>Subject: Re: [PD] a simple example to get me started/newbie
>>Date: Sun, 02 Mar 2003 00:08:36 +0100
>>
>>did you check the "compute audio" checkbox?
>>
>>MchZanes2 at aol.com wrote:
>>>                Hello. I have no backround in programming, so trying to 
>>>get past the audio test has been frustrating. I heard the test tones and 
>>>the white noise in that test; I'm able to get the command prompt up (run 
>>>C:pd/bin/pd.exe) as well as open up a new file from the main window. My 
>>>ISP recognizes TCP/IP as a possible internet connection, so THAT appears 
>>>to be turned on, though I'm "dial-up";  I keep reading and re-reading the 
>>>manual and all relevant info. from other sites but nowhere can I find 
>>>someone with a "simple example"  to give a "wah-newbie" like
>>>me something to sink his teeth into. (If the examples in doc\2.control 
>>>examples thru 5.reference are supposed to "sound", then what EXACT 
>>>procedure do I need to follow to get that to happen? The same for the 
>>>examples in the main manual, I get no sound generated from these examples 
>>>either, though test tones work).
>>>
>>>                Any help is appreciated. Thanks.  My  OS is WinXP.
>>>
>>
>>
>>_______________________________________________
>>PD-list mailing list
>>PD-list at iem.kug.ac.at
>>http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
>
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*.  
>http://join.msn.com/?page=features/featuredemail
>
>
>_______________________________________________
>PD-list mailing list
>PD-list at iem.kug.ac.at
>http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus





More information about the Pd-list mailing list