[PD] communicating with the shell

2009-01-28 Thread Rob Canning
hello,

if have recently working on replacing the [shell] object (ggee) from my 
patches as it is leaving zombies all over the place - i believe this is 
a know issue? (2002) http://markmail.org/message/wrlpbaal75viugft

(it would be really nice to have an object for communicating with the 
shell that is not buggy.)

so here is my workaround:

in a shell start up pdreceive and pipe the output into shell:

pdreceive 3003 udp| sh

send my messages from [netsend 1]

problem: pd sticks a ; onto the end of all messages

solution: pipe the message through sed on its way to pdreceive

pdreceive 3003 udp |sed 's/;//'|sh

ok now so now this is fine for things that do there job and then finish 
such as ls cat etc. but what about things that need to stay running?
for example when i want to open emacs then run another command the 
second command wont be run until emacs is closed.

i thought adding a  at the end would work but it doesnt

pdreceive 3003 udp |sed 's/;//'|sh

can someone tell me what i am doing wrong?

also this method is fine for sending stuff to the shell but what about 
getting results back from the shell? like a bang when the process is 
finsihed or the result of a pwd command?
i thought about pipeing | the output of the shell into a pdsend on 
another port but that seems messy?

anyone got solutions to these issues? or anyone with the skills agree 
that [shell] should be fixed or rewritten and included in another lib?

many thanks

rob canning








___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [Openlab] London Patching Circles - 25/01/09

2009-01-14 Thread Rob Canning
Ed Kelly wrote:
 25th is good for me.
   
i am going to confirm the 25th as fixed if we are using deckspace
ie. i will be there on the 25th and can buzz people in

 I#ve been out of the loop for a bit - where are we meeting?
   
http://dek.spc.org
http://dek.spc.org/views.html

if its =12 people - otherwise we will find somewhere else
its important that people sign up on the wiki as its not a officially a 
public space and we know what to plan

http://puredata.info/community/DeckSpace

so far we only have 2 people signed up i think there is more interest 
than that...

if you dont know how to use a wiki just email me and i'll stick your 
name down

but really... ;)

rob c
 ciao,
 ed

 Lone Shark: Synchromatic: Out December 1st 2008
 http://www.pyramidtransmissions.com/store
 Also available through the iTunes store


 --- On Thu, 8/1/09, Claude Heiland-Allen claudiusmaxi...@goto10.org wrote:

   
 From: Claude Heiland-Allen claudiusmaxi...@goto10.org
 Subject: Re: [Openlab] London Patching Circles - 25/01/09
 To: openlab open...@lists.pawfal.org
 Date: Thursday, 8 January, 2009, 1:23 PM
 Chris McCormick wrote:
 
 On Sun, Jan 4, 2009 at 9:14 PM,
 
 errordevelo...@gmail.com wrote:
 
 Let's do it on Sun 25th, mayb?
 generally that weekend 23,24,25 is good,
   
 isn't it?
 
 On Mon, Jan 05, 2009 at 05:27:47PM +, Robert Munro
   
 wrote:
 
 i could make it then. bring it on!!
 
 ditto!
   
 me too -- Claude
 


   


   


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] patching circle in London ?

2008-11-16 Thread Rob Canning
Solen Music wrote:
 i'm down for it too. based in bow. will be going back to ireland from
 19th dec but any other time is good for me.\
   
irish in north east london? me too :)
 should i register with the wiki and join the members or will this post 
 suffice?
makes sense to write on the wiki so we can keep track of things 
centrally without having to use too much brain power.


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] patching circle in London ?

2008-11-11 Thread Rob Canning
hi,

i have added deckspace as a possible location on the wiki with a 
description of the type of event that could be held here.
if you are interested in any patching events here please sign up on this 
page:

http://puredata.info/community/DeckSpace

this space is for small events i think we decided errordevelopers place 
to be better for big things?

cheers

rob canning

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] bbogart's popup bangs when gop redraws

2008-10-03 Thread Rob Canning
hi,
the dropdown menu [popup] sends a bang when the screen is redrawn in a 
GOP context.
so if i toggle between desktops on my XFCE desktop everytime i return to 
the desktop with my GOP pd patch all the [popup] objects fire out a bang.

does anyone know how to avoid this or perhaps know an alternative object 
or abstraction that will function as a dropdown menu?

thanks

rob

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] bbogart's popup bangs when gop redraws

2008-10-03 Thread Rob Canning
Rob Canning wrote:
 hi,
 the dropdown menu [popup] sends a bang when the screen is redrawn in a 
 GOP context.
 so if i toggle between desktops on my XFCE desktop everytime i return to 
 the desktop with my GOP pd patch all the [popup] objects fire out a bang.

 does anyone know how to avoid this or perhaps know an alternative object 
 or abstraction that will function as a dropdown menu?
   

ok so i could use the right outlet combined with a [route]

how about away to change the menu container and font size?
 thanks

 rob

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


   


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] cubemixer english documentation?

2008-04-12 Thread Rob Canning
hi,
just wondering where i should start with how to use cubemixer?
is there any english documentation - a translation of IEM_Report maybe?
thanks
rob c

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] getting started with CUBEmixer

2008-04-11 Thread Rob Canning
hello IEMers!

i tried executing the script in bin/ but i get this error:

[EMAIL PROTECTED]:~/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


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] getting started with CUBEmixer

2008-04-11 Thread Rob Canning
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

[EMAIL PROTECTED]:~/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




___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] getting started with CUBEmixer

2008-04-11 Thread Rob Canning
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

 [EMAIL PROTECTED]:~/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




___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] getting started with CUBEmixer

2008-04-11 Thread Rob Canning


 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 
- i downloaded the only think i could see at
http://sourceforge.net/project/showfiles.php?group_id=132916package_id=181748

i'll do a proper svn checkout this time

sorry for noise

rob c


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] getting started with CUBEmixer

2008-04-11 Thread Rob Canning
[EMAIL PROTECTED] wrote:
 Quoting Rob Canning [EMAIL PROTECTED]:

 /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=132916package_id=181748
  


 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






___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] getting started with CUBEmixer

2008-04-11 Thread Rob Canning


 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



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] getting started with CUBEmixer

2008-04-11 Thread Rob Canning
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

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] getting started with CUBEmixer

2008-04-11 Thread Rob Canning
[EMAIL PROTECTED] wrote:
 Quoting Rob Canning [EMAIL PROTECTED]:

 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 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

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] made with pd: Lost Highway, UK premiere

2008-04-06 Thread Rob Canning
just booked my tickets for the thursday night performance - looking 
forward to it :)
rob c
Peter Plessas wrote:
 Dear List,

 Although Lost Highway, a contemporary opera by composer Olga Neuwirth,
 had it's world premiere in 2003, i want to point your attention to the
 UK premiere tonight and it's following six shows at the Young Vic Theatre in
 London during the next days.
 The piece itself is an impressive mixture of onstage acting, orchestral
 music, surround sound, audio samples and live-processed signals. The last 
 being
 entirely done in Pd of course.
 Having a strong tradition of working with Olga Neuwirth, the IEM in Graz
 took it's ambisonic approach to the road, installing almost 30
 loudspeakers in the venue. All Pd processing currently runs on a linux
 machine and is being operated following the orchestral score and
 stageplay. The show's sound design was done by Markus Noisternig, all Pd
 programming by Thomas Musil.
 http://mona.mur.at/youngvic/dsc01082.jpg
 As this is a fairly large project i would take the opportunity to
 thank the pd comunity for their work and support.

 regards,

 Peter Plessas

 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


   


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] MTC data from ardour to pd

2007-07-21 Thread rob canning
hi,
can anyone tell me how to get MTC info from ardour into pd.
i have connected midi out from ardour to pd (using jack) and am getting 
some data in [midiin] but i'm not sure what it is - it looks pretty 
random...
i would like to be able to synchronise my multichannel tape part in 
ardour with live electronics processing  in pd. 
thanks,
rob c

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list