hello IEMers!
i tried executing the script in bin/ but i get this error:
rob@shuttle:~/CUBEmixer/bin$ sh ./CUBEmixer.sh
: command not founde 2:
: command not founde 3:
: command not founde 4:
'/CUBEmixer.sh: line 11: syntax error near unexpected token { '/CUBEmixer.sh: line 11:
function test_pd() {
is this the only way to run the CUBEmixer or can i just add all the -paths to my .pdrc and start it by opening a file?
many thanks
rob c
Debian Testing
Pd version 0.41-4extended-20080331 compiled 07:30:11 Mar 31 2008
Cubemiexer 1.0.1.zip from sourceforge
IOhannes m zmoelnig wrote:
Rob Canning wrote:
hello IEMers!
which default shell are you using? (do "ls -l /bin/sh")
just in case it is _not_ bash, change the first line of CUBEmixer.sh to "#!/bin/bash"
and start the CUBEmixer.sh directly with "./CUBEmixer.sh"
alternatively, just run "bash CUBEmixer.sh"
hope this helps
fgmasdr. IOhannes
IOhannes m zmoelnig wrote:
Rob Canning wrote:
hello IEMers!
which default shell are you using? (do "ls -l /bin/sh")
just in case it is _not_ bash, change the first line of CUBEmixer.sh to "#!/bin/bash"
Hi IOhannes, It is bash
lrwxrwxrwx 1 root root 4 2008-04-03 19:13 /bin/sh -> bash
if i change line one to "#!/bin/bash" i get :
bash: ./CUBEmixer.sh: /bin/bash^M: bad interpreter: No such file or directory
i get the same error if i simply type ./CUBEmixer.sh witht the first line as "#!/bin/sh"
if i type either "sh CUBEmixer.sh" or "bash CUBEmixer.sh" i get
rob@shuttle:~/CUBEmixer/bin$ bash CUBEmixer.sh
: command not found2:
: command not found3:
: command not found4:
'UBEmixer.sh: line 11: syntax error near unexpected token { 'UBEmixer.sh: line 11:
function test_pd() {
thanks
rob c
On Fri, 2008-04-11 at 15:46 +0100, Rob Canning wrote:
IOhannes m zmoelnig wrote:
Rob Canning wrote:
hello IEMers!
which default shell are you using? (do "ls -l /bin/sh")
just in case it is _not_ bash, change the first line of CUBEmixer.sh to "#!/bin/bash"
Hi IOhannes, It is bash
lrwxrwxrwx 1 root root 4 2008-04-03 19:13 /bin/sh -> bash
if i change line one to "#!/bin/bash" i get :
bash: ./CUBEmixer.sh: /bin/bash^M: bad interpreter: No such file or directory
i get the same error if i simply type ./CUBEmixer.sh witht the first line as "#!/bin/sh"
if i type either "sh CUBEmixer.sh" or "bash CUBEmixer.sh" i get
rob@shuttle:~/CUBEmixer/bin$ bash CUBEmixer.sh : command not found2: : command not found3: : command not found4: 'UBEmixer.sh: line 11: syntax error near unexpected token
{ 'UBEmixer.sh: line 11:
function test_pd() {
just a quick guess:
could this be related to some newline/return character incompatibilities between the file and the operating system?
it seems strange that the first 'C' of 'CUBEmixer.sh' seems to be eaten.
roman
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
Roman Haefeli wrote:
On Fri, 2008-04-11 at 15:46 +0100, Rob Canning wrote:
IOhannes m zmoelnig wrote:
Rob Canning wrote:
hello IEMers!
which default shell are you using? (do "ls -l /bin/sh")
just in case it is _not_ bash, change the first line of CUBEmixer.sh to "#!/bin/bash"
Hi IOhannes, It is bash
lrwxrwxrwx 1 root root 4 2008-04-03 19:13 /bin/sh -> bash
if i change line one to "#!/bin/bash" i get :
bash: ./CUBEmixer.sh: /bin/bash^M: bad interpreter: No such file or directory
i get the same error if i simply type ./CUBEmixer.sh witht the first line as "#!/bin/sh"
if i type either "sh CUBEmixer.sh" or "bash CUBEmixer.sh" i get
rob@shuttle:~/CUBEmixer/bin$ bash CUBEmixer.sh : command not found2: : command not found3: : command not found4: 'UBEmixer.sh: line 11: syntax error near unexpected token
{ 'UBEmixer.sh: line 11:
function test_pd() {just a quick guess:
could this be related to some newline/return character incompatibilities between the file and the operating system?
it seems strange that the first 'C' of 'CUBEmixer.sh' seems to be eaten.
if i type sh ./CUBEmixer.sh the C gets eaten if i type sh CUBEmixer.sh (without ./) the C doesn't get eaten maybe that is my mistake - but either way i get errors
cheers rob c
Rob Canning wrote:
if i type sh ./CUBEmixer.sh the C gets eaten if i type sh CUBEmixer.sh (without ./) the C doesn't get eaten maybe that is my mistake - but either way i get errors
let's restart:
which OS are you on? how did you get the cubemixer? was it prepackaged for a different OS than you are using? (e.g. you downloaded the w32 package and are running linux)
in any case, fetch the latest and greatest cubemixer directly from SVN (on the system you intend to use it): https://iem.svn.sourceforge.net/svnroot/iem/spatialization/CUBEmixer/trunk/
fmgasdr. IOhannes
let's restart:
which OS are you on? how did you get the cubemixer? was it prepackaged for a different OS than you are using? (e.g. you downloaded the w32 package and are running linux)
/me feel stupid ok - i'll go back to square one...sorry i think i might have got the windows version now that i think about it
http://sourceforge.net/project/showfiles.php?group_id=132916&package_id=...
i'll do a proper svn checkout this time
sorry for noise
rob c
Quoting Rob Canning robcanning@eircom.net:
/me feel stupid ok - i'll go back to square one...sorry i think i might have got the windows version now that i think about it
- i downloaded the only think i could see at
http://sourceforge.net/project/showfiles.php?group_id=132916&package_id=...
i'll do a proper svn checkout this time
sorry for noise
no problem, sorry for the bad documentation on how to actually install it...
fgmasdr IOhannes
This message was sent using IMP, the Internet Messaging Program.
zmoelnig@iem.at wrote:
Quoting Rob Canning robcanning@eircom.net:
/me feel stupid ok - i'll go back to square one...sorry i think i might have got the windows version now that i think about it
- i downloaded the only think i could see at
http://sourceforge.net/project/showfiles.php?group_id=132916&package_id=...
i'll do a proper svn checkout this time
sorry for noise
no problem, sorry for the bad documentation on how to actually install it...
np, thanks - as soon as i get it working i will be very very grateful for it :) the script from svn seems to work..it starts 2 instances of pd and the DSP main engine patch but..
i have had to add a load of -paths and -libs in my pdrc to help it find stuff it needs - the only thing i cant seem to find anywhere are:
mux, mux~ and demux
i get a huge amounts of: mux~ . . ... couldn't create demux ... couldn't create
errors and the GUI fails to start
where do i find these ?
thanks
rob c
Quoting Rob Canning robcanning@eircom.net:
np, thanks - as soon as i get it working i will be very very grateful for it :) the script from svn seems to work..it starts 2 instances of pd and the DSP main engine patch but..
great
i have had to add a load of -paths and -libs in my pdrc to help it find stuff it needs - the only thing i cant seem to find anywhere are:
there is a "src" folder needed to build needed libraries. just do:
% cd <CUBEmixer>/src/lib % less INSTALL.txt % PDSOURCE=/path/to/your/pd/src make
errors and the GUI fails to start
what exactly do you mean by this?
you have to instances of Pd, one is the GUI, the other the DSP-core.
does the main window popup and display nothing? display only half of
the things?
where do i find these ?
btw, you need at least Pd-0.40 to run the CUBEmixer (we are making
heavy use of $1-$2 expansion)
mfga.ds IOhannes
PS: note to myself: i should add the "-noprefs" flag to the
startup-flags to not interfere with the user's settings
PPS: note to you: if your normal pdsettings interfere with the
CUBEmixer, just create the file <CUBEmixer>/etc/CUBEmixer/LocalVars.sh
and add the line:
PD_OPTIONS="-noprefs"
to it
This message was sent using IMP, the Internet Messaging Program.
there is a "src" folder needed to build needed libraries. just do:
% cd <CUBEmixer>/src/lib % less INSTALL.txt % PDSOURCE=/path/to/your/pd/src make
well i think i have all the libs covered between pd-extended and a few extras that i added paths to such as -lib /home/rob/CUBEmixer/lib/libs/aconnec
which lib are mux and demux part of? or are they abs?
errors and the GUI fails to start
what exactly do you mean by this? you have to instances of Pd, one is the GUI, the other the DSP-core. does the main window popup and display nothing? display only half of the things?
i have two instances of pd but only one patch window opens - that is the dsp core window - the GUI window doesn't get opened - i just get these complaints about it missing mux and demux and the usual associated error: inlet: expected '' but got 'float'
where do i find these ?
btw, you need at least Pd-0.40 to run the CUBEmixer (we are making heavy use of $1-$2 expansion)
yup i'm on 0.41 extended
thanks
rob c
mfga.ds IOhannes
PS: note to myself: i should add the "-noprefs" flag to the startup-flags to not interfere with the user's settings
PPS: note to you: if your normal pdsettings interfere with the CUBEmixer, just create the file <CUBEmixer>/etc/CUBEmixer/LocalVars.sh and add the line: PD_OPTIONS="-noprefs" to it
Rob Canning wrote:
there is a "src" folder needed to build needed libraries. just do:
% cd <CUBEmixer>/src/lib % less INSTALL.txt % PDSOURCE=/path/to/your/pd/src make
well i think i have all the libs covered between pd-extended and a few extras that i added paths to such as -lib /home/rob/CUBEmixer/lib/libs/aconnec
which lib are mux and demux part of? or are they abs?
ok i've found them in zexy this is related to a problem i've been having since moving to pd extended - ie abbreviated object names dont get created for example list2symbol will work but not l2s - not without an entry in my pdrc at least same problem with mux multiplex etc
ok so everything starts now with no errors in console but still no GUI patch... :(
rob c
Quoting Rob Canning robcanning@eircom.net:
Rob Canning wrote:
there is a "src" folder needed to build needed libraries. just do:
% cd <CUBEmixer>/src/lib % less INSTALL.txt % PDSOURCE=/path/to/your/pd/src make
well i think i have all the libs covered between pd-extended and a
few extras that i added paths to such as
you definitely _have_ to build the externals in <CUBEmixer>/src/lib;
apart from the usual externals like iemlib and zexy, there are also
some special externals in there that are not part of Pd-extended.
these externals will not be installed anywhere outside of the
CUBEmixer, so there is not much harm involved...
ok i've found them in zexy this is related to a problem i've been having since moving to pd extended - ie abbreviated object names dont get created
CUBEmixer is definitely _not_ a Pd-extended application. (this does
not rule out that future versions might move to Pd-extended, but
currently it is not)
ok so everything starts now with no errors in console but still no GUI patch... :(
does the Pd-window of the gui-part display anything? like weird errors... apart from that, the GUI is quite big, so it might take a while.
fmadsr IOhannes
This message was sent using IMP, the Internet Messaging Program.
zmoelnig@iem.at wrote:
Quoting Rob Canning robcanning@eircom.net:
Rob Canning wrote:
there is a "src" folder needed to build needed libraries. just do:
% cd <CUBEmixer>/src/lib % less INSTALL.txt % PDSOURCE=/path/to/your/pd/src make
well i think i have all the libs covered between pd-extended and a
few extras that i added paths to such asyou definitely _have_ to build the externals in <CUBEmixer>/src/lib; apart from the usual externals like iemlib and zexy, there are also some special externals in there that are not part of Pd-extended.
these externals will not be installed anywhere outside of the CUBEmixer, so there is not much harm involved...
ok done... fantastic...everything is loaded now without errors... now all i have to do is learn how to drive this beast... thanks IOhannes rob c