Re: [PD] recursive controls problem

2014-05-09 Thread Lorenzo Sutton

Hi,

On 09/05/2014 07:24, plutek infinity wrote:

greetings!

i'm sure this is a simple problem, but i can't seem to come up with the
solution...

i'm trying to control one numerical value in a few ways:

1. have a bang to set an initial value
2. have a slider for mouse control
3. use keyboard keys to increment and decrement

the attached patch all works, except i ALSO want the slider position to
pick up the current value, as changed by any of the other methods.


Does the send / receive trick to sync e.g. a numberbox and a slider 
still work? It seems to crash Pd on windows.




the problem is, of course, that if i connect the expr result back up to
the slider input, i get a loop with stack overflow errors.

i'd be most grateful for any pointers you can offer... thanks much!

cheers!
.pltk.



___
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] recursive controls problem

2014-05-09 Thread Lorenzo Sutton

On 09/05/2014 07:24, plutek infinity wrote:
[...]

i'm trying to control one numerical value in a few ways:

1. have a bang to set an initial value
2. have a slider for mouse control
3. use keyboard keys to increment and decrement

[...]


the problem is, of course, that if i connect the expr result back up to
the slider input, i get a loop with stack overflow errors.


See attached.

This indeed uses the IEM gui'trick' where if you set all sends and 
receive to the same name in the properties they will be in sync.


Please disregard my previous message about crashing.. (I was erroneously 
using a vanilla numberbox instead of the Number2 (IEM gui) one).


Lorenzo.

#N canvas 275 188 871 498 10;
#X obj 35 29 hsl 128 20 -10 10 0 0 aa aa empty -2 -8 0 10 -1 -4034
-4034 11366 1;
#X obj 191 36 nbx 5 14 -10 10 0 0 aa aa empty 0 -8 0 14 -1 -4032 -4032
7.9 256;
#X obj 240 408 + 0.05;
#X obj 43 410 float 0.9;
#X obj 43 144 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X msg 43 164 0.9;
#X obj 60 196 s aa;
#X obj 32 63 s to_float;
#X obj 103 196 r to_float;
#X obj 344 66 key;
#X obj 344 100 sel 113 97;
#X floatatom 388 84 5 0 0 0 - - -, f 5;
#X msg 344 128 1;
#X msg 377 128 -1;
#X obj 372 238 *;
#X obj 336 188 f 0.05;
#X floatatom 413 268 5 0 0 0 - - -, f 5;
#X obj 390 188 change;
#X obj 347 267 t b b f;
#X obj 344 159 t b b f;
#X text 6 5 open properties to see send/recieve trick...;
#X text 19 86 needed to explicitly set the value \; when mous is used
;
#X obj 43 464 s aa;
#X obj 44 432 clip -10 10;
#X text 136 436 In case you want this range (see also GUI objects'
properits...);
#X text 313 338 - this bang (going into the [+ 0.05]) is needed for
correct change of 'direction' (try without...);
#X connect 0 0 7 0;
#X connect 1 0 7 0;
#X connect 2 0 3 1;
#X connect 3 0 23 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 5 0 3 0;
#X connect 8 0 3 0;
#X connect 9 0 10 0;
#X connect 9 0 11 0;
#X connect 10 0 12 0;
#X connect 10 1 13 0;
#X connect 12 0 19 0;
#X connect 13 0 19 0;
#X connect 14 0 16 0;
#X connect 14 0 18 0;
#X connect 15 0 14 0;
#X connect 17 0 14 1;
#X connect 18 0 3 0;
#X connect 18 1 2 0;
#X connect 18 2 2 1;
#X connect 19 1 15 0;
#X connect 19 2 17 0;
#X connect 23 0 22 0;
#X connect 23 0 2 0;

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


Re: [PD] Is open source better?

2014-02-10 Thread Lorenzo Sutton

Hi Pall,

On 10/02/2014 04:45, Pall Thayer wrote:

This was a faculty grant at a US arts-focused college. I would say that
95% of students, 80% of faculty use Apple products. That really doesn't
matter though.


As you asked for feedback..
I think it does. I'm not proposing the usual (sterile) apple vs. xyz 
flame, but I've noticed this mac for music thing in academia and 
conservatoires over here (Italy). One thing that surprised me is the 
attachment to this ecosystem in the electoacoustic music landscape, 
where one would expect people to experiment as much as possible with 
unknown and unfamiliar tools in all directions.
What is also interesting is to understand if the use of Apple products 
and software (e.g. MAX/MSP) is truly justified by creative/artistic 
needs or if it's just a matter of habit/convenience (this question in a 
neutral way, i.e. nothing against convenience).


I'm not sure how (much) this fits in the topic you're going to address, 
but I think it's an interesting angle to take into account. And I'll be 
happy to share my personal experiences further if you think it's 
interesting (as I guess my email was already rather long)


Ciao,
Lorenzo.


The project is out there. It can be ported to any

platform if people want. More than anything, it was a proof-of-concept
project.

If it bothers you that this was developed as an IOS app then, by all
means, take it and turn it into an Android app.


On Sun, Feb 9, 2014 at 10:29 PM, Simon Wise simonzw...@gmail.com
mailto:simonzw...@gmail.com wrote:

On 10/02/14 13:36, Pall Thayer wrote:

This is where things enter into the odd world of academia. In
all honesty,
I think our application for the particular grant that was
available was an
outlier. The grant came with caveats. Projects were to target
technology
that would likely be used by faculty and students and the
resulting work
(publications or, in our case, software) would be released under
open
licenses. As far as I could tell, ours was the only project that was
producing actual software. We were able to pay the Apple Dev fee
for one
year from our funds but our application wasn't ready for
distribution
within that time so we never submitted it to the app store and have
released the source code instead. We were never big fans of
distributing it
through the app store anyway.


Well I guess the target platform is jail-broken Apples then.

Re academia ... I spent the last few years studying in an Australian
university, maths and computing ... the students were a reasonable
mix of linux, mac and windows users, not sure about the android/iOS
split, while the staff and teaching had a somewhat stronger emphasis
on linux and open source than the students. Matlab was the main
exception to this.

As a target platform android certainly has a much bigger user base
worldwide than jail-broken iOS, though the apples may be much better
for some audio uses.


Simon




--
*
Pall Thayer
artist
http://pallthayer.dyndns.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] libpd separating gui from core

2014-01-17 Thread Lorenzo Sutton

On 13/01/2014 15:32, Dan Wilcox wrote:

As Hans has proposed for years, IMO this is really the only way to
perhaps solve the PD gui development doesn't move fast enough problem
in the long term. In this case, Miller would have the core (in libpd) 
the pd-vanilla wrapper gui formally separated while everyone else can
then use the same libpd core within other flavors. The DSP core is the
heart and soul and I see no reason to try and change that in any way.


Personally I have mixed feelings about that. On the one hand the strong 
paradigm and attractiveness of Pd has always been the dataflow concept, 
and that is definitely related (and needs) some sort of GUI. Now 
personally I've never been concerned too much about the aesthetics of 
the gui as long as it enables me to make noise and supports me in 
experimenting with it. Nor have I ever really envied the aesthetics of 
other proprietary dataflow platforms which in the end are non-standard, 
non-native anyway..


Indeed I think in an environment like Pd, GUI has actually two aspects: 
dataflow (i.e. 'programming' with Pd) and control. Clearly the 
distinction is never clear-cut.
For control I think the best solution would be to look at using external 
libraries (environments) which can communicate with Pd (gtk, Qt, html5, 
arduino, ...). There is already stuff in place like TCP, OSC, but I'm 
not sure it's the most friendly. Maybe Pd should have the option to 
expose a 'server' by default for easily doing the equivalent of a [send] 
or something like that without need for additional overhead? Isn't this 
even more relevant as people are seriously starting to experiment on 
Raspberry Pi and similar environments?


Just some brainstorming thoughts :)

Lorenzo.

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


Re: [PD] avoid phasing in phasor~ - granulator

2013-12-11 Thread Lorenzo Sutton

On 10/12/2013 17:16, João Pais wrote:

Hello list,

I'm trying to program a granulator with 4 reading heads, controlled by a
[phasor~ 10] and overlapping phases. Unfortunately I get some phasing.


Maybe it would help if you could be a little more specific about what 
you're trying to achieve :)



I reduced it by adding the attached module,


I think there are some typos in the [expr~] ?

Lorenzo.

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


Re: [PD] Multiplying 2 variables

2013-11-28 Thread Lorenzo Sutton

Hi,

On 28/11/2013 10:21, sebaroc...@gmail.com wrote:

Hi everybody, im sorry for this simple question but i guess i'm not
handling it well.
I know that the multiplying object stores two values (left inlet and
right inlet)  and performs the operation when both are stored or when a
bang is sent to the left inlet.


I think you should familiarise with the concept of 'hot' and 'cold' 
inlets (and order of execution) explained the Pd Documentation Ch. 2 [1].


Lorenzo.


[1] http://msp.ucsd.edu/Pd_documentation/x2.htm See in particular 
2.3.3. hot and cold inlets and right to left outlet order



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


Re: [PD] Multiplying 2 variables

2013-11-28 Thread Lorenzo Sutton

Hi.

On 28/11/2013 11:20, michael noble wrote:


On Thu, Nov 28, 2013 at 5:21 PM, sebaroc...@gmail.com
mailto:sebaroc...@gmail.com sebaroc...@gmail.com
mailto:sebaroc...@gmail.com wrote:

I know that the multiplying object stores two values (left inlet and
right inlet)  and performs the operation when both are stored or
when a bang is sent to the left inlet.


Not really. As lorenzo said, PD has strict rules regarding inlets and
order or execution. The [* ] only stores the value of the right inlet.
Any value sent to the left inlet will not be stored,


Actually it is. The difference is that while a value coming in the right 
inlet will *only* be stored, with a value in the left inlet the value 
will be stored, the operation perfomed ( in this case multiplication) 
and the result output through the outlet.
To try this out connect a numberbox and a bang to the left inlet, send a 
value and then send a bang, you see that the last value sent was also 
stored.


Lorenzo.

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


Re: [PD] Mac: 64 bits faster than 32

2013-10-29 Thread Lorenzo Sutton

On 29/10/2013 02:43, Miller Puckette wrote:

Just FYI.

I just heard back from Rand Steiger who tried out a big patch in both the
32 and 64 bit versions of Pd on Macintosh - 64 bits came out substantially
faster.  So if you've got a 64 bit machine, I think you're going to want the
64 bit Pd, unless you have old externs that can't load into it.


Very interesting, thanks for sharing.
Is this something specific to macs or was this just chance? Are there 
any other 'benchmarks' for linux?


Lorenzo.


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


Re: [PD] slide~ (msp) in pd

2013-10-28 Thread Lorenzo Sutton

On 28/10/2013 10:05, peiman khosravi wrote:

Since I'm on a mailing spree: how can I make a pd version of slide~
(MSP), which, according to the msp reference, is a logarithmic lowpass
filter for smoothing envelops. Anything similar will do.


I guess you could re-emplement it with [fexpr~].

Often, though, for smoothing non-singnal control messages (e.g. 
attaching a vslider to a [*~]) a simple [lop~] is more than enough (and 
rather 'economic')...



Lorenzo.

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


Re: [PD] Scaling values in pd

2013-09-03 Thread Lorenzo Sutton

On 03/09/2013 14:06, Mario Mey wrote:

IOhannes, you are right only in these cases:

0 127 0 500
0 300 0 1
...

But, if I need:

50 10 0 500|

(assuming you want to map have 50 mapped to the 'minimum'):
|
[- 10]
|
[t b f]
|   /
[-  ]
|
[* 12.5]
|


3000 -3000 0.5 0.6

[* -1]
|
[+ 3000]
|
[/ 6]
|
[+ 0.5]


...

I will need a linear equation conversion. As I wrote in last mail, I 
was needing something like this, first in ActionScript... then in 
Python... but I never could did it. Now, I needed again in Pd... so, I 
made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for 
clipped values. I made it as neat as I could, to see how it works. 
Using x0-x1 and y0-y1, it uses expr to get a and b at load. Then, 
it only computes aX + b = Y.


I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd.

Also, I have some issues using [autoscale]. I start giving values and 
it outputs only 1. Then, I start to down the input and, then, it shows 
the real output. Maybe it's about this version (0.43.4 Pd-Extended 
64bits).


PD: translated to Python:

|def lin_eq_conv(x, x0, x1, y0, y1):
   a = (y0 - y1) / (x0 - x1)
   b = (a * x0) + y0
   return a * x + b|




El 03/09/13 03:32, IOhannes zmölnig escribió:

On 09/02/2013 06:17 PM, hghoyer wrote:

Hi,

in Max/MSP there is an object for simple scaling.

If you create in MAX these object with this arguments:

[scale 0 127 0 500] incomming messages from 0 to 127 are automatically
scaled from 0 to 500...

honestly i'm of the firm conviction that you should learn how scaling
works: it really is only a matter of adding, multiplying, dividing,
subtracting - stuff you should heave learned in primary school.

as frank pointed out, this should do for you:

|
[/ 127]
|
[* 500]
|

if you find it too tedious to do the maths over and over again, you
might want to create an abstraction.


being able to solve trivial problems like this will surely empower you
to solve more complex problems :-)

gamsdr
IOhannes





___
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] Reading txt file inside folder

2013-08-28 Thread Lorenzo Sutton

On 28/08/2013 02:17, Ronni Montoya wrote:

Hi , i have a folder with my pd patch and another folder that stores
txt files ( my data).

How can i read my txt files from that folder using relative path?
I need to be able to change the location of my folder and not having
the necessity of rewriting the path.



any idea?

Assuming you're using [textfile], something like this should work

[read ../path_to_file/file.txt(
|
[textfile]

Lorenzo.

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


Re: [PD] store value of any type

2013-07-04 Thread Lorenzo Sutton

Hi,

On 04/07/13 21:50, yvan volochine wrote:

hi all,

I'd like to store a value


Does that mean only within the scope of your session (then [list] 
should do..), or even through patch opening/closing?
In this second case some message manipulation trickery with [set( and 
[add2( could work depending on your scenario...


Lorenzo.

which can be of any type but I don't remember

if that's even possible.. something like [value foo] but that would work
for integer, list, or anything else like for [foo bar 123(

is there a vanilla object for that?

cheers,
y




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


Re: [PD] pd-0.45 + jack == weirdness

2013-06-25 Thread Lorenzo Sutton

On 24/06/2013 18:58, Miller Puckette wrote:

Thanks... I'm toying with a middle solution, which would be simply to open
jack with the JackNoStartServer option (one of JackOpenOptions).
I think this is a good idea anyway as the user might want to specify
jack options and it seems wrong to have Pd get involved in that.


I liked it when (v 0.42?) Pd would use jack if it found a jack server 
running and just alsa otherwise...


Lorenzo


cheers
Miller


On Mon, Jun 24, 2013 at 11:33:47AM +0200, Ivica Bukvic wrote:

Miller,

I think I solved the hang part in pd-l2ork implementation that is based on
the older model that allows disconnection and reconnection practically
under any circumstances. The only downside is if you yank the USB soundcard
while jack is running pd waits on jack to report that it lost the soundcard
and stops which can take up to 20 seconds. In other words in this case it's
jack that is hanging and consequently making pd hang as well but only
temporarily.

HTH
On Jun 24, 2013 5:14 AM, yvan volochine yvan...@gmail.com wrote:


hi Miller,

  Are you using 0.44?  (I don't think 0.45 exists yet :)
yeah sorry, 0.44 (pd-0.45-0-test)

  The only relevant thing I can find in recent commits is a change from

jack_client_new() to jack_client_open() back in 2010.

With apologies, here is the commit I found...

commit 1022e5687bb5785904ba1b1977a9a2**9c9b6b25dc


[SNIP]


Is it possible this bug has been there for the last three years? (i.e.
0.43 and 0.44 would have this problem)?


I just built 0.43-1 and yes the problem is there as well (weird that I
never tried to open pd without jack before..).

I couldn't build any older pd version (I guess I have a too recent tcl
somehow) so I cannot test with 0.42 (or with the commit before the one you
mentioned)

let me know if I should submit an issue..

ciao,
y

--
http://yvanvolochine.com
http://soundcloud.com/**yvanvolochinehttp://soundcloud.com/yvanvolochine
http://soundcloud.com/**elgusanorojo http://soundcloud.com/elgusanorojo
http://vimeo.com/yv

__**_
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - http://lists.puredata.info/**
listinfo/pd-list 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] linux best for pd? / best linux for Pd? / On a Mac?

2013-05-30 Thread Lorenzo Sutton

On 30/05/13 22:43, Alexandre Torres Porres wrote:

Hi there, correct me if I'm wrong, but it seems Pd runs smoother in
Linux than in any other OS, is that right?

Perhaps some of you have run benchmarks for it with the same machine and
diferente Operational Systems. I was curious to try myself.


Can't comment extensively on that. I use Pd on Linux, used it on windows 
and once on OSX.


One very big advantage on Linux is the possibility to run Pd with 
hassle-free jack, in turn easy multichannel.
Not only - jack means you can directly record into a DAW (e.g. Ardour), 
again with multiple 'virtual' channels if you want.


Now, is there a best linux for Pd? Maybe one that allows you to tweak
in a little more to have insanely low latencies?

Yeah, the whole point and interest is to try and reach an absurdly
optimized latency and CPU load.


Not sure about insane values, but I'm happy with debian now. Although I 
do very little live stuff these days. I think Pd-extended development is 
mostly done on debian, but I may be wrong on that.




Now that I got myself a Raspberry Pi (my first linux) I wanna enjoy the
opportunity/motivation to broaden my linux usage to my regular laptops.

I use macs by the way. Don't know if that is an issue. Like being next
to an impossible task to install a nice hardcore (the best one) linux
distribution in it.

I've seen that recently Linux has been able to work (poorly at least)
with Thunderbolt. I have an RME Multiface that seems to works well on
linux. Since newer macbooks lost the PCI slot, all that I'm missing is
that my thunderbolt to PCI slot  adapter works in Linux. That'd be cool,
to run it on my macbook air, on linux... but I digress.


Can't comment on those.

Lorenzo.

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


Re: [PD] vanilla replacement for polygate~ ?

2013-03-24 Thread Lorenzo Sutton

On 22/03/13 22:35, Jonathan Wilkes wrote:


From: Patrick Pagano bigsw...@ufl.edu
To: pd-list@iem.at
Sent: Friday, March 22, 2013 3:57 PM
Subject: [PD] vanilla replacement for polygate~ ?


Hello

I was wondering if anyone had an idea for a Vanilla replacement for

 polygate~, which is listed as a switch between multiple signal
 inputs. I would like to make a patch for IPAD/MOBmuPLat that has
 this in the patch but i am wondering what a good vanilla substitute
 might be for it?


You can't.  Or-- you can, but it will be a cheap imitation that either
a) always has some maximum number of inlets, or b) uses nonlocal
receive names to make up for the fact that you cannot dynamically
instantiate inlets inside an abstraction because the [loadbang]


It would be relatively easy instead if one could dynamically set the 
name for [send~] (like for [receive~]) in vanilla.


Lorenzo.


inside will only fire after the connections in the parent patch have
finished.  (I.e., you'll get broken connections if you save the patch
and open it again.)


You need [initbang] to create the [inlet]s before the parent tries to
make the connections.  The [initbang] object is in Pd-extended and
Pd-l2ork, but not Pd-Vanilla.  There is no process or plan to get it in to
Pd-Vanilla, so if you are bound to using Pd Vanilla only you are
quite simply stuck.


-Jonathan





polygate~ switch between multiple signal inputs
variable fade rate both linear  equal power


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

2013-02-06 Thread Lorenzo Sutton

On 04/02/13 15:48, Hans-Christoph Steiner wrote:

might also be packaged for Debian/Ubuntu as part of Pure Dyne.
FYI... 
http://puredyne-list-now-closed.466513.n3.nabble.com/puredyne-announcement-from-the-Puredyne-developers-td3717873.html


Lorenzo.


.hc

On 02/04/2013 08:02 AM, Pagano, Patrick wrote:

how is this possible using linux?
I have kept my 42.5 for OSX
pp


From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] on behalf of 
Hans-Christoph Steiner [h...@at.or.at]
Sent: Sunday, February 03, 2013 11:02 PM
To: pd-list@iem.at
Subject: Re: [PD] pidip

You can take the 'pidip' folder out of Pd-extended 0.42.5 and install it like
any library, and it'll work.

Otherwise, I suggest you have a private conversation with Yves.

.hc

On 02/03/2013 09:10 PM, Pagano, Patrick wrote:

i notice that pidip is not in the new pdextended
is there a way we can reconcile this without huge tantrums and bullshit?

pp
___
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] Solution for deleting files via pd?

2013-01-28 Thread Lorenzo Sutton

Hi.

Just a small addition to the various answers

On 27/01/13 22:25, Sebastian Valenzuela wrote:

Hi list,

My Pd patch creates and saves new audio files to a designated folder 
on my desktop. I would like to have Pd delete these files every time I 
open my patch ([loadbang]).


I've heard the [shell] object is a possibility, but i'm not too keen 
on terminal commands or how they will pertain to [shell]...
It would be helpful if you specified on with Operating System you are, 
because [shell] is heavily OS dependent (I'm guessing Windows, but I may 
be wrong)


Can anyone please give me an example of a command I would send to 
[shell] to delete all files within a specified folder on my desktop? 
If this isn't the best way to do it, is there another possibility 
through Pd?
A different strategy might also be to actually *not* delete files from 
within Pd, but outside, befor or after you close your patch. This is 
easily accoplished e.g. by a script.


Also a suggestion would be to give the temporary files very eloquent 
names such as 'TEMP_FILE_TO_DELETE_0001.wav' etc. and (whichever way you 
decide to do it) delete specifically *those* files instead of e.g. the 
whole directory, so e.g. instead of:


rm -f ./dir_to_delete/*

something like

rm -f ./dir_to_delete/TEMP_FILE_TO_DELETE_*.wav'

In my humble opinion it makes it more obvious what you want to delete, 
and (hopefully) less error/disaster prone (ok.. I've been bit by 
accidentally deleting files with no back up)


Lorenzo.


Thank you for your time,
Sebastian



___
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 -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-23 Thread Lorenzo Sutton

On 22/01/13 17:06, Charles Goyard wrote:

Hi,

Lorenzo Sutton wrote:

In python use sockets... in Pd use [netreceive] - I'm sure there's
loads of good examples out there and I'm working on some pygtk for a
project (but it's still very very early). Menwhile this is a very
minimal python - Pd example

it seems your example is missing the newline (;\n). iirc I've had a few
pd lockups when sending lots of messages from Processing without the
newline.
Good to know, and easy to add to the script. And of course you wouldn't 
really be hard-coding stuff like that.

Just for curiosity, how many is 'lots'?.

Lorenzo.


Cheers,
Charles

___
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 -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-23 Thread Lorenzo Sutton


On 23/01/13 10:28, IOhannes m zmoelnig wrote:

On 2013-01-23 10:22, Lorenzo Sutton wrote:

it seems your example is missing the newline (;\n). iirc I've had
a few pd lockups when sending lots of messages from Processing
without the newline.

Good to know, and easy to add to the script. And of course you
wouldn't really be hard-coding stuff like that. Just for curiosity,
how many is 'lots'?.
Actually... I'm not sure the \n is really so relevant for *sending* to 
Pd, as if I understand correctly the ; is...

[netsend] will only emit the message once it receives the terminator.
so it has to buffer all the data, till it encounters the terminator.
and since the term never comes, it will eventually get out of memory.
(and long before that it will start to choke, but *when* is really
depending on your system)


Ok.. but in the example there is no [netsend]... there is [netreceive] 
and Python is doing the sending through sockets.


The attached seem to work fine sending the 1 messages (ready for a 
[tabwrite]) down until 0.08s (80 ms) interval, even with dsp turned on.
As soon as the INTERVAL goes below 0.08s (see python script) Pd starts 
to choke badly on my system. Again adding an \n doesn't seem to be 
relevant.


Lorenzo.
#N canvas 639 306 545 359 10;
#X floatatom 386 42 5 0 0 0 - - -;
#X obj 386 62 sel 0;
#X obj 413 86 print CONNECTION(S);
#X msg 386 106 DISCONNECTED;
#X obj 386 125 print --;
#X text 429 41 # of connections;
#X text 44 256 See http://en.wikipedia.org/wiki/FUDI for info about
the message format as well as the [netreceive] help;
#X obj 39 4 netreceive 54321;
#X obj 380 210 table array1 1;
#X msg 69 152 stop;
#X obj 47 220 dac~;
#X msg 209 195 \; pd dsp \$1;
#X obj 210 160 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 47 188 tabplay~ array1;
#X msg 49 129 bang;
#X obj 40 66 print CLIENT;
#X obj 284 99 timer;
#X floatatom 284 130 10 0 0 0 - - -;
#X obj 40 27 route python begin end;
#X obj 169 83 tabwrite array1;
#X msg 284 74 bang;
#X msg 327 74 bang;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 1 1 2 0;
#X connect 3 0 4 0;
#X connect 7 0 18 0;
#X connect 7 1 0 0;
#X connect 9 0 13 0;
#X connect 12 0 11 0;
#X connect 13 0 10 0;
#X connect 13 0 10 1;
#X connect 13 1 14 0;
#X connect 14 0 13 0;
#X connect 16 0 17 0;
#X connect 18 0 15 0;
#X connect 18 1 20 0;
#X connect 18 2 21 0;
#X connect 18 3 19 0;
#X connect 20 0 16 0;
#X connect 21 0 16 1;
#!/usr/bin/env python

Simple example of sending a counter via TCP to Pure Data on localhost. In PD the
[netreceive] object must use the same port specified by TCP_PORT. Python sockets
part based on Python tcp documentation.

import socket
import time
import sys
import random

# TCP stuff
TCP_IP = '127.0.0.1'
TCP_PORT = 54321
BUFFER_SIZE = 1024
INTERVAL_STEP = 0.001
INTERVAL_MAX = 0.12
INTERVAL_MIN = 0.01
CHOKE_POINT = 0.08
INTERVAL = INTERVAL_MAX # secondsA

# Try to open the connection to PD
print (Opening connection on port %d) % (TCP_PORT)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print (Connencting...)
try:
s.connect((TCP_IP, TCP_PORT))
print Connected. Press CTRL + C to exit.
s.send(python Hello from the python client)
except socket.error as err:
# Exit on error
print Could not connect. Aborting.\nError: %s % (err)
sys.exit(1)

while True:
try:
# We send a 'begin' and 'end' which we route in Pd
print sending...
s.send(begin;)
for x in range(0,1):
# Format messages ready for [tabwrite]: [value index(
s.send( (%f %d;) % (random.random(), x))
time.sleep (INTERVAL)
INTERVAL = INTERVAL - INTERVAL_STEP
print(Interval is now %f % (INTERVAL))
s.send(end;)
if INTERVAL  CHOKE_POINT:
print('Pd is probably @ \033[91mCHOKING\033[0m  now ...')
else:
print('Pd is porbaly ok and !! \033[92mRESPONSIVE\033[0m ! now...')
if (INTERVAL  INTERVAL_MIN) or (INTERVAL = INTERVAL_MAX):
INTERVAL_STEP = INTERVAL_STEP * -1
print '\033[96m Inverting interval step... \033[0m'
s.send(end;)
except KeyboardInterrupt:
# Press CTRL + C to stop.
s.send(python Bye from python;)
time.sleep(0.2)
print Closing connection
s.close()
break
try:
s.close()
except:
pass

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


Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-23 Thread Lorenzo Sutton

On 23/01/13 12:50, IOhannes m zmoelnig wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-01-23 12:45, Lorenzo Sutton wrote:

On 23/01/13 10:28, IOhannes m zmoelnig wrote:

On 2013-01-23 10:22, Lorenzo Sutton wrote:

it seems your example is missing the newline (;\n). iirc I've
had a few pd lockups when sending lots of messages from
Processing without the newline.

Good to know, and easy to add to the script. And of course you
wouldn't really be hard-coding stuff like that. Just for
curiosity, how many is 'lots'?.

Actually... I'm not sure the \n is really so relevant for
*sending* to Pd, as if I understand correctly the ; is...

[netsend] will only emit the message once it receives the
terminator. so it has to buffer all the data, till it encounters
the terminator. and since the term never comes, it will
eventually get out of memory. (and long before that it will start
to choke, but *when* is really depending on your system)

Ok.. but in the example there is no [netsend]... there is
[netreceive] and Python is doing the sending through sockets.

that was a typo on my side, i meant to write [netreceive].

([netsend]  doesn't need to wait for a terminating semicolon/newline,
since it gets pre-parsed Pd-messages any how; only [netreceive] has to
translate byte-streams into Pd-messages, and it does so by splitting
the streams at ;\n)


Ok... but sending this from python works as expected (i.e. each message 
is separated at the ';'):


s.send(hello 1;world 2;foo 3;bas\n4;bat 5;)

Lorenzo.




fgamsdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlD/zoAACgkQkX2Xpv6ydvRuyACfQOwzcISnF9p1KDgYZFOms6Dc
tlAAn0VziNfZBSJvNztjBWFuCvhVTUNf
=DoSy
-END PGP SIGNATURE-

___
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] GUI toolkits and custom GUIs WAS: Integra Live 1.5 released

2013-01-22 Thread Lorenzo Sutton

On 22/01/13 09:15, IOhannes m zmoelnig wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-01-21 23:35, Martin Peach wrote:

Wouldn't it be a good idea to settle on a graphics metalanguage
rather than translating tcl code to qt or whatever?


that's exactly my point: creating a FUDI-style communication from
pd-gui, which can easily be parsed by any GUI-client you wish to use.

This makes sense.


something like:

obj id x y name args

which will correctly render an object (whether it has rounded corners
or shadows)
Basicallu, isn't that already covered in the patch save format (maybe 
not the id explicitly..)?

Lorenzo.

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


Re: [PD] GUI toolkits and custom GUIs WAS: Integra Live 1.5 released

2013-01-21 Thread Lorenzo Sutton

On 19/01/13 20:20, Hans-Christoph Steiner wrote:

On 01/19/2013 01:56 PM, IOhannes m zmölnig wrote:

On 01/18/2013 22:31, Hans-Christoph Steiner wrote:

I would love it if someone started this since it would greatly help with the
goal of splitting the GUI from Pd itself.  And of course I'd help where I can.

i keep starting that project every now and then: moving all the drawing code
to pd-gui and only use FUDI (that is: not tcl code) to communicate between
pd-gui.

unfortunately i always get distracted after a short time and i never get to a
really working prototype.

gmsdr
IOhannes

It can be done incrementally, which is likely the only way its going to get
done.  It turns out that FUDI and tcl proc calls are very similar: space
separated list of elements where the first one is the functionality.

If the basics were done first, like object drawing, then someone could build a
rough GUI with another toolkit to test out.
When you say 'FUDI' what exctly do you mean... what I mean is for me 
FUDI is actually [netsend] and/or [netreceive] interacting with 
'something else'... would this be something more clever? Is it still 
relying on sockets (have no strong feeling about that nor pro nor con 
just to have a clearer picture)


Would it make sense within this to think of some kind of 'patching' 
conventions, for example the fact that parameters are always 
set/modified by messages (and thus easily routable)? maybe some sort of 
'namespacing' lingo e.g. mypatch.freq mypatch.amplitude etc...


Or even some sort of semantics related to the GUI... 
mypatch.hslider.freq .. but this is probably going to far.


As you can see this topic is very thought provoking over here :)

Lorenzo.

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


Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Lorenzo Sutton

On 21/01/13 18:52, Pierre Massat wrote:

Assuming that i can find a description of this protocol, how would I use
it to communicate between Pd and Python ? I guess this more a question
to ask in a Python forum, but still, i'd love to have at least some hints...


In python use sockets... in Pd use [netreceive] - I'm sure there's loads 
of good examples out there and I'm working on some pygtk for a project 
(but it's still very very early). Menwhile this is a very minimal python 
- Pd example


Lorenzo.





Cheers,

Pierre.

2013/1/21 Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com

- Original Message -
  From: Hans-Christoph Steiner h...@at.or.at mailto:h...@at.or.at
  To: pd-list@iem.at mailto:pd-list@iem.at
  Cc:
  Sent: Monday, January 21, 2013 11:17 AM
  Subject: Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !
 
 
  FUDI is not just netsend/netreceive, its all Pd messages,
including what
  pd-gui sends to pd.  Its basically space-separated data
terminated with a
  semi-colon and a newline i.e. ;\n

Someone should add the description of the FUDI protocol to
the man pages for pdsend/pdreceive, since its not a standard
protocol and is slightly different from the messages people
are used to sending from within the gui (i.e., without a terminating
semicolon).

-Jonathan

 
  .hc
 
  On 01/21/2013 09:42 AM, Pierre Massat wrote:
  Dear List,
 
  I've been working a lot with Python and Pd lately, and i would
like to
  have
  better means of communication between the two.
  I know next to nothing about inter-process communication, I know
nothing
  about FUDI (except that it's the protocol used by pdsend and
  pdreceive),
  and I have no idea what pdreceive was originally designed for. I've
  only
  used the subprocess (formerly popen) module in python, but i
don't know
  how
  to use it with streams of messages coming from the standard
output of a
  running process.
  I don't want to use libpd for now because i only need to send and
  receive
  simple messages between Python and Pd.
 
  Can someone please provide a few hints ?
 
  Cheers!
 
  Pierre.
 
 
 
  ___
  Pd-list@iem.at mailto:Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
 
 
  ___
  Pd-list@iem.at mailto:Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
 


___
Pd-list@iem.at mailto: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



#N canvas 635 330 439 281 10;
#X floatatom 215 70 5 0 0 0 - - -;
#X obj 215 90 sel 0;
#X obj 242 114 print CONNECTION(S);
#X msg 215 134 DISCONNECTED;
#X obj 215 153 print --;
#X floatatom 54 94 5 0 0 0 - - -;
#X obj 40 147 print raw_tcp;
#X text 258 69 # of connections;
#X obj 54 70 route count foo;
#X floatatom 97 94 5 0 0 0 - - -;
#X text 38 183 Print the incoming tcp in the message window;
#X text 40 201 See http://en.wikipedia.org/wiki/FUDI for info about
the message format as well as the [netreceive] help;
#X obj 40 40 netreceive 54321;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 1 1 2 0;
#X connect 3 0 4 0;
#X connect 8 0 5 0;
#X connect 8 1 9 0;
#X connect 12 0 6 0;
#X connect 12 0 8 0;
#X connect 12 1 0 0;
#!/usr/bin/env python

Simple example of sending a counter via TCP to Pure Data on localhost. In PD the
[netreceive] object must use the same port specified by TCP_PORT. Python sockets
part based on Python tcp documentation.

import socket
import time
import sys

# TCP stuff
TCP_IP = '127.0.0.1'
TCP_PORT = 54321
BUFFER_SIZE = 1024
# A counter
counter = 0

# Try to open the connection to PD
print (Opening connection on port %d) % (TCP_PORT)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print (Connencting...)
try:
s.connect((TCP_IP, TCP_PORT))
print Connected. Press CTRL + C to exit.
except socket.error as err:
# Exit on error
print Could not connect. Aborting.\nError: %s % (err)
sys.exit(1)

# A dictionary for possibly multiple messages
messages = {}
s.send (Hello from Python!;)

while True:
try:
messages['count'] = counter
messages['foo'] = counter * 2
for k in messages.keys():
# Here the semicolon (;) is important!! See http://en.wikipedia.org/wiki/FUDI
message_string = (%s %d;) % (k, messages[k])
print Sending %s % (message_string

Re: [PD] [announce] Integra Live 1.5 released

2013-01-18 Thread Lorenzo Sutton

On 18/01/13 20:40, Leandro da Mota Damasceno wrote:

So if we wanted to improve the GUI we would have to drop tcl/tk all
together or make it messy and heavy?


Or simply have Pd as the engine and devise funkier GUI stuff outside 
which can communicate with Pd, so that one concentrate on the dataflow 
(once I said dsp and got slapped by Mathieu :) in Pd and on making a 
beutiful gui somewhere else...


Gripd was a good example of the concept I thik:
http://crca.ucsd.edu/~jsarlo/gripd/

I feel more and more this idea of the separation of content and 
presentation/interface as I had (sic) to use max since ages I was 
avoiding it, and I find the complete mixture of 'guiness' and curviness 
makes me dizzy and disctracts me all the time, for example I often whant 
to grab patch chords to delete them and some silly pop-up will come out. 
It looks like the content + presentation mixture we have with HTML and 
still slowly trying to recover


Of course on the GUI side, I'm not sure there a library out there to 
support Pd out of the box, that is sliders aren't enough...Maybe JUCE - 
http://www.rawmaterialsoftware.com/juce.php


Lorenzo.





On Fri, Jan 18, 2013 at 5:26 PM, Jonathan Wilkes jancs...@yahoo.com
mailto:jancs...@yahoo.com wrote:

 

  From: Leandro da Mota Damasceno lem...@gmail.com
mailto:lem...@gmail.com
 To: Pierre-Olivier Boulant po.boul...@free.fr
mailto:po.boul...@free.fr
 Cc: pd-list pd-list@iem.at mailto:pd-list@iem.at
 Sent: Friday, January 18, 2013 12:33 PM
 Subject: Re: [PD] [announce] Integra Live 1.5 released
 
 
 The GUI is beautiful! That's Apache Flex? I don't think we can
maket tcl/tk look like that on PD, can we?


It's not that you can't do that in tk, it's just that tk will get in
the way of you doing that at nearly
every turn.  For example, here's the code you'd need to draw a
gradient on a canvas:

http://wiki.tcl.tk/6100

Buttons would have to be gifs or bitmaps created in some other
program (or on the fly with some
hacky code similar to the gradient stuff), unless you use tcl/tk 8.6
in which case you could use
pngs.  You might be able to use the half-implemented tk theming
engine to get a scrollbar that
looks like the one in Integra, but you'd probably end up using pngs
or something for the items in
the Module Library, or else pull your hair out trying to figure out
how to get the theme to look
like that on all platforms when all platforms do _not_ have the same
building blocks for their
widgets.  For Pd'ers who like the stripped down, 1990s look it is
serendipitous, because that is
all they can get without someone doing an inordinate amount of work
to make it
look any other way.  (Just find a gui made with tk that looks
anything like Integra.)

But I do have a question about:


http://www.integralive.org/

Specifically, the png accompanying Turnkey Audio Processing--
specifically the outputs
of GranularDelay1 going to the inputs of StereoReverb1.  Look
quickly then answer the
question:
Does out1 connect to in1 or in2?

I'm not against bezier curves, but the GUI engine must handle them
with care or they'll cause
unnecessary problems.


Bezier curves make it more difficult for the user to anticipate
ambiguous overlaps with cords.
The user makes connections which are obvious in his/her mind as well
as obvious when they do
the physical work with the mouse of connecting each outlet to each
inlet.  (Btw, the user's
mouse makes a trip between outlet and inlet that is a straight line,
so the physical action
no longer correlates with the drawn representation.)  Then the mind
tricks
him/her into thinking that the GUI diagram must be as clear as the
mental diagram because
all the steps leading up to the final result were clear.  (This is
still a problem in Pd, but slightly less
so because the user is more likely to guess correctly what a
straight line between a and b looks
like, and they can consequently anticipate ambiguous overlaps and
attempt to avoid them before
making them.)  Then the user goes and teaches a class, or runs an
errand, and comes back to the patch
but the mental picture is now gone.  So he/she recreates the mental
image from the GUI image,
which is ambiguous, which requires either more work to remember the
real connection or
actually manipulating the GUI cord with the mouse to see what really
connects to what.  Requiring
either type of work breaks with the philosophy of being able to
deduce what the patch does simply
by looking at it.  (Btw, I'm still not sure whether your cords
overlap or not.)


So cords should try to repel each other in such a situation, or at
least color themselves differently
when they do in fact

[PD] Pd and websockets

2013-01-17 Thread Lorenzo Sutton

Hi all,

Is/Has anyone (thought of) experimenting with websockets [1] straight to 
Pd (that is _without_ intermediate layers... let's say Pd as the 'server').
What would that require? A specific object (external) capable of dealing 
with websockets I guess?


Lorenzo.

[1] https://en.wikipedia.org/wiki/Websockets

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


Re: [PD] mastering to vinyl live w/ pd

2012-12-19 Thread Lorenzo Sutton



On 19/12/12 03:10, me.grimm wrote:

does anyone know much about mastering? i dont.

anyway i have this record recorder/cutter/lathe and was thinking of
doing something like this:

http://www.youtube.com/watch?v=TDnpXVUKXM0


Very interesting--- thanks for sharing, I couldn't resist noting (and 
continuously concentrating) on the ground loop (maybe empathised by the 
woofer..) I'm not totally sure that was intended though ..


which is funny because i have a similar recorder. although i was
thinking just cutting in real-time straight from PD. but to get the best
sound maybe i could run it through some kind of mastering patch. has
anyone made such a thing or know best to do in terms of getting decent
masters right from PD? I would think something like:


Emulating it as well? I know you lose all the materic thing, but it 
could be fun.


The voice as heard in the video has something fascinating, it would be 
interesting to find out what modern digital audio compressions (data 
such as mp3, ogg etc. can create similar suggetions...)


Lorenzo.


[equilizer~] - but what one? [adaptive/nlms3~]? adaptive_equilization
example which im not sure i would know how to use for this
|
[unauthorized/compressor~] - although there is prob a good vanilla one no?
|
[expander~] ???
|
[exciter~]
|
[zexy/limiter~]
|
[hip~ 40]
|
[lop~ 16000]
|
[dac~]


but i might just make a mess with this

m


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

2012-12-12 Thread Lorenzo Sutton

Thanks for the videos.

What for me would be *really* nice to have in pd-vanilla or at least in 
pd-extended as well (in order of preference):


- infinite undo
- (standardized) presets
- iemgui anchors
- gop anchor

The 'issue' of re-thinking the gui and its impact on audio in my humble 
opinion remains.


Lorenzo.

PS: totally unrelated: my screencasting with jack capabilities on debian 
are basically all broken, (gtk)recordmydesktop with jack is broken since 
the beginning of time, avconv (once ffmpeg) is not working since a 
while. what did you use for the screencasts?


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


Re: [PD] [PD-announce] Pd group in Athens

2012-12-12 Thread Lorenzo Sutton

On 12/12/12 08:09, Alexandros Drymonitis wrote:

Hi list,
I'd like to call people who reside in Athens and use Pd of course to
form a group so we can make regular meetups and all.
I'm willing to organize things (arrange dates and places for the
meetups, invite people, suggest discussion/presentation subjects etc.).
It would be nice if Athenian Pders get active as a community, we could
all benefit from it.


Alexandros,
I wish you all the best luck!!

I'd love to have something like that over here, but it seems everyone 
uses using max/msp (on a mac) here in Italy, at least in Rome. :/


Sorry for hijacking the thread :)

Lorenzo

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


Re: [PD] Changing the color of a trigger after clicking...?

2012-12-12 Thread Lorenzo Sutton

On 13/12/12 05:27, Sebastian Valenzuela wrote:

Hi again,

I've seen this in code before but I can't seem to find it! I have on/off
buttons that I'd like to be RED when they're off, and GREEN when they're
on. Does this require making a button disappear  Does anyone have
experience with this?


Attached.
Feel free to modify/adapt/hack :)

Lorenzo.
#N canvas 416 314 266 347 10;
#X obj 60 98 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X floatatom 19 97 5 0 0 0 - - -;
#X obj 60 47 onoff;
#X obj 19 268 onoff;
#X floatatom 19 292 5 0 0 0 - - -;
#X text 16 151 you can set the on/off \; colours by sending a message
;
#X obj 87 98 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X obj 114 98 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 133 98 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 114 71 sel 0 1;
#X text 136 239 - default;
#X msg 40 240 on 16 \, off 13;
#X text 104 184 psychedelic;
#X msg 20 184 on 15 \, off 19;
#X text 120 208 pastel;
#X msg 33 211 on 6 \, off 3;
#X text 17 6 onoff: solid colour toggle GUI;
#N canvas 237 189 437 399 more 0;
#X obj 183 147 hsl 130 10 1 10 0 0 empty empty empty -2 -8 0 10 -204800
-1 -1 1433 1;
#X obj 270 157 onoff;
#X obj 180 157 onoff;
#X obj 195 157 onoff;
#X obj 210 157 onoff;
#X obj 225 157 onoff;
#X obj 240 157 onoff;
#X obj 255 157 onoff;
#X obj 12 155 sel 1 2 3 4 5 6 7 8 9;
#X obj 104 186 f;
#X obj 131 186 f;
#X obj 162 186 f;
#X obj 189 186 f;
#X obj 219 186 f;
#X obj 246 186 f;
#X obj 277 186 f;
#X obj 304 186 f;
#X obj 334 186 f;
#X obj 191 229 sel 1;
#X obj 149 340 *~;
#X obj 147 365 dac~;
#X msg 268 363 \; pd dsp \$1;
#X obj 268 339 onoff;
#X floatatom 12 113 5 0 0 0 - - -;
#X obj 12 49 f;
#X obj 12 69 mod 9;
#X obj 43 49 + 1;
#X obj 12 90 + 1;
#X obj 12 5 onoff 1 17;
#X obj 191 289 vline~;
#X obj 72 312 osc~ 150;
#X obj 244 83 loadbang;
#X msg 244 105 1;
#X obj 72 290 vline~;
#X obj 12 26 metro 200;
#X text 30 3 on/off;
#X msg 191 261 0.8 15 0 \, 0 80 15;
#X text 219 25 9 steps pattern;
#X obj 285 157 onoff;
#X obj 300 157 onoff;
#X msg 73 261 300 0 0 \, 20 80 0;
#X text 287 340 - turn dsp on/off!;
#X connect 1 0 15 1;
#X connect 2 0 9 1;
#X connect 3 0 10 1;
#X connect 4 0 11 1;
#X connect 5 0 12 1;
#X connect 6 0 13 1;
#X connect 7 0 14 1;
#X connect 8 0 9 0;
#X connect 8 1 10 0;
#X connect 8 2 11 0;
#X connect 8 3 12 0;
#X connect 8 4 13 0;
#X connect 8 5 14 0;
#X connect 8 6 15 0;
#X connect 8 7 16 0;
#X connect 8 8 17 0;
#X connect 9 0 18 0;
#X connect 10 0 18 0;
#X connect 11 0 18 0;
#X connect 12 0 18 0;
#X connect 13 0 18 0;
#X connect 14 0 18 0;
#X connect 15 0 18 0;
#X connect 16 0 18 0;
#X connect 17 0 18 0;
#X connect 18 0 36 0;
#X connect 18 0 40 0;
#X connect 19 0 20 0;
#X connect 19 0 20 1;
#X connect 22 0 21 0;
#X connect 23 0 8 0;
#X connect 23 0 0 0;
#X connect 24 0 25 0;
#X connect 24 0 26 0;
#X connect 25 0 27 0;
#X connect 26 0 24 1;
#X connect 27 0 23 0;
#X connect 28 0 34 0;
#X connect 29 0 19 1;
#X connect 30 0 19 0;
#X connect 31 0 32 0;
#X connect 32 0 2 0;
#X connect 32 0 6 0;
#X connect 32 0 38 0;
#X connect 33 0 30 0;
#X connect 34 0 24 0;
#X connect 36 0 29 0;
#X connect 38 0 16 1;
#X connect 39 0 17 1;
#X connect 40 0 33 0;
#X restore 198 43 pd more;
#X text 121 294 Lorenzo Sutton 2009;
#X text 103 312 lorenzofsut...@gmail.com;
#X connect 2 0 1 0;
#X connect 2 0 0 0;
#X connect 2 0 6 0;
#X connect 2 0 9 0;
#X connect 3 0 4 0;
#X connect 9 0 7 0;
#X connect 9 1 8 0;
#X connect 11 0 3 0;
#X connect 13 0 3 0;
#X connect 15 0 3 0;
#N canvas 469 216 474 335 10;
#X obj -119 147 tgl 15 0 empty empty empty 17 7 0 10 -24198 -24198
-262144 1 1;
#X msg -19 255 color \$1 \$1 $;
#X obj -19 198 sel 0 1;
#X obj -19 228 f 13;
#X obj 15 228 f 16;
#X obj 158 20 loadbang;
#X obj 158 84 f \$1;
#X obj 212 84 f \$2;
#X obj 158 150 != 0;
#X obj 212 150 != 0;
#X obj 125 174 spigot;
#X obj 179 174 spigot;
#X msg 250 58 0;
#X obj -73 -11 inlet;
#X obj -119 286 outlet;
#X obj -73 20 route off on;
#X obj -19 176 f;
#X obj -75 47 t b f;
#X obj -33 47 t b f;
#X obj -19 279 s \$0-toggle;
#X obj -119 123 r \$0-toggle;
#X obj 13 47 s \$0-toggle;
#X text 7 13 send messages for \; on/off colours;
#X obj 250 83 s \$0-toggle;
#X connect 0 0 14 0;
#X connect 0 0 16 0;
#X connect 1 0 19 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
#X connect 3 0 1 0;
#X connect 4 0 1 0;
#X connect 5 0 6 0;
#X connect 5 0 7 0;
#X connect 5 0 12 0;
#X connect 6 0 8 0;
#X connect 6 0 10 0;
#X connect 7 0 9 0;
#X connect 7 0 11 0;
#X connect 8 0 10 1;
#X connect 9 0 11 1;
#X connect 10 0 3 1;
#X connect 11 0 4 1;
#X connect 12 0 23 0;
#X connect 13 0 15 0;
#X connect 15 0 17 0;
#X connect 15 1 18 0;
#X connect 15 2 21 0;
#X connect 16 0 2 0;
#X connect 17 0 16 0;
#X connect 17 1 6 0;
#X connect 18 0 16 0;
#X connect 18 1 7 0;
#X connect 20 0 0 0;
#X coords 0 -1 1 1 15 15 2 -119 147;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info

Re: [PD] How to increase audio latency on linux?

2012-12-10 Thread Lorenzo Sutton

On 09/12/12 11:12, Roman Haefeli wrote:
[...]

If my intent to have an as huge as possible latency in order to decrease
likeliness of drop-outs, it is still advised to use a low latency kernel
and run Pd/Jackd with realtime priorities? Or would I be better off then
with standard settings?
You probably already know/do this.. but there are a couple of factors 
which can create dropouts/clicks which seem independent from 
bleeding-edge-realtime etc. settings:

- CPU: be sure to set it to performance and *not* on demand
- Lots of (Pd) gui objects (e.g. sliders, numberboxs) manipulation/updates.

Lorenzo.

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


Re: [PD] Max's [rate~] implementation...

2012-12-07 Thread Lorenzo Sutton

On 06/12/12 14:57, Alexandros Drymonitis wrote:

copy this patch http://www.youtube.com/watch?v=6P4Ezz9aWa8feature=plcp

If I may suggest... I would try to observe and _listen_ to what the 
patch produces, and then try to re-produce it not necessarily making an 
exact copy, but your own personalised version which you think sounds 
great :)


Ciao,
Lorenzo.


On Thu, Dec 6, 2012 at 3:55 PM, Simon Iten itensi...@gmail.com 
mailto:itensi...@gmail.com wrote:


What are you trying to accomplish?

On Dec 6, 2012 2:48 PM, Alexandros Drymonitis adr...@gmail.com
mailto:adr...@gmail.com wrote:

How can one implement Max's [rate~] in Pd? [rate~] takes a
signal from a [phasor~] and according to its argument it
scales the frequency (roughly speaking). So

[phasor~ 1]
|
[rate~ 1.5]

will actually give a [phasor~ 1.5]. I thought of [wrap] but
that won't do the trick with non-integers.
Any ideas?

___
Pd-list@iem.at mailto: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] Max's [rate~] implementation...

2012-12-07 Thread Lorenzo Sutton

On 06/12/12 15:31, Hans-Christoph Steiner wrote:


Leaving out [rate~] should use less CPU since [rate~] doesn't have to 
do the analysis part, if I understand it correctly.


If I understand correctly what rate~ does, the argument is actually a 
factor, so I thnk the frequency for the phasor~ has to be 1 / factor... 
So for example


[rate~ 1.5]

is [phasor~ 0.67]

Lorenzo.





.hc

On Dec 6, 2012, at 9:24 AM, Alexandros Drymonitis wrote:

Don't think I really follow. Each [rate~] actually outputs a 
[phasor~] with a different frequency (different frequency ratio), all 
driven by the same [phasor~]. How can you send a value from one 
number box to all [phasor~]s?



On Thu, Dec 6, 2012 at 4:18 PM, Hans-Christoph Steiner h...@at.or.at 
mailto:h...@at.or.at wrote:



Why not just use a phasor~ per rate~ and then have the frequency
of all them controlled by the same number box?

.hc

On Dec 6, 2012, at 8:57 AM, Alexandros Drymonitis wrote:


copy this patch
http://www.youtube.com/watch?v=6P4Ezz9aWa8feature=plcp


On Thu, Dec 6, 2012 at 3:55 PM, Simon Iten itensi...@gmail.com
mailto:itensi...@gmail.com wrote:

What are you trying to accomplish?

On Dec 6, 2012 2:48 PM, Alexandros Drymonitis
adr...@gmail.com mailto:adr...@gmail.com wrote:

How can one implement Max's [rate~] in Pd? [rate~] takes
a signal from a [phasor~] and according to its argument
it scales the frequency (roughly speaking). So

[phasor~ 1]
|
[rate~ 1.5]

will actually give a [phasor~ 1.5]. I thought of [wrap]
but that won't do the trick with non-integers.
Any ideas?

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


___
Pd-list@iem.at mailto: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] Patch bugged on pd-extended 0.43.4

2012-12-04 Thread Lorenzo Sutton



On 04/12/12 08:39, Esteban Viveros wrote:
I tried to open this patch on pd-extended 0.43.4 but they open very 
bugged... No cords..


As hinted by the red error printed in the Pd window, the problem seems 
to lie in the call to [image] objects which seem to bork all the rest  
of the patch, probably because the .gif images they want are absent. I 
have no idea, though what that behaviour comes from.


Lorenzo.


On pd-extended 0.42.5 they are working well..

Something to do??

--

Esteban Viveros

(27) 8815 7170
(27) 3066 0359
(11) 95761 4125
(11) 2738 7868

www.bandpage.com/estebanviveros http://soundcloud.com/estebanviveros

https://www.facebook.com/estebanviveros.art

http://www.papodecompositor-es.blogspot.com.br/

http://expurgacao.art.br/




___
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] mp3: [WAS] Re: mp3 (layerII) or .wav/.aif stereo player!

2012-11-25 Thread Lorenzo Sutton

On 25/11/12 01:33, Björn Eriksson wrote:

If you´re having an extremely boring saturday evening/night or sunday
morning you can watch this video directly from Fraunhofer institute:
http://www.youtube.com/watch?v=HdRdTQVBxi4blend=5lr=1ob=5


Instructive, as it tells us that:

- mp3 is the playmobil of audio (btw always loved lego much more than 
playmobyl because it's much more modular and thus somewhat more open)

- quantity is much more important than quality these days
- Earth will explode due to a massive attack by an uncontrolled number 
of mutant, mutiny lossy audio files!





/Björn

On Fri, Nov 23, 2012 at 2:20 PM, Òscar Martínez Carmona
xamp...@gmail.com mailto:xamp...@gmail.com wrote:

It's not *that* coplicated really, and many options have been
suggested, guess the 'sensitive' thing is that OP ended his original
message with:


Anyways I'll be happy too if I can play an not compressed audio
file like an  .aiff or .wav but in stereo? how the f*ck I do that?

Which is not probably not the best way to find concrete advice on a
list :)

I agree! By the way, that was my first post to the list, the whole
thread has been interesting thought!


On Fri, Nov 23, 2012 at 1:28 PM, Lorenzo Sutton
lorenzofsut...@gmail.com mailto:lorenzofsut...@gmail.com wrote:

On 23/11/12 11:21, Björn Eriksson wrote:

I think one of the reason one might have to be able to play
mp3´s or ogg´s from inside a pd-patch can be that you´re
working with some interactivity, thematic project for
instance where one is sniffing the web for sounds.

I regard mp3´s as usual as for instance jpg´s are on the
web, speaking of some image analogy of compressed formats. I
don´t like the licencing of mp3 though and would prefer ogg
to be the main standard.

Sometimes there aren´t time enough to do conversions on the
fly to uncompressed formats before importing files onto pd.

I can with other words imaging a number of situations which
could call for a a playability of mp3 and oggs.


Obviously, there are cases where mp3 can be an option, but OP
mentioned exporting from logic. Of course withot further
background it's hard to tell, and there are many cases.



Soundwise we all know wave and aiff sounds better, but I am
a bit surprised this seems to be a so complicated and
sensitive issue about having pd play a compressed sound file
with some ease. Maybe this has been discussed over the years
over and over,so forgive me if this already stated somewhere
about these things.


It's not *that* coplicated really, and many options have been
suggested, guess the 'sensitive' thing is that OP ended his
original message with:


Anyways I'll be happy too if I can play an not compressed audio
file like an  .aiff or .wav but in stereo? how the f*ck I do that?

Which is not probably not the best way to find concrete advice
on a list :)

Lorenzo.


/Björn Eriksson


On Fri, Nov 23, 2012 at 10:51 AM, Lorenzo Sutton
lorenzofsut...@gmail.com mailto:lorenzofsut...@gmail.com
mailto:lorenzofsutton@gmail.__com
mailto:lorenzofsut...@gmail.com wrote:

 On 20/11/12 19:04, Òscar Martínez Carmona wrote:

 [readsf~] seems to be what I was looking for!
 I'm not sure about mp3 layers and names , but when
that layer
 II file is what I get with an mp3 bounce with Logic...


 Why should you export to mp* from logic? That sounds
rather insane
 unless you *need* mp*

 mp* are lossy compressed, and unless you have a precise
 'aesthetic' reason to having mpeg-degraded audio
quality simply
 export to a lossless format.

 That said there are probably thousands of converters
out there
 from-to mp* to anything, google is your friend there.

 Lorenzo.

 Thank you both!



 On Tue, Nov 20, 2012 at 6:56 PM, chris clepper
 cgclep...@gmail.com mailto:cgclep...@gmail.com
mailto:cgclep...@gmail.com mailto:cgclep...@gmail.com
 mailto:cgclep...@gmail.com
mailto:cgclep...@gmail.com mailto:cgclep...@gmail.com
mailto:cgclep...@gmail.com wrote:

 A MPEG-1 LAyer II file is MP2 not MP3.  You
will need to
 find a
 player/converter for that.  Maybe VLC?

 There are multiple ways to play .wav files with
Pd - check

Re: [PD] mp3 (layerII) or .wav/.aif stereo player!

2012-11-23 Thread Lorenzo Sutton

On 20/11/12 19:04, Òscar Martínez Carmona wrote:

[readsf~] seems to be what I was looking for!
I'm not sure about mp3 layers and names , but when that layer II file 
is what I get with an mp3 bounce with Logic...


Why should you export to mp* from logic? That sounds rather insane 
unless you *need* mp*


mp* are lossy compressed, and unless you have a precise 'aesthetic' 
reason to having mpeg-degraded audio quality simply export to a lossless 
format.


That said there are probably thousands of converters out there from-to 
mp* to anything, google is your friend there.


Lorenzo.

Thank you both!


On Tue, Nov 20, 2012 at 6:56 PM, chris clepper cgclep...@gmail.com 
mailto:cgclep...@gmail.com wrote:


A MPEG-1 LAyer II file is MP2 not MP3.  You will need to find a
player/converter for that.  Maybe VLC?

There are multiple ways to play .wav files with Pd - check the
example patches included with it.

On Tue, Nov 20, 2012 at 12:39 PM, Òscar Martínez Carmona
xamp...@gmail.com mailto:xamp...@gmail.com wrote:

Hi List!
I'm trying to play an mp3 layerII file with [mp3play~] ans it
does only support layer III files. While I'm looking for the
appropiate converter (fail at that by now) I was wondering if
there was another external able to play layer II files (the
most common type, not?).
Anyways I'll be happy too if I can play an not compressed
audio file like an  .aiff or .wav but in stereo? how the f*ck
I do that?
Thanx!

-- 
Òscar Martínez Carmona



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





--
Òscar Martínez Carmona



___
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] Freezes with Pd-Extended and Jack

2012-11-23 Thread Lorenzo Sutton

On 21/11/12 23:35, Esteban Viveros wrote:

Hello,

I'm using pd-extended 0.43.4, installed via Hans-Cristoph Steiner ppa. 
I'm using this version because I can't install the stable version in 
Ubuntu 12.04.


The problem is, when I start pd with Jack in -rt mode or wherever 
mode, if I turn on dsp, they work well, but if I turn off, and try to 
turn on yet dsp, pd-extended freeze...
Does this happen even if jack (through Qjackctl or whatever) was started 
*before you start Pd??


If so I guess it could be this bug:

http://sourceforge.net/tracker/index.php?func=detailaid=3543466group_id=55736atid=478070

Indeed also turning DSP off when jack was auto-started by Pditselfscrews 
everything up.


The workaround in this case would be to always start jack *before* 
starting Pd, then everything seems to behave well.


Lorenzo.



Closing Qjackctl (after some time ubuntu can close that) 
pd-extended returns to work, and I can use on alsa directly sucessfull..


Someone knows where I can comunicate this bug to the developers? Is 
here the place?



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


Re: [PD] mp3 (layerII) or .wav/.aif stereo player!

2012-11-23 Thread Lorenzo Sutton

On 23/11/12 11:21, Björn Eriksson wrote:
I think one of the reason one might have to be able to play mp3´s or 
ogg´s from inside a pd-patch can be that you´re working with some 
interactivity, thematic project for instance where one is sniffing the 
web for sounds.


I regard mp3´s as usual as for instance jpg´s are on the web, speaking 
of some image analogy of compressed formats. I don´t like the 
licencing of mp3 though and would prefer ogg to be the main standard.


Sometimes there aren´t time enough to do conversions on the fly to 
uncompressed formats before importing files onto pd.


I can with other words imaging a number of situations which could call 
for a a playability of mp3 and oggs.


Obviously, there are cases where mp3 can be an option, but OP mentioned 
exporting from logic. Of course withot further background it's hard to 
tell, and there are many cases.




Soundwise we all know wave and aiff sounds better, but I am a bit 
surprised this seems to be a so complicated and sensitive issue about 
having pd play a compressed sound file with some ease. Maybe this has 
been discussed over the years over and over,so forgive me if this 
already stated somewhere about these things.


It's not *that* coplicated really, and many options have been suggested, 
guess the 'sensitive' thing is that OP ended his original message with:


Anyways I'll be happy too if I can play an not compressed audio file 
like an  .aiff or .wav but in stereo? how the f*ck I do that?


Which is not probably not the best way to find concrete advice on a list :)

Lorenzo.



/Björn Eriksson

On Fri, Nov 23, 2012 at 10:51 AM, Lorenzo Sutton 
lorenzofsut...@gmail.com mailto:lorenzofsut...@gmail.com wrote:


On 20/11/12 19:04, Òscar Martínez Carmona wrote:

[readsf~] seems to be what I was looking for!
I'm not sure about mp3 layers and names , but when that layer
II file is what I get with an mp3 bounce with Logic...


Why should you export to mp* from logic? That sounds rather insane
unless you *need* mp*

mp* are lossy compressed, and unless you have a precise
'aesthetic' reason to having mpeg-degraded audio quality simply
export to a lossless format.

That said there are probably thousands of converters out there
from-to mp* to anything, google is your friend there.

Lorenzo.

Thank you both!



On Tue, Nov 20, 2012 at 6:56 PM, chris clepper
cgclep...@gmail.com mailto:cgclep...@gmail.com
mailto:cgclep...@gmail.com mailto:cgclep...@gmail.com wrote:

A MPEG-1 LAyer II file is MP2 not MP3.  You will need to
find a
player/converter for that.  Maybe VLC?

There are multiple ways to play .wav files with Pd - check the
example patches included with it.

On Tue, Nov 20, 2012 at 12:39 PM, Òscar Martínez Carmona
xamp...@gmail.com mailto:xamp...@gmail.com
mailto:xamp...@gmail.com mailto:xamp...@gmail.com wrote:

Hi List!
I'm trying to play an mp3 layerII file with [mp3play~]
ans it
does only support layer III files. While I'm looking
for the
appropiate converter (fail at that by now) I was
wondering if
there was another external able to play layer II files
(the
most common type, not?).
Anyways I'll be happy too if I can play an not compressed
audio file like an  .aiff or .wav but in stereo? how
the f*ck
I do that?
Thanx!

-- Òscar Martínez Carmona


___
Pd-list@iem.at mailto:Pd-list@iem.at mailto:Pd-list@iem.at
mailto:Pd-list@iem.at mailing list

UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list





-- 
Òscar Martínez Carmona




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



___
Pd-list@iem.at mailto: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] Random number generation quest

2012-11-14 Thread Lorenzo Sutton

On 14/11/12 15:53, Enrique Erne wrote:

Hi List!

Can a random number form 0 to 100 be generated with the following requirements:

   - No externals / Vanilla Pd only
   - DSP must be off
   - The patch is loaded with Pd through command line interface i.e.
`pd -noprefs -nogui givemerandom.pd`
   - The output should not always be the same number


Something like the attached should do it...

But as someone already pointed out is it really worth it?
Why not just do something like (assuming you have BASH):

echo $[ $RANDOM % 100]

Lorenzo.
#N canvas 560 444 657 443 10;
#X obj 137 -24 loadbang;
#X obj 139 233 random 100;
#X obj 249 -16 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 191 356 \; pd-givemerandom.pd menusave 1;
#X obj 191 299 del 10;
#N canvas 0 0 450 300 (subpatch) 0;
#X array array1 1 float 3;
#A 0 25;
#X coords 0 1000 1 0 200 140 1 0 0;
#X restore 426 231 graph;
#X obj 274 202 tabwrite array1;
#X msg 361 175 1;
#X obj 289 55 tabread array1;
#X msg 289 27 1;
#X obj 274 125 f;
#X obj 302 125 + 1;
#X obj 139 264 t f b;
#X obj 137 -1 t b b b b;
#X msg 387 124 0;
#X obj 274 151 t f f b;
#X msg 209 202 seed \$1;
#X text 421 124 manual reset;
#X text 473 206 Y range set from 0 to 1000;
#X text 388 29 'load' the stored seed;
#X text 244 219 add +1 and use as seed \; also save to array;
#X text 190 390 save the patch (and with it the array...);
#X floatatom 339 87 5 0 0 0 - - -;
#X obj 140 332 print RANDOM;
#X connect 0 0 13 0;
#X connect 1 0 12 0;
#X connect 2 0 13 0;
#X connect 4 0 3 0;
#X connect 7 0 6 1;
#X connect 8 0 10 1;
#X connect 8 0 22 0;
#X connect 9 0 8 0;
#X connect 10 0 11 0;
#X connect 10 0 15 0;
#X connect 11 0 10 1;
#X connect 12 0 23 0;
#X connect 12 1 4 0;
#X connect 13 0 1 0;
#X connect 13 1 10 0;
#X connect 13 2 10 0;
#X connect 13 3 9 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 15 1 6 0;
#X connect 15 2 7 0;
#X connect 16 0 1 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] MIDI and JACK autoconnection is a PITA...

2012-10-31 Thread Lorenzo Sutton

On 30/10/12 21:40, IOhannes m zmölnig wrote:

On 10/30/2012 08:05 PM, Miller Puckette wrote:

Quick question... is this autoconnect problem only relevant to midi
or does it also affect jack audio connections?  I'd like to try to fix
this but never use jack so am not sure where to start.


maybe a startup flag and/or preference (off by default)?

Lorenzo.



my original implementation for alsa-MIDI (which is still used)
autoconnects if only one midi-port is opened it will autoconnect to all
available midi-ports.
this is meant for easy setup (after talking to nando at some lac a while
ago), but due to midi-thru is making more troubles than it solves.
for me it is fine to remove the autoconnect altogether (and if needed i
can provide a patch to fix this)

fgmads
IOhannes

___
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] [OT] Disk types and filesystems: [WAS] Re: OT: Partition space for ubuntu distro?

2012-10-18 Thread Lorenzo Sutton

On 18/10/12 10:24, IOhannes m zmoelnig wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2012-10-18 09:55, Charles Goyard wrote:



- anything else I should consider?


Get a ssd drive. That's the main bottleneck on these computers. My
thinkpad got to boot to X from 15s to 6s just by changing the
drive. Switching to systemd makes it in about 4s.


hmm, getting booting speeds from 15s to 6s is really something that is
cool to show off at presentations.


Also when in these situations it might be handy to 'hibernate' the 
system, saves battery and you have it up and ready very quick.



however, i doubt that it will effect you in real live (that is, unless
your system likes to crash during shows and you need to get back after
a cold reset in front of a waiting audience)


Shouldn't SSD speeds also affect some overall performance aspects? Like 
it or not you are always writing/reading something from disk at a 
certain point no? I'd imagine for example you would have some benefit 
for multitrack hard disk recording et sim.
Of course the benefit/cost assessment is another, in my opinion open, 
matter.




my personal experience (with an eee901 and a 128GB SSD disk - one of
the best systems i ever had, though obviously no number-cruncher) was
rather mixed: after about 2 years the harddisk started to die away.
i never found out whether the problem was the SSD or a faulty
controller, but i stopped being unconditionally in favour of SSD then.
(and it seems most people who praise SSD have only been using it for 6
months or).


That's my same doubt with SSD (together with their current price). 
Because adoption (and widespread of it) is rather recent, it's hard to 
really assess reliability and risk factors.


 On the other hand I have a couple of very bad experiences with 
_external_ hard disks where the arm borke and failed, could be because 
even in laptops hard disks are much better protected than in mobile 
cases. Fortunately these were 'travel' disks and I had backups.
I got somewhat 'paranoid' with digital backups when a few years ago I 
lost some stuff: no hardware failure, I deleted it by mistake: as silly 
as it may sound it does happen, and when it does it bites!





On 2012-10-18 00:39, yvan volochine wrote:



- anything else I should consider? does this version copes well
with ntfs?


*you want* to use ext4


- usually I have my systems (w7 + ubuntu) in their individual
partitions, and all work files are in a 3rd partition.


as I said above, I'd use a ext4 partition for linux and avoid even
reading from ntfs when working. ntfs == windowz


now this seems to imply that there is only a philosophical reason to
not use NTFS.
and while i'm always in when it comes to w32 bashing, i'd like to add
that there are technical reasons as well.
first, on any recent linux distribution you should be able to just
use NTFS, with reading, writing, and what not. great!
the bad news is that nowadays NTFS support is implemented via a FUSE
driver (NTFS-3G), which means that the driver is not a kernel-driver
but is running in user-space. afaik, this has mostly licensing


The only real reason to use NTFS is that realistically it is more 
portable, so if you read need to read the disk from an OS that won't 
easily read the ext-* family go for NTFS. But i guess that would be for 
more of a backup/portable/transfer disk.


Lorenzo.

reasons, but anyhow: running in user-space means that the
*performance* of the NTFS-access will simply be deplorable. it's
certainly good enough to backup your system or to share data.
but if you want to use that partition to hold your ardour session,
then i'd rather use something else (ext2 might still be the fastest,
ext3/4 might be more feasible)


fgadmsr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlB/vLkACgkQkX2Xpv6ydvSPwACg9z3pAl08J4nhz6pfjRjyzaBv
t/wAoJSz3baq8+uaN/d7Sd9VQEoejacO
=Tt1I
-END PGP SIGNATURE-

___
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] firewire is dead?

2012-10-16 Thread Lorenzo Sutton

On 16/10/12 01:17, patrick wrote:

hi all,

i have a firepod 1010 firewire soundcard, i am using linux / jack. the
new motherboard doesn't have firewire. what to do?


You talk about motherboard, so I assume this is a desktop machine, I 
think you can easily get a firewire card and hook your soundcard to that.


I will spear you my rant about the situation of external sound card for 
linux laptop users (many electronic musicians IMHO) as it would only be 
full of bitterness and frustration.


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

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 [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, in the Pd 
window I get the following printed out:


1 2
2 3
3 4
4 4

How can I avoid that last couple of numbers? I guess it shouldn't be 
difficult, but I just can't see it.


Thanks




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


#N canvas 314 277 896 758 10;
#X msg 68 73 1 2 3 4;
#X obj 48 211 list length;
#X floatatom 48 237 5 0 0 0 - - -;
#X obj 46 372 until;
#X obj 146 543 unpack f f;
#X obj 146 571 pack f f;
#X obj 80 406 + 1;
#X obj 48 259 - 1;
#X obj 47 406 f 0;
#X obj 46 313 t f b;
#X msg 91 372 0;
#X obj 47 434 t b f;
#X obj 112 516 list split 0;
#X obj 112 491 list;
#X obj 122 176 t l l b;
#X msg 136 73 1 2 3 4 5;
#X obj 146 601 print couple;
#X floatatom 48 285 5 0 0 0 - - -;
#X msg 215 73 10 9 8 7 6 5 4 3 2 1;
#X msg 216 104 1 3 5 7 9 10 598;
#X obj 371 209 list length;
#X floatatom 371 235 5 0 0 0 - - -;
#X obj 369 370 until;
#X obj 402 420 + 1;
#X obj 371 257 - 1;
#X obj 369 420 f 0;
#X obj 369 311 t f b;
#X obj 491 559 list split 0;
#X obj 491 534 list;
#X obj 527 175 t l l b;
#X floatatom 371 283 5 0 0 0 - - -;
#X obj 415 395 t f f;
#X obj 370 448 t b f f;
#X obj 491 588 list split;
#X obj 597 528 - 2;
#X msg 462 72 1 2 3 4;
#X msg 530 72 1 2 3 4 5;
#X msg 609 72 10 9 8 7 6 5 4 3 2 1;
#X msg 610 103 1 3 5 7 9 10 598;
#X obj 415 370 f 2;
#X floatatom 430 343 5 0 0 0 - - -;
#X obj 519 611 list trim;
#X obj 519 637 print tuplet;
#X text 419 314 specify grouping;
#X msg 602 142 1 foo bar 8 2.4 walk miller's dog;
#X connect 0 0 14 0;
#X connect 1 0 2 0;
#X connect 2 0 7 0;
#X connect 3 0 8 0;
#X connect 4 0 5 0;
#X connect 4 1 5 1;
#X connect 5 0 16 0;
#X connect 6 0 8 1;
#X connect 7 0 17 0;
#X connect 8 0 6 0;
#X connect 8 0 11 0;
#X connect 9 0 3 0;
#X connect 9 1 10 0;
#X connect 10 0 8 1;
#X connect 11 0 13 0;
#X connect 11 1 12 1;
#X connect 12 1 4 0;
#X connect 13 0 12 0;
#X connect 14 0 1 0;
#X connect 14 1 13 1;
#X connect 14 2 13 1;
#X connect 15 0 14 0;
#X connect 17 0 9 0;
#X connect 18 0 14 0;
#X connect 19 0 14 0;
#X connect 20 0 21 0;
#X connect 21 0 24 0;
#X connect 22 0 25 0;
#X connect 23 0 25 1;
#X connect 24 0 30 0;
#X connect 25 0 23 0;
#X connect 25 0 32 0;
#X connect 26 0 22 0;
#X connect 26 1 39 0;
#X connect 27 0 33 0;
#X connect 28 0 27 0;
#X connect 29 0 20 0;
#X connect 29 1 28 1;
#X connect 29 2 28 1;
#X connect 30 0 26 0;
#X connect 31 0 25 1;
#X connect 31 1 34 1;
#X connect 32 0 28 0;
#X connect 32 1 27 1;
#X connect 32 2 34 0;
#X connect 33 1 41 0;
#X connect 34 0 33 1;
#X connect 35 0 29 0;
#X connect 36 0 29 0;
#X connect 37 0 29 0;
#X connect 38 0 29 0;
#X connect 39 0 31 0;
#X connect 40 0 39 1;
#X connect 41 0 42 0;
#X connect 44 0 29 0;
___
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] Introcucing PAC-Data, a Pac Man game in Pure Data.

2012-09-30 Thread Lorenzo Sutton

On 30/09/12 20:39, claudio nervi wrote:

My name is Claudio Nervi and I'd like to introduce my last summer
project: PAC - DATA. Pac Data is a Pac Man game programmed in Pure Data,
without using additional libraries butthe data structures included in Pd
Vanilla. It is not complete yet, but it was a good practice in the
syntax of the data structures. Any errors and suggestions are welcome.
This is the Link to Download ,into the folder, the Principal Patch is
PAC-DATA.pd (uper case):

http://claudionervi.com/wp-content/uploads/2012/09/PAC-DATA.zip


Nice :) .. and well done with all the structures.. I really should find 
the time to dig into them better


Lorenzo.

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


Re: [PD] [PD-announce] apt.puredata.info is back!

2012-09-27 Thread Lorenzo Sutton

On 27/09/12 15:13, IOhannes m zmoelnig wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

last night hans and me finally setup a replacement machine for
apt.puredata.info[1], the ultimate source for Pd-extended on
Debian-based systems (Debian, Ubuntu, Linux/Mint,...)[2].

it is now hosted on the puredata.info portal/mailinglist server,
courtesy of iem.

Wow cool, Thanks!
Lorenzo

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


[PD] Pd-* 0.43 hanging with watchdog: signaling pd...

2012-09-25 Thread Lorenzo Sutton

This seems to be an persisting [1][2][3] problem I had already encountered:

All of a sudden I'm experiencing this again. I haven't changed or 
updated anything that I recall on the system which is debian wheezy.


Running with: -verbose -stderr -d 3

yields:

set pd_whichmidiapi 2
Pd-0.43.2 () compiled 22:56:26 Sep 25 2012
port 5400
TCL_LIBRARY=./lib/pd/lib/tcl/library 
TK_LIBRARY=./lib/pd/lib/tk/library   wish ./lib/pd/tcl//pd-gui.tcl 5400

priority 6 scheduling enabled.
Waiting for connection request...
priority 8 scheduling enabled.
./lib/pd/bin/pd-watchdog
watchdog: signaling pd...
watchdog: signaling pd...
...

[After serveral lines] of those

WARNING: connect to pd failed, retrying port localhost:5400.

Running with -nogui pd seems to start ok.

This is with various versions of 0.43 (vanilla fresh compiled, debian 
packaged puredata, pd-extended latest autobuild).


So it probably depends form something (tcl?) in the system, but what?

I tried reinstalling tcl and tk but to no avail.

Help please, I really need Pd in this moment!
Thanks
Lorenzo


[1] 
http://sourceforge.net/tracker/?func=detailaid=3434378group_id=55736atid=478070

[2] http://permalink.gmane.org/gmane.comp.multimedia.puredata.general/78488
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647844



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


[PD] [SOLVED] Re: Pd-* 0.43 hanging with watchdog: signaling pd...

2012-09-25 Thread Lorenzo Sutton
Well sorry for the noise and answering myself (but it seems this pops up 
every now and then so might be good to write it up).


Thanks to Roman who gave me in IRC the right pointer to look further 
into network issues...


On 25/09/12 23:17, Lorenzo Sutton wrote:

This seems to be an persisting [1][2][3] problem I had already encountered:

All of a sudden I'm experiencing this again. I haven't changed or
updated anything that I recall on the system which is debian wheezy.


Well I should have recalled better, :) actually I *had* installed wicd 
replacing network-manager, eventually reinstalling it trying to get a 
wifi connection to work (another story) and somehow 
/etc/network/interfaces was all commented including the loopback part:


auto lo
iface lo inet loopback

This means you have no localhot, which is what Pd tries to connect to, 
thus the hanging and failure.


Uncommenting those lines solved the problem.

Yawn,
Lorenzo.




Running with: -verbose -stderr -d 3

yields:

set pd_whichmidiapi 2
Pd-0.43.2 () compiled 22:56:26 Sep 25 2012
port 5400
TCL_LIBRARY=./lib/pd/lib/tcl/library
TK_LIBRARY=./lib/pd/lib/tk/library   wish ./lib/pd/tcl//pd-gui.tcl 5400
priority 6 scheduling enabled.
Waiting for connection request...
priority 8 scheduling enabled.
./lib/pd/bin/pd-watchdog
watchdog: signaling pd...
watchdog: signaling pd...
...

[After serveral lines] of those

WARNING: connect to pd failed, retrying port localhost:5400.

Running with -nogui pd seems to start ok.

This is with various versions of 0.43 (vanilla fresh compiled, debian
packaged puredata, pd-extended latest autobuild).

So it probably depends form something (tcl?) in the system, but what?

I tried reinstalling tcl and tk but to no avail.

Help please, I really need Pd in this moment!
Thanks
Lorenzo


[1]
http://sourceforge.net/tracker/?func=detailaid=3434378group_id=55736atid=478070

[2] http://permalink.gmane.org/gmane.comp.multimedia.puredata.general/78488
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647844





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


Re: [PD] table with times?

2012-09-19 Thread Lorenzo Sutton

On 19/09/12 01:43, ronni montoya wrote:

Hi, how can i convert bpm events into time values?  i need to fill a
table with time values from a specific bpm

any idea how to achieve this?


BPM is beats per minute, so for example:

60 bpm means 60 beats in 1 minute, 1 beat per second

120 bpm is 120 beats in a minute, 2 per second, or better one every 0.5 
seconds


Generalising:

seconds = 60 / bpm

Or also (probably more useful in Pd related stuff)

milliseconds = 6 / bpm

Lorenzo.
PS: see attached patch for a simple implementation I've often used ;)





cheers


R.

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



#N canvas 299 194 305 204 10;
#X obj 24 20 inlet bpm;
#X obj 24 81 t b f;
#X obj 24 138 /;
#X obj 24 169 outlet milliseconds;
#X obj 24 110 6;
#X obj 24 50 f \$1;
#X connect 0 0 5 0;
#X connect 1 0 4 0;
#X connect 1 1 2 1;
#X connect 2 0 3 0;
#X connect 4 0 2 0;
#X connect 5 0 1 0;
#N canvas 4 67 402 256 10;
#X text -57 11 bpmtoms: Convert BPM (beats per minute) to milliseconds
;
#X text -42 199 Lorenzo Sutton 2010;
#X text -59 214 lorenzofsut...@gmail.com;
#X text 63 78 argument sets initial BMP;
#N canvas 435 67 452 379 metronome 0;
#X floatatom 158 89 5 0 0 0 - - -;
#X floatatom 158 35 5 0 0 0 - - -;
#X obj 136 321 *~;
#X obj 107 5 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X obj 137 349 dac~;
#X obj 158 62 bpmtoms 120;
#X obj 107 116 metro 500;
#X text 123 3 On/off;
#X text 196 35 BPM;
#X text 195 90 milliseconds;
#X obj 107 141 t b b b;
#X msg 294 210 0;
#X msg 256 210 0.5;
#X obj 292 172 del 8;
#X obj 256 240 lop~ 10;
#X obj 45 285 osc~ 880;
#X obj 45 180 f;
#X obj 77 180 + 1;
#X obj 45 204 mod 4;
#X obj 45 229 sel 0;
#X msg 45 257 880;
#X msg 75 257 440;
#X floatatom -18 188 5 0 0 0 - - -;
#X text -22 168 accent;
#X text 170 349 remember to turn DSP on...;
#X connect 0 0 6 1;
#X connect 1 0 5 0;
#X connect 2 0 4 0;
#X connect 2 0 4 1;
#X connect 3 0 6 0;
#X connect 5 0 0 0;
#X connect 6 0 10 0;
#X connect 10 0 12 0;
#X connect 10 1 13 0;
#X connect 10 2 16 0;
#X connect 11 0 14 0;
#X connect 12 0 14 0;
#X connect 13 0 11 0;
#X connect 14 0 2 1;
#X connect 15 0 2 0;
#X connect 16 0 17 0;
#X connect 16 0 18 0;
#X connect 17 0 16 1;
#X connect 18 0 19 0;
#X connect 19 0 20 0;
#X connect 19 1 21 0;
#X connect 20 0 15 0;
#X connect 21 0 15 0;
#X connect 22 0 18 1;
#X restore -19 140 pd metronome example;
#X floatatom -18 55 5 0 0 0 - - -;
#X obj 28 55 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X floatatom -18 104 5 0 0 0 - - -;
#X obj -18 79 bpmtoms 100;
#X text 109 134 - click to see a simple;
#X text 131 147 metronome example;
#X connect 5 0 8 0;
#X connect 6 0 8 0;
#X connect 8 0 7 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ... and the battle with IT begins

2012-09-14 Thread Lorenzo Sutton

On 13/09/12 19:14, m.e.grimm wrote:

my rant is as follows

when making a request to have pd-extended 0.43.1 installed on the
teaching station i get:

Mark:

For obvious reasons, we won't install a beta release of software in a
production environment.

The current latest production release will be installed.

which im fine with 042.5 but this is just more annoying than anything else.

am I alone or do others on this list in Universities battle with IT on
a daily basis? i am suspecting im not alone.

is it the word BETA that is so bothersome? what is a production
environment? am i not producing something?

After quite a while and after gaining a certain amount of trust and 
respect by the IT people (but also with some backing by my boss, and I 
must say they are clever guys, not as stubborn as what you write) I got 
an 'experimental' machine where I'm admin: but that's because my job may 
include installing and testing alpha-alpha software and report back to 
developers...
But I'd assume 'audio' and 'video' machines are always less restricted 
(the people working with MACs have full admin on those as well).


Good luck
Lorenzo.

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


Re: [PD] [GEM] compiling with ImageMagick

2012-09-13 Thread Lorenzo Sutton

On 13/09/12 00:38, Jaime Oliver wrote:

Hello all,

I am trying to compile gem in ubuntu 12.04, with latest gem from git
and pd 0.43-2. I need imagemagick for image support...

For some reason after running ./configure I get:

 use ImageMagick  : no

I have installed it using:

apt-get install imagemagick
On debian (so probably also on ubuntu) the package you're after is the 
development one:


libmagickwand-dev

(which will probably also pull some other stuff in..)



I am generally new to ubunt, so i might be missing something...


On debian (and ubuntu) when tracking foo dependency for compiling you're 
usually after foo-dev or most often libfoo-dev but as the example above 
shows the name of the library/development package can be rather 
exotic/different compared to the package name.. :)


Another nice one is apt-get build-deb for packages which are already in 
the repositories but you'd like to compile yourself for some reason.


Lorenzo.


best,

J

___
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] Communicating with Pd

2012-09-03 Thread Lorenzo Sutton

On 03/09/12 11:30, Pierre Massat wrote:

Dear List,

I would like to know whether it is possible to communicate with an 
instance of Pd from a bash or a python script (things like sending 
control values to specific [receive] objects), or any other program 
actually. 


Pd supports sockets have a look at the [netreceive] object.

Lorenzo.

I guess I could do this with LibPd, but I'd rather stick to plain Pd 
right now if possible.


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] [tabread4~] bug???

2012-07-24 Thread Lorenzo Sutton

Hi,

On 24/07/12 03:55, Alexandre Torres Porres wrote:
Ok, as long as we're on it, here's another thing I found while 
patching around. Probably related to the last crazy behaviour I just 
described, but something on its own.


It is simpler than phase vocoding, it's just something weird about 
sampling into arrays and playing with [tabread4~]. Well, maybe there's 
a relation to the bug I just reported (check my last email sent to the 
list please), because that uses [tabread4~] as well.


So, if I record onto a a somewhat big array, there comes a time where 
it just fails completely when playing it through [tabread4~], but not 
with [tabplay~]. It also does not show it anymore after that 
particular point in the array itself. The point is around 380 seconds 
(6 minutes and 20 seconds).


This is a known limitation with [tabread4~] and [tabread~] and pops up 
every now and then [1] (it could probably be useful to mention it in 
[tabread~] help).


Long story short: you are rather safe with [tabread~] and [tabread4~] 
for arrays as big as 2^24 - that is 16777216
Length in seconds will vary depending on sample-rate: Here a table for 
commonly used samplerates:


+++
| s.rate |   seconds  |
+++
| 44100  |380.44  |
+++
| 48000  |349.53  |
+++
| 88200  |190.22  |
+++
| 96000  |174.76  |
+++

Hope this helps.
Lorenzo.

[1] See here a thread from 2006: 
http://lists.puredata.info/pipermail/pd-list/2006-08/040671.html and 
here for a clear explanation: 
http://puredata.hurleur.com/viewtopic.php?pid=28924#p28924


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


Re: [PD] [tabread4~] bug???

2012-07-24 Thread Lorenzo Sutton

On 24/07/12 12:00, IOhannes m zmoelnig wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2012-07-24 09:34, Lorenzo Sutton wrote:

This is a known limitation with [tabread4~] and [tabread~] and pops
up every now and then [1] (it could probably be useful to mention
it in [tabread~] help).

it is mentioned in the help-patch for [tabread4~]


It doesn't seem so, at least not explicitly. There is a mention to 
4-point interpolation and to onsets and the tutorial below. (at least 
looking at 0.43 vanilla and 0.43 extended help patches)

and explained in
detail in B15.tabread4~-onset.pd
True indeed, and there is a reference to it in the help patch (a 'link' 
in 0.43 extended)


What I meant was that it might be helpful to mention more explicitly the 
fact that one of the practical consequence is a limitation in 'usable' 
duration of samples. But I definitely won't make a fuss of it :)


Lorenzo.

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


[PD] puredata.info down?

2012-07-19 Thread Lorenzo Sutton
It seems down since a few hours also according to 
http://www.isup.me/puredata.info


Lorenzo.

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


Re: [PD] is there a way to send a bang precisely when a sample is looped using tabread4~?

2012-07-16 Thread Lorenzo Sutton

On 15/07/12 22:25, Jim Kremens wrote:

[...]



Here’s my setup: I’m using a phasor~ to read data out of an array using
tabread4~. And I’m using snapshot and metro to let me know current
position in that file. Basically, metro pings the snapshot object on an
interval and gives me a reading of where we are. I’m trying to fire a
bang exactly when the sample is looped.

I’d love it if an event would fire when we’ve reached the end of the
array. But as far as I can tell, there’s no such event.

And, because metro runs on an interval, I don’t have sample accuracy.
Snapshot will not reliably give me the zero position – it’ll just give
me something close to zero, as it’s dependent on the metro interval,
which has no relation to when the sample actually loops. (Hope that
makes sense!)

I’ve been able to make this work decently using expr, but again, it’s
not sample accurate.


In my humble opinion it would *really* help to know what you're trying 
to achieve overall and why you want sample accuracy, unless this is a 
purely theoretical question :)


Lorenzo.

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


Re: [PD] Detuning reverb ?

2012-07-11 Thread Lorenzo Sutton

On 10/07/12 23:00, Pierre Massat wrote:
Here's the link to the post, if you want to listen to the result and 
get the patch.

http://guitarextended.wordpress.com/2012/07/10/thehexxciter-detuning-reverb-better/

Nice! (and nice example of collaboration ;)

Lorenzo.


Cheers!

Pierre.

2012/7/10 Pierre Massat pimas...@gmail.com mailto:pimas...@gmail.com

I got something working really nicely (using a short delay with a
high feedback to get some sustain for the pitchshifter and to
leave out quiter notes). I'll make a post tonight on my blog.
Thank you all for your precious help!
Btw, this instrumental version of the Hexx is really cool...

Cheers,

Pierre.


2012/7/10 tim vets timv...@gmail.com mailto:timv...@gmail.com



2012/7/10 Thomas Grill g...@g.org mailto:g...@g.org

Hi,
i wouldn't count on it being a live (guitar) effect.
It can be seen on
http://www.youtube.com/watch?v=5eEVpY9rjxQ that it's
obviously played by use of some midi keyboard.
gr~~~


or maybe it's the guy in the background at 0:34 turning his
tuning knobs ? ;)


2012/7/8 Pierre Massat pimas...@gmail.com
mailto:pimas...@gmail.com:
 Dear List,

 I've been trying to recreate the effect that can be
heard on Pavement's The
 Hexx (http://www.youtube.com/watch?v=6N5tx68-d2I). It
sounds like a
 constantly downward detuning reverb, I have no idea if
this is an existing
 guitar effect or if it was created in studio by Nigel
Godrich. My last
 attempt resulted in this

(http://guitarextended.wordpress.com/2012/07/08/detuning-delay/),
which
 doesn't really sound like the original at all...

 I think I need delay lines driven by a phasor with a
squared output, so that
 the speed at which the length of the delays increases is
not constant. I
 also think I need to envelop the delay lines somehow,
and switch between
 them so that the maximum length is never reached. But
right now I short of
 ideas. From what i've found on the web, this should be
doable with a
 granular delay, but I never used any granular stuff.

 Any suggestion is welcome...

 Cheers!

 Pierre.

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




--
Thomas Grill
http://g.org

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



___
Pd-list@iem.at mailto: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] Detuning reverb ?

2012-07-08 Thread Lorenzo Sutton

On 08/07/12 19:01, Pierre Massat wrote:

Dear List,

I've been trying to recreate the effect that can be heard on Pavement's
The Hexx (http://www.youtube.com/watch?v=6N5tx68-d2I). It sounds like a
constantly downward detuning reverb,


'By ear' it sounds like a downward pitch shift triggered/reset at each 
guitar note with a slight gate on the attack itself, the shifting 
linearly (?) going down and with a reverb tail.


Attached is a quick try.
The pitch-shift part is basically a rip-off of the audio/G09 example by 
Miller and a very rudimentary trigger with [env~] and a pipe (to delay 
the opening). Try playing with the parameters and let me know what you 
think ;)


Lorenzo.
#N canvas 90 72 972 698 10;
#X obj -14 422 *~;
#X obj 109 359 line~;
#X floatatom 109 177 0 0 0 0 - - -;
#X obj 109 333 pack 0 200;
#X obj 50 253 * 0.001;
#X obj 218 429 line~;
#X obj 218 404 pack 0 200;
#X floatatom 218 353 0 0 0 0 - - -;
#X obj 218 327 r delay;
#X obj -14 448 +~;
#X obj -77 474 cos~;
#X obj -77 501 *~;
#X obj -77 536 +~;
#X obj 10 381 wrap~;
#X obj 155 424 *~;
#X obj 155 457 +~;
#X obj 92 484 cos~;
#X obj 92 511 *~;
#X obj 10 354 +~ 0.5;
#X obj -77 422 -~ 0.5;
#X obj -77 448 *~ 0.5;
#X obj 92 423 -~ 0.5;
#X obj 92 456 *~ 0.5;
#X text -4 157 -- transposition;
#X text -5 170 (halftones);
#X text -14 227 speed;
#X text -15 241 change;
#X text 153 176 --window (msec);
#X text -42 316 tape head;
#X obj -77 380 phasor~;
#X obj 218 380 max 1.5;
#X text 221 286 delay;
#X text 218 304 (msec);
#X text -41 329 rotation freq;
#X obj -14 474 vd~ G09-del;
#X obj 155 486 vd~ G09-del;
#X obj -316 53 delwrite~ G09-del 5000;
#X obj -147 -27 adc~;
#X obj -96 647 dac~;
#X obj -77 181 *~ 0.05776;
#X obj -77 207 exp~;
#X obj -77 260 -~ 1;
#X obj -77 286 *~ -1;
#X obj -77 323 /~;
#X obj 49 281 sig~;
#X obj 109 207 max 1;
#X obj -77 154 line~;
#X obj -99 -5 env~;
#X floatatom -100 20 5 0 0 0 - - -;
#X obj -100 70 change;
#X obj -100 93 == 1;
#X obj -100 44  77;
#X floatatom -211 185 5 0 0 0 - - -;
#X obj 86 91 sel 1;
#X obj 104 587 rev1~;
#X obj 381 568 *~;
#X obj 382 541 lop~ 5;
#X msg 321 131 0;
#X obj 379 184 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 592 36 loadbang;
#X msg 109 150 100;
#X floatatom 408 135 5 0 0 0 - - -;
#X text 447 133 - cut the 'attack';
#X obj 363 160 pipe 150;
#X floatatom -50 18 5 0 0 0 - - -;
#X text -16 18 - thresh;
#X obj 492 603 rev1~;
#X msg 167 9 \; pd dsp 1;
#X obj -50 -5 cnv 15 100 20 empty empty tweak_me! 20 12 0 14 -257985
-66577 0;
#X obj 405 114 cnv 15 100 20 empty empty tweak_me! 20 12 0 14 -257985
-66577 0;
#X obj -2 128 cnv 15 100 20 empty empty tweak_me! 20 12 0 14 -257985
-66577 0;
#X floatatom 413 516 5 0 0 0 - - -;
#X msg -77 128 0 \, -2 4000;
#X msg 361 131 0.4;
#X msg 439 572 55;
#X msg 545 574 57;
#X connect 0 0 9 0;
#X connect 1 0 0 1;
#X connect 1 0 14 1;
#X connect 2 0 45 0;
#X connect 3 0 1 0;
#X connect 4 0 44 0;
#X connect 5 0 9 1;
#X connect 5 0 15 1;
#X connect 6 0 5 0;
#X connect 7 0 30 0;
#X connect 8 0 7 0;
#X connect 9 0 34 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 55 0;
#X connect 13 0 14 0;
#X connect 13 0 21 0;
#X connect 14 0 15 0;
#X connect 15 0 35 0;
#X connect 16 0 17 0;
#X connect 17 0 12 1;
#X connect 18 0 13 0;
#X connect 19 0 20 0;
#X connect 20 0 10 0;
#X connect 21 0 22 0;
#X connect 22 0 16 0;
#X connect 29 0 0 0;
#X connect 29 0 19 0;
#X connect 29 0 18 0;
#X connect 30 0 6 0;
#X connect 34 0 11 1;
#X connect 35 0 17 1;
#X connect 37 0 36 0;
#X connect 37 0 47 0;
#X connect 37 0 38 0;
#X connect 37 0 38 1;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 0 42 0;
#X connect 42 0 43 0;
#X connect 43 0 29 0;
#X connect 44 0 43 0;
#X connect 44 0 43 1;
#X connect 45 0 4 0;
#X connect 45 0 3 0;
#X connect 46 0 39 0;
#X connect 47 0 48 0;
#X connect 48 0 51 0;
#X connect 49 0 50 0;
#X connect 49 0 52 0;
#X connect 50 0 53 0;
#X connect 51 0 49 0;
#X connect 53 0 72 0;
#X connect 53 0 57 0;
#X connect 53 0 73 0;
#X connect 54 0 38 0;
#X connect 55 0 54 0;
#X connect 55 0 66 0;
#X connect 56 0 55 1;
#X connect 57 0 56 0;
#X connect 59 0 60 0;
#X connect 59 0 74 0;
#X connect 59 0 75 0;
#X connect 60 0 2 0;
#X connect 61 0 63 1;
#X connect 63 0 56 0;
#X connect 63 0 58 0;
#X connect 64 0 51 1;
#X connect 66 0 38 1;
#X connect 71 0 56 1;
#X connect 72 0 46 0;
#X connect 73 0 63 0;
#X connect 74 0 54 1;
#X connect 75 0 66 1;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-dev] [ pure-data-Bugs-3535952 ] viagra capsules for women

2012-06-18 Thread Lorenzo Sutton

Category: pdpedia
Group: v0.40.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: viagra capsules for women


Wow didn't know Pd could do this as well! :P

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


[PD] pd-icon-linux-plugin

2012-06-01 Thread Lorenzo Sutton

A simple plugin to display an XBM (2 colour black and white) icon in linux.
Can be useful when many canvas windows are open.
Two different icons are provided for the Pd Window and canvas (patch) 
windows.


Tested on 0.43-extended on debian.

Available on Gitorious:
https://www.gitorious.org/pd-icon-linux-plugin/pd-icon-linux-plugin/trees/master

Direct link to master tar.gz (if the link seems broken simply refresh 
the page):


https://www.gitorious.org/pd-icon-linux-plugin/pd-icon-linux-plugin/archive-tarball/master

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


Re: [PD] pd-icon-linux-plugin

2012-06-01 Thread Lorenzo Sutton

On 01/06/12 21:52, Ivica Ico Bukvic wrote:

Why stop at xbm when linux wm handles colors and transparency.


Couldn't find a way to do it in Tk, and wanted a quick way to solve the 
problem of finding many patch windows quickly. And of course 2 color 
icon fits well with Pd's retro look :)


Pd-l2ork

not only has color + transparent icon on each window, but as of this
month also supports png images within the patch itself. See k12
announcement from 2 weeks ago for a screenshot.


Thank for the pointer I'll check it out.

Lorenzo.

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


Re: [PD] use alsa-midi by default?

2012-05-25 Thread Lorenzo Sutton

On 25/05/12 14:35, James Mckernon wrote:

Hi all. Just a quick one: does anyone know of a way to have pure data
default to using alsa midi instead of (ahem) default midi? I couldn't
find a way to permanently set this from the GUI, so I'm wondering if
it's possible. Ideally, I'm looking for something I can put in my
.pdextended file to effect this, rather than flags to start pd with each
time.


The .pdextended file has a flags parameter at the bottom which accepts 
the usual command line flags.


For alsa-midi this is what I have in my .pdextended:

flags: -alsamidi -midiindev 0 -midioutdev 0

Drawback is that it will auto-connect to all alsa-midi stuff available 
in and out (but that happens anyway when you select alsa-midi)


Lorenzo.



Cheers!
J


___
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] wiki.puredata.info?

2012-04-12 Thread Lorenzo Sutton

On 12/04/12 21:31, IOhannes m zmölnig wrote:

is the site down?

it only gives me a white page...


Working here..
Lorenzo.


fgmasdr
IOhannes

___
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] ANNOUNCE: ANTSynth - Pure Data prototype premiere

2012-04-01 Thread Lorenzo Sutton

Dear Pd community,

The international research team of which I am a humble member (PPMR - 
ParaPonera Music Research) is proud to release today the first working 
prototype of ANTSynth (see below) developed as Pure Data patch.
Attached is a standalone prototype patch which should work directly in 
Pd (make sure DSP is working and use the main toggle to start).


Testing and (constructive) critique are very welcome (please consider 
this is very preliminary!!)


Regards,
Lorenzo.

A little background on Antsynth (more details and links in the patch and 
future posts):


ANTSynth is a cutting edge, innovative synthesis method. It stands for 
Ant Stimulation Turmoil Synthesis. Inspired by Natural Science, Biology 
and pioneering Engineer studies it creates unique additive-aggregate 
mesh-able (over)tones with complete formations of broad spectra which in 
turn the modern composer can imply (we think) in any composition.
ANT synthesis is inspired by the Natural Sciences as it translates into 
sound some of the most interesting patterns of ants' complex social 
behaviour as outlined by Ted R. Schultz in his paper “In search of ant 
ancestors”. ANTSynth is created by an international team of biologists, 
engineers, sound designers and programmers (PPMR) and will be released 
as Open Source in the hope that it will be useful for the future 
generations of researchers, sound designers, artist, biologists, composers.
Many questions and issues about the feasibility and optimisation of 
ANTSynth remain but preliminary results seem to be promising.


Minimal background bibliography:

D. Moody , A Field Study of the Ant Trail Phenomenon , Division of 
Natural Science , The University of Findlay , 2000
John M. Chowning, The Synthesis of Complex Audio Spectra by Means of 
Frequency Modulation, Journal of the Audio Engineering Society, 1973
Julius O. Smith III. Additive Synthesis (Early Sinusoidal Modeling). 
Retrieved 2012-01-14. The term additive synthesis refers to sound 
being formed by adding together many sinusoidal components - 
https://ccrma.stanford.edu/~jos/sasp/Additive_Synthesis_Early_Sinusoidal.html 

Ettershank, G. 1965. A new modular-design artificial ant nest. Turtox 
News, 43:42–43.
Holldobler, B., M. Moglich, and U. Maschwitz. 1974. Communication by 
tandem running in the  ant Camponotus sericeus. Journal of Comparative 
Physiology, 90:105–127.
Horn, D. J. 1976. Biology of insects. W. B. Saunders, Philadelphia. 
[Pages 3, 16–31, 207–208,  238–240]
Jacobson, M. 1972. Insect sex pheromones. Academic Press, New York. 
[Pages 1–2, 79–100,  and 101–120]
Markin, G. P. 1968. Handling techniques for large quantities of ants. 
Journal of Economic  Entomology, 61:1744–1745.

Moody, D. L. 1981. Ant trails. The American Biology Teacher, 43:452–453.
Wilson, E. O. 1963. Pheromones. Scientific American, 208:100–114.
#N canvas 133 68 828 535 10;
#X obj 69 247 t f f;
#X obj 69 303 + 1;
#X obj 186 146 sel 1;
#X obj 69 116 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 69 334 tabwrite ants;
#X obj 69 278 tabread ants;
#X obj 11 303 sel 1000;
#X msg 21 329 0;
#X obj 11 365 f;
#X floatatom 11 386 5 0 0 0 - - -;
#X obj 121 163 timer;
#X obj 121 137 loadbang;
#X msg 121 183 seed \$1;
#X obj 222 514 dac~;
#X floatatom 222 386 5 0 0 0 - - -;
#X msg 104 620 \; winner label;
#X msg 416 468 \; ants const 0;
#X obj 558 55 cnv 15 130 30 empty empty empty 20 12 0 14 -260097 -4034
0;
#X obj 563 60 cnv 15 120 20 empty winner empty 18 9 0 16 -33289 -4034
0;
#X obj 312 483 line~;
#X obj 331 423 t b;
#X obj 222 491 *~;
#X obj 474 371 cnv 15 299 28 empty empty empty 20 12 0 14 -33289 -4034
0;
#X obj 476 371 cnv 15 295 26 empty empty empty 20 12 0 14 -258113 -4034
0;
#X obj 479 371 cnv 15 289 20 empty empty ant_home 100 12 0 14 -228856
-1 0;
#X obj 455 170 cnv 15 340 200 empty empty empty 20 12 0 14 -177922
-66577 0;
#X obj 474 190 cnv 15 300 180 empty empty empty 20 12 0 14 -261234
-66577 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array ants 67 float 2;
#X coords 0 1000 67 0 300 200 1;
#X restore 474 170 graph;
#X obj 473 146 cnv 15 68 20 empty empty empty 13 12 0 12 -262144 -1
0;
#X msg 248 146 \; pd dsp \$1;
#X obj 248 116 tgl 20 0 empty empty empty 17 7 0 10 -204786 -1 -1 0
1;
#X msg 261 665 \; winner label WINNER:\$1;
#X obj 416 444 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 390 427 reset ants;
#X obj 222 409 tabosc4~ ants;
#X obj 222 432 /~ 1000;
#X msg 312 398 1 20;
#X obj 362 484 t b;
#X msg 331 463 0 100;
#X obj 269 116 cnv 15 15 20 empty empty empty 18 9 0 16 -257985 -33289
0;
#X text 273 117 - start audio first;
#X obj 363 507 del 105;
#X obj 331 443 del 2000;
#X obj 69 220 random 67;
#X obj 258 6 cnv 15 250 30 empty banner ANT_Synth 20 12 0 18 -1 -257985
0;
#X obj 70 137 metro 1;
#X obj 333 44 tgl 30 0 empty empty empty 17 7 0 10 -4034 -1 -1 0 1
;
#X msg 77 592 \; banner label HAPPY_APRIL'S_FOOL!!;
#X obj 104 654 t b;
#X msg 263 628 \; banner label ANT_Synth;
#X obj 333 77 t f f;
#X obj

[PD] pcmcia RME multiface on ubuntu (and linux) [WAS] Re: laptop advice

2012-03-29 Thread Lorenzo Sutton

Sorry to totally derail this, but...

On 28/03/12 20:02, João Pais wrote:

Hi,

I'm considering to upgrade my old thinkpad R51, with something 
lighter and with more power. Since I need a laptop with a pcmcia slot 
for my multiface, no new models can be bought.

Does the multiface with pcmcia work on ubuntu? If so how does it perform?

Lorenzo.

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


Re: [PD] pcmcia RME multiface on ubuntu (and linux) [WAS] Re: laptop advice

2012-03-29 Thread Lorenzo Sutton

On 29/03/12 11:13, Roman Haefeli wrote:

On Thu, 2012-03-29 at 10:26 +0200, Olivier Heinry wrote:

Le 29/03/2012 09:52, Lorenzo Sutton a écrit :

Sorry to totally derail this, but...

On 28/03/12 20:02, João Pais wrote:

Hi,

I'm considering to upgrade my old thinkpad R51, with something
lighter and with more power. Since I need a laptop with a pcmcia slot
for my multiface, no new models can be bought.

Does the multiface with pcmcia work on ubuntu? If so how does it perform?

It does perfectly with Ubuntu Studio 10.04 LTS running on an old Dell

So does it on Ubuntu 11.04.

Great! Thanks for all the info.
Lorenzo

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


Re: [PD] Change font size for Tk menus

2012-03-20 Thread Lorenzo Sutton

On 19/03/12 19:30, Hans-Christoph Steiner wrote:

Check out the GUI plugins for 0.43.  You'll want to use the Tk command 
'options'.  With that you can target very specific GUI elements and apply 
styles to them.
Ok thanks I'll look into that. I wonder if a more generic way exists for 
Tk, in similar fashion to gtk for example.


Lorenzo.


.hc

On Mar 19, 2012, at 1:03 PM, Lorenzo Sutton wrote:


As per subject: is there a way to increase the font size of the Tk menus etc 
(i.e. not the patch fonts as done in the fonts menu).

On a related note where is the old option to add start-up flags which if I recall 
correctly was under Edit  Preferences? Has this been replaced by some config 
file?

Thanks,
Lorenzo.


___
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] Change font size for Tk menus

2012-03-19 Thread Lorenzo Sutton
As per subject: is there a way to increase the font size of the Tk menus 
etc (i.e. not the patch fonts as done in the fonts menu).


On a related note where is the old option to add start-up flags which if 
I recall correctly was under Edit  Preferences? Has this been replaced 
by some config file?


Thanks,
Lorenzo.


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


Re: [PD] Array resize : bug?

2012-03-17 Thread Lorenzo Sutton

On linux (debian wheezy with autobuild):

On 16/03/12 18:05, Pierre Massat wrote:

Dear list,

I've just noticed a strange behaviour of arrays in Pd-extended 0.42.5
running in Win XP.
When I manually create an array and set it's size through its properties
(right-click, etc.), say, to 44100 samples, the range on the X axis is 0
to 44099. Fine.


The array is created with the correct number of elements but one element 
'overflows' the right frame.



Now when I resize it by sending it a message (array1 resize 44100),
the X axis now spans from 0 to 44100 (that is 44101 samples).


Resizing the array with a [resize( actually corrects the problem here. 
So it would seem more of a GOP visualisation bug?


See attached patch.

Lorenzo.



Anybody noticed this in other versions/platforms?

Cheers,

Pierre.


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


#N canvas 432 378 623 396 10;
#X msg 380 102 resize 10;
#X msg 382 192 0;
#X msg 429 192 9;
#X floatatom 512 190 5 0 0 0 - - -;
#X floatatom 385 250 5 0 0 0 - - -;
#X obj 385 223 tabread array1;
#X obj 378 148 s array1;
#X msg 466 194 8;
#N canvas 0 0 450 300 (subpatch) 0;
#X array array1 10 float 3;
#A 0 2.14285 -0.0285721 0 0 0 0 0 0 1.5 -2.38571;
#X coords 0 1 9 -1 200 140 1;
#X restore 94 101 graph;
#X text 160 68 manually created;
#X connect 0 0 6 0;
#X connect 1 0 5 0;
#X connect 2 0 5 0;
#X connect 3 0 5 0;
#X connect 5 0 4 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] store and manipulate multiple lists

2012-03-15 Thread Lorenzo Sutton

On 14/03/12 23:04, Benoît Fortier wrote:

Hi everybody,

I need to store multiple lists of numbers in a text file in a specific 
order : the first number of each list must be ascending, from the 
first line of the text file to the last. The problem is this : my 
patch outputs the lists in an unordered way. I could rewrite the patch 
so that the lists gets outputed the correct way, but to be able to 
store all the lists somehow and then write a patch to order them 
afterward feels to me like a much more elegant solution. Any toughts 
on this?

For me it is not very clear if:

a. your patch outputs some unordered lists for which you want to save 
the produced order E.g.

[x y z(
[z x y(
[a b c(

should be written to the text file in that order
1 x y z;
2 z x y;
3 a b c;

or

b. your patch outputs lists like
[3 x y z(
[1 z x y(
[2 a b c(
in an unknown order and you want to save them in the text file as:
1 z x y;
2 a b c;
3 x y z;

In case a. it's quite trivial just add a counter which grows at each 
list production and prepend it to the list then add the list to the 
[textfile]
In case b. I would probably save the lists unordered with [textfile] and 
then use some scripting like python to easily sort them


Lorenzo.


Thank you all, this list has been very helpfull to me, and its also 
quite entertaining!


Benoît


___
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] porting a Pd patch to Max license issues

2012-03-15 Thread Lorenzo Sutton

On 15/03/12 12:07, Marco Donnarumma wrote:
On Thu, Mar 15, 2012 at 11:05 AM, Marco Donnarumma de...@thesaddj.com 
mailto:de...@thesaddj.com wrote:



...


I found this FAQ:
~
If a library is released under the GPL (not the LGPL), does that
mean that any software which uses it has to be under the GPL or a
GPL-compatible license?

Yes, because the software as it is actually run includes the library.
~

The problem, I think, is the definition of 'library' for Pd patches... 
Here I think the FAQ refers to something like, I create a cool C library 
for doing, say, FFT. It is GPL. If you make the CoolAudioEditor using 
that library for FFT then CoolAudioEditor will also have to be GPL or 
GPL-compatible.


I think MAX (and Pd) are more of a Runtime Environment, so the best 
translation I might think of for that FAQ is: say I make an external or 
abstraction (like many in Pd-extended) which is GPL and I use that in my 
patch(s), then my patch must be GPL too. This much more relevant to MAX, 
because there you can actualy make standalone binary versions of 
patches. In this way any patch built with XS, should it be ported, 
(including XS for MAX itself) should then be GPL, and thus even if I 
built a commercial, binary, i-XSense-4MAX-4live-pad-seven... I should 
also release the source code as GPL.



is this a show-stopper for porting of the XS into a proprietary
environment?

I don't think so, although it might be worth trying to convince people 
to give Pd a go. And if they really can't avoid using MAX use them 
together, say, with OSC etc.

p.s. I would be happy if it was.

eh eh you want to get out of it with vorrei ma non posso :)

Lorenzo.

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


Re: [PD] Re : store and manipulate multiple lists

2012-03-15 Thread Lorenzo Sutton

On 15/03/12 14:57, Benoît Fortier wrote:
My problem is similar to your case b. Maybe I shoud mention at this 
point that the lists are midi messages, and the first number of each 
lists are timestamps.

Did you have a look at qlist?


I'm looking for a solution within pd. I shall have a look at all your 
suggestions, they look all very good. The [coll] object seems to be 
the easiest solution to adapt to my patch, but I don't like the fact 
that the [sort fonction strips out the number it uses to do sorting, 
in my case the timestamp which is off course an important information. 
But well, thats quite easy to fix.


For your interest, the goal of the patch is to create a text file 
which will be converted into a midi file using [seq]. It seems that 
[seq] works well only with sequentially ordered midi messages.
Not sure on what operating system you are... but if you are on linux you 
might explore connecting Pd to a sequencer. But of course in this case 
the 'all within Pd' parameter falls.


Lorenzo.

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


Re: [PD] Anonymity.

2012-03-11 Thread Lorenzo Sutton

On 11/03/12 18:59, Jonathan Wilkes wrote:

From: Mathieu Bouchardma...@artengine.ca
To: Jonathan Wilkesjancs...@yahoo.com
Cc: Marco Donnarummade...@thesaddj.com; pd-list@iem.atpd-list@iem.at; i go 
bananashard@gmail.com
Sent: Sunday, March 11, 2012 1:17 PM
Subject: Re: [PD] Anonymity.
Le 2012-03-11 à 10:12:00, Jonathan Wilkes a écrit :

  From: Mathieu Bouchardma...@artengine.ca
  And it sounds a lot like a certain person who has been on pd-list for

many years.

  How is the true identity of the OP relevant here?


Because I doubt that this thread would have had as many posters and messages, if
the real name had been written. New fresh names cause posters to have a very
much different attitude. Using a fake name is a way to play with that change of
attitude.


If that's true it doesn't go very far, because there is only one other person 
that agrees
with the new poster, and if any more new posters suddenly arrived to agree it 
would
raise serious red flags in such a small community.


http://www.youtube.com/watch?v=v94ugLhua9Y

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


Re: [PD] Some more float weirdness/fun

2012-03-10 Thread Lorenzo Sutton

On 09/03/12 19:18, Quim Llimona wrote:

It's well-known that floats can't be treated the same way as integers...
but since PD is aimed at non-engineers and non-scientists I think it
would be a good idea to implement the good comparison algorithms (i.e.
checking against a threshold, etc) inside [==] and so, just to make
patching easier. Maybe it's already supposed to behave this way...


No, no...I don't agree (and hope initiating the thread didn't suggest 
this idea). [==] should be what it says exact comparison. Actually in 
the patch I was making it would have been simple to put in a [=] 
instead which basically *is* a threshold... I just thought it would be 
nice to point out some float fun given all the discussions :)


Lorenzo.


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


Re: [PD] question about moses/gate/split??

2012-03-10 Thread Lorenzo Sutton

My take attached.

On 10/03/12 19:23, Pagano, Patrick wrote:



HiSaturday, March 10, 2012 1:20 PM
hi
I had a question from a student that wants to do something special with
X/Y values from a motion grid example.
We are getting values from pdp_mgrid with a value of 4 for x and a value
of 4 for y so there are obviously different combinations.

here's here question:


If x can equal 1,2,3,4
and
y can equal 1,2,3,4

how to send a bang when

x=1  y=1 BANG 1


x=1  y=2 BANG 2


x=2  y=1 BANG 3


x=2  y=2 BANG 4

Need something that can easily have range changed x = 1-10 and y =1-10

Is there an eloquent way to do this in pure data? we have looked at
gate, moses and split and they seem close but not spot on

thanks in advance

pp


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


#N canvas 342 362 450 300 10;
#X obj 68 88  1;
#X obj 41 114 *;
#X obj 41 53 t f f;
#X floatatom 41 16 5 0 0 0 - - -;
#X floatatom 118 15 5 0 0 0 - - -;
#X obj 118 52 t b f;
#X floatatom 118 211 5 0 0 0 - - -;
#X obj 118 179 +;
#X text 77 16 x;
#X text 155 15 y;
#X connect 0 0 1 1;
#X connect 1 0 7 0;
#X connect 2 0 1 0;
#X connect 2 1 0 0;
#X connect 3 0 2 0;
#X connect 4 0 5 0;
#X connect 5 0 7 0;
#X connect 5 1 7 1;
#X connect 7 0 6 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] some observations and questions on Pd-ext 0.43.1 beta

2012-03-09 Thread Lorenzo Sutton

On 09/03/12 14:44, Marco Donnarumma wrote:


 We had to do $ pd-extended -nrt to get rid of the real time.
 Why this happens?

I experience the same.


So do I

Ok, then I don't think this should be a feature, or is it already?
I wonder if this is somehow related to the ~/.pdextended file being 
ignored (see my email sent yesterday) , maybe the -rt flag is in some 
unknown config file?
I must say personally don't dislike this (default rt), I very often 
start with rt and place it in the startup flags. But I guess it's a 
matter of taste/needs


 - is Flatspace being removed from Pd-ext?
 I couldn't find it in the extra folder. I needed it for [line3]

From what I know, flatspace has been removed, but the class should be
still found at its original location.

I just checked. It seems that it is from nusmuk, but there is no
nusmuk
library in the current autobuilds. Don't know if it was every included
as a library.


mm, that's weird. On my machine pd-ext 42.5 [line3] is in flatspace 
and not in nusmuk.

I doubt I could have moved it unintentionally.

A quick search on the last 0.42.5 I had, places it in nusmuk over here too.



 - The GUI has a bad responsiveness, nbx are slow, sliders and
graphs are
 updated every 1 second or similar. Usually it works flawlessly
both on
 Linux 10.04 and older and OSX.
 Is this being experienced by someone else with the same system?


Not over here. I am running Debian wheezy basically since XFCE since.

Lorenzo.

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


[PD] Some more float weirdness/fun

2012-03-08 Thread Lorenzo Sutton

Or, beware of trying to compare floats with [==] ...

Lorenzo.
#N canvas 457 235 653 545 10;
#X obj 47 134 + 0.1;
#X obj 111 -15 bng 15 250 50 0 empty empty empty 17 7 0 10 -204786
-1 -1;
#X floatatom 12 401 5 0 0 0 - - -;
#X floatatom 70 374 10 0 0 0 - - -;
#X text 49 402 - this will never be 1;
#X symbolatom 454 311 20 0 0 0 - - -;
#X obj 312 286 makefilename %.16f;
#X obj 373 100 + 1;
#X obj 12 374 == 3.5;
#X msg 14 51 3;
#X msg 327 64 30;
#X obj 14 134 f 3;
#X obj 327 100 f 30;
#X obj 373 136 == 35;
#X floatatom 373 159 5 0 0 0 - - -;
#X obj 327 20 bng 15 250 50 0 empty empty empty 17 7 0 10 -258113 -1
-1;
#X floatatom 425 137 5 0 0 0 - - -;
#X obj 327 181 * 0.1;
#X floatatom 327 208 5 0 0 0 - - -;
#X text 346 19 reset;
#X obj 312 310 print the_real_thing;
#X obj 120 337 print what_you_may_think...;
#X obj 12 423 sel 1;
#X obj 12 448 print NEVER;
#X obj 373 180 sel 1;
#X text 369 -15 Also check the Pd Window;
#X text 131 -14 next (click 5 times after reset);
#X text 460 290 comment;
#X text 427 281 the actual float beint output;
#X obj 409 394 expr ($f1);
#X obj 409 426 print what_expr_says;
#X obj 288 426 makefilename %.16f;
#X floatatom 542 425 5 0 0 0 - - -;
#X symbolatom 421 453 20 0 0 0 - - -;
#X obj 288 478 print but_actually_expr_is_also_seeing_this;
#X obj 243 426 == 3.5;
#X obj 242 452 sel 1;
#X text 434 98  WORKAROUND ;
#X obj 242 501 print NEVER2;
#X text 93 447 - this is never \; printed...;
#X text 160 499 nor this -;
#X obj 373 207 print OK_WORKAROUND---;
#X connect 0 0 11 1;
#X connect 1 0 11 0;
#X connect 1 0 12 0;
#X connect 2 0 22 0;
#X connect 6 0 5 0;
#X connect 6 0 20 0;
#X connect 7 0 12 1;
#X connect 8 0 2 0;
#X connect 9 0 11 0;
#X connect 10 0 12 0;
#X connect 11 0 0 0;
#X connect 11 0 3 0;
#X connect 11 0 6 0;
#X connect 11 0 8 0;
#X connect 11 0 21 0;
#X connect 11 0 29 0;
#X connect 12 0 7 0;
#X connect 12 0 13 0;
#X connect 12 0 16 0;
#X connect 12 0 17 0;
#X connect 13 0 14 0;
#X connect 14 0 24 0;
#X connect 15 0 10 0;
#X connect 15 0 9 0;
#X connect 17 0 18 0;
#X connect 22 0 23 0;
#X connect 24 0 41 0;
#X connect 29 0 30 0;
#X connect 29 0 32 0;
#X connect 29 0 31 0;
#X connect 29 0 35 0;
#X connect 31 0 33 0;
#X connect 31 0 34 0;
#X connect 35 0 36 0;
#X connect 36 0 38 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] pd-extended 0.43 ignoring ~/.pdextended

2012-03-08 Thread Lorenzo Sutton
It seems that pd-extended (0.43) ignores the .pdextended file in the 
home directory or at least a path added via the Preferences menu? 
Alternatives (apart from the start-up flag?)


Lorenzo.

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


Re: [PD] Editing CSS style, make pd.info better? [WAS: puredata.info site design provocation]

2012-03-07 Thread Lorenzo Sutton

Hi Marco,
+1 on taking this.

On 07/03/12 11:46, Marco Donnarumma wrote:

...

Is there a straight forward way to save the css I'm creating with firebug?
I mean, something other than copy pasting each class I edit.

Maybe this: http://www.incaseofstairs.com/firediff/

...


what ppl think?

A couple comments/suggestions:
- I agree that base font size could be slightly bigger.
- Personally I would leave the background white even in the header I 
think it reminds more of the white clean Pd canvas (which personally I 
find nice,  in a way inspiring and actually a Pd asset)
- Nice Screenshots in the front page. 100% if possible (I think Chris 
already suggested this)


This is not strictly related to the CSS, but may fit with a 'restyling'. 
Maybe it would be cool to have directly from puredata.info some media 
created with Pd, not sure if in the exhibition section or in it's own 
'media' section. I guess it would be ok to add stuff embedded from 
popular media sites (be it audio, video, image) or submitted by users.


Lorenzo.

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


Re: [PD] Editing CSS style, make pd.info better? [WAS: puredata.info site design provocation]

2012-03-07 Thread Lorenzo Sutton

On 07/03/12 14:27, Marco Donnarumma wrote:

agree!!

should we stick to margin: 0 auto, so to center it, or people is more 
left/ish?


I think if you keep the menu on the left, left is better.

on my website the width is 720px and centered, which I find a good 
compromise for both laptop and mobile browsers.


thoughts?

M



On Wed, Mar 7, 2012 at 12:45 PM, m.e.grimm megr...@gmail.com 
mailto:megr...@gmail.com wrote:


hello

can i put a suggestion in for fixed width rather than stretched?
fixed will retain all the design elements and text nicely
stretched just looks sloppy to me.

thanks!
m


On Tue, Mar 6, 2012 at 6:57 PM, Marco Donnarumma
de...@thesaddj.com mailto:de...@thesaddj.com wrote:
 this is what I'm working on, started with the exhibition page,
but it could
 be generalized.
 I only added now the background pattern of the ubuntu website,
following on
 the ubuntu font by chris.

 This is only CSS editing, but I had to delete the navigation tab
on the top
 from the html.
 I say so, because apparently it's easy to edit the plone css
custom theme,
 but edit the structure might be more painful.

 Next I want to display images for each project and a slightly longer
 description.

 attached there's a screenshot..

 M




 On Tue, Mar 6, 2012 at 10:45 PM, Marco Donnarumma
de...@thesaddj.com mailto:de...@thesaddj.com
 wrote:

 Hey folks,

 I got my head around the CSS editing of PLONE.
 I can do the CSS job, the only downside is that it has to be
done with
 Plone in development mode.
 This apparently would slow down the site a bit.

 However, fact is, if we modify a css class, this will affect
the whole
 website.

 How should we handle this?
 Voting for the best style, collecting ideas, or

 I can join Chris and send over some styles I've been trying.
 It would be great to give a better look, at least to the extent
that the
 css allows.

 M



 On Tue, Mar 6, 2012 at 11:13 AM, Marco Donnarumma
de...@thesaddj.com mailto:de...@thesaddj.com
 wrote:

 Hi Chris,

 I'm glad you did that.
 It is what I'm also doing following the discussion in the past
week about
 the website.
 However, apparently it's a pain to be able to change only the
css in the
 plone template.
 I'm looking into that, if somebody is more experienced than me
in Plone,
 give me a shout!

 But, yes, your is a good example of how the same website could
look much
 friendlier.

 talk soon,
 M




 On 03/06/2012 10:35 AM, Jonathan Wilkes wrote:
  The one thing I miss is the news section.

 Yeah for sure.

  It's probably a little too heavy for the frontpage, but how
has webpd
  progressed?
 
  Is it possible to link that picture of a patch on the
frontpage to a
  page with a webpd
 
  version of that patch?

 Yes but it almost certainly won't run and WebPd has no GUI. :)

 Maybe a simpler patch could work.

 Cheers,

 Chris.

 --
 http://mccormick.cx/



 --
 Marco Donnarumma
 New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
 ACE, Sound Design MSc by Research (ongoing)
 The University of Edinburgh, UK
 ~
 Portfolio: http://marcodonnarumma.com

 Research: http://res.marcodonnarumma.com |
http://www.thesaddj.com | http://www.flxer.net
 Director: http://www.liveperformersmeeting.net




 --
 Marco Donnarumma
 New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
 ACE, Sound Design MSc by Research (ongoing)
 The University of Edinburgh, UK
 ~
 Portfolio: http://marcodonnarumma.com
 Research: http://res.marcodonnarumma.com |
http://www.thesaddj.com | http://www.flxer.net
 Director: http://www.liveperformersmeeting.net

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




--

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com mailto:megr...@gmail.com
_




--
Marco Donnarumma
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http://marcodonnarumma.com http://marcodonnarumma.com/
Research: http://res.marcodonnarumma.com 
http://res.marcodonnarumma.com/ | http://www.thesaddj.com 
http://www.thesaddj.com/ | http://www.flxer.net http://www.flxer.net/
Director: 

Re: [PD] [table] update notification

2012-03-07 Thread Lorenzo Sutton

On 07/03/12 09:55, Roman Haefeli wrote:

 Hi all

 Is there a way to be reliably notified when a table/array changes? My
 hope is that I don't know of some hidden feature. Is there any?

 It's easy to catch messages sent to [s arrayname]. However, it's not so
 easy when data is written through [tabwrite arrayname] or [tabwrite~
 arrayname] or if the data is drawn manually.
If the arrays are changed by [tabwrite] and/or [tabwrite~] couldn't you 
'intercept' these writes (i.e. changes)? E.g. for messages with one or 
more [change] for signals depending on the logic of the patch, maybe 
[thershold~]... Unless I totally misunderstood your scenario.


Lorenzo.



 My current solution is quite a CPU hog: The whole table is scanned in
 periodic intervals and compared to a reference table, so that any
 difference will be caught. Of course, this solution comes with a latency
 (it's a trade-off between avoiding latency and saving CPU cycles).
 Probably, it could be a wee bit less CPU hungry to make the comparison
 in the audio domain instead of the message domain, but still it's
 work-around.

 Is there a real solution for this around?

 Roman




 ___
 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] [OT] Music Notation in linux

2012-03-05 Thread Lorenzo Sutton

On 05/03/12 01:43, Mathieu Bouchard wrote:

Le 2012-03-03 à 22:54:00, Lorenzo Sutton a écrit :

You can create a midi output, with all the drawbacks and benefits. As 
far as I know there is no lilypond player, but to be totally honest 
I'm not sure it would make so much sense as lilypond is primarily a 
music typesetting language.


Do you also mean it doesn't make much sense to use PureData for 
anything else than audio ?
No, nor I see the logic by which you assume I mean that from the above 
statement.


And computers were only meant for doing math, too.


Indeed they are.
And I don't think math is anything dirty, with less dignity than other 
disciplines, or to be ashamed of.
Computers are very powerful, yet stupid, calculators. In fact in Italian 
we still use the word calcolatore to address a computer. And of course 
'computer' itself stems from the French computer, and in turn from the 
Latin  computare. [1]
Saying computers are anything different is at best a (very intriguing) 
fascination; at worst plain mystification.


Lorenzo.

[1] http://en.wiktionary.org/wiki/computer#Etymology




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


Re: [PD] [OT] Music Notation in linux

2012-03-05 Thread Lorenzo Sutton

On 05/03/12 17:18, Mathieu Bouchard wrote:

Le 2012-03-05 à 09:07:00, Lorenzo Sutton a écrit :

On 05/03/12 01:43, Mathieu Bouchard wrote:

Le 2012-03-03 à 22:54:00, Lorenzo Sutton a écrit :


You can create a midi output, with all the drawbacks and benefits.
As far as I know there is no lilypond player, but to be totally
honest I'm not sure it would make so much sense as lilypond is
primarily a music typesetting language.


Do you also mean it doesn't make much sense to use PureData for
anything else than audio ?

No, nor I see the logic by which you assume I mean that from the above
statement.


Think of sentences like « It doesn't make much sense to use X as a Y
because X is primarily a Z »...


It can be dangerous/misleading to extract the general rule from one 
single, very specific example like this, and then re-apply it to a 
totally different domain/example.


That is, you are applying the logic assumption:

*If* Lorenzo says:
It doesn't make much sense to use Lilypond as a midi  creator as it is 
primarily a typesetting system


*then* he also *always* thinks:

It doesn't make much sense to use X as Y because X is primarily Z

and *thus* Lorenzo thinks:

It doesn't make much sense to use Pd as a 
[something-else-differnt-than-audio-creator] as it is primerily an 
[Audio-creation-something]


The part were you implicitly go from (cery) specific to general and back 
to specific again is the weakest - in my humble opinion ;)


Lorenzo.

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


Re: [PD] [OT] Music Notation in linux

2012-03-05 Thread Lorenzo Sutton

On 05/03/12 20:22, Mathieu Bouchard wrote:

Le 2012-03-05 à 19:58:00, Lorenzo Sutton a écrit :


It can be dangerous/misleading to extract the general rule from one
single, very specific example like this, and then re-apply it to a
totally different domain/example.


Yes, but then, the reasoning that you stated is not what you actually
meant. You're not trying to say that it doesn't make sense to use
something that is primarily a typesetting system, to do midi output. It
may be because Lilypond in particular is bad at this task in particular,
but you already are generalising by calling it « a midi creator » and
« a typesetting system » and that a fact about the latter in general
justifies a statement about the former in general.

I'm not saying that I really expressed myself well in yesterday's
reply... It was a bad way to put it.


No problem, I can see what you meant. I was just trying to point out 
that the nuances of language in my opinion *are* important. email as a 
medium doesn't help because it is purely written text :)

Lorenzo.

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


Re: [PD] [OT] Music Notation in linux

2012-03-03 Thread Lorenzo Sutton

On 03/03/12 22:18, Mathieu Bouchard wrote:

Le 2012-02-28 à 11:42:00, Lorenzo Sutton a écrit :


I think this can be mitigated by using some gui programme which can
then export to lilypond. It does add an additional passage to the
chain but can be useful for editing the music. E.g. I have used
Rosegarden (which is mainly a sequencer and has the advantage of
playing the music).


Is there any programme that can play a .ly file, using some reasonable
expectations of what « staccato » means, et cætera ?


You can create a midi output, with all the drawbacks and benefits.
As far as I know there is no lilypond player, but to be totally honest 
I'm not sure it would make so much sense as lilypond is primarily a 
music typesetting language.


The cited Rosegarden (but I'm sure other notation software too) has an 
Interpret function which will try to do what you describe for the 
'standard' dynamics and articulation


Lorenzo.

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


Re: [PD] [OT] Music Notation in linux

2012-02-28 Thread Lorenzo Sutton

Hi.

On 28/02/12 11:18, Funs Seelen wrote:

Hi Andrew,

I use Lilypond very often and I think it's a great tool for music 
notation. It contains the possibility to notate ancient and 
non-western music as well. It's easy to write reusable templates for 
different styles of music. The main disadvantage (compared to f.e. 
Sibelius) is that due to compile time changes of a single note take a 
lot of time to be visible, 
I think this can be mitigated by using some gui programme which can then 
export to lilypond. It does add an additional passage to the chain but 
can be useful for editing the music. E.g. I have used Rosegarden (which 
is mainly a sequencer and has the advantage of playing the music).


Lorenzo.
especially when also rendering a midi-file. I think that learning the 
language is not harder than learning to use a GUI-tool. BTW 
templates/examples are available online. Lilypond notation reference 
(http://lilypond.org/doc/v2.12/Documentation/user/lilypond/index) will 
be your friend.


--Funs


___
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] Altova Mapforce

2012-02-23 Thread Lorenzo Sutton

On 23/02/12 04:24, Mathieu Bouchard wrote:


If that may reassure you... not only Pd has messes of uncooked 
spaghetti going under boxes and stuff. And not only dataflow diagrams 
have them. This is an example in a data-relational diagram in a 
database app :


http://www.altova.com/images/landing_page/mapforce_screenshot_large.png


And at least in Pd you can subpatch.. Graphs can get pretty tricky too, 
especially when created automatically:


http://perro.si/wp-content/uploads/2008/08/bb.gif



And cooking the spaghetti softens the spaghetti but it's still spaghetti.


Ugh,  softened spaghetti are terrible -  they are the buffer overflow of 
pasta cooking!!




OTOH, it would be a lot more readable already if the middle boxes were 
just placed in proper places...


True... Maybe also a vertical flow instead of horizontal.




 __
| 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] note detection

2012-02-21 Thread Lorenzo Sutton

Hi Joe,

On 21/02/12 10:17, joe higham wrote:

Hi @ PD List

I'd love to hear from anyone with some information on objects and note 
detection. I've been messing around with fiddle~ and sigmund~ but nothing is 
really precise enough.
Depends on what you mean by 'precise enough'. If that means someone 
palying a piano piece and [someonject] spitting out exactly the notes 
played by the player AFAIK it is impossible with the audio input only.

  It would be fantastic to have an object that recognises pitch or pitches so 
as to play in chords or single notes (pitches) that then could be detected and 
used as
needed via patches.

Any suggestions? Or maybe Miller has an idea of an object or something to add 
to the system that could be of use?
It would help to have a little more background and understand the 
requirements. pitch detection can be a very broad term...


Lorenzo

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


Re: [PD] [PD-announce] Xth Sense awarded first prize first prize at Guthman Musical Instrument Competition

2012-02-20 Thread Lorenzo Sutton

Congratulations Marco!

Ciao,
Lorenzo.

On 19/02/12 15:28, Marco Donnarumma wrote:

Dear all,

I'm coming back to Europe in few hours, but wanted to share this news.

http://www.gtcmt.gatech.edu/news/marco-donnarumma’s-xth-sense-named-world’s-most-innovative-new-musical-instrument

thanks to the whole community, without which this research would have 
not been possible.

best wishes,

--
Marco Donnarumma
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http://marcodonnarumma.com http://marcodonnarumma.com/
Research: http://res.marcodonnarumma.com 
http://res.marcodonnarumma.com/ | http://www.thesaddj.com 
http://www.thesaddj.com/ | http://www.flxer.net http://www.flxer.net/
Director: http://www.liveperformersmeeting.net 
http://www.liveperformersmeeting.net/



___
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] floating-point question

2012-02-20 Thread Lorenzo Sutton

On 20/02/12 04:42, Jonathan Wilkes wrote:

- Original Message -

From: Mathieu Bouchardma...@artengine.ca
To: Hans-Christoph Steinerh...@at.or.at
Cc: pd-list@iem.at; Mirko Petrovichmirko.petrov...@gmail.com
Sent: Sunday, February 19, 2012 10:12 PM
Subject: Re: [PD] floating-point question

Le 2012-02-19 à 21:52:00, Hans-Christoph Steiner a écrit :

  On Feb 17, 2012, at 4:27 PM, Mirko Petrovich wrote:

  I'm having a problem with a patch doing some very simple math. The

problem is that float 0.1 represents as 0.085 in some cases.

  That's a problem with floating point calculations on computers,

unfortuantely.  Hard to work around that.


...

With 64-bit floats does this problem practically go away (like getting an index 
into
a large table)?

Careful, though, if you convert it back to 32 or 16 bit.
Especially if you are using expensive gear:

http://www.around.com/ariane.html



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


[PD] Accessing and navigating menus with keyboardRe: [WAS]: new editing features of Pd-extended 0.43, now in beta!

2012-02-20 Thread Lorenzo Sutton

On 20/02/2012 16:37, Roman Haefeli wrote:

FYI:
On my Ubuntu 10.04 machine (I guess also on the 11.04 machine) and on
Windows 7, both Pd  (0.43.1) and Pd-extended (2012-01-24/2012-02-16)
seem to support arrow keys for navigating the menu.


Additionally ALT + [key] shortcuts to open the menus (e.g. ALT + F for 
fil etc. ) is implemented, which is nice (this is on Debian Linux at least)-


Lorenzo


Roman

On Mon, 2012-02-20 at 07:22 -0800, Aykut Caglayan wrote:

Which platform?

OS X, 10.5.8



how do you do it?

I think it is very clear, anyway, for instance; first I click on
'File', then go down in the 'File' menu with down key or go rigth to
'Edit' or 'Put' menu with right arrow key etc.






__
From: Hans-Christoph Steinerh...@at.or.at
To: Aykut Caglayanaykut_cagla...@yahoo.com
Cc: pd-list@iem.atpd-list@iem.at
Sent: Monday, February 20, 2012 5:02 PM
Subject: Re: new editing features of Pd-extended 0.43, now in beta!




Which platform?  I've never done that, how do you do it?


.hc

On Feb 20, 2012, at 9:14 AM, Aykut Caglayan wrote:


I would like to navigate in the menu bar using arrow keys (like in
Pd-vanilla)



many thanks for your efforts


--
Aykut Caglayan (PhD)
http://aykutcaglayan.blogspot.com/

























It is convenient to imagine a power beyond us because that means we
don't have to examine our own lives., from The Idols of
Environmentalism, by Curtis White











___
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] import and search paths - 0.43 on debian

2012-02-17 Thread Lorenzo Sutton

On 16/02/12 16:03, Hans-Christoph Steiner wrote:

On Feb 15, 2012, at 3:14 AM, Lorenzo Sutton wrote:


On 14/02/12 18:49, Hans-Christoph Steiner wrote:

On Feb 14, 2012, at 10:17 AM, Lorenzo Sutton wrote:


I know this has probably often been debated but...

I can't seem to understand the logic for which [import] fails with an error 
e.g.:

[import]: ERROR: can't load library in monlib

and doesn't for others.

This is on debian with libraries installed from respective packages, and are 
all in /usr/lib/pd/extra

I may be missing something about the behaviour of [import] but the apparently 
herratic behaviour makes understanding this hard.

Of course all the libs could be imported by prefixing them such as 
[osc/packOSC] but then opening the help patch won't find [udpsend] which should 
then be [iemnet/udpsend] etc. having a single [import iemnet osc] would make 
much more sense. If it worked.

You can include all the libraries you want in a single import statement, that's 
the preferred way to do it, i.e. [import moonlib motex Gem osc]

Now that you've fixed the typo, what's the error?


As I said this seems to be erratic - at least to me for the moment - so for 
moonlib specifically e.g.

[import]: ERROR: can't load library in moonlib

Same goes e.g. for osc.

On the other hand if I try to import Gem [import Gem] it works.

One interesting thing i discovered for the errors mentioned above is that if 
I also import (before) libdir they work. Maybe this is the requirement I wasn't 
understanding about the import process?

[import libdir moonlib osc]

gives:
libdir loader 1.9
compiled on Jul 21 2011 at 03:17:08
compiled against Pd version 0.43.0.
[import] loaded library: libdir
[import] loaded library: moonlib
[import] loaded library: osc

Ciao
Lorenzo.
PS: BTW I wouldn't have started a thread based on a single error with a typo  
although I can see it might have been misleading ;)


Sounds like you are using 0.42 preferences with 0.43.  Delete or move your 
~/.pdextended file and [import moonlib] should work fine.
Indeed there was a ~/.pdextended file which I removed, but I still get 
the error, while it works with [import libdir moonlib]


Lorenzo.


.hc




“We must become the change we want to see. - Mahatma Gandhi




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


Re: [PD] import and search paths - 0.43 on debian

2012-02-17 Thread Lorenzo Sutton

On 17/02/2012 20:05, Hans-Christoph Steiner wrote:


On Feb 17, 2012, at 6:49 AM, Lorenzo Sutton wrote:


On 16/02/12 16:03, Hans-Christoph Steiner wrote:

On Feb 15, 2012, at 3:14 AM, Lorenzo Sutton wrote:


On 14/02/12 18:49, Hans-Christoph Steiner wrote:

On Feb 14, 2012, at 10:17 AM, Lorenzo Sutton wrote:


I know this has probably often been debated but...

I can't seem to understand the logic for which [import] fails with an error 
e.g.:

[import]: ERROR: can't load library in monlib

and doesn't for others.

This is on debian with libraries installed from respective packages, and are 
all in /usr/lib/pd/extra

I may be missing something about the behaviour of [import] but the apparently 
herratic behaviour makes understanding this hard.

Of course all the libs could be imported by prefixing them such as 
[osc/packOSC] but then opening the help patch won't find [udpsend] which should 
then be [iemnet/udpsend] etc. having a single [import iemnet osc] would make 
much more sense. If it worked.

You can include all the libraries you want in a single import statement, that's 
the preferred way to do it, i.e. [import moonlib motex Gem osc]

Now that you've fixed the typo, what's the error?


As I said this seems to be erratic - at least to me for the moment - so for 
moonlib specifically e.g.

[import]: ERROR: can't load library in moonlib

Same goes e.g. for osc.

On the other hand if I try to import Gem [import Gem] it works.

One interesting thing i discovered for the errors mentioned above is that if 
I also import (before) libdir they work. Maybe this is the requirement I wasn't 
understanding about the import process?

[import libdir moonlib osc]

gives:
libdir loader 1.9
compiled on Jul 21 2011 at 03:17:08
compiled against Pd version 0.43.0.
[import] loaded library: libdir
[import] loaded library: moonlib
[import] loaded library: osc

Ciao
Lorenzo.
PS: BTW I wouldn't have started a thread based on a single error with a typo  
although I can see it might have been misleading ;)


Sounds like you are using 0.42 preferences with 0.43.  Delete or move your 
~/.pdextended file and [import moonlib] should work fine.

Indeed there was a ~/.pdextended file which I removed, but I still get the 
error, while it works with [import libdir moonlib]


What about just [import moonlib]?


It fails with the same error.



What does this should you on your machine:
ls -l /usr/lib/pd-extended/startup/


ls: cannot access /usr/lib/pd-extended/startup/: No such file or directory


Lorenzo.


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


Re: [PD] [PD-announce] new editing features of Pd-extended 0.43, now in beta!

2012-02-17 Thread Lorenzo Sutton

Thank you! Great news installed it and playing with it. Very good.

Lorenzo.

On 17/02/2012 21:02, Hans-Christoph Steiner wrote:


http://at.or.at/hans/blog/2012/02/17/new-editing-feature-of-pd-extended-0-43-now-in-beta/

The Pd-extended 0.43 release has been brewing an extra long time, about 18 
months now, mostly because there are lots of big improvements, and we wanted to 
make sure we got it right, so your patches all work, but the improvements all 
shine. Its now solidly beta, so we’re looking for testers. Download a nightly 
build to try here:

http://autobuild.puredata.info/auto-build/latest/

First off, the pd-gui side of Pd has been re-written from scratch. When you run 
Pd, you are actually running two programs: pd is the core engine and pd-gui is 
the GUI. Since basically all computers now come with multiple CPU cores, this 
means that pd-gui will usually run on a separate CPU core than pd, so they 
don’t step on each other’s toes. pd can entirely take over its own core. If you 
want to make your patch use more CPU cores, then check out the [pd~] object 
introduced in the last release (0.42.5).

pd still handles some of the GUI stuff, but we are working on splitting that 
out for the 0.44 release. That is a big chunk of work but it will also bring 
big gains. In particular, it means that it will be possible for people to write 
their own GUIs for Pd, covering not just the display of the patch, but also the 
editing, and everything else. You like OpenFrameworks, python, iOS, JUCE, Qt, 
etc.? Write your own pd-gui using the toolkit of your choice. That’s the idea 
at least. That will take a solid chunk of work, so we are looking for people to 
join that effort.

There are so many ideas for making a better editing experience in Pd, this 
release makes big strides to address the editing experience. There are new 
features like Magic Glass, Autotips, Autopatch and Perf Mode, all available on 
the Edit menu.

• Magic Glass let’s you magically see the messages as they pass through the 
cords. Just turn it on and hover above a cord, and you’ll see the messages as 
they go by. You can even look at signal/audio cords.

• Autotips gives you tips about what an object does, what its inlet expects, 
and what comes out of the outlets.

• Autopatch mode automatically connects objects as you create them.

• Perf Mode, is a mode for performance that makes it harder to accidentally 
close windows that are part of your performance.

The Pd Window is also majorly overhauled. First of all, its fast. Much much 
faster than the old one. You can now print thousands of messages per second to 
the Pd Window and still edit your patch. No more will an accidental dump of 
info cause the GUI to freeze up (well, ok, maybe if you send 10,000 
messages/second but that is a way too many). There are also now 5 levels of 
printing messages to the Pd Window: fatal, error, normal, debug, all. If you 
are only interested in fatal errors, switch the Pd Window to 0 – fatal, and 
you’ll only see the worst problems. You want to see every single message to 
debug? Switch to 4 – all, and you’ll get the whole firehose.

There is also the new log library, which lets you easily send messages for 
those different levels. And all messages logged with the objects from the log 
library are clickable: when you Ctrl-Click or Cmd-click (Mac OS X) on the line 
in the Pd Window, it’ll pop up the patch where the message came from, and 
highlight the specific object that printed it. That even works for many 
messages from other objects as well.

The Pd Window also includes very basic level meters for monitoring the input 
and output levels. And for those who want to play with the GUI in realtime, you 
can type Tcl code in the Tcl entry field, and directly modify and probe the 
running GUI.

One thing that you can do now is customize the GUI using GUI plugins. You can 
change all sorts of colors, some fonts, and many behaviors. Want to create a 
new object when you triple-click? Try the tripleclick example plugin Want to 
make the patch cords disappear when you leave Edit Mode? Check out the “only 
show cords in edit mode” example. Those are the simple ones. There is also Tab 
Completion, a search engine for the docs, a category browser for the 
right-click menu, a buttonbar for creating objects, and more.

You can find many GUI plugins in the new section of the downloads page as well 
as documentation for making your own. What kind of GUI plugin will write?



___
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] import and search paths - 0.43 on debian

2012-02-15 Thread Lorenzo Sutton

On 14/02/12 18:49, Hans-Christoph Steiner wrote:

On Feb 14, 2012, at 10:17 AM, Lorenzo Sutton wrote:


I know this has probably often been debated but...

I can't seem to understand the logic for which [import] fails with an error 
e.g.:

[import]: ERROR: can't load library in monlib

and doesn't for others.

This is on debian with libraries installed from respective packages, and are 
all in /usr/lib/pd/extra

I may be missing something about the behaviour of [import] but the apparently 
herratic behaviour makes understanding this hard.

Of course all the libs could be imported by prefixing them such as 
[osc/packOSC] but then opening the help patch won't find [udpsend] which should 
then be [iemnet/udpsend] etc. having a single [import iemnet osc] would make 
much more sense. If it worked.

You can include all the libraries you want in a single import statement, that's 
the preferred way to do it, i.e. [import moonlib motex Gem osc]

Now that you've fixed the typo, what's the error?



As I said this seems to be erratic - at least to me for the moment - so 
for moonlib specifically e.g.


[import]: ERROR: can't load library in moonlib

Same goes e.g. for osc.

On the other hand if I try to import Gem [import Gem] it works.

One interesting thing i discovered for the errors mentioned above is 
that if I also import (before) libdir they work. Maybe this is the 
requirement I wasn't understanding about the import process?


[import libdir moonlib osc]

gives:
libdir loader 1.9
compiled on Jul 21 2011 at 03:17:08
compiled against Pd version 0.43.0.
[import] loaded library: libdir
[import] loaded library: moonlib
[import] loaded library: osc

Ciao
Lorenzo.
PS: BTW I wouldn't have started a thread based on a single error with a 
typo  although I can see it might have been misleading ;)


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


Re: [PD] Pd-extended can't see $0-arrays ???

2012-02-14 Thread Lorenzo Sutton

On 14/02/12 04:38, Mathieu Bouchard wrote:

Le 2012-02-14 à 07:33:00, Фывапр Олджэвич a écrit :


Why can't I create Arrays with names like  $0-tab  ?


$0 has no effect in messageboxes. You need to generate it using a 
float box such as [f $0] or even just [$0].


For [soundfiler] you can also use a symbol to pass as the array name and 
that will correcly translate $0 Eg.


[bang(
|
[symbol $0-tab]
|
[read -resize myfile.aiff $1(
|
[soundfiler]

As for [tabwrite] and [tabread] using $0 will work fine (e.g. [tabwrite $0]

For sending messages to arrays such as resize, normalize etc. you can 
use [send $0-tab] objects instead of the [;resize tablename( notation


Lorenzo.


Yes, this is a quite annoying shortcoming of Pd... especially because 
if you already are passing something to the messagebox, you have to 
add a [pack] and a [loadbang].


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


[PD] import and search paths - 0.43 on debian

2012-02-14 Thread Lorenzo Sutton

I know this has probably often been debated but...

I can't seem to understand the logic for which [import] fails with an 
error e.g.:


[import]: ERROR: can't load library in monlib

and doesn't for others.

This is on debian with libraries installed from respective packages, and 
are all in /usr/lib/pd/extra


I may be missing something about the behaviour of [import] but the 
apparently herratic behaviour makes understanding this hard.


Of course all the libs could be imported by prefixing them such as 
[osc/packOSC] but then opening the help patch won't find [udpsend] which 
should then be [iemnet/udpsend] etc. having a single [import iemnet osc] 
would make much more sense. If it worked.


Lorenzo.



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


Re: [PD] import and search paths - 0.43 on debian

2012-02-14 Thread Lorenzo Sutton

On 14/02/12 16:32, IOhannes m zmölnig wrote:

On 02/14/12 16:17, Lorenzo Sutton wrote:

I know this has probably often been debated but...

I can't seem to understand the logic for which [import] fails with an
error e.g.:

[import]: ERROR: can't load library in monlib


isn't this called moonlib?

Yes, bad example with a typo. But the error(s) are still there.

Lorenzo.

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


Re: [PD] Debian, Pd and Midi

2012-02-13 Thread Lorenzo Sutton

On 13/02/12 01:07, Martin Peach wrote:

On 2012-02-12 17:32, Nicola Pandini wrote:

Hi, I'd like to use Pd for midi processing, and I'm trying to find the
flags to have the best Pd for midi possible.
For me midi latency is an extremely important factor, so all my efforts
were in the way to optimize it.
I did some experiments, playing with flags and seeing what happens (I
use Pd 0.43.1 on Debian Wheezy, with jack 44.100 - 128 frames):

With
-rt -jack -audiobuf 1 -alsamidi
I get 2.9 ms of midi latency

Adding
-noaudio
I get two possible values: 1.45 or 2.9 ms

Adding
-r 192000
I get 1.33 ms


Interesting. But how are you actutually measuring this?
And is this using external hardware for midi IN/OUT?



I don't know why I have to modify the sample rate (-r) to affects the
midi latency.


Pd sends non-audio messages in between audio blocks, usually every 64 
sample frames. MIDI is sent via a Pd message. You may not get latency 
so much as jitter on the millisecond level, as all messages are 
quantized to the audio block period.
At 44100Hz, 64 sample frames take up 1.4512 ms, so Pd messages are 
spaced at multiples of that period.
So you get either one or two frames latency depending on when you send 
the message relative to the audio block.

Running at a higher sample rate gives you lower message latency.
Add to that the latency of the MIDI driver and hardware, which is 
probably less than 1ms. As well a full 3-byte MIDI message takes 
0.96ms to send at 31250Hz (30 bits * 32us/bit).
Probably you could get lower latency by encoding the MIDI directly as 
an audio waveform but you'd need to make a hardware circuit to convert 
the audio levels to MIDI levels.

Since sound travels about 1 meter in 3ms, it's not all that much latency.

Lorenzo.


Martin

___
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] seeking help for -batch option

2012-02-13 Thread Lorenzo Sutton

On 13/02/12 02:42, Miller Puckette wrote:

When I need to do that kind of thing I use the -send command line argument to
communicate with the patch to tell it which file(s) to open / save to, etc.

There are probably many other ways too.
Also depending on the processing logic etc. one could call pd for each 
file and e.g. put it in a bash script...


for f in *.wav;
do
pd -nogui -noaudio -nomidi -send in_file $f -send out_file 
`basename $f .wav`_processed_`date +%Y-%m-%d-%H-%M-%S`.wav -stderr 
process.pd

done

Totally untested!

Lorenzo.




cheers
Miller

On Sun, Feb 12, 2012 at 07:57:01PM -0500, patrick wrote:

hi,

i am creating an acoustic model (in french). i would like to use
puredata to double or even triple the amount of data (voice
recording) by adding some modification to each soundfile (maybe
changing the pitch of the voice, adding a bit of noise etc...).

in a directory i have multiple *.wav, how to have pd process each
soundfile, apply an effect and save the result in a new file?

thanks!


___
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] Strange segfault with soundfiler Pd-0.43.1-1 debian wheezy

2012-01-31 Thread Lorenzo Sutton

On 30/01/12 11:31, Lorenzo Sutton wrote:

On 30/01/12 09:47, Nicola Pandini wrote:

Il 28/01/2012 20:22, IOhannes m zmölnig ha scritto:

On 01/28/12 08:44, Lorenzo Sutton wrote:

Well before reporting a bug I would like to make sure this isn't a
'local' issue. Anyway I'll sure do.


Hi, same issue here (with Wheezy and Pd 0.43.1-1).

Well. I guess I can file a bug report (as soon as I'm back to that 
machine).
This is moste definitely confirmed. Now it also appears on the machine 
which seemed to work after a dist-upgrade. An interesting thing I 
discovered is that it only seems to affect WAV files and not AIFF ones.


Anyway I've reported it as bug #658074 [1]

Lorenzo.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658074

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


  1   2   3   >