[PD] splitting a list into pairs of two

2012-10-03 Thread Alexandros Drymonitis
Hi all, I'm trying to get pairs of two out of a list using two [list split] (I tried to reproduce the patch with ASCII, but it's getting a bit complicated, so I've attached it). I'm sending a list [1 2 3 4( and I want to get 1 2 2 3 3 4 separately but I get an additional 4 4 in the end. Meaning,

Re: [PD] array size (was Re: arraysize)

2012-10-03 Thread Cyrille Henry
hello, since externals can override internals, why not leaving hip~ untouched, and providing a corrected hip~ that is installed in pd/extra/0.44 one can just remove path 0.43 it pd preference (or even using start-up flag) to have the old hip~, or keeping path untouched to have latest version

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-10-03 11:18, Alexandros Drymonitis wrote: Hi all, I'm trying to get pairs of two out of a list using two [list split] (I tried to reproduce the patch with ASCII, but it's getting a bit complicated, so I've attached it). how about using

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread Alexandros Drymonitis
But if my list has an odd number of elements, then I lose the last one, don't I? On Wed, Oct 3, 2012 at 12:45 PM, IOhannes m zmoelnig zmoel...@iem.atwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-10-03 11:18, Alexandros Drymonitis wrote: Hi all, I'm trying to get pairs of two

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread Alexandros Drymonitis
Plus, the pairs I get with [list split 2] are 1 2 3 4 where I want to get 1 2 2 3 3 4 and if my list has got 5 elements 4 5 in the end.. On Wed, Oct 3, 2012 at 12:49 PM, Alexandros Drymonitis adr...@gmail.comwrote: But if my list has an odd number of elements, then I lose the last one, don't

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread i go bananas
not sure if there is a super simple way to do this, but this patch looks like it works: list_pair.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread Alexandros Drymonitis
It does. Thanks a lot. On Wed, Oct 3, 2012 at 1:00 PM, i go bananas hard@gmail.com wrote: not sure if there is a super simple way to do this, but this patch looks like it works: ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 3, 2012 at 12:49 PM, Alexandros Drymonitis adr...@gmail.comwrote: But if my list has an odd number of elements, then I lose the last one, don't I? no. that's what the last outlet of [list split] is for. On 2012-10-03 11:58,

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread Lorenzo Sutton
Hi the attached should do it... The version on the right should be more general allowing to specify the grouping size, and would work with non-necessarily-numeric list. Lorenzo On 03/10/12 11:18, Alexandros Drymonitis wrote: Hi all, I'm trying to get pairs of two out of a list using two

Re: [PD] Preset system in pd?

2012-10-03 Thread Cyrille Henry
Le 01/10/2012 00:53, flad chester a écrit : Hi, i was wondering if somebody have done any preset system for pd? are there any library or examples patches of this? I would like to store all the values of my sliders and the recover them interpolating between them. have a look at pbank. it's

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread i go bananas
nice Lorenzo ! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread Lorenzo Sutton
On 03/10/12 13:32, i go bananas wrote: nice Lorenzo ! Thanks.. well actually for the float version I think we had the same idea :) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Nicola Pandini
Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk and X11 measures window frames: it measures it including all of the chrome around the window (the button/title bar on the top, any framing on the bottom, etc.) The window framing/chrome varies a lot

Re: [PD] Pdsend on Raspbian...

2012-10-03 Thread Pierre Massat
Thanks for your help, it worked. I hadn't actually installed Pd. I used apt-get install pd (it only installed puredata-core), instead of apt-get install puredata. Cheers, Pierre. 2012/10/1 IOhannes m zmölnig zmoel...@iem.at On 10/01/2012 08:51 PM, Pierre Massat wrote: Dear List, I had

Re: [PD] splitting a list into pairs of two

2012-10-03 Thread i go bananas
woahhang on you did that patch without seeing mine??? it's almost identical...right down to the numbers in the example message box someone call Fox Mulder! this is definitely an X file ! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and

Re: [PD] Pdsend on Raspbian...

2012-10-03 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-10-03 13:55, Pierre Massat wrote: Thanks for your help, it worked. I hadn't actually installed Pd. I used apt-get install pd (it only installed puredata-core), instead of apt-get install puredata. ah, i was wondering about that. anyhow,

Re: [PD] Too many objects (but only in Windows)

2012-10-03 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-10-03 15:06, Ed Kelly wrote: Hi list, I know you main devs have bigger fish to fry right now, but an answer to (some of) my wierdness with Gem (in case you're interested) -- the unable to save file: too many objects message, and related

Re: [PD] array size (was Re: arraysize)

2012-10-03 Thread Claude Heiland-Allen
On 02/10/12 16:15, Miller Puckette wrote: 1. there's a bug in hip~ - its DC gain is slightly (and possibly considerably) greater than 1. Did you mean nyquist-frequency rather than DC here? IIRC DC gain for hip~ should be 0 or very close to it and nyquist-frequency gain 1. I did notice that

Re: [PD] array size (was Re: arraysize)

2012-10-03 Thread Miller Puckette
Problem is, it's a bug - I want to fix it :) M On Wed, Oct 03, 2012 at 11:44:47AM +0200, Cyrille Henry wrote: hello, since externals can override internals, why not leaving hip~ untouched, and providing a corrected hip~ that is installed in pd/extra/0.44 one can just remove path 0.43 it

Re: [PD] array size (was Re: arraysize)

2012-10-03 Thread Jonathan Wilkes
- Original Message - From: Miller Puckette m...@ucsd.edu To: Cyrille Henry c...@chnry.net Cc: pd-list@iem.at Sent: Wednesday, October 3, 2012 11:03 AM Subject: Re: [PD] array size (was Re:  arraysize) Problem is, it's a bug - I want to fix it :)   Please allow the users that want

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Hans-Christoph Steiner
On 10/03/2012 07:49 AM, Nicola Pandini wrote: Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk and X11 measures window frames: it measures it including all of the chrome around the window (the button/title bar on the top, any framing on the bottom, etc.)

Re: [PD] array size (was Re: arraysize)

2012-10-03 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-10-03 17:43, Jonathan Wilkes wrote: - Original Message - From: Miller Puckette m...@ucsd.edu To: Cyrille Henry c...@chnry.net Cc: pd-list@iem.at Sent: Wednesday, October 3, 2012 11:03 AM Subject: Re: [PD] array size (was Re:

Re: [PD] array size (was Re: arraysize)

2012-10-03 Thread Hans-Christoph Steiner
For the hip~ problem, I'm fine with just fixing it in 0.44, leaving it as hip~, and being done with it. I agree with Jonathan: the default behavior should be the non-buggy behavior. The issue I am addressing is the -pre-0.44-hip idea and other ideas for providing backwards compatibility.

[PD] [PD-announce] pd berlin meeting 4. october c-base

2012-10-03 Thread Malte Steiner
PD Berlin meetings are from now at C-Base (Rungestrasse 20 Berlin) every first and third thursday in the month beginning 20:00, the next one is 4.October. Looking forward to it and thanks C-Base for hosting us. Send me a email or post here for further questions...

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Nicola Pandini
Il 03/10/2012 18:44, Hans-Christoph Steiner ha scritto: On 10/03/2012 07:49 AM, Nicola Pandini wrote: Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk and X11 measures window frames: it measures it including all of the chrome around the window (the

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Hans-Christoph Steiner
On 10/03/2012 03:47 PM, Nicola Pandini wrote: Il 03/10/2012 18:44, Hans-Christoph Steiner ha scritto: On 10/03/2012 07:49 AM, Nicola Pandini wrote: Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk and X11 measures window frames: it measures it including

[PD] Namespaces (was Re: array size (was Re: arraysize))

2012-10-03 Thread Jonathan Wilkes
When someone decides to implement this, please kill two birds with one stone by having a look at Tim Blechmann's bindable objects scope from Nova: http://tim.klingt.org/publications/tim_blechmann_nova.pdf   (2.1.4, p. 16)   In my limited understanding this is _exactly_ the system you want for

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Nicola Pandini
Il 03/10/2012 22:07, Hans-Christoph Steiner ha scritto: On 10/03/2012 03:47 PM, Nicola Pandini wrote: Il 03/10/2012 18:44, Hans-Christoph Steiner ha scritto: On 10/03/2012 07:49 AM, Nicola Pandini wrote: Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk

[PD] getting sample rate of file loaded into an array

2012-10-03 Thread Rick T
Greetings All I load a wavefile into an array using openpanel but how can I go about getting the sample rate of the wav file? I'm trying to load the sample rate data into an expr object Example: expr (sample rate) / f$1 Aloha Rick ___ Pd-list@iem.at

Re: [PD] getting sample rate of file loaded into an array

2012-10-03 Thread Patrice Colet
[ext13/wavinfo] or more complicated for the fun, with [mrpeach/binfile] and https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ it's attached ^^ Colet Patrice - Mail original - De: Rick T ratull...@gmail.com À: PD List pd-list@iem.at Envoyé: Jeudi 4 Octobre 2012 00:26:15

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Simon Wise
On 04/10/12 04:07, Hans-Christoph Steiner wrote: Sounds like this should actually be: set x [ expr max($x % $screenwidth - $::windowframex, 0)] set y [ expr max($y % $screenheight - $::windowframey, 0)] That would ensure that x and y are always= 0. Does changing that in pdtk_canvas.tcl solve

Re: [PD] getting sample rate of file loaded into an array

2012-10-03 Thread Rick T
Thanks On Wed, Oct 3, 2012 at 1:45 PM, Patrice Colet colet.patr...@free.fr wrote: [ext13/wavinfo] or more complicated for the fun, with [mrpeach/binfile] and https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ it's attached ^^ Colet Patrice - Mail original - De: Rick

Re: [PD] Pd-extended on the Raspberry Pi

2012-10-03 Thread Epic Jefferson
Other than being crazy small, i encountered a problem with your instructions. when i entered: debuild -uc -us -bash: debuild: command not found almost there. On Tue, Oct 2, 2012 at 2:11 PM, Hans-Christoph Steiner h...@at.or.atwrote: 128.238.56.50 is gone forever. Its been temporarily

Re: [PD] Too many objects (but only in Windows)

2012-10-03 Thread Ed Kelly
On 2012-10-03 15:06, Ed Kelly wrote: Hi list, I know you main devs have bigger fish to fry right now, but an answer to (some of) my wierdness with Gem (in case you're interested) -- the unable to save file: too many objects message, and related errors (files no longer loaded within the

Re: [PD] array size (was Re: arraysize)

2012-10-03 Thread Ed Kelly
I think you can't fix a bug in a core object and retain complete backwards compatibility in terms of the audio result of old patches, unless you implement a pre-0.44 mode or something. But why would you want to do that? Perhaps a method can be used to switch between the two modes in hip~, but