[PD] basic composition tutorial

Andy Farnell padawan12 at obiwannabe.co.uk
Thu Jun 14 13:04:00 CEST 2007


On Sat, 9 Jun 2007 11:49:04 +0200
Frank Barknecht <fbar at footils.org> wrote:

> Hallo,
> Andy Farnell hat gesagt: // Andy Farnell wrote:
> 
> > pdf builds automatically now, 
> 
> Do you have your scripts to generate things somewhere only as well? I
> could figure they might be useful to others as well...

Will eventually tidy it up with Bryans perl pd socket and
I think I've got extracting elements from a Pd file
properly now. Slurp the entire file and treat it as a great big string ;)
But messy, so not ready for others to use yet.

it looks slightly like:

open Pd with tcp listener
For all Pd files in cwd{
  section heading is filename
  open Pd file
  print postscript
  correct postscript
  link to image

  if (pd file has graphs or labelled signals){
    dump data to textfile
    jgraph data
    adjust postscript
  }
  if (pd file has [dac~]){
    jack-record pd output
    convert wav to ogg with sox  
    link to sound
  }
  if (pd file has [pd comments]){
    extract comments 
    new subsection comments
    }
  add link to pd file
}
close pd
include trailer stuff
write tex file
latex dvipdf latex2html
tar
cleanup


The first comment in each file becomes a subsection name
and subsequent comments are itemised as a summary.

graphs are broken
possible wait/blocking problems

last run on this tutorial, after annotating the Pd files one by one
and ordering them.

http://www.obiwannabe.co.uk/html/music/musictuts/Composition-002/Composition-002.html


Andy


> Ciao
> -- 
>  Frank Barknecht                 _ ______footils.org_ __goto10.org__
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


-- 
Use the source




More information about the Pd-list mailing list