Hi.
forgive me for this one, but im confused. Im working on a patch that uses gate, on OS X. pretty standard:
dkp$ /usr/local/bin/pd -version reading startup file: /Users/dkp/.pdrc Pd version 0.37.1 compiled 08:32:43 Mar 4 2004
[gate 15]
I get 15 outlets and I send an in to the outlet I want open. happy joy. However i sent the patch to someone running PD on linux, their gate only has one output. is it possible I have somehow installed a 3rd party gate (or they have?) Am I insane?
I dont have a [switch] (which is usually the max object id use..).
This one must be obvious, so im probably missing something (or they are.. ?). oh well.
thoughts? thanks.
doktorp
On Wed, 2004-07-14 at 17:56, doktorp wrote:
Hi.
Hi
forgive me for this one, but im confused. Im working on a patch thatuses gate, on OS X. pretty standard:
dkp$ /usr/local/bin/pd -version reading startup file: /Users/dkp/.pdrc Pd version 0.37.1 compiled 08:32:43 Mar 4 2004
Your .pdrc will tell you which libraries your Pd is loading.
[gate 15]
I get 15 outlets and I send an in to the outlet I want open. happyjoy. However i sent the patch to someone running PD on linux, theirgate only has one output. is it possible I have somehow installed a3rd party gate (or they have?) Am I insane?
I have used a [gate] from IEMLIB with two inlets and one outlet, that works for anything like [spigot] does for floats, ie 1/0 at the right inlet enables/disables message passthrough from the left inlet to the outlet.
I don't know how the multiple outlet [gate] works. I use [demux] from Gridflow to route an input to one of a number of outlets.
I dont have a [switch] (which is usually the max object id use..).
I don't have [switch] either.
Pd has a built-in [switch~] which enables/disables DSP for that patch and can change DSP block size and overlap.
This one must be obvious, so im probably missing something (or theyare.. ?). oh well.
There exists at least two incompatible [gate] objects in the Pd universe.
my .pdrc doesnt have any other gate specified, however I do have a gate.pd_darwin in my extra(s), but that has always been there with my install of PD. (at least with 0.37.1).
since it seems my 'gate' object is non-standard, 1) why is it included in the OS X installer package, if it can potentially break others patches/not work with their PD?. 2) where can one get either switch (im not using msp chains so I dont/cant use switch~) or the version of gate that allows for n>2 outlets with an int specified for the selected outlet to open and 0 to close all? 3) see points 1. and 2. =)
sorry to be a pain, id just like to know that if I distribute a patch it will work!
thanks all.
doktorp
http://homepage.mac.com/doktorp/ On Jul 14, 2004, at 1:24 PM, ClaudiusMaximus wrote:
On Wed, 2004-07-14 at 17:56, doktorp wrote:
Hi.
Hi
forgive me for this one, but im confused. Im working on a patch thatuses gate, on OS X. pretty standard:
dkp$ /usr/local/bin/pd -version reading startup file: /Users/dkp/.pdrc Pd version 0.37.1 compiled 08:32:43 Mar 4 2004
Your .pdrc will tell you which libraries your Pd is loading.
[gate 15]
I get 15 outlets and I send an in to the outlet I want open. happyjoy. However i sent the patch to someone running PD on linux, theirgate only has one output. is it possible I have somehow installed a3rd party gate (or they have?) Am I insane?
I have used a [gate] from IEMLIB with two inlets and one outlet, that works for anything like [spigot] does for floats, ie 1/0 at the right inlet enables/disables message passthrough from the left inlet to the outlet.
I don't know how the multiple outlet [gate] works. I use [demux] from Gridflow to route an input to one of a number of outlets.
I dont have a [switch] (which is usually the max object id use..).
I don't have [switch] either.
Pd has a built-in [switch~] which enables/disables DSP for that patch and can change DSP block size and overlap.
This one must be obvious, so im probably missing something (or theyare.. ?). oh well.
There exists at least two incompatible [gate] objects in the Pd universe.
I read:
since it seems my 'gate' object is non-standard, 1) why is it included in the OS X installer package, if it can potentially break others
you're definitely using cyclone's gate, and your friend uses another incompatible object of the same name. All he need's to do is load cyclone before any other libs and then it should work out fine.
HTH
x
Hallo, doktorp hat gesagt: // doktorp wrote:
since it seems my 'gate' object is non-standard,
- why is it included in the OS X installer package, if it can
potentially break others patches/not work with their PD?.
The OS-X installer includes many useful so called "externals", which are extensions written by other authors. They are included because they are useful---you yourself also seemed to find [gate] useful---but if you want to make sure, everyone can open your patches, you either should specify which externals you use so others can install them as well, or use only internal objects. Almost everything that is in lib/extra and lib/externs is an external (fiddle~, bonk~ and the expr family are externals, but they are distributed with pd upstream, so they should be fine).
- where can one get either switch (im not using msp chains so I
dont/cant use switch~) or the version of gate that allows for n>2 outlets with an int specified for the selected outlet to open and 0 to close all? 3) see points 1. and 2. =)
Build an abstraction using only internal objects. The Cyclone collection also includes a [switch] external. (I don't know why you don't have it as well, as you seem to have Cyclone externals installed.)
It would be better to built your needed funcionality as an abstraction, though, for portability. I attached an example I quickly hacked together while writing this mail. Excercise for the reader: Add a last outlet a la [route] that allows 8gate to be chained.
Frank Barknecht _ ______footils.org__
Frank, Thanks. it seems as though my friends libraries were indeed loading in an odd order, or well, not the appropriate order for this patch.
thanks all.
doktorp
http://homepage.mac.com/doktorp/ On Jul 14, 2004, at 3:45 PM, Frank Barknecht wrote:
Hallo, doktorp hat gesagt: // doktorp wrote:
since it seems my 'gate' object is non-standard,
- why is it included in the OS X installer package, if it can
potentially break others patches/not work with their PD?.
The OS-X installer includes many useful so called "externals", which are extensions written by other authors. They are included because they are useful---you yourself also seemed to find [gate] useful---but if you want to make sure, everyone can open your patches, you either should specify which externals you use so others can install them as well, or use only internal objects. Almost everything that is in lib/extra and lib/externs is an external (fiddle~, bonk~ and the expr family are externals, but they are distributed with pd upstream, so they should be fine).
- where can one get either switch (im not using msp chains so I
dont/cant use switch~) or the version of gate that allows for n>2 outlets with an int specified for the selected outlet to open and 0 to close all? 3) see points 1. and 2. =)
Build an abstraction using only internal objects. The Cyclone collection also includes a [switch] external. (I don't know why you don't have it as well, as you seem to have Cyclone externals installed.)
It would be better to built your needed funcionality as an abstraction, though, for portability. I attached an example I quickly hacked together while writing this mail. Excercise for the reader: Add a last outlet a la [route] that allows 8gate to be chained.
Ciao
Frank Barknecht _ ______footils.org__ <8gate.pd><8gate-help.pd>
Hallo, doktorp hat gesagt: // doktorp wrote:
forgive me for this one, but im confused. Im working on a patch that uses gate, on OS X. pretty standard:
dkp$ /usr/local/bin/pd -version reading startup file: /Users/dkp/.pdrc Pd version 0.37.1 compiled 08:32:43 Mar 4 2004
[gate 15]
I get 15 outlets and I send an in to the outlet I want open. happy joy. However i sent the patch to someone running PD on linux, their gate only has one output. is it possible I have somehow installed a 3rd party gate (or they have?) Am I insane?
Don't know. But what I do know, is that standard pd doesn't have gate.
There is a gate in cyclone and one in iemlib - puh another nameclash...
Frank Barknecht _ ______footils.org__