Pure dynamic object model for Pure Data
Pure Data
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
tests
utils
README.md
license
pd-dom-help.pd
pd-dom.pd
pddom.bin~-help.pd
pddom.bin~.pd
pddom.core.pd
pddom.from.pd
pddom.from~.pd
pddom.get-help.pd
pddom.get.pd
pddom.to.pd
pddom.to~.pd

README.md

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.