Re: [PD] sigmund list sort

2012-02-24 Thread Frank Barknecht
On Sat, Feb 18, 2012 at 01:14:22PM -0500, Mathieu Bouchard wrote:
 Le 2012-02-18 à 09:58:00, Miller Puckette a écrit :

 I believe there's no good way to do this in pd vanilla.  THere should 
 be a 'list sort' but I haven't figured out what would be the best 
 design. (and there's probably already a list sort in Pd extended :)

 the [list-sort] abstraction uses a high-constant O(n²) algorithm that  
 breaks once you try to sort more than 125 values. 

Actually [list-sort] since quite some time uses the sort method borrowed from
Pd's data-structures for sorting. The problem here is not so much the sorting
algorithm, which is very fast and can sort way more than 125 items.

However copying the list to a data structure and back - this currently indeed
has a problem with stack-overflows, as I'm now aware. Have to think about a
fix ...

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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


Re: [PD] Resonant filter using cpole~ czero~

2012-02-24 Thread Frank Barknecht
On Sun, Feb 19, 2012 at 11:33:28AM -0500, Mathieu Bouchard wrote:
 Le 2012-02-03 à 09:46:00, Frank Barknecht a écrit :

 Most filters in the rj library (https://github.com/rjdj/rjlib) use a  
 similar approach. They even include a biquad-clone written with  
 elementary filters.

 Why would you clone biquad using elementary filters ? Is it just to show  
 that it's possible, or is it to make it fully signal-rate ?

I made it half signal-rate: The object accepts signal parameters, but these
are just linearly interpolated internally, i.e. they don't move correctly on a
circle.

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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


Re: [PD] [PD-announce] libpd, the book!

2012-02-24 Thread i go bananas
looks great Peter!

i'm about to order an e-reader, so i will definitely get this once it
arrives.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd 0.43-2 test 1 released

2012-02-24 Thread IOhannes m zmölnig

On 02/23/12 18:11, Miller Puckette wrote:

Hi all -

Pd 0.43-2 test 1 is out on the usual places:


great.



This version fixes the TCL errors starting up on Windows (the page-long pink
blot on the Pd window) and a couple of minor fixes.


unfortunately not entirely (i could only test the git version (rev: 
bb91ad26e16), due to my bad internet connection).


i still get a tcl error, when trying to change the number of items of an 
[hradio] in a closed subpatch [1].


see attached patch that illustrates the problem.

it would be great if this minor annoyance could somehow be fixed.


fgmasrd
IOhannes

[1] this was reported as 
https://sourceforge.net/tracker/index.php?func=detailaid=3484412group_id=55736atid=478070
#N canvas 558 108 635 300 10;
#N canvas 5 49 450 300 sub 0;
#X obj 147 160 hradio 15 1 0 1 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X obj 147 86 inlet;
#X msg 147 108 number \$1;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X restore 101 154 pd sub;
#X floatatom 101 135 5 0 0 0 - - -;
#X msg 101 36 bang;
#X obj 101 108 random 10;
#X text 35 36 click the;
#X text 151 157 (if you open this \, everything works as expected)
;
#X text 142 36 repeatedly to trigger a Tcl/TK backtrace \, as long
as [pd sub] stays closed.;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] libpd, the book!

2012-02-24 Thread Jamie Bullock

Congratulations Peter. Just pre-ordered my copy!

best,

Jamie


On 24 Feb 2012, at 01:42, Peter Brinkmann wrote:

 Hi,
 I'm happy to announce the release of my book on mobile audio
 development with libpd:
 http://shop.oreilly.com/product/0636920022503.do
 
 The ebook version is available now; printed copies will be available
 from amazon.com next week.
 Cheers,
 Peter
 
 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce

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


Re: [PD] [PD-announce] Japanese Pure Data book is out now.

2012-02-24 Thread Frank Barknecht
Hi,

wonderful! I really like the cover, too. 

I just found that BNN International also has an Englisch announcement here:
http://bnn-international.blogspot.com/2012/02/this-is-basic-how-to-book-about-pure.html

All the best,
-- 
Frank

On Mon, Feb 20, 2012 at 05:38:00PM +0900, Seiichiro MATSUMURA wrote:
 Dear list,
 
 The world first Japanese Pure Data book for sound programming will be
 published from BNN(Bug News Network) Inc. on 23rd Feb. 2012 in Japan.
 The title is Pd Recipe Book -Sound Programming with Pure Data. This
 book is written for the programming newbies with the step by step type
 tutorials.
 If you know anybody who can read Japanese and hope to jump into the Pd
 world, please recommend this book.
 
 Web site (Japanese)
 Pd Recipe Book -Sound Programming with Pure Data
 http://www.bnn.co.jp/books/title_index/web/pd_recipe_book_pure_data.html#more
 
 I hope this become the starting point to spread Pd in Japan.
 
 best wishes,
 
 Sei Matsumura
 
 --
 __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
 Seiichiro Matsumura, Ph.D.
 
 Tokyo University of Technology
 School of Design
 Associate Professor
 
 http://low-tech-ism.com/
 __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
 
 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce
 

-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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


Re: [PD] [PD-announce] Japanese Pure Data book is out now.

2012-02-24 Thread Julian Brooks
So in a wonderfully circular twist:
Any chance of an English ebook translation (preferably free, of course)?
Maybe even just the interviews, I admit I'm curious.

Well done, good work.

Julian

On 24 February 2012 09:25, Frank Barknecht f...@footils.org wrote:

 Hi,

 wonderful! I really like the cover, too.

 I just found that BNN International also has an Englisch announcement here:

 http://bnn-international.blogspot.com/2012/02/this-is-basic-how-to-book-about-pure.html

 All the best,
 --
 Frank

 On Mon, Feb 20, 2012 at 05:38:00PM +0900, Seiichiro MATSUMURA wrote:
  Dear list,
 
  The world first Japanese Pure Data book for sound programming will be
  published from BNN(Bug News Network) Inc. on 23rd Feb. 2012 in Japan.
  The title is Pd Recipe Book -Sound Programming with Pure Data. This
  book is written for the programming newbies with the step by step type
  tutorials.
  If you know anybody who can read Japanese and hope to jump into the Pd
  world, please recommend this book.
 
  Web site (Japanese)
  Pd Recipe Book -Sound Programming with Pure Data
 
 http://www.bnn.co.jp/books/title_index/web/pd_recipe_book_pure_data.html#more
 
  I hope this become the starting point to spread Pd in Japan.
 
  best wishes,
 
  Sei Matsumura
 
  --
  __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
  Seiichiro Matsumura, Ph.D.
 
  Tokyo University of Technology
  School of Design
  Associate Professor
 
  http://low-tech-ism.com/
  __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
 
  ___
  Pd-announce mailing list
  pd-annou...@iem.at
  http://lists.puredata.info/listinfo/pd-announce
 

 --
  Frank BarknechtDo You RjDj.me?  _ __footils.org__

 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce

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


[PD] pix_openni crash Pd

2012-02-24 Thread Jack
Hello, i compiled pix_openni for my Ubuntu 11.04 with Gem 0.93 and Pd 
0.42.6.


When i open the patch 'pix_openni-help.pd', i get in the Pd console :
[pix_openni]: pix_openni 0.03 - experimental - 2011/2012 by Matthias 
Kronlachner

[pix_openni]: using multiple kinects not available now... chosen ID: 0
[pix_openni]: OPEN NI initialised successfully.
And [pix_openni] object seems to be OK.

But when i create the Gemwin, Pd crash :
Erreur de segmentation
jack@jack-N55SF:~$ socket receive error: Connection reset by peer (104)

I did something bad ?
++

Jack



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


Re: [PD] [PD-announce] libpd, the book!

2012-02-24 Thread ALAN BROOKER
wow...should come to the Uk soon?---now I have an excuse to buy an
Andriod phone :]

On Fri, Feb 24, 2012 at 8:48 AM, Jamie Bullock ja...@postlude.co.uk wrote:

 Congratulations Peter. Just pre-ordered my copy!

 best,

 Jamie


 On 24 Feb 2012, at 01:42, Peter Brinkmann wrote:

 Hi,
 I'm happy to announce the release of my book on mobile audio
 development with libpd:
 http://shop.oreilly.com/product/0636920022503.do

 The ebook version is available now; printed copies will be available
 from amazon.com next week.
 Cheers,
     Peter

 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce

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


 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce

 ___
 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] save search path 0.43 OSX

2012-02-24 Thread m.e.grimm
 I think the better way to fix those help-files is to use an [import] or
 [declare] object in the help patch.

one prob I have found ... in a lib such as rtc the objects are not
compiled externals but abstractions that rely on list-abs. how to
deal with this? you can't really put [import list-abs] or [declare] in
an abstraction ... well I guess you can buts that's not the way it
should be done.

m

On Fri, Feb 24, 2012 at 2:25 AM, Roman Haefeli reduz...@gmail.com wrote:
 On Thu, 2012-02-23 at 13:41 -0800, Jonathan Wilkes wrote:
 A lot of external developers obviously got used to relying on

 the libs that were loaded by default in previous versions of Pd extended.  
 If their help patches rely on

 some of those externals and the dev didn't give a lib prefix, those objects 
 won't load under the new system.

 I think the better way to fix those help-files is to use an [import] or
 [declare] object in the help patch. This way those help patches may also
 work outside the Pd-extended context (for instance, if you use
 multi-class externals).

 Roman


 
  From: András Murányi muran...@gmail.com
 To: pd-list pd-list@iem.at
 Sent: Thursday, February 23, 2012 2:01 PM
 Subject: Re: [PD] save search path 0.43 OSX
 
 
 Huh, afaik there has been no such warning for deprecation ever planted in 
 Pd so there is nothing to conform with. If it gets implemented, it will be 
 something helpful and ugly - for a temporary period of time. Three ways 
 come into my mind:
 - an alert box (modal dialog with the warning and an OK button) that 
 appears when you click the menu item, and of course when you click OK the 
 actual path dialog appears,
 - a sort of textual link somewhere on the path dialog box itself, could 
 look like Editing paths here is deprecated. See why, and how to edit 
 paths, and it would lead to a certain help page,
 - putting back the Save button, with no other functionality than displaying 
 the aforementioned alert box.
 
 András
 
 
 
 2012/2/19 Hans-Christoph Steiner h...@at.or.at
 
 
 
 Yup, I agree, it should be represented clearly somehow I'm open to 
 suggestions.  Its been a long time policy in Pd-extended to avoid using 
 the preferences. Its only recently been enforced.
 
 
 .hc
 
 
 On Feb 18, 2012, at 3:26 PM, András Murányi wrote:
 
 Ugh, I more and more tend to think that this info shall be directly 
 accessible from the affected dialog window. Many people may think their Pd 
 is just broken and they might just have no idea what to do about it.
 
 Andras
 
 
 On Sat, Feb 18, 2012 at 20:59, Hans-Christoph Steiner h...@at.or.at 
 wrote:
 
 
 
 Setting the paths and the libraries to load at start time via the 
 preferences is deprecated in Pd-extended 0.43.  The way to do this is:
 
 
 * for the global path, add your libraries, etc. to the built-in user 
 path:
 http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files
 
 
 * for a path local to a patch, use the new [path] object, following the 
 interface of [import] with the functionality of [declare -path]
 
 
 If you really want to still set the paths via the preferences, you can 
 edit the preferences file, and Pd-extended will still load them from the 
 preferences file.
 
 
 So in your case, Scott, it sounds like you are using a preferences file 
 that has your extra paths in it already. The Preferences interface in 
 Pd-extended 0.43 no longer saves the paths to the file, so it doesn't 
 override your previously saved extra paths.  Try renaming or deleting 
 your preferences file.
 
 
 .hc
 
 On Feb 18, 2012, at 2:05 PM, Scott R. Looney wrote:
 
 well, just to add my experience i think i can set search paths 
 correctly, but i would like to add that it seems to be quite difficult 
 to have more than one instance of PD-extended 0.43 on the computer 
 (trying mac OS 10.6.4 w/ 32bit and 64bit builds) making it a bit 
 challenging to check one build's operation/stability against another on 
 the same computer.
 
 
 for example, the help browser shows all instances of installed objects 
 on the computer, and then console complains about multiple versions of 
 files existing. i've tried deleting the extra paths that show up to 
 limit things, which works temporarily, but on the next startup it just 
 reverts back to grabbing everything it can find again. it works the 
 same in every .43 pd-extended build i've tried so far (several version 
 of both 32 and 64 bit builds in Dec/Jan). putting things on other 
 drives doesn't work either - it will find those paths as well.
 
 
 scott
 
 
 On Sat, Feb 18, 2012 at 10:17 AM, Joson Android 
 joson.andr...@googlemail.com wrote:
 
 Dear List!
 
 i love pd-extended-0.43 !! but i cannot add any search path in the 
 prefferences. It will show my new settings right when i make changes 
 but wont save anything. It prints ripts/../extra/mapping: no such 
 object in the pd-window. It works in pd-extended-0.42.5 . Should 
 there be a file where pd saves the path? 

Re: [PD] pix_openni crash Pd

2012-02-24 Thread Jack

Le 24/02/2012 17:18, Mathieu Bouchard a écrit :

Le 2012-02-24 à 16:03:00, Jack a écrit :


But when i create the Gemwin, Pd crash :
Erreur de segmentation
I did something bad ?


des plantages comme ça sont injustifiables.

ressaye avec gdb et/ou valgrind.

 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC


Hello Mathieu,

Here the output with valgrind when i create the gemwin :

==4048== Invalid read of size 4
==4048==at 0x49C6B94: GemBase::gem_MessCallback(void*, _symbol*, 
int, _atom*) (GemBase.cpp:237)

==4048==by 0x80B5809: pd_typedmess (in /usr/bin/pd)
==4048==  Address 0x735ef68 is 0 bytes after a block of size 32 alloc'd
==4048==at 0x4025315: calloc (vg_replace_malloc.c:467)
==4048==by 0x80B8710: getbytes (in /usr/bin/pd)
==4048==
==4048== Invalid read of size 1
==4048==at 0x49C6814: GemBase::gem_startstopMess(int) (GemBase.cpp:102)
==4048==by 0x49C6B9E: GemBase::gem_MessCallback(void*, _symbol*, 
int, _atom*) (GemBase.cpp:237)

==4048==by 0x80B5809: pd_typedmess (in /usr/bin/pd)
==4048==  Address 0x11 is not stack'd, malloc'd or (recently) free'd
==4048==
==4048==
==4048== Process terminating with default action of signal 11 (SIGSEGV)
==4048==  Access not within mapped region at address 0x11
==4048==at 0x49C6814: GemBase::gem_startstopMess(int) (GemBase.cpp:102)
==4048==by 0x49C6B9E: GemBase::gem_MessCallback(void*, _symbol*, 
int, _atom*) (GemBase.cpp:237)

==4048==by 0x80B5809: pd_typedmess (in /usr/bin/pd)
==4048==  If you believe this happened as a result of a stack
==4048==  overflow in your program's main thread (unlikely but
==4048==  possible), you can try to increase the size of the
==4048==  main thread stack using the --main-stacksize= flag.
==4048==  The main thread stack size used in this run was -1.
==4048==
==4048== HEAP SUMMARY:
==4048== in use at exit: 65,622,038 bytes in 45,892 blocks
==4048==   total heap usage: 114,083 allocs, 68,191 frees, 143,231,167 
bytes allocated

==4048==
==4048== LEAK SUMMARY:
==4048==definitely lost: 17,149 bytes in 61 blocks
==4048==indirectly lost: 10,576 bytes in 607 blocks
==4048==  possibly lost: 320,500 bytes in 4,906 blocks
==4048==still reachable: 65,273,813 bytes in 40,318 blocks
==4048== suppressed: 0 bytes in 0 blocks
==4048== Rerun with --leak-check=full to see details of leaked memory
==4048==
==4048== For counts of detected and suppressed errors, rerun with: -v
==4048== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 2643 from 11)
socket receive error: Connection reset by peer (104)
Erreur de segmentation

Thanx.
++

Jack



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


Re: [PD] pix_openni crash Pd

2012-02-24 Thread Mathieu Bouchard

Le 2012-02-24 à 18:10:00, Jack a écrit :


Here the output with valgrind when i create the gemwin :


Are there any « Invalid write » messages before getting there ?

Also note that GEM 93 and GEM 92 are quite binary-incompatible, therefore 
an external has to be compiled with the right set of .h files.


There were also at least two more intermediate steps for those who used 
SVN versions of GEM 93. For example, GridFlow supports GEM 92 and two 
early kinds of GEM 93 but doesn't work with the final GEM 93.


I'm talking about this because :


Address 0x735ef68 is 0 bytes after a block of size 32 alloc'd
at 0x4025315: calloc (vg_replace_malloc.c:467)
by 0x80B8710: getbytes (in /usr/bin/pd)


Looks like an object has an unexpected size, which hints at possible 
mismatching struct{} definitions.


 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Japanese Pure Data book is out now.

2012-02-24 Thread Mathieu Bouchard

Le 2012-02-24 à 10:53:00, Julian Brooks a écrit :

So in a wonderfully circular twist: Any chance of an English ebook 
translation (preferably free, of course)?


Why aim for just free, when you can aim for getting paid to read it.

 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] sigmund list sort

2012-02-24 Thread Frank Barknecht
Hi,

attached is an approach using data structures to do the sorting of peaks.
Somehow I forgot how to set the sort field in a data structure and cannot find
it in the docs. Wasn't there some way to specify a different field than x for
sorting? (Maybe it was simply sort fielname which I didn't try in my quick 
patch.)

Ciao
-- 
Frank

On Sat, Feb 18, 2012 at 09:58:50AM -0800, Miller Puckette wrote:
 I believe there's no good way to do this in pd vanilla.  THere should be
 a 'list sort' but I haven't figured out what would be the best design.
 (and there's probably already a list sort in Pd extended :)
 
 cheers
 Miller
 On Sat, Feb 18, 2012 at 04:19:58PM +0100, labyrinthuscochlearis wrote:
  hi all,
  
  what would be a good way to transform sigmund~'s peaks output so that I
  get a list with peak amplitudes but in the ascending order of the
  corresponding frequencies?
  
  thanks,
  christian
  
  
  ___
  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

-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__


peak-sort.pd
Description: application/puredata


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


Re: [PD] Resonant filter using cpole~ czero~

2012-02-24 Thread Mathieu Bouchard

Le 2012-02-24 à 09:07:00, Frank Barknecht a écrit :

I made it half signal-rate: The object accepts signal parameters, but 
these are just linearly interpolated internally, i.e. they don't move 
correctly on a circle.


If you interpolate, it means that you are doing something at non-signal 
rate. What is it that makes you having to interpolate a signal parameter 
that is already at the same rate as the main input ?


 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd 0.43-2 test 1 released

2012-02-24 Thread Miller Puckette
This looks like a big, systeming problem with the IEM GUIS that's probably
been there for years.  I'm afraid to try to fix that so late before freezing
a release since fixing all teh related oopses will involve dozens (?) of
edits.

Thanks for flagging it though -- it looks like the next thing I need to
take care of is to get teh IEM GUI code in a sustainable state!

Miller

On Fri, Feb 24, 2012 at 09:40:19AM +0100, IOhannes m zmölnig wrote:
 On 02/23/12 18:11, Miller Puckette wrote:
 Hi all -
 
 Pd 0.43-2 test 1 is out on the usual places:
 
 great.
 
 
 This version fixes the TCL errors starting up on Windows (the page-long pink
 blot on the Pd window) and a couple of minor fixes.
 
 unfortunately not entirely (i could only test the git version (rev:
 bb91ad26e16), due to my bad internet connection).
 
 i still get a tcl error, when trying to change the number of items
 of an [hradio] in a closed subpatch [1].
 
 see attached patch that illustrates the problem.
 
 it would be great if this minor annoyance could somehow be fixed.
 
 
 fgmasrd
 IOhannes
 
 [1] this was reported as 
 https://sourceforge.net/tracker/index.php?func=detailaid=3484412group_id=55736atid=478070

 #N canvas 558 108 635 300 10;
 #N canvas 5 49 450 300 sub 0;
 #X obj 147 160 hradio 15 1 0 1 empty empty empty 0 -8 0 10 -262144
 -1 -1 0;
 #X obj 147 86 inlet;
 #X msg 147 108 number \$1;
 #X connect 1 0 2 0;
 #X connect 2 0 0 0;
 #X restore 101 154 pd sub;
 #X floatatom 101 135 5 0 0 0 - - -;
 #X msg 101 36 bang;
 #X obj 101 108 random 10;
 #X text 35 36 click the;
 #X text 151 157 (if you open this \, everything works as expected)
 ;
 #X text 142 36 repeatedly to trigger a Tcl/TK backtrace \, as long
 as [pd sub] stays closed.;
 #X connect 1 0 0 0;
 #X connect 2 0 3 0;
 #X connect 3 0 1 0;

 ___
 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] sigmund list sort

2012-02-24 Thread Miller Puckette
It's odd, but it never occurred to me that one should be able to specify
which field(s) to sort on -- it's x, then y.  I should fix this...

cheers
Miller

On Fri, Feb 24, 2012 at 06:46:08PM +0100, Frank Barknecht wrote:
 Hi,
 
 attached is an approach using data structures to do the sorting of peaks.
 Somehow I forgot how to set the sort field in a data structure and cannot find
 it in the docs. Wasn't there some way to specify a different field than x 
 for
 sorting? (Maybe it was simply sort fielname which I didn't try in my 
 quick patch.)
 
 Ciao
 -- 
 Frank
 
 On Sat, Feb 18, 2012 at 09:58:50AM -0800, Miller Puckette wrote:
  I believe there's no good way to do this in pd vanilla.  THere should be
  a 'list sort' but I haven't figured out what would be the best design.
  (and there's probably already a list sort in Pd extended :)
  
  cheers
  Miller
  On Sat, Feb 18, 2012 at 04:19:58PM +0100, labyrinthuscochlearis wrote:
   hi all,
   
   what would be a good way to transform sigmund~'s peaks output so that I
   get a list with peak amplitudes but in the ascending order of the
   corresponding frequencies?
   
   thanks,
   christian
   
   
   ___
   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
 
 -- 
  Frank BarknechtDo You RjDj.me?  _ __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] pix_openni crash Pd

2012-02-24 Thread Jack

Le 24/02/2012 18:41, Mathieu Bouchard a écrit :

Le 2012-02-24 à 18:10:00, Jack a écrit :


Here the output with valgrind when i create the gemwin :


Are there any « Invalid write » messages before getting there ?

Also note that GEM 93 and GEM 92 are quite binary-incompatible, 
therefore an external has to be compiled with the right set of .h files.


There were also at least two more intermediate steps for those who 
used SVN versions of GEM 93. For example, GridFlow supports GEM 92 and 
two early kinds of GEM 93 but doesn't work with the final GEM 93.


I'm talking about this because :


Address 0x735ef68 is 0 bytes after a block of size 32 alloc'd
at 0x4025315: calloc (vg_replace_malloc.c:467)
by 0x80B8710: getbytes (in /usr/bin/pd)


Looks like an object has an unexpected size, which hints at possible 
mismatching struct{} definitions.


 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC



Here the output of valgrind before i create the gemwin, it seems there 
is no trace of 'invalid write' :


==2417== HEAP SUMMARY:
==2417== in use at exit: 10,269,451 bytes in 14,507 blocks
==2417==   total heap usage: 44,542 allocs, 30,035 frees, 46,723,012 
bytes allocated

==2417==
==2417== LEAK SUMMARY:
==2417==definitely lost: 14,663 bytes in 50 blocks
==2417==indirectly lost: 8,291 bytes in 488 blocks
==2417==  possibly lost: 1,525 bytes in 56 blocks
==2417==still reachable: 10,244,972 bytes in 13,913 blocks
==2417== suppressed: 0 bytes in 0 blocks
==2417== Rerun with --leak-check=full to see details of leaked memory
==2417==
==2417== For counts of detected and suppressed errors, rerun with: -v
==2417== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 482 from 11)
==2418==
==2418== HEAP SUMMARY:
==2418== in use at exit: 10,269,451 bytes in 14,507 blocks
==2418==   total heap usage: 44,542 allocs, 30,035 frees, 46,723,012 
bytes allocated

==2418==
==2418== LEAK SUMMARY:
==2418==definitely lost: 14,663 bytes in 50 blocks
==2418==indirectly lost: 8,291 bytes in 488 blocks
==2418==  possibly lost: 1,525 bytes in 56 blocks
==2418==still reachable: 10,244,972 bytes in 13,913 blocks
==2418== suppressed: 0 bytes in 0 blocks
==2418== Rerun with --leak-check=full to see details of leaked memory
==2418==
==2418== For counts of detected and suppressed errors, rerun with: -v
==2418== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 482 from 11)
==2419==
==2419== HEAP SUMMARY:
==2419== in use at exit: 10,269,451 bytes in 14,507 blocks
==2419==   total heap usage: 44,542 allocs, 30,035 frees, 46,723,012 
bytes allocated

==2419==
==2419== LEAK SUMMARY:
==2419==definitely lost: 14,663 bytes in 50 blocks
==2419==indirectly lost: 8,291 bytes in 488 blocks
==2419==  possibly lost: 1,525 bytes in 56 blocks
==2419==still reachable: 10,244,972 bytes in 13,913 blocks
==2419== suppressed: 0 bytes in 0 blocks
==2419== Rerun with --leak-check=full to see details of leaked memory
==2419==
==2419== For counts of detected and suppressed errors, rerun with: -v
==2419== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 482 from 11)
==2420==
==2420== HEAP SUMMARY:
==2420== in use at exit: 10,269,451 bytes in 14,507 blocks
==2420==   total heap usage: 44,542 allocs, 30,035 frees, 46,723,012 
bytes allocated

==2420==
==2420== LEAK SUMMARY:
==2420==definitely lost: 14,663 bytes in 50 blocks
==2420==indirectly lost: 8,291 bytes in 488 blocks
==2420==  possibly lost: 1,525 bytes in 56 blocks
==2420==still reachable: 10,244,972 bytes in 13,913 blocks
==2420== suppressed: 0 bytes in 0 blocks
==2420== Rerun with --leak-check=full to see details of leaked memory
==2420==
==2420== For counts of detected and suppressed errors, rerun with: -v
==2420== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 482 from 11)

Thanx for your help.
++

Jack



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


Re: [PD] sigmund list sort

2012-02-24 Thread Mathieu Bouchard

Le 2012-02-24 à 09:51:00, Miller Puckette a écrit :


It's odd, but it never occurred to me that one should be able to specify
which field(s) to sort on -- it's x, then y.  I should fix this...


Nearly all the music I ever composed used a vertical time axis. Lots of 
people are in this situation, though perhaps not many are also into Pd DS.


 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] sigmund list sort

2012-02-24 Thread Mathieu Bouchard

Le 2012-02-24 à 09:02:00, Frank Barknecht a écrit :

On Sat, Feb 18, 2012 at 01:14:22PM -0500, Mathieu Bouchard wrote:

the [list-sort] abstraction uses a high-constant O(n²) algorithm that
breaks once you try to sort more than 125 values.

Actually [list-sort] since quite some time uses the sort method borrowed from
Pd's data-structures for sorting.


I have Pd-extended 42.5 that contains Michał Seta's sort, which used to be 
cubic (O(n³)) and with even lower sorting limits, until I made you replace 
the O(n²) [list-drip] that used O(n) stack, by one that runs in O(n) and 
uses O(log n) stack.


I don't know any more recent version of list-abs.

The problem here is not so much the sorting algorithm, which is very 
fast and can sort way more than 125 items.


Indeed, it's a slow version of mergesort written using linkedlists in C, 
which is still faster than nearly anything one could possibly come up with 
in pure Pd.


However copying the list to a data structure and back - this currently 
indeed has a problem with stack-overflows, as I'm now aware. Have to 
think about a fix ...


Make sure that your algos take less than O(n) stack space... If it's not a 
125 element limit, it's 500 or 1000, and it can't get higher without 
recompiling Pd to be more indulgent.


 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] sigmund list sort

2012-02-24 Thread Jonathan Wilkes


- Original Message -
 From: Mathieu Bouchard ma...@artengine.ca
 To: Frank Barknecht f...@footils.org
 Cc: pd-list@iem.at
 Sent: Friday, February 24, 2012 1:26 PM
 Subject: Re: [PD] sigmund list sort
 
 Le 2012-02-24 à 09:02:00, Frank Barknecht a écrit :
 On Sat, Feb 18, 2012 at 01:14:22PM -0500, Mathieu Bouchard wrote:
 the [list-sort] abstraction uses a high-constant O(n²) algorithm that
 breaks once you try to sort more than 125 values.
 Actually [list-sort] since quite some time uses the sort method 
 borrowed from
 Pd's data-structures for sorting.
 
 I have Pd-extended 42.5 that contains Michał Seta's sort, which used to be 
 cubic (O(n³)) and with even lower sorting limits, until I made you replace 
 the 
 O(n²) [list-drip] that used O(n) stack, by one that runs in O(n) and uses 
 O(log 
 n) stack.
 
 I don't know any more recent version of list-abs.
 
 The problem here is not so much the sorting algorithm, which is very fast 
 and can sort way more than 125 items.
 
 Indeed, it's a slow version of mergesort written using linkedlists in C, 
 which is still faster than nearly anything one could possibly come up with in 
 pure Pd.
 
 However copying the list to a data structure and back - this currently 
 indeed has a problem with stack-overflows, as I'm now aware. Have to think 
 about a fix ...

Use an iterative loop instead of a recursive one and you will avoid the stack 
overflows.

 
 Make sure that your algos take less than O(n) stack space... If it's not a 
 125 element limit, it's 500 or 1000, and it can't get higher without 
 recompiling Pd to be more indulgent.
 
 __
 | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC
 ___
 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] sigmund list sort

2012-02-24 Thread Jonathan Wilkes
- Original Message -
 From: Mathieu Bouchard ma...@artengine.ca
 To: Miller Puckette m...@ucsd.edu
 Cc: pd-list@iem.at
 Sent: Friday, February 24, 2012 1:16 PM
 Subject: Re: [PD] sigmund list sort
 
 Le 2012-02-24 à 09:51:00, Miller Puckette a écrit :
 
 It's odd, but it never occurred to me that one should be able to 
 specify
 which field(s) to sort on -- it's x, then y.  I should fix this...
 
 Nearly all the music I ever composed used a vertical time axis. Lots of 
 people 
 are in this situation, though perhaps not many are also into Pd DS.

Data structures can be used for more than drawing a score with a vertical time 
axis.  In Frank's case there aren't even any drawing instructions-- the only 
reason 
he's using x is because that's the field the canvas sort method uses.
 
-Jonathan

 
 __
 | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC
 ___
 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] save search path 0.43 OSX

2012-02-24 Thread Roman Haefeli
On Fri, 2012-02-24 at 11:37 -0500, m.e.grimm wrote:
  I think the better way to fix those help-files is to use an [import] or
  [declare] object in the help patch.
 
 one prob I have found ... in a lib such as rtc the objects are not
 compiled externals but abstractions that rely on list-abs. how to
 deal with this? you can't really put [import list-abs] or [declare] in
 an abstraction ... well I guess you can buts that's not the way it
 should be done.

Interesting that you say that. I always thought it is the very goal of
using [import]: make any patch or abstraction resolve its own
dependencies.

In what way [import] shouldn't be used inside abstractions?

(I specifically mention only [import] now, since [declare] has its own
implications, though if it would be free of bugs, I'd mentioned it as
well.)


Roman


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


[PD] GEM question [OT]

2012-02-24 Thread Pagano, Patrick
Hi please forgive the OT
But is there a JITTER equivalent of cuboid?


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


Re: [PD] save search path 0.43 OSX

2012-02-24 Thread Jonathan Wilkes




- Original Message -
 From: Roman Haefeli reduz...@gmail.com
 To: m.e.grimm megr...@gmail.com
 Cc: Jonathan Wilkes jancs...@yahoo.com; pd-list pd-list@iem.at
 Sent: Friday, February 24, 2012 2:57 PM
 Subject: Re: [PD] save search path 0.43 OSX
 
 On Fri, 2012-02-24 at 11:37 -0500, m.e.grimm wrote:
   I think the better way to fix those help-files is to use an [import] 
 or
   [declare] object in the help patch.
 
  one prob I have found ... in a lib such as rtc the objects are 
 not
  compiled externals but abstractions that rely on list-abs. how 
 to
  deal with this? you can't really put [import list-abs] or [declare] in
  an abstraction ... well I guess you can buts that's not the way it
  should be done.
 
 Interesting that you say that. I always thought it is the very goal of
 using [import]: make any patch or abstraction resolve its own
 dependencies.
 
 In what way [import] shouldn't be used inside abstractions?
 
 (I specifically mention only [import] now, since [declare] has its own
 implications, though if it would be free of bugs, I'd mentioned it as
 well.)

So we have [import] which isn't in vanilla, [declare] which you say has 
bugs, and using libname/ prefixes which works for both vanilla and 
extended.  What am I missing?

-Jonathan

 
 
 Roman
 

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


Re: [PD] save search path 0.43 OSX

2012-02-24 Thread Mathieu Bouchard

Le 2012-02-24 à 20:57:00, Roman Haefeli a écrit :


In what way [import] shouldn't be used inside abstractions?


[import] is not very local, is it ?

As long as the constructor-table is still one big table (the method-list 
of the objectmaker class), you can't escape the fact that importing any 
set of names «in» an abstraction or any patch, is going to import in the 
global namespace instead, and potentially conflict with anything imported 
by anything else that you wanted to avoid conflict with.


 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] sigmund list sort

2012-02-24 Thread labyrinthuscochlearis
hi,

thank you, i will look at it right away!

all the best,
christian

Am Freitag, den 24.02.2012, 18:46 +0100 schrieb Frank Barknecht:
 Hi,
 
 attached is an approach using data structures to do the sorting of peaks.
 Somehow I forgot how to set the sort field in a data structure and cannot find
 it in the docs. Wasn't there some way to specify a different field than x 
 for
 sorting? (Maybe it was simply sort fielname which I didn't try in my 
 quick patch.)
 
 Ciao
 -- 
 Frank
 
 On Sat, Feb 18, 2012 at 09:58:50AM -0800, Miller Puckette wrote:
  I believe there's no good way to do this in pd vanilla.  THere should be
  a 'list sort' but I haven't figured out what would be the best design.
  (and there's probably already a list sort in Pd extended :)
  
  cheers
  Miller
  On Sat, Feb 18, 2012 at 04:19:58PM +0100, labyrinthuscochlearis wrote:
   hi all,
   
   what would be a good way to transform sigmund~'s peaks output so that I
   get a list with peak amplitudes but in the ascending order of the
   corresponding frequencies?
   
   thanks,
   christian
   
   
   ___
   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] [PD-announce] Japanese Pure Data book is out now.

2012-02-24 Thread Julian Brooks
You offering?  Or do I have to wait for that fantasy academia post.


On 24 February 2012 17:44, Mathieu Bouchard ma...@artengine.ca wrote:

 Le 2012-02-24 à 10:53:00, Julian Brooks a écrit :


  So in a wonderfully circular twist: Any chance of an English ebook
 translation (preferably free, of course)?


 Why aim for just free, when you can aim for getting paid to read it.

  __**__**
 __
 | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] IMAP4 or POP3

2012-02-24 Thread Hans-Christoph Steiner
On 02/24/2012 02:30 AM, Roman Haefeli wrote:
 On Thu, 2012-02-23 at 16:46 -0800, José Manuel Páez Moncaleano wrote:
 Hey!!!


 I’m trying to get info from an email account to work with it in pure
 data


 Is there any library, or maybe an object that let me do that??
 I don't know of any ready-made solution, but you could cook your own by
 implementing the protocol (or those parts that you need) in Pd. I'd have
 a look at [tcpclient] (from net or iemnet library) and [bytes2any] /
 [any2bytes] from the moocow/pdstring library.

Yeah, good idea, POP is actually a pretty simple protocol.

.hc

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


Re: [PD] [PD-announce] Japanese Pure Data book is out now.

2012-02-24 Thread Richie Cyngler
I agree, really beautiful cover! another +1 for wanting to read it too, my
daughter is learning Japanese at school, so maybe in six years she can have
a go at translating it (she's learning Pd in English at home xD)
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Japanese Pure Data book is out now.

2012-02-24 Thread Mathieu Bouchard

Le 2012-02-24 à 20:56:00, Julian Brooks a écrit :

On 24 February 2012 17:44, Mathieu Bouchard ma...@artengine.ca wrote:

Le 2012-02-24 à 10:53:00, Julian Brooks a écrit :
So in a wonderfully circular twist: Any chance of an English ebook 
translation (preferably free, of course)?

Why aim for just free, when you can aim for getting paid to read it.

You offering?  Or do I have to wait for that fantasy academia post.


No, I'm just thinking that you could apply as a reviewing consultant for 
the English translation of the book.


(DISCLAIMER : this email does not count as an endorsement of any kind. It 
also does not count as the opposite of one. I am not responsible for any 
use anyone makes of this email, including but not limited to... et cætera)


 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] choosing your language at launch WAS: Japanese Pure Data book is out now.

2012-02-24 Thread Hans-Christoph Steiner

I was updating pd-extended.git, so I threw in the new Japanese
translation :-).  I'll be sure to update it one last time before the
final release, so you can test it in a real build.

I'm all for choice with the language of the app, but it seems to me that
is something that the OS should handle.  So anyone who set their system
language to English will get Pd-extended in English.  For those who want
some mix of languages, then there is no standard technique that I know
of, and how you do it varies on each OS.  If someone wants to code this
for Pd-extended, patches are welcome.

For the geeks, you can select the language easily when launching Pd from
the terminal.  This is what I do for testing the language support:

$ export LANG=en
$ /usr/bin/pd-extended

  or on Mac OS X:

$ /Applications/Pd-extended/Contents/Resources/bin/pd

You can see the supported languages in the po/ folder inside Pd.

.hc

On 02/23/2012 11:54 PM, Seiichiro MATSUMURA wrote:
 Thanks.
 I finished Transifex work in Japanese 100%. Then I was surprised my
 partly inputs of Transifex in middle of Feb. is already reflected in
 0.43.1-beta 20120223.

 However, it seems working automatic depends on system language of OSX, now.
 I think it would be nice if users can select language mode in
 Preferences, for example like Audacity's language setting. Because
 many Japanese users (especially geeks) already get used to the general
 English menu and interfaces.
 Of course, Japanese interfaces is truly helpful for Japanese Pd newbies.
 So languages selectable is the ideal.

 Cheers,

 Sei Matsumura
 --
 __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
 Seiichiro Matsumura

 s...@low-tech-ism.com
 http://low-tech-ism.com/
 __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/

 2012/2/22 Hans-Christoph Steiner h...@at.or.at:
 That's great! I wish I could read it.  I love the idea of including the 
 interviews and the PdCon report, it shows the multidimensionality of Pd.  
 Its not just software, but the community behind it as well.

 To match this release, I think it would be nice to also have a complete 
 Japanese translation of the Pd interface. To contribute, create an account 
 on transifex and edit the Japanese translation in this webform:
 https://www.transifex.net/projects/p/puredata/resource/templatepot/

 .hc

 On Feb 20, 2012, at 3:38 AM, Seiichiro MATSUMURA wrote:

 Dear list,

 The world first Japanese Pure Data book for sound programming will be
 published from BNN(Bug News Network) Inc. on 23rd Feb. 2012 in Japan.
 The title is Pd Recipe Book -Sound Programming with Pure Data. This
 book is written for the programming newbies with the step by step type
 tutorials.
 If you know anybody who can read Japanese and hope to jump into the Pd
 world, please recommend this book.

 Web site (Japanese)
 Pd Recipe Book -Sound Programming with Pure Data
 http://www.bnn.co.jp/books/title_index/web/pd_recipe_book_pure_data.html#more

 I hope this become the starting point to spread Pd in Japan.

 best wishes,

 Sei Matsumura

 --
 __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
 Seiichiro Matsumura, Ph.D.

 Tokyo University of Technology
 School of Design
 Associate Professor

 http://low-tech-ism.com/
 __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/

 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce

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




 

 Free software means you control what your computer does. Non-free software 
 means someone else controls that, and to some extent controls you. - 
 Richard M. Stallman



 ___
 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] choosing your language at launch WAS: Japanese Pure Data book is out now.

2012-02-24 Thread Mathieu Bouchard

Le 2012-02-24 à 16:56:00, Hans-Christoph Steiner a écrit :

For the geeks, you can select the language easily when launching Pd from 
the terminal.  This is what I do for testing the language support:

$ export LANG=en
$ /usr/bin/pd-extended


Just setting the 2-letter language code is usually wrong, because most 
people want to also have the country code and encoding as well. For 
example :


export LANG=fr_CA.utf8

selects French, Canada and Unicode UTF-8 all at once.

 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] choosing your language at launch WAS: Japanese Pure Data book is out now.

2012-02-24 Thread Hans-Christoph Steiner
On 02/24/2012 05:11 PM, Mathieu Bouchard wrote:
 Le 2012-02-24 à 16:56:00, Hans-Christoph Steiner a écrit :

 For the geeks, you can select the language easily when launching Pd
 from the terminal.  This is what I do for testing the language support:
 $ export LANG=en
 $ /usr/bin/pd-extended

 Just setting the 2-letter language code is usually wrong, because most
 people want to also have the country code and encoding as well. For
 example :

 export LANG=fr_CA.utf8

 selects French, Canada and Unicode UTF-8 all at once.
In Pd's case, its mostly right, but specifying the full code shouldn't
hurt.  You can see the locales available in po/, there is no fr_CA
localization, only fr.  There is pt_br and pt_pt.

.hc

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


Re: [PD] GEM question [OT]

2012-02-24 Thread Cyrille Henry

certainly.

cheers
Cyrille

ps. if you want me to explain you the equivalent of jitter cuboid, you'll have to 
explain me what cuboid is.
 


Le 24/02/2012 20:59, Pagano, Patrick a écrit :

Hi please forgive the OT
But is there a JITTER equivalent of cuboid?




___
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] C++ for reusable dsp lib - or better use C?

2012-02-24 Thread katja
Hi all,

Thanks for this very informative discussion. As I had the initial
question 'C++ or C', I wanted to let you know that I've made up my
mind: I'll do it the hard way, plain C. I've rewritten one of my own
C++ library classes into C by way of exercise and comparison. It does
exactly the same thing at the same speed, with not so sweet-looking
code. This doesn't cover all the C/C++ differences, but in the end,
everything can be solved in C one way or another. I'll put up with the
annoyance of writing C, to increase the chances of unproblematic
compilation and linking.

In my (not so huge) coding experience, I've always noticed that code
typing is the least time consuming aspect of a dsp project. To figure
out a good concept takes longer. Testing and bug fixing takes longer.
Optimization takes longer. I've once written an optimized FFT lib (in
C). It took me a month if I remember well, and that was not because of
all the code typing.


Katja

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


Re: [PD] [PD-announce] libpd, the book!

2012-02-24 Thread patrick

Nice!!
Will order it ASAP,
Thanks for your work

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


[PD] 5.1 sound from quicktime video files

2012-02-24 Thread altern
hi

quick question a bit on a hurry ...

is there any way to get control over sound from three quicktime video
files in order to send each to a different output in a 5.1 video
system? I have three different video projections and need to position
each of the video sounds in a different area of the space.

as far as I understand this would be impossible as quicktime video
play in GEM does not offer any control over sound because only under
mac you get the sound played, and this is in fact just done by the QT
system and not by PD

if all this is not possible withing PD, any suggestions on how to
achieve this? I am thinking about launching the videos with for
instance VLC and routing the audio by some means into PD or something
similar.

thanks

enrike

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


Re: [PD] [PD-announce] libpd, the book!

2012-02-24 Thread Ichabod
I see the table of contents lists a chapter called Prerequisites. What
exactly are the prerequisites in terms of knowledge of programming
languages?

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