Forums > MaxMSP

behavior: dac~ in separate patches

October 18, 2006 | 3:58 pm

I ran across a behavior I don’t remember experiencing in Max/MSP 4.5:

- open a patch ‘foo1′ containing [sfplay~ name kim1]–>[dac~]
- sfplay~ loads sample1.aif and is sent [1] to play and [loop 1]
- the dac~ is sent a [startwindow] command
- it plays the file

now…

- open patch ‘foo2′ also containing a [sfplay~ name kim2]–>[dac~]
- sfplay~ is playing sample2.aif and sent [1] to play and [loop 1]

foo2 patch opens with the dac~ running although no [start] or
[startwindow] command was sent to it

with foo1 and foo2 open I can use [startwindow] or [start] commands
to have either -or- both patches running at the same time…

…but is it possible to load another patch containing a dac~ and
have it *not* play when loaded?

- I’m assuming this is possible since you can send [startwindow] to
one patch containing a dac~ and have the other patch containing a
dac~ not play


October 18, 2006 | 4:12 pm

eureka! I think I answered my own question:
- sending an [enable 0] command with a loadbang will load an instance
of the dac~ but not running
- suggestion: the dac~.help fine should contain this very useful tidbit

sorry for the wasted bandwidth!

On Oct 18, 2006, at 8:58 AM, Kim Cascone wrote:

> I ran across a behavior I don’t remember experiencing in Max/MSP 4.5:
>
> – open a patch ‘foo1′ containing [sfplay~ name kim1]–>[dac~]
> – sfplay~ loads sample1.aif and is sent [1] to play and [loop 1]
> – the dac~ is sent a [startwindow] command
> – it plays the file
>
> now…
>
> – open patch ‘foo2′ also containing a [sfplay~ name kim2]–>[dac~]
> – sfplay~ is playing sample2.aif and sent [1] to play and [loop 1]
>
> foo2 patch opens with the dac~ running although no [start] or
> [startwindow] command was sent to it
>
> with foo1 and foo2 open I can use [startwindow] or [start] commands
> to have either -or- both patches running at the same time…
>
> …but is it possible to load another patch containing a dac~ and
> have it *not* play when loaded?
>
> – I’m assuming this is possible since you can send [startwindow] to
> one patch containing a dac~ and have the other patch containing a
> dac~ not play


October 24, 2006 | 1:45 pm


Viewing 3 posts - 1 through 3 (of 3 total)