Skip to content

eerne/Pd-Dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
mild
Sep 22, 2013
a662151 · Sep 22, 2013
Nov 22, 2012
Sep 2, 2011
Aug 31, 2011
Sep 6, 2011
Sep 22, 2013
Sep 15, 2011
Sep 19, 2011
Aug 6, 2011
Jul 2, 2011
Aug 13, 2011
Aug 11, 2011
Aug 27, 2011
Jul 2, 2011
Dec 8, 2010
Aug 7, 2011
Aug 5, 2011

Repository files navigation

Pd-Dom

aka. pure dynamic object model for Puredata

Pd-Dom is a wrapper around the unofficial Pd dynamic patching methods. It simplifies API to create and chain abstractions. Tree structures can be build with multiple nested Pd-Dom instances. Abstractions are given a unique Id as $1 argument and use globally available send~ and receives~ and automatically listen to the previous node. There are plans to optionally wrap [dyn~] with same API. All methods are zero based.

Read more about Puredata aka Pd on crca.ucsd.edu/~msp/software.html

How to use

[adc~]
 |	  [add aSequencer, add myInstrument, add someEffect(
 |	   /
[pd-dom <id>]
 |
[dac~]

Methods

add <abstraction>
chain <abstraction> [<abstraction> [<abstraction> ...]]
set <position> <abstraction>
delete <position> [<position> [<position> ...]]
vis <position>
reset

Methods (proposal)

add <abstraction> [<arg2> [<arg3> ...]]

see subpatch [pd more]

Reserved receivers (internals)

<id>
<id>.nodes
<id>.nodes.get
<id>.nodes.set
<id>.nodes~
<id>.nodes~.get
<id>.nodes~.set

<id>.bin
<id>.bin.<number>

<id>.<number>
<id>.<number>.vis
<id>.node.<number>

Todo

  • refactoring
  • build dyn~ wrapper
  • export

Author(s)

  • Enrique Erne

License

Copyright (c) 2009-2011, Enrique Erne

Licensed under the MIT license

Pd-Dom is inspired by the mMm project.