Re: [PD] gcc export-dynamic error

2012-11-07 Thread enrike
thanks, I finally managed to get it to compile by removing a few 
externals, but it would be nice to have them in case I use it in the 
near future. I might try to compile again.


ar., 2012.eko azaren 06a 20:34(e)an, Miller Puckette(e)k idatzi zuen:

I've ben trying to clean out all the -export-dynamic flags from makefiles...
I think it as once necessary but is now meaningless and you can just delete
them (presumably they'll be in files like makefile.in and configure.in,
and in the extra directory there were several occurrences in just plain
makefiles.

cheers
Miller

On Tue, Nov 06, 2012 at 10:21:08AM +0100, enrike wrote:

hi

I am trying to compile pd extended on Ubuntu 12.04.1 32 bits. I am doing
$ cd pure-data/packages/linux_make
$ make install  make package

First I get an error related to libjack (undefined reference to
'jack_port_register'). The list archives suggested to replace all
references to jack by jack2 in pd/src/configure.

But now I am getting another error. This time gcc complains that
unrecognized option '--export-dynamic'

I have gcc 4.6.3-1ubuntu5. I have searched online but I dont see
what could I do to solve this. any ideas?

I have tried several times even starting from scratch deleting the
whole folder and uncompressing again from the source tar.gz

thanks

enrike

___
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


Re: [PD] gcc export-dynamic error

2012-11-07 Thread IOhannes m zmölnig

On 11/07/2012 09:05 AM, enrike wrote:

thanks, I finally managed to get it to compile by removing a few
externals, but it would be nice to have them in case I use it in the
near future. I might try to compile again.


it would also be nice if you could be more specific which externals made 
problems so somebody can fix them by simply going through the list, 
rather than having to build the entire pdx only to discover that there 
compiler does not choke and compiles everything just fine so there seems 
to be nothing to fix at all.



fgmadsr
IOhannes

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


Re: [PD] Highest and Lowest values of array?

2012-11-07 Thread James Dunn

what about using [max] and [min]?

see attached patch

James

Quoth Sebastian Valenzuela, on 06/11/2012 21:03:
I imagine this isn't very difficult to do, but i haven't been able to 
find it anywhere. I have controller data constantly begin written (and 
updated) into an array - What is the easiest way to extract the 
highest and lowest numbers from this array as these two variables change?


I'm not looking for something that will constantly be giving me the 
value of those variables, but, for example, something that gives me 
the highest value once, and updates that number when it finds a new 
highest value.


Thank you pd-list!
-Sebastian



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


#N canvas 429 316 450 300 10;
#X obj 13 -131 metro 100;
#X obj 13 -151 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#N canvas 0 22 450 300 (subpatch) 0;
#X array data 100 float 3;
#A 0 74 56 76 48 55 72 19 71 90 0 8 88 41 83 57 49 19 37 37 6 32 27
76 31 30 42 59 47 56 64 27 41 97 45 72 96 26 81 38 14 57 82 19 32 89
47 57 55 56 38 40 72 77 55 3 83 0 6 23 24 56 81 20 85 4 29 54 39 79
26 23 62 44 55 64 58 32 72 49 82 4 86 83 63 86 28 64 6 77 2 1 41 45
62 66 4 79 88 17 30;
#X coords 0 100 99 0 200 140 1;
#X restore 228 -163 graph;
#X obj 13 -91 t f b;
#X obj 40 -50 f;
#X obj 88 -50 + 1;
#X obj 55 -91 sel 100;
#X msg 55 -71 0;
#X obj 40 39 max;
#X obj 80 39 t f;
#X floatatom 80 82 5 0 0 0 Max - -;
#X obj 13 -170 loadbang;
#X obj 80 62 change;
#X obj 13 -20 tabwrite data;
#X obj 40 6 tabread data;
#X obj 13 -111 random 100;
#X text 174 5 reset;
#X obj 172 40 t f;
#X floatatom 172 83 5 0 0 0 Min - -;
#X obj 172 63 change;
#X obj 132 40 min;
#X msg 147 6 0;
#X connect 0 0 15 0;
#X connect 1 0 0 0;
#X connect 3 0 13 0;
#X connect 3 1 4 0;
#X connect 4 0 5 0;
#X connect 4 0 13 1;
#X connect 4 0 14 0;
#X connect 5 0 4 1;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 4 1;
#X connect 8 0 9 0;
#X connect 9 0 8 1;
#X connect 9 0 12 0;
#X connect 11 0 1 0;
#X connect 12 0 10 0;
#X connect 14 0 8 0;
#X connect 14 0 20 0;
#X connect 15 0 3 0;
#X connect 17 0 19 0;
#X connect 17 0 20 1;
#X connect 19 0 18 0;
#X connect 20 0 17 0;
#X connect 21 0 8 1;
#X connect 21 0 20 1;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd -nogui on Raspberry Pi : problem with samplerate

2012-11-07 Thread Pierre Massat
All right, thanks for your help.

Cheers,

Pierre.

2012/11/6 Miller Puckette m...@ucsd.edu

 I think this depends on how oggwrite~ works internally.  Objects ideally
 should react to changes in sample rate in real time, since the user can
 change
 the rate after the object has been created.

 Unfortunately this isn't even true of the delwrite~ object, whose memory
 should be resized dynamically when the sample rate changes and doesn't!

 cheers
 Miller

 On Tue, Nov 06, 2012 at 10:04:45PM +0100, Pierre Massat wrote:
  Hi Miller,
 
  Thanks for your reply. Would this work if I set the samplerate from
 within
  the patch some time after startup ? Or should I start Pd with the proper
  sample rate, and then open my patch ? I have no idea how I can do the
  later, except in a very inelegant way (make a small patch with a delayed
  loadbang that just sends a pd open patch.pd message).
 
  Cheers,
 
  Pierre.
 
  2012/11/6 Miller Puckette m...@ucsd.edu
 
   This popped up on the list earlier... the sample rate gets set _after_
   patches are loaded from the command line if -nogui is set.  It's on my
 long
   list of things to try to fix.  In the meantime, as a workaround, if
 you can
   namage to delay Pd's loading of the patch, even by a fraction of a
 second,
   it should get the proper sample rate.
  
   cheers
   Miller
  
   On Tue, Nov 06, 2012 at 08:33:22PM +0100, Pierre Massat wrote:
Dear List,
   
While trying to use oggwrite~ on my RPi I noticed that it complained
   about
being unable to change the samplerate from 0 to 44100.
I turns out that Pd launched from the command line with the -nogui
 flag
   has
a samplerate of 0 !
Adding the -r 44100 flag doesn't change anything, nor does adding
 the
-alsa flag.
I wonder what causes this, whether it is a bug or not, and how Pd
 manages
to work fine anyway (the only real problem i've had this far was with
oggwrite~)...
   
Any clue?
   
Cheers,
   
Pierre.
  
___
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


Re: [PD] cq2midi ? Polyphonic MIDI notes from audio

2012-11-07 Thread jamal crawford
hi Thomas and list

everything went smooth with compiling constantq~. when i open cq2midi.pd
i get [list-map], [list-drip], [pyx. 1 2 noteflt] couldnt create.
cq2midi is added to path.

best
./j


On Wed, Nov 7, 2012, at 10:56 AM, lamar odom wrote:
 hi Thomas
 
 thanks for the reply.
 best regards
 ./j 
 
 On Tue, Nov 6, 2012, at 03:09 PM, Thomas Grill wrote:
  Hi Jamal,
  it is certainly possible.
  It is best done by first downloading flext (http://g.org/flext)
  and using the flext build system (see readme.txt and build.txt) to
  compile and install flext and then the two externals (constantq~ and
  py/pyext) needed.
  Let me know if you need further assistance in the process.
  gr~~~
  
  2012/11/6 jamal crawford three...@ml1.net:
   hi Thomas
  
   i would love to try it on linux.
   is it possible to compile it on linux? and how would you do that?
  
   best
  
  
   Message: 1
   Date: Fri, 2 Nov 2012 10:28:02 +0100
   From: Thomas Grill g...@g.org
   Subject: [PD] cq2midi ? Polyphonic MIDI notes from audio
   To: pd-list list Pd-list@iem.at
   Message-ID: 5ef303e4-4893-4849-95cd-12bc188ba...@g.org
   Content-Type: text/plain; charset=windows-1252
  
   Hi all,
   I just added the cq2midi project to my list of software publications.
   This project tries to analyze a stream of digital audio data into MIDI
   notes. It does so not from a traditional musicological perspective (f0
   analysis or the likes), but rather in a raw fashion, so that ?all?
   predominant frequencies of the spectrum at a certain time are interpreted
   as MIDI notes. Some filtering options are available to reduce noise.
   I originally designed this software to realize the composition luscinia
   megarhynchos for computer-controlled carillon, premiered at the Pure Data
   convention 2011 in Weimar.
  
   http://g.org/research/software/cq2midi
  
   gr~~~
  
   --
   Thomas Grill
   http://g.org
  
  
  
  
   --
  
   ___
   Pd-list mailing list
   Pd-list@iem.at
   to manage your subscription (including un-subscription) see
   http://lists.puredata.info/listinfo/pd-list
  
  
   End of Pd-list Digest, Vol 92, Issue 15
   ***
  
   --
   http://www.fastmail.fm - One of many happy users:
 http://www.fastmail.fm/help/overview_quotes.html
  
  
   ___
   Pd-list@iem.at mailing list
   UNSUBSCRIBE and account-management - 
   http://lists.puredata.info/listinfo/pd-list
  
  
  
  -- 
  Thomas Grill
  http://g.org
 
 -- 
 http://www.fastmail.fm - Faster than the air-speed velocity of an
   unladen european swallow
 

-- 
http://www.fastmail.fm - mmm... Fastmail...


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


Re: [PD] cq2midi ? Polyphonic MIDI notes from audio

2012-11-07 Thread Thomas Grill
Hi Jamal,
the list-abstraction must be in your path, see the link on the cq2midi
project page.
The py/pyext external has to be either loaded using a -lib py
startup option to pd, or in pd-extended using [import py]
gr~~~

2012/11/7 jamal crawford three...@ml1.net:
 hi Thomas and list

 everything went smooth with compiling constantq~. when i open cq2midi.pd
 i get [list-map], [list-drip], [pyx. 1 2 noteflt] couldnt create.
 cq2midi is added to path.

 best
 ./j


 On Wed, Nov 7, 2012, at 10:56 AM, lamar odom wrote:
 hi Thomas

 thanks for the reply.
 best regards
 ./j

 On Tue, Nov 6, 2012, at 03:09 PM, Thomas Grill wrote:
  Hi Jamal,
  it is certainly possible.
  It is best done by first downloading flext (http://g.org/flext)
  and using the flext build system (see readme.txt and build.txt) to
  compile and install flext and then the two externals (constantq~ and
  py/pyext) needed.
  Let me know if you need further assistance in the process.
  gr~~~
 
  2012/11/6 jamal crawford three...@ml1.net:
   hi Thomas
  
   i would love to try it on linux.
   is it possible to compile it on linux? and how would you do that?
  
   best
  
  
   Message: 1
   Date: Fri, 2 Nov 2012 10:28:02 +0100
   From: Thomas Grill g...@g.org
   Subject: [PD] cq2midi ? Polyphonic MIDI notes from audio
   To: pd-list list Pd-list@iem.at
   Message-ID: 5ef303e4-4893-4849-95cd-12bc188ba...@g.org
   Content-Type: text/plain; charset=windows-1252
  
   Hi all,
   I just added the cq2midi project to my list of software publications.
   This project tries to analyze a stream of digital audio data into MIDI
   notes. It does so not from a traditional musicological perspective (f0
   analysis or the likes), but rather in a raw fashion, so that ?all?
   predominant frequencies of the spectrum at a certain time are 
   interpreted
   as MIDI notes. Some filtering options are available to reduce noise.
   I originally designed this software to realize the composition luscinia
   megarhynchos for computer-controlled carillon, premiered at the Pure 
   Data
   convention 2011 in Weimar.
  
   http://g.org/research/software/cq2midi
  
   gr~~~
  
   --
   Thomas Grill
   http://g.org
  
  
  
  
   --
  
   ___
   Pd-list mailing list
   Pd-list@iem.at
   to manage your subscription (including un-subscription) see
   http://lists.puredata.info/listinfo/pd-list
  
  
   End of Pd-list Digest, Vol 92, Issue 15
   ***
  
   --
   http://www.fastmail.fm - One of many happy users:
 http://www.fastmail.fm/help/overview_quotes.html
  
  
   ___
   Pd-list@iem.at mailing list
   UNSUBSCRIBE and account-management - 
   http://lists.puredata.info/listinfo/pd-list
 
 
 
  --
  Thomas Grill
  http://g.org

 --
 http://www.fastmail.fm - Faster than the air-speed velocity of an
   unladen european swallow


 --
 http://www.fastmail.fm - mmm... Fastmail...




-- 
Thomas Grill
http://g.org

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


[PD] IBM PureData

2012-11-07 Thread Max
http://www-01.ibm.com/software/data/puredata/
this new IBM Software will make searching the web for pure data even harder.

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


Re: [PD] IBM PureData

2012-11-07 Thread Charles Henry
I'm sad.  They will ruin the good name of Pure Data.
umm... let's hope there's no looming copyright issues over the name.  IBM
is not *famously* litigious, but they are a computer/software company.
Watch out for lawyers


On Wed, Nov 7, 2012 at 4:30 PM, Max abonneme...@revolwear.com wrote:

 http://www-01.ibm.com/software/data/puredata/
 this new IBM Software will make searching the web for pure data even
 harder.

 ___
 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


Re: [PD] IBM PureData

2012-11-07 Thread Björn Eriksson
yeah.,.. that really sucks--- i guess they are getting away with PureData -
instead of Pure Data to me it makes some difference - - and apart from
that and more important - the IBM program will never be as great as Pure
Data - for sure!

/björn

On Wed, Nov 7, 2012 at 11:46 PM, Charles Henry czhe...@gmail.com wrote:

 I'm sad.  They will ruin the good name of Pure Data.
 umm... let's hope there's no looming copyright issues over the name.  IBM
 is not *famously* litigious, but they are a computer/software company.
 Watch out for lawyers



 On Wed, Nov 7, 2012 at 4:30 PM, Max abonneme...@revolwear.com wrote:

 http://www-01.ibm.com/software/data/puredata/
 this new IBM Software will make searching the web for pure data even
 harder.

 ___
 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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] IBM PureData

2012-11-07 Thread Martin Dupras
Well, for what it's worth, I have emailed IBM very politely and humbly
asking that they reconsider.

The most likely thing is that they are simply unaware, and if they knew
about the PD community and all the work that has been done over 13 years,
they might very well reconsider.

In my letter, I have pointed out among other things that PD was referenced
numerous times in the Computer Music Journal, which is after all a
peer-reviewed journal.

- martin


On 7 November 2012 22:56, Björn Eriksson miu...@gmail.com wrote:

 yeah.,.. that really sucks--- i guess they are getting away with PureData
 - instead of Pure Data to me it makes some difference - - and apart
 from that and more important - the IBM program will never be as great as
 Pure Data - for sure!

 /björn


 On Wed, Nov 7, 2012 at 11:46 PM, Charles Henry czhe...@gmail.com wrote:

 I'm sad.  They will ruin the good name of Pure Data.
 umm... let's hope there's no looming copyright issues over the name.  IBM
 is not *famously* litigious, but they are a computer/software company.
 Watch out for lawyers



 On Wed, Nov 7, 2012 at 4:30 PM, Max abonneme...@revolwear.com wrote:

 http://www-01.ibm.com/software/data/puredata/
 this new IBM Software will make searching the web for pure data even
 harder.

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


Re: [PD] gcc export-dynamic error

2012-11-07 Thread Hans-Christoph Steiner

On Nov 7, 2012, at 3:44 AM, IOhannes m zmölnig wrote:

 On 11/07/2012 09:05 AM, enrike wrote:
 thanks, I finally managed to get it to compile by removing a few
 externals, but it would be nice to have them in case I use it in the
 near future. I might try to compile again.
 
 it would also be nice if you could be more specific which externals made 
 problems so somebody can fix them by simply going through the list, rather 
 than having to build the entire pdx only to discover that there compiler does 
 not choke and compiles everything just fine so there seems to be nothing to 
 fix at all.

In other words, post a build log and we'll probably be able to help you.

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


Re: [PD] list vs. symbol array [was: Re: Licensing issues]

2012-11-07 Thread Jonathan Wilkes
- Original Message -

 From: Frank Barknecht f...@footils.org
 To: pd-list@iem.at pd-list@iem.at
 Cc: 
 Sent: Tuesday, November 6, 2012 6:19 AM
 Subject: [PD] list vs. symbol array [was: Re:  Licensing issues]
 
 On Mon, Nov 05, 2012 at 11:38:00AM -0800, Jonathan Wilkes wrote:
  - Original Message -
   From: Frank Barknecht f...@footils.org
   
   On Mon, Nov 05, 2012 at 08:26:17AM -0800, Jonathan Wilkes wrote:
    How many table names total were there in the patch that was 
 overloading
    the device?
   
   I don't remember anymore, that was in 2009, when the abstraction 
 was first
   posted here on pd-list. 
   
   But if you don't believe me, just do some benchmarks on your own 
 and compare
   array access with list filtering.
 
  It makes no difference if the number of table names is around 100.  At 1000 
 your
  method is certainly faster-- I've just never had a patch with 1000 
 tables.
 
 I'm pretty sure, the patch at that time didn't either. The main problem 
 then
 was the high frequency with which lookups had to happen. As a special election
 day service I have written a benchmark showing this situation. On my machine
 the symbolarray uses about 16 percent CPU at the metro period of 
 0.01 ms
 while list lookup uses 24. Now 0.01 ms may sound like a tempo you won't
 encounter in real music, but that's wrong: In chords you play many notes at 
 the
 same time, the period then is a very fast 0 ms. This can generate 
 CPU usage
 spikes on slow devices if the lookup is too slow - at least that's my
 explanation for why the symbolarray was able to fix the patch.

[symbolarray] does indeed take about half as much cpu as using the message
box.  It also takes exactly the same cpu as [makefilename %d-tab] which is
much simpler and doesn't require an abstraction.  But maybe you needed 
those specific names for the tables for some reason...

A lot of these Pd vanilla prototypes suffer from already being at the very edge
of what can be developed with the prototype.  You can't easily[1] add a sort 
method,
for example, nor can you extend the design to allow each element to be either a
symbol or float without adding two fields to the template struct and a 
conditional
that would impact the performance gain you get from using an array in the first
place.  Not to mention the near-complete lack of operators for symbols which is
why I call it an array of Pet Rocks in this case.

-Jonathan

[1] You can certainly split symbols and count their length in Pd vanilla but it 
ain't
pretty.

 
 Ciao
 -- 
 Frank Barknecht                                     _ __footils.org__
 
 ___
 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


Re: [PD] IBM PureData

2012-11-07 Thread Jonathan Wilkes
Just search your Pd paths instead, IBM can't infiltrate those!

http://puredata.info/Members/jancsika/searchplugindesc/

-Jonathan



- Original Message -
 From: Max abonneme...@revolwear.com
 To: PD list pd-list@iem.at
 Cc: 
 Sent: Wednesday, November 7, 2012 5:30 PM
 Subject: [PD] IBM  PureData
 
 http://www-01.ibm.com/software/data/puredata/
 this new IBM Software will make searching the web for pure data even harder.
 
 ___
 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


Re: [PD] IBM PureData

2012-11-07 Thread i go bananas
the obvious next step is for someone to code up an [IBM~] external for pd
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Issue with [shell] and jack_connect/disconnect

2012-11-07 Thread michael noble
hi all,

I'm trying to use the [shell] object to automate JACK connections
under Linux by calling jack_connect or jack_disconnect. While this works at
first, it seems that the ultimate result is that pd spawns a number of
processes that remain in the background, and very soon jack_connect simply
stops responding. Has anyone experienced a similar issue, or can anyone
suggest an alternative to [shell] for this purpose?

thanks

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


Re: [PD] Issue with [shell] and jack_connect/disconnect

2012-11-07 Thread Ivica Ico Bukvic
Are you using exit 0 at the end of your shell script (assuming it is a
script)?

I’ve also encountered some funny things with [shell] but in a bit more
convoluted scenario and am curious as to what everyone’s thoughts are.
Namely, I am using a shell script to perfectly pair wiimotes, so a [shell]
object spits out a message “connect MAC ADDRESS” that is sent forward to
disis_wiimote object (this component of the external is very similar to
regular wiimote object except for the fact that disis_wiimote is
multithreaded). This works *perfectly* when using regular pd-l2ork. But when
running pd-l2ork through gdb (in hope of hunting down those sporadic and
elusive segfaults), the connection fails whenever the message is passed from
shell. If it is passed from a regular message inside gdb it works fine but
when it is coming out of [shell] it fails (by fails I mean the connection
immediately fails with the external reporting inability to find a wiimote,
while pd-l2ork remains stable and operational). Valgrind does not have this
problem but it in turn kills jackd due to incredibly slow start-up...

Any thoughts?

From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of
michael noble
Sent: Wednesday, November 07, 2012 9:34 PM
To: PD send List
Subject: [PD] Issue with [shell] and jack_connect/disconnect

hi all,

I'm trying to use the [shell] object to automate JACK connections
under Linux by calling jack_connect or jack_disconnect. While this works at
first, it seems that the ultimate result is that pd spawns a number of
processes that remain in the background, and very soon jack_connect simply
stops responding. Has anyone experienced a similar issue, or can anyone
suggest an alternative to [shell] for this purpose?

thanks

Michael


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


Re: [PD] close all patches on quit sourceforge patch

2012-11-07 Thread Ivica Ico Bukvic
Many thanks for sharing this, IOhannes! I've embellished your patch a bit
and added it to pd-l2ork.

Best wishes,

Ico

 -Original Message-
 From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of
 IOhannes m zmoelnig
 Sent: Thursday, October 25, 2012 10:31 AM
 To: pd-list@iem.at
 Subject: Re: [PD] close all patches on quit sourceforge patch
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 2012-10-25 06:18, Hans-Christoph Steiner wrote:
 
  yup:
 
  hans@palatschinken bin $ dpkg -l tkpng
  Desired=Unknown/Install/Remove/Purge/Hold |
  Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tri
  g-pend
 
 
 |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name Version  Description
  +++---
 
  +++
 
 
 ii  tkpng0.9-1ubuntu1 PNG photo image support to Tcl/Tk
 
 
  Does it not work with Tcl/Tk 8.5?
 
  hans@palatschinken bin $ tclsh % info patchlevel 8.5.11
 
 works here:
 
 zmoelnig@ferrari:~$ tclsh
 % info patchlevel
 8.5.11
 zmoelnig@ferrari:~$ dpkg -l tkpng
 ii  tkpng   0.9-1 i386   PNG photo image support to Tcl/Tk
 
 
 originally i had the same problem:
 $ ./pd-l2ork
 tcl: /tmp/pd-l2ork/bin/pd.tk: can't open script
 pd: exiting
 
 
 but indeed i was missing tkpng first. i discovered this by directly
running
 (after making pd.tk executable) $ ./pd.tk which initially threw an error
Error
 in startup script: can't find package tkpng.
 
 so the can't open script error is a bit misleading (or generic).
 
 attached is a small patch that prints the full error message of the Tcl-
 Interpreter.
 
 fgmasdr
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAlCJTRYACgkQkX2Xpv6ydvRuzgCgwy8NkGHXHgWqK/kLgY2a7f
 Uh
 fVEAn3mn9prk3dEVd9ut/JGJN7tufk2h
 =SSeI
 -END PGP SIGNATURE-


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


Re: [PD] Issue with [shell] and jack_connect/disconnect

2012-11-07 Thread michael noble
On Thu, Nov 8, 2012 at 4:37 PM, Ivica Ico Bukvic i...@vt.edu wrote:

 Are you using exit 0 at the end of your shell script (assuming it is a
 script)?


Not using a script at this point - simply sending the jack_connect messages
directly to [shell]. Moving to a script was going to be my next step if I
can't get simple shell calls working.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list