Re: [PD] keeping Pd DSP alive

2014-04-13 Thread patrice colet


Le 13/04/2014 22:42, Chris Clepper a écrit :
I could not get PortAudio to work on ARM at all and Jack has issues 
with duplex low latency.


What's the deal with the ALSA mmap code?  Doesn't that use callbacks?



just an idea, what about using a signal (generated with sig~ or adc~) 
for checking if DSP is running, and send amplitude to another instance, 
or a daemon that would turn dsp on if signal isn't coming anymore, or 
kill and launch pd again if it doesn't respond to pings


On Sun, Apr 13, 2014 at 2:55 PM, Miller Puckette > wrote:


You might have already tried this, but it might work better to use
portaudio to get to ALSA - it can connect with ALSA using callbacks
which the built-in ASA code doesn't.  I don't know what difference
this
will make but perhaps it will help.


I'm afraid callbacks would take a lot of CPU


(try compiling with and without FAKEBLOCKING and THREADSIGNAL
defined in
s_audio_pa.c).

cheers
Miller

On Sat, Apr 12, 2014 at 07:26:56PM -0700, Jonathan Wilkes wrote:
> There isn't a way to poll the DSP state in Pd Vanilla.
>
> -Jonathan
>
> On Saturday, April 12, 2014 8:47 PM, Chris Clepper
mailto:cgclep...@gmail.com>> wrote:
>
> [pdinfo] is not part of vanilla.  I can't (nor want to) use
extended for this project.
>



maybe you want to use pd-l2ork (works greatly on raspbian)


> On Saturday, April 12, 2014, Jonathan Wilkes mailto:jancs...@yahoo.com>> wrote:
>
> On 04/12/2014 04:27 PM, Chris Clepper wrote:
> >
> >Hi list
> >>
> >>
> >>I'm wondering if there are any recommended ways to ensure DSP
keeps running for long periods like permanent installations.  I
get 'audio I/O stuck' popping up every few days, which is not bad,
but ideally audio should stay running indefinitely.
> >>
> >>
> >>I can send a [metro 1000] to [;pd DSP 1( to keep audio going,
but is there any long term issue with doing that?  Will it
reliably restart audio after Pd closes it?
> >>
> >>
> >>Also, the internal message [;pd audiostate( only returns data
to the console.  Perhaps there is a way to poll Pd for the
internal DSP state and restart it if it dies?
> >In Pd-l2ork:
> >[dsp-status(
> >|
> >[pdinfo]
> >
> >-Jonathan
> >
> >
> >
> >>
> >>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


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


Re: [PD] can [bp~] be obtained with biquad coefficients?

2014-04-12 Thread patrice colet


Le 12/04/2014 08:45, Alexandre Torres Porres a écrit :

> change the [fexpr~] to something like
> [fexpr~ $x[0] + ($f2 * $y[-1]) + ($f3 * $y[-2])]

f*ck, I'll be damned, now my patch that implements [bp~] with [fexpr~] 
seems to work, it's attached. Thanks!


thanks for the share, when I tried to implement filters with expr and 
biquad I haven't been able to get it working fully (some clics appeared 
when changing frequency)... Your implementation works very well in both 
cases, "chapeau bas"




> it's pretty easy to see that from the code you quoted

I can't really see it from the code itself. And, well, remember I 
mentioned about the biquad code?


{
t_sample output =  *in++ + fb1 * last + fb2 * prev;
if (PD_BIGORSMALL(output))
output = 0;
*out++ = ff1 * output + ff2 * last + ff3 * prev;
prev = last;
last = output;
}

Well, I made a silly confusion mistake and thought the first line was 
feedforward  (and then equivalent to the bp~). But still, it could be 
it for all I can tell. How can you actually see wether is feedback or not?


Anyway, the patch works and I can also make it on biquad, it's all 
attached.


> after all it's a resonating filter and therefore needs a feedback path.

I wouldn't know about that, but that's how you convinced me you knew 
what you were talking about :)


Thanks again


2014-04-11 16:46 GMT-03:00 volker böhm >:



On 11.04.2014, at 16:48, Alexandre Torres Porres wrote:

> ""last" and "prev" are the last two _output_ samples.
> i don't know fexpr~ very well, but it looks like you try to
access the last _input_ samples."
>
> In [fexpr~] you can access input samples with $x variables and
output samples with $y. So you're correct. I'm going for the input
samples.
>
> But I did it because I believe "last" and "prev" in this formula
are in fact about input samples.


no, and it's pretty easy to see that from the code you quoted:

> > t_sample output = *in++ + coef1 * last + coef2 * prev;
> >
> > *out++ = gain * output;
> >
> > prev = last;
> >
> > last = output;


after all it's a resonating filter and therefore needs a feedback
path.
so it somehow has to take outgoing samples back in.


> So I feel pretty strong about getting this [fexpr~] right. Is
there anything I did not take into consideration?

yes, calculate coef1, coef2 and gain by using the formulas from
the code,
change the [fexpr~] to something like [ fexpr~ $x[0] + ($f2 *
$y[-1]) + ($f3 * $y[-2]) ],
(where $f2 and $f3 would be coef1 and coef2 resp.)
apply the gain factor afterwards,
and you are done.

vb






___
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 wanted: loop station

2014-03-27 Thread patrice colet

hello roman,

 there are several ways to sync audio loops, in most methods we try to 
read audio samples in a way that they are in sync by changing read speed 
or chunk size, or stretching it with fft, or by making slices with 
bonk~'s attack detection.


 The last methods allows to quantize sound by forcing a slice to be 
played on a timecode which is given by the size of the loop divided into 
sixteenthes, something like this, each slice could eventually be 
stretched to fit the timecode.


Le 27/03/2014 08:14, Roman Haefeli a écrit :

On Thu, 2014-03-27 at 05:09 -0400, pured...@11h11.com wrote:

Not sure exactly what is making the click / glitch in my patches. I
think the fact that I bring down the jack buffer to 64 didn't help...
but I cannot be sure.

I am still looking the archive / search engine to find a loop station
in pd, but so far I found only basic implementation (no sync, no
quantize, no cross-fade).

I don't know the loop station. Can you elaborate a bit how quantize and
sync work on? I think I understand how quantization works with MIDI, but
with audio?

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] ANN: New Pd-L2Ork x86_64 and Raspberry Pi 20140319 release candidate

2014-03-24 Thread patrice colet

On 2014-03-22 17:03, Ivica Ico Bukvic wrote:
... the list, and life is too short to spend time arguing over things 
like these... Please understand I won't reply to any further 
discussions on this matter...
'yaourt -S pd-l2ork' and pd life gets cool, thank you for this, I'm 
looking out for an eventual 0.45 version, that's a good reason to get 
pd-l2ork news on this list, I don't think it's off-topic at all, even if 
my thoughts don't really matter :)


cheers

patco



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


Re: [PD] Hello Problem with [pix_film]

2014-03-19 Thread patrice colet


Le 19/03/2014 17:43, Py Fave a écrit :

does this works on all platforms  ?


yes but you need to compile gem, or get gem_videoVLC lib for your platform


2014-03-19 12:15 GMT+01:00 patrice colet :

Le 19/03/2014 09:55, Py Fave a écrit :


what are the video files specifications?
container ? .mov .avi?
codec ?
picture size ? framerate?

pd doesnt read everything vlc does ,


yes it does, or at least it should, with [driver vlc( message to [pix_film],

Sorry it's not [pix_film] but [pix_video] that uses VLC backend

it's slow but that works, just misses bgra support as usual...




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


Re: [PD] Hello Problem with [pix_film]

2014-03-19 Thread patrice colet


Le 19/03/2014 09:55, Py Fave a écrit :

what are the video files specifications?
container ? .mov .avi?
codec ?
picture size ? framerate?

pd doesnt read everything vlc does ,

yes it does, or at least it should, with [driver vlc( message to 
[pix_film], it's slow but that works, just misses bgra support as usual...



___
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-02-26 Thread patrice colet


Le 26/02/2014 04:41, Peter Brinkmann a écrit :



3. I'm sort of losing track of all the stakeholders and their agendas. 
Here's a rough list of players and their agendas as I see them:
  * Pd Vanilla (maintain backward compatibility so that existing 
works won't bit-rot).

  * Pd Extended (get stuff done by adding lots of capabilities to Pd)
  * Pd-l2ork (get stuff done by adding lots of capabilities to Pd; 
not sure how this relates to Pd Extended)

  * libpd (embed Pd into anything with a CPU)
  * Anyone else?

* pdvst (plugin for VST hosts) ?

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


Re: [PD] [PD-announce] Chocolate et Coffee

2013-12-31 Thread patrice colet
It's just a matter of using open-source tools for compiling this, I 
think using mingw for example on windows instead of VB would resolve 
inclusion in pd-extended, there is a makefile template in pd-extended 
sources.


This project looks really nice otherwise, this seem to not apply the 
same mess used in IEM widgets and others for including the GUI into a 
canvas, inspiring...


Le 31/12/2013 14:20, Dan Wilcox a écrit :

Some of us can help with that :D

On Dec 31, 2013, at 2:12 PM, Pierre Guillot > wrote:


- I didn't schedule to add the library to pd extented because it's 
already a lot of work and I'm ashamed but I'm not very familiar with 
the Makefile...
And the default one seems complicated to use when you have more than 
one file per object. But if someone want to help me, he's welcome !



Dan Wilcox
@danomatika
danomatika.com 
robotcowboy.com 







___
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] piano computer keyboard patch

2013-12-16 Thread patrice colet

Maybe you would be interested about trying attached gpiano abstraction
Tested on pd-l2ork, this should be working on pd-extended

thanks. for some reason it wasn't yet what I'm looking for.
for now I used funbuff to assign computer keys to midi values.


mtl/piano?
https://github.com/patricksebastien/mtl





gpiano.tar
Description: Unix tar archive
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] piano computer keyboard patch

2013-12-13 Thread patrice colet

Hello,

there have been topics about it on the mailing-list concluding that pd 
needs another implementation of [key] object for playing note on and 
note off, [hid/keyup] can help to do this, like in examples proposed in 
here:


http://puredata.hurleur.com/sujet-5566-key-keyup-powered-poly-synth

Le 13/12/2013 09:56, João Pais a écrit :

Hi all,

I remember a very old patch with a piano keyboard display that would 
allow users to play the computer keyboard as if it would be a piano. 
Does anyone know where that patch is, or if I didn't just dream it?


Thanks,

jmmmp

___
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] compiling pd-extended on arch linux

2013-12-01 Thread Patrice Colet


- Mail original -
> De: "Antonio Bonifacio" 

> I use this repo instead:
> 
> 
> 
> [pure-aur]
> SigLevel = Never
> Server = http://pureaur.bitbucket.org/$arch
> 
> 
> It has prebuilt packages even for pd-l2ork!

cool I have l2ork with this, really nice!


Colet Patrice

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


[PD] compiling pd-extended on arch linux

2013-11-27 Thread Patrice Colet
Hello,

 I've just installed archlinux through Manjaro and tried pdx aur package.
pacman -U pd-extended.tar.gz command line outputs errors like this:

error: missing package metadata in pd-extended.tar.gz

What can I do to solve this?

Colet Patrice


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


Re: [PD] Selfdestroying patches

2013-11-18 Thread Patrice Colet

> De: "Ronni Montoya" 
> Hi, im opening multiple instances of a pd patch  from openframeworks
> using the ofxPd library .
> 
>   My patch generates a grain, so when i create multiple instances of
> this patch from openframeworks it generates a granular cloud.
> I need that after the grain is generated ( when sound finishes)  the
> patch can selfdestroy itself ( instance get closed) .
> 
> How can i do this?
> 

Hello,

 you can do this with internal message "menuclose" to a canvas

[;
my_patch_name menuclose(

Here is a method I've found yet to send internal messages through FUDI:

http://blog.tridek.com/post/29834155461/using-libpd-with-unity3d-on-mobile-devices-part-1

 In your patch create a [receive 3000] object with '3000' connected to an empty 
message box,
then you can fill the message box with the internal message and bang it. By 
this way it's possible
to create dynamically whatever you want in the patch, or simply close it.

pc

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


[PD] pianoroll [was: Re: datastructures midirecorder]

2013-10-13 Thread Patrice Colet

> De: "Billy Stiltner" 

> 
> 
> Patrice Colet, that proll.tcl is somethin else. I had no idea that
> such a thing is possible.
> I think
> I changed wintop-70 to wintop+30 to show the entire top canvases.
> I guess the cursor just needs updated in order to be seen.
> lookin good so far man.
> 
> 


Cool, make it yourse if you like, I still didn't finish this interface, and 
don't really know when it will be,
so what about putting the knowledge of several people on it?
There are some points I wanted to review,
 the main one is about using one canvas per bar because canvas is limited in 
size, I also would like to write an arranger interface for managing several 
tracks, and to be able to load/edit data from mrpeach/midifile... I should work 
again on this project this winter.

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


Re: [PD] datastructures midirecorder

2013-10-11 Thread Patrice Colet
Hello Rob,

 scalars can't be deleted actually without the GUI, but there are several 
tricks for doing something like it.

One is about using float indexes instead of using pointer order, and then set 
to -1 or another value that doesn't count
the scalars that have to be removed, and finally use a temporary structure for 
cleaning.
Another one is about using one scalar and an array for including your 
structure, so you can delete values inside element.
It's also possible to save, modify, and reload the structure with using a text 
file.

Just in case you are interested about using tcltk instead of datastructure for 
drawing your GUI (it still uses DS for sequencing)

I've shared a work in progress:

http://megalego.free.fr/pd/patko/proll/

Colet Patrice

- Mail original -
> De: "Rob Bothof" 
> À: pd-list@iem.at
> Envoyé: Vendredi 11 Octobre 2013 14:01:52
> Objet: [PD] datastructures midirecorder
> 
> dear list,
> 
> i've been working with pd for a couple of years and finally diving
> into
> data-structures/scalars
> to build a midi recorder / looper.
> 
> is there a way to delete a scalar, without selecting it with the
> mouse ?
> or does one generally
> specify an active state parameter for each scalar.
> 
> greets,
> Rob
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> 

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


Re: [PD] RE : Re: need help with gem and glsl feedback

2013-10-10 Thread Patrice Colet
Yes it helps a lot.

 There are colored lines appearing in background, setting the looped 
gemframebuffer perspec fixes it, I will try now to found out how to turn 
background's black pixels to transparent.

Colet Patrice

- Mail original -
> De: "Jack" 
> À: pd-list@iem.at
> Envoyé: Jeudi 3 Octobre 2013 12:43:36
> Objet: Re: [PD] RE : Re: need help with gem and glsl feedback
> 
> 
> 
> Le 03/10/2013 11:23, Patrice Colet a écrit :
> 
> 
> Hello,
> 
> I'm trying to find out how to get a backbuffer for attached shader
> found in the web ( http://glsl.heroku.com/e#8849.0 ), it seem I
> couldn't get alpha channel in gemframebuffer's recursion, any idea?
> 

> I just added a line at the begining and an other one at the end of
> fractalFeedback.frag to change the alpha for the feedback.
> I also change the texunit ID backbuffer to 0 in the patch.
> You can change alpha feedback with the number box i added in the
> patch.
> Hope it helps.
> ++
> 
> Jack
> 
> 
> 
> 
> ___
> 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] vocoder with pitch.

2013-10-10 Thread Patrice Colet
Hello,

  pitch doesn't come from voice at all in these kinds of sounds, but from a 
keyboard, particulary in this Daft Punk or Laurie Anderson music, I believe 
it's not possible to get accurate articulations by using voice's pitch, but I 
guess you will figure it out soon enough ;)

Colet Patrice

- Mail original -
> De: "Julian Brooks" 
> À: "Òscar Martínez Carmona" 
> Cc: "pd-list" 
> Envoyé: Jeudi 10 Octobre 2013 10:57:08
> Objet: Re: [PD] vocoder with pitch.
> 
> 
> 
> 
> Hey Mario,
> 
> -
> [sigmund~] definitely.
> 
> 
> 
> 
> On 9 October 2013 17:27, Òscar Martínez Carmona < xamp...@gmail.com >
> wrote:
> 
> 
> What about extracting the voice pitch with something like [fiddle~]
> and feed it to the synth?
> 
> El dimecres 9 d’octubre de 2013, Mario Mey ha escrit:
> 
> 
> 
> 
> I listen to some vocoders in Pd and I stayed with rjdj's one. I
> realized that vocoder works in a single note synth or various notes,
> doing a harmonious sound. But it is always the same sound.
> 
> Is it possible to detect the pitch of the voice and use that to feed
> vocoder? As playing a synth with the voice and sounding as a
> vocoder.
> 
> Someday, I want to make Get Lucky with my looper-system, and I would
> want to have a similar vocoder.
> 
> Thanks.
> 
> 
> 
> __ _
> 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
> 

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


[PD] RE : Re: need help with gem and glsl feedback

2013-10-03 Thread Patrice Colet
Hello,

I'm trying to find out how to get a backbuffer for attached shader found in the 
web (http://glsl.heroku.com/e#8849.0), it seem I couldn't get alpha channel in 
gemframebuffer's recursion, any idea?

Colet Patrice

// Cyrille Henry 2007

void main()
{
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;

}
#N canvas 923 209 901 669 10;
#X obj 76 566 glsl_program;
#X obj 149 419 pack 0 0;
#X obj 170 399 t b f;
#X obj 166 354 change;
#X obj 148 259 change;
#X msg 149 445 link \$1 \$2;
#X floatatom 170 380 2 0 0 0 ID - -;
#X floatatom 148 282 2 0 0 0 ID - -;
#X obj 167 466 print linking;
#X obj 213 222 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 76 240 glsl_vertex;
#X obj 76 334 glsl_fragment;
#X text 231 219 <- load shader;
#N canvas 87 154 247 179 Gem.init 0;
#X obj 118 46 loadbang;
#X msg 118 81 reset;
#X obj 118 113 outlet;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X restore 551 12 pd Gem.init;
#N canvas 340 107 682 322 gemwin 0;
#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144
-1 -1 1 1;
#X obj 102 161 r \$0-gemstart;
#X obj 102 182 select 1 0;
#X msg 102 214 create \, 1;
#X msg 177 215 destroy;
#X obj 102 239 t a;
#X obj 318 54 inlet;
#X obj 318 255 gemwin;
#X obj 318 100 t a a;
#X obj 318 287 outlet;
#X obj 350 128 route create destroy;
#X obj 350 150 t b;
#X msg 350 172 1;
#X obj 390 150 t b;
#X msg 390 172 0;
#X obj 350 195 t f;
#X msg 350 219 set \$1;
#X text 118 122 rendering;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
#X connect 3 0 5 0;
#X connect 4 0 5 0;
#X connect 5 0 8 0;
#X connect 6 0 8 0;
#X connect 7 0 9 0;
#X connect 8 0 7 0;
#X connect 8 1 10 0;
#X connect 10 0 11 0;
#X connect 10 1 13 0;
#X connect 11 0 12 0;
#X connect 12 0 15 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 0 0;
#X coords 0 -1 1 1 85 40 1 100 100;
#X restore 533 33 pd gemwin;
#X msg 31 357 print;
#X msg 32 279 print;
#X msg 39 547 print;
#X obj 76 168 alpha;
#X obj 74 143 t a b;
#X obj 188 162 change;
#X msg 188 142 1;
#X obj 76 589 pix_texture;
#X msg 87 219 open texture.vert;
#X obj 437 355 f;
#X obj 465 354 + 1;
#X obj 433 310 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X msg 501 331 0;
#X obj 336 496 b;
#X obj 437 375 / 1000;
#X obj 435 333 metro 1;
#X msg 379 397 1;
#X msg 437 417 time \$1;
#X msg 336 518 resolution 512 512;
#X msg 86 308 open fractalFeedback.frag;
#X obj 75 73 gemframebuffer;
#X obj 592 417 pix_texture;
#X obj 75 122 translateXYZ 0 0 -4;
#X obj 76 613 square 4;
#X obj 585 510 square 4;
#X obj 134 158 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 300 32 format RGB32 \, dimen 512 512;
#X obj 584 300 gemframebuffer;
#X obj 75 28 gemhead 30;
#X obj 749 371 pix_texture;
#X obj 749 288 gemhead 55;
#X obj 749 393 square 4;
#X obj 492 465 loadbang;
#X obj 299 9 loadbang;
#X obj 590 233 gemhead 25;
#X msg 506 539 texunit 1 \, rectangle 0;
#X msg 295 559 backbuffer 1;
#X obj 587 340 translateXYZ 0 0 -4;
#X connect 0 0 22 0;
#X connect 0 1 28 0;
#X connect 1 0 5 0;
#X connect 2 0 1 0;
#X connect 2 1 1 1;
#X connect 3 0 6 0;
#X connect 4 0 7 0;
#X connect 5 0 0 0;
#X connect 5 0 8 0;
#X connect 6 0 2 0;
#X connect 7 0 1 0;
#X connect 9 0 23 0;
#X connect 9 0 34 0;
#X connect 10 0 11 0;
#X connect 10 1 4 0;
#X connect 11 0 0 0;
#X connect 11 1 3 0;
#X connect 13 0 14 0;
#X connect 15 0 11 0;
#X connect 16 0 10 0;
#X connect 17 0 0 0;
#X connect 18 0 10 0;
#X connect 19 0 18 0;
#X connect 19 1 21 0;
#X connect 20 0 9 0;
#X connect 21 0 20 0;
#X connect 22 0 38 0;
#X connect 23 0 10 0;
#X connect 24 0 25 0;
#X connect 24 0 29 0;
#X connect 25 0 24 1;
#X connect 26 0 30 0;
#X connect 27 0 24 1;
#X connect 28 0 33 0;
#X connect 28 0 31 0;
#X connect 28 0 51 0;
#X connect 29 0 32 0;
#X connect 30 0 24 0;
#X connect 31 0 26 0;
#X connect 32 0 0 0;
#X connect 33 0 0 0;
#X connect 34 0 11 0;
#X connect 35 0 37 0;
#X connect 35 1 36 1;
#X connect 36 0 39 0;
#X connect 37 0 19 0;
#X connect 40 0 18 1;
#X connect 41 0 35 0;
#X connect 41 0 42 0;
#X connect 42 0 52 0;
#X connect 42 1 44 1;
#X connect 43 0 35 0;
#X connect 44 0 46 0;
#X connect 45 0 44 0;
#X connect 47 0 50 0;
#X connect 48 0 41 0;
#X connect 49 0 42 0;
#X connect 50 0 36 0;
#X connect 51 0 0 0;
#X connect 52 0 36 0;


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


Re: [PD] openEXR in Gem

2013-09-23 Thread Patrice Colet
loading an exr image created with Blender failed with gem 0.93.git 374f713 and
image loading support: magick SGI jpeg tiff,
same image is loaded by cinelerra...

anyway I was interested about getting z-depth data, I didn't know if it was 
possible with pix objects

thank you


- Mail original -
> Envoyé: Lundi 23 Septembre 2013 14:41:10

> it seems to work with the sample images provided here
> http://www.openexr.com/downloads.html
> on linux debian GEM: ver: 0.93.git 374f713 compiled: May 19 2013 with
> image loading support: magick SGI jpeg tiff
> 
> ++b
> 
> 
> Le 23/09/2013 14:10, Py Fave a écrit :
> > i think no
> > i don't know if gem can handle anything higher than 8 bits / pixel
> > .
> > it seems like no .(especially pix_boxes)
> >
> > but i'm perhaps wrong/outdated
> > if you see an alternative ,
> > let me know .
> >
> >
> >
> >
> >
> > 2013/9/23 Patrice Colet :
> >>  Is it possible to read openEXR files with Gem?
> >>
> >> Colet Patrice
> >>
> >>
> >> ___
> >> 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


[PD] openEXR in Gem

2013-09-23 Thread Patrice Colet

 Is it possible to read openEXR files with Gem?

Colet Patrice


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


Re: [PD] Gridflow and fonts on Raspberry Pi

2013-09-23 Thread Patrice Colet
 I've confused a bit the first trick, renaming a proc could be necessary for 
procedures coded from pd messages, not the ones loaded from a tcl files. Also, 
introcing tcl classes could help for not having duplicated proc names.

 It would be nice to know if sys_gui is ok on Raspberry Pi in the case I'd use 
it on some project :D.

[sys_gui] can replace a large bunch of external objects (zexy, toxy, cyclone, 
moocow, ...), but a bit slower, and sometimes would require the need to use 
[makefilename %c] for curved braces, but in most cases tcl's [list ...] can do 
it. The new text object allows to store easily tcl code inside a patch or 
datastructure, I've found this usefull for storing image data... Including it 
into pd-core would make it very efficient for application designing, there 
still would be the need for [get_dir] in file processing though.

Colet Patrice

- Mail original -
> De: "Jack" 
> À: "Patrice Colet" , pd-list@iem.at
> Envoyé: Lundi 23 Septembre 2013 11:03:16
> Objet: Re: [PD] Gridflow and fonts on Raspberry Pi
> 
> Le 23/09/2013 02:27, Patrice Colet a écrit :
> >  I've collected some tricks since I'm using sys_gui, attached are
> >  the ones you might need to build and communicate with your
> >  interface through pd, if sys_gui is ok on raspberry, all the tcl
> >  and tk code is fully documented online...
> >
> > Tested on Pd 0.45.0
> >
> > Colet Patrice
> >
> > - Mail original -
> >> De: "Colet Patrice" 
> >> À: "Jack" , pd-list@iem.at
> >> Envoyé: Dimanche 22 Septembre 2013 21:29:24
> >> Objet: Re: [PD] Gridflow and fonts on Raspberry Pi
> >>
> >> Hello jack,
> >>
> >>   I don't know about raspberry, but it seems tcltk is used for te
> >>   GUI,
> >> so what about using [sys_gui] for generating the interface?
> >>
> >>   a toplevel -fullscreen should be able to do what you are looking
> >>   for,
> >> it's also possible to create fonts
> >>
> >> Le 22/09/2013 19:10, Jack a écrit :
> >>> Hello,
> >>>
> >>> I found gridflow for Raspberry Pi here :
> >>> http://artengine.ca/acastonguay/gridflow/
> >>> And see a message from Claude here about Gridflow font :
> >>> http://lists.puredata.info/pipermail/pd-list/2006-01/034431.html
> >>>
> >>> My questions :
> >>> I would like to use Raspberry Pi and Pd to render text on a
> >>> screen.
> >>> I guess Gridflow could be the right library to use if it can
> >>> manage
> >>> fonts and if it is stable on RPi ?
> >>> Is there an other library (or idea) for this purpose ? For
> >>> example
> >>> : a
> >>> pd window in fullscreen with a canvas with text ? In this case,
> >>> how
> >>> to
> >>> achieve that (fullscreen without menubar and window title bar
> >>> with
> >>> pd).
> >>>
> >>> I am on raspbian :
> >>> PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
> >>> NAME="Raspbian GNU/Linux"
> >>> VERSION_ID="7"
> >>> VERSION="7 (wheezy)"
> >>> Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST
> >>> 2013
> >>> armv6l GNU/Linux
> >>> with Pd-0.45.2 ("") compiled 16:14:18 Sep 17 2013.
> >>> Thanx for any help.
> >>> ++
> >>>
> >>> Jack
> >>>
> >>>
> >>>
> >>> ___
> >>> Pd-list@iem.at mailing list
> >>> UNSUBSCRIBE and account-management ->
> >>> http://lists.puredata.info/listinfo/pd-list
> >>
> Hello Patrice,
> 
> Very nice ! Ijust test your patch with Pd-0.45.0 ("test 2") on Ubuntu
> 13.04 and it is working perfectly.
> Thanx a lot, I will test soon on Raspberry Pi.
> ++
> 
> Jack
> 
> 
> 

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


Re: [PD] Gridflow and fonts on Raspberry Pi

2013-09-22 Thread Patrice Colet
 I've collected some tricks since I'm using sys_gui, attached are the ones you 
might need to build and communicate with your interface through pd, if sys_gui 
is ok on raspberry, all the tcl and tk code is fully documented online...

Tested on Pd 0.45.0

Colet Patrice

- Mail original -
> De: "Colet Patrice" 
> À: "Jack" , pd-list@iem.at
> Envoyé: Dimanche 22 Septembre 2013 21:29:24
> Objet: Re: [PD] Gridflow and fonts on Raspberry Pi
> 
> Hello jack,
> 
>   I don't know about raspberry, but it seems tcltk is used for te
>   GUI,
> so what about using [sys_gui] for generating the interface?
> 
>   a toplevel -fullscreen should be able to do what you are looking
>   for,
> it's also possible to create fonts
> 
> Le 22/09/2013 19:10, Jack a écrit :
> > Hello,
> >
> > I found gridflow for Raspberry Pi here :
> > http://artengine.ca/acastonguay/gridflow/
> > And see a message from Claude here about Gridflow font :
> > http://lists.puredata.info/pipermail/pd-list/2006-01/034431.html
> >
> > My questions :
> > I would like to use Raspberry Pi and Pd to render text on a screen.
> > I guess Gridflow could be the right library to use if it can manage
> > fonts and if it is stable on RPi ?
> > Is there an other library (or idea) for this purpose ? For example
> > : a
> > pd window in fullscreen with a canvas with text ? In this case, how
> > to
> > achieve that (fullscreen without menubar and window title bar with
> > pd).
> >
> > I am on raspbian :
> > PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
> > NAME="Raspbian GNU/Linux"
> > VERSION_ID="7"
> > VERSION="7 (wheezy)"
> > Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013
> > armv6l GNU/Linux
> > with Pd-0.45.2 ("") compiled 16:14:18 Sep 17 2013.
> > Thanx for any help.
> > ++
> >
> > Jack
> >
> >
> >
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> 
> 
#N canvas 368 319 1135 382 10;
#X obj 18 118 sys_gui;
#X msg 18 85 eval [read [open my_script.tcl]] \, my_proc arg1 arg2
\, rename my_proc "";
#X obj 94 300 sys_gui;
#X obj 34 214 b;
#X obj 147 213 b;
#X obj 66 258 t b b;
#X obj 25 350 b;
#X obj 157 350 b;
#X obj 66 231 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X msg 66 329 do something;
#X obj 266 284 sys_gui;
#X obj 266 226 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 266 308 do something;
#X text 41 184 wrong;
#X text 266 187 good;
#X text 69 160 tcl procedure is slower than triggers;
#X obj 433 133 sys_gui;
#X obj 433 75 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 8 1 patko2013;
#X msg 433 113 pdsend "foo-s Hello World";
#X obj 432 157 r foo-s;
#X obj 432 179 print foo;
#X text 428 46 using FUDI;
#X obj 664 164 sys_gui;
#X text 16 48 evaluate a tcl script \, launch a procedure \, and remove
procedure from memory for avoiding duplicated proc errors;
#X obj 266 331 print something;
#X msg 689 131 destroy .mytoplevel;
#X msg 664 39 toplevel .mytoplevel;
#X msg 686 88 wm attributes .mytoplevel -fullscreen 1;
#X text 657 20 build a toplevel widget;
#X text 685 66 make it fullscreen;
#X text 695 110 close toplevel;
#X obj 664 349 sys_gui;
#X msg 266 264 puts "Hello World!";
#X msg 94 280 puts "Hello World!";
#X msg 664 238 font create my_font -family [list Lucida Sans] -size
14 -weight bold;
#X msg 696 291 text .mytoplevel.text -font my_font \, pack .mytoplevel.text
;
#X text 697 273 puts some text on toplevel;
#X msg 714 314 .mytoplevel.text insert end "Hello World!";
#X text 657 205 create some fonts (can be done only once by instance
\, so it's better inside a proc);
#X connect 1 0 0 0;
#X connect 3 0 7 0;
#X connect 4 0 6 0;
#X connect 5 0 9 0;
#X connect 5 1 34 0;
#X connect 8 0 5 0;
#X connect 10 0 12 0;
#X connect 11 0 33 0;
#X connect 12 0 25 0;
#X connect 17 0 19 0;
#X connect 19 0 16 0;
#X connect 20 0 21 0;
#X connect 26 0 23 0;
#X connect 27 0 23 0;
#X connect 28 0 23 0;
#X connect 33 0 10 0;
#X connect 34 0 2 0;
#X connect 35 0 32 0;
#X connect 36 0 32 0;
#X connect 38 0 32 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] FW: GEM noobie: I don't understand this glsl thing... but I need it!

2013-09-11 Thread Patrice Colet
Thank you for sharing this! Particulary the links at the end of the page, the 
shaders proposed at https://www.shadertoy.com
are easy to transpose for Gem, attached is an experiment with the fireball 
shader.

Colet Patrice

- Mail original -
> De: "Benjamin ~ 01xy" 
> À: "Pd List" 
> Envoyé: Mardi 10 Septembre 2013 17:12:03
> Objet: Re: [PD] FW: GEM noobie: I don't understand this glsl thing... but I 
> need it!
> 
> Hello,
> 
> oops, initialy not replied to the list ...
> 
> We have a modest wiki page in french about Pd vs glsl, some
> ressources
> there as well http://wiki.labomedia.org/index.php/Pure_Data_vs_OpenGL
> 
> ++benjamin
> 
> Le 10/09/2013 13:02, Cyrille Henry a écrit :
> > the glsl exemples are in a specific folder in gem/exemple.
> > it's not very documented, but you'll have some basic shader.
> > it's a good place to start.
> > c
> >
> >
> > Le 10/09/2013 12:43, David Schaffer a écrit :
> >> Hi, and thank you for your answers,
> >>
> >> I know about extended view, I 've donwloaded it and used to build
> >> my
> >> design. The idea for me is now to get a better understanding of
> >> the
> >> glsl chain, because it seems to be the place where all the magic
> >> happens. I thought I could find more examples of glsl objects
> >> implementations in pd, and some written code that I could try to
> >> hack... any help appreciated.
> >>
> >> David
> >>
> >>
> >> http://www.flickr.com/photos/schafferdavid/
> >>
> >> http://audioblog.arteradio.com/David_Schaffer/
> >>
> >>
> >>
> >>  > Date: Tue, 10 Sep 2013 09:27:17 +0200
> >>  > From: n...@petervenus.de
> >>  > To: pd-list@iem.at
> >>  > Subject: Re: [PD] GEM noobie: I don't understand this glsl
> >> thing... but I need it!
> >>  >
> >>  > for ExtendedviewToolkit, there is a webpage [1]
> >>  > and you can download the latest via github [2]
> >>  >
> >>  > [1] extendedview.mur.at
> >>  > [2] https://github.com/extendedview/extended_view_toolkit
> >>  >
> >>  > cheers, Peter
> >>  >
> >>  > Am 09.09.13 23:51, schrieb John Harrison:
> >>  > > ExtendedViewToolkit does photo stitching. Maybe it does what
> >>  > > you
> >> want or
> >>  > > can give you some ideas:
> >>  > > http://puredata.info/Members/Weitsicht/extended-view-toolkit/
> >>  > >
> >>  > >
> >>  > >
> >>  > >
> >>  > > On Mon, Sep 9, 2013 at 4:21 PM, Dan Wilcox
> >>  wrote:
> >>  > >
> >>  > >> glsl is the open gl shader language ... basically a simple
> >> C-like language
> >>  > >> for doing graphics stuff on the GPU, see
> >>  > >> https://en.wikipedia.org/wiki/GLSL
> >>  > >>
> >>  > >> Also, see the OpenGL Orange
> >> Book
> >>  > >>
> >>  > >> On Sep 9, 2013, at 5:01 PM, pd-list-requ...@iem.at wrote:
> >>  > >>
> >>  > >> *From: *David Schaffer 
> >>  > >> *Subject: **[PD] GEM noobie: I don't understand this glsl
> >> thing... but I
> >>  > >> need it!*
> >>  > >> *Date: *September 9, 2013 4:24:08 PM EDT
> >>  > >> *To: *pd list 
> >>  > >>
> >>  > >>
> >>  > >> Hi there,
> >>  > >>
> >>  > >> I'm in the process of writing my own photo
> >>  > >> stitching/assembling abstraction but I'm having a lot of
> >>  > >> trouble
> >>  > >> understanding what the glsl object do... I've been able to
> >> implement an
> >>  > >> edge blurring function by copy/pasting the glsl code from
> >>  > >> the
> >>  > >> "panoramique.pd" patch and the "panoramique.vert" and
> >> "panoramique.frag"
> >>  > >> files to the right places, but it only blurs vertical edges.
> >> Can anyone
> >>  > >> tell me how I could blur horizontal edges too? and... what
> >>  > >> this
> >> glsl thing
> >>  > >> is all about. I'm no code expert, so please keep it
> >> understandable (!)
> >>  > >>
> >>  > >> Thanks a lot,
> >>  > >>
> >>  > >> David
> >>  > >>
> >>  > >> http://www.flickr.com/photos/schafferdavid/
> >>  > >> https://soundcloud.com/schafferdavid
> >>  > >>
> >>  > >>
> >>  > >> 
> >>  > >> Dan Wilcox
> >>  > >> @danomatika
> >>  > >> danomatika.com
> >>  > >> robotcowboy.com
> >>  > >>
> >>  > >>
> >>  > >>
> >>  > >>
> >>  > >>
> >>  > >>
> >>  > >> ___
> >>  > >> 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
> >>
> >
> > 

[PD] PMPD how to get constant distance between two masses

2013-07-05 Thread Patrice Colet
Hello,

 I'm trying to find a setting for linking two masses that have always constant 
distance, but couldn't find how to do it, the link is always resizing like a 
rubber instead of being solid like wood.
 I guessed that fixing K to an high amount would make a solid link, but this is 
breaking it instead.
The purpose is about applying forces to a cylinder represented by two masses 
and a link to make it rotating.

Colet Patrice


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


Re: [PD] Data structures: no object for freeing pointers?

2013-06-21 Thread Patrice Colet


Colet Patrice

- Mail original -
> De: "João Pais" 
> À: "pd-list" , "Patrice Colet" 
> Envoyé: Vendredi 21 Juin 2013 10:00:58
> Objet: Re: [PD] Data structures: no object for freeing pointers?
> 
> > Yes with visibility setting we can access an element of an array
> > only,
> > so each state can be stored, retrieved, replaced at will by
> > accessing an
> > element of te array... The matter is how accessing an element,
> > idealy it
> > would be a [nbx] where max value is the number of array elements,
> > or a
> 
> that's very easy, just get the number of elements from the array's
> pointer, and send it as [max $1( to the nbox (or whichever command
> defines
> the limits, I don't have Pd open).
> 

 Without opening pd I think it's something like range $1 $2
and that's what I'm doing when controlling DS from GOP,
it seems the best way to go..

 I'd like one day to understand how to implement DS into a GOP, it's a bit 
triky,
then on a single window it's possible to have the whole interface.

> > scalar but I don't how it's possible to fix limits to [drawnumber]
> 
> I think not from the gui. Unless you enforce it programatically:
> route the
> "change" output from the [struct] in the template, and use it to
> force the
> maximum number to a [set] object. Like:
> 
> [struct drawnumber...]
> |
> [route change]
> |
> [50(  (assuming 50 is the current max number)
> |
> [set drawnumber...]
> 
> 
> In a parallel part, the current pointer gets and sets the maximum
> number
> of elements (now at 50)
> 
> Look at the current help file for [drawnumber] for more details.
> 

it's not really possible to do this in the context we're talking about because 
we don't know which scalar is modified when it's embedded into an array, a way 
would be about using y value, but in this case y is always = 0
> 
> >> De: "João Pais" 
> >> À: "pd-list" , "Patrice Colet"
> >> 
> >> Envoyé: Jeudi 20 Juin 2013 11:09:26
> >> Objet: Re: [PD] Data structures: no object for freeing pointers?
> >>
> >> One approach is to assign a variable for active/unactive scalars.
> >> And
> >> then
> >> use that variable to render the scalar visible/invisible. After a
> >> work
> >> session, the user can hide the active scalars, display the
> >> inactive
> >> ones,
> >> and select + delete these. It's still far from ideal, but a
> >> compromise.
> >>
> >> >
> >> >> Envoyé: Mardi 11 Juin 2013 11:25:23
> >> >> Objet: Re: [PD] Data structures: no object for freeing
> >> >> pointers?
> >> >>
> >> >> On Die, 2013-06-11 at 11:00 +0200, Jan Baumgart wrote:
> >> >> > I've been building a sequencer with data structs. But now
> >> >> > I've
> >> >> > come
> >> >> > to a
> >> >> > dead end, because there seems to be no object, that let's you
> >> >> > remove
> >> >> > structs.
> >> >> > The only way seems to be deleting them in the gui.
> >> >>
> >> >
> >> > It's still possible to put only one pointer and then arrays on
> >> > it,
> >> > then
> >> > you can add or delete at the last array item, or it's possible
> >> > to
> >> > put an
> >> > id at each array element and then remove the element id to
> >> > delete,
> >> > then
> >> > it's possible to have undo's.
> >> >
> >> > pc
> >> >
> >> > ___
> >> > 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] Data structures: no object for freeing pointers?

2013-06-20 Thread Patrice Colet
Yes with visibility setting we can access an element of an array only, so each 
state can be stored, retrieved, replaced at will by accessing an element of te 
array... The matter is how accessing an element, idealy it would be a [nbx] 
where max value is the number of array elements, or a scalar but I don't how 
it's possible to fix limits to [drawnumber]

> De: "João Pais" 
> À: "pd-list" , "Patrice Colet" 
> Envoyé: Jeudi 20 Juin 2013 11:09:26
> Objet: Re: [PD] Data structures: no object for freeing pointers?
> 
> One approach is to assign a variable for active/unactive scalars. And
> then
> use that variable to render the scalar visible/invisible. After a
> work
> session, the user can hide the active scalars, display the inactive
> ones,
> and select + delete these. It's still far from ideal, but a
> compromise.
> 
> >
> >> Envoyé: Mardi 11 Juin 2013 11:25:23
> >> Objet: Re: [PD] Data structures: no object for freeing pointers?
> >>
> >> On Die, 2013-06-11 at 11:00 +0200, Jan Baumgart wrote:
> >> > I've been building a sequencer with data structs. But now I've
> >> > come
> >> > to a
> >> > dead end, because there seems to be no object, that let's you
> >> > remove
> >> > structs.
> >> > The only way seems to be deleting them in the gui.
> >>
> >
> > It's still possible to put only one pointer and then arrays on it,
> > then
> > you can add or delete at the last array item, or it's possible to
> > put an
> > id at each array element and then remove the element id to delete,
> > then
> > it's possible to have undo's.
> >
> > pc
> >
> > ___
> > 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 color presets

2013-06-16 Thread Patrice Colet

> De: "Jonathan Wilkes" 

> >Is it just possible to have background in black, and fonts
> >(comments) in white 
> 
> http://puredata.info/Members/jancsika/inverted_colors.webm/base_view
> 
> -Jonathan
> 

great!
thanks a lot

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


Re: [PD] pd color presets

2013-06-15 Thread Patrice Colet

> 
> Hi List,
> Almost finished with a working version of GUI preferences for
> patches.
> It allows:
> 
> 1) choose your own default colors for common types of items on a
> canvas,
> like object borders, (non-iemgui) text, xlets, canvas bg, etc.

Is it just possible to have background in black, and fonts (comments) in white 
without using [cnv] or [cyclone/comment]?

this setup is so usefull when working with lights.

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


Re: [PD] Data structures: no object for freeing pointers?

2013-06-11 Thread Patrice Colet

> Envoyé: Mardi 11 Juin 2013 11:25:23
> Objet: Re: [PD] Data structures: no object for freeing pointers?
> 
> On Die, 2013-06-11 at 11:00 +0200, Jan Baumgart wrote:
> > I've been building a sequencer with data structs. But now I've come
> > to a
> > dead end, because there seems to be no object, that let's you
> > remove
> > structs.
> > The only way seems to be deleting them in the gui.
> 

It's still possible to put only one pointer and then arrays on it, then you can 
add or delete at the last array item, or it's possible to put an id at each 
array element and then remove the element id to delete, then it's possible to 
have undo's. 

pc

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


Re: [PD] GEM: texture on transparent sphere visible from opposite side

2013-06-08 Thread Patrice Colet

> De: "Matthias Kronlachner" 

> hi!
> 
> maybe someone has a suggestion for following problem in GEM:
> 
> i have a texture on a sphere and slightly add transparency to the
> sphere.
> i can now see objects behind the sphere, but is it possible to make
> the
> texture of the opposite side of the sphere visible? (through the
> (semitransparent) front side of the sphere)
> 

examples/07.texture/04.moveImages.pd

Patco

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


Re: [PD] GEM: texture on transparent sphere visible from opposite side

2013-06-08 Thread Patrice Colet

Hello,

 if the texture contains alpha channel by using a rgba image or by using 
pix_alpha, the visible parts of texture behind the sphere will become visible 
where front side is transparent, there is an example in gem tutorial but I 
don't remeber which one it is.

- Mail original -
> De: "Matthias Kronlachner" 
> À: "pd-list" 
> Envoyé: Samedi 8 Juin 2013 15:48:21
> Objet: [PD] GEM: texture on transparent sphere visible from opposite side
> 
> hi!
> 
> maybe someone has a suggestion for following problem in GEM:
> 
> i have a texture on a sphere and slightly add transparency to the
> sphere.
> i can now see objects behind the sphere, but is it possible to make
> the
> texture of the opposite side of the sphere visible? (through the
> (semitransparent) front side of the sphere)
> 
> thanks
> matthias
> 
> ___
> 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] Converting a decimal number to hexadecimal and from there to its ASCII numbers

2013-05-30 Thread Patrice Colet

I've added namespace for moocow any2bytes in this version#N canvas 577 313 490 458 10;
#X floatatom 42 69 3 0 255 0 - - -;
#X obj 145 301 print STRINGS;
#X obj 141 97 print DECIMAL;
#X obj 42 90 t a a;
#X obj 42 176 makefilename %x;
#X obj 42 138 demux 0 1;
#X obj 69 110 < 15;
#X obj 145 176 makefilename %x;
#X obj 145 199 makesymbol 0%s;
#X obj 145 247 list trim;
#X obj 42 329 print HEXADECIMAL;
#X text 45 16 Decimal to pair of strings representing hexadecimal value
;
#X text 48 413 patko2013;
#X obj 145 268 moocow/any2bytes 128 -1;
#X connect 0 0 2 0;
#X connect 0 0 3 0;
#X connect 3 0 5 0;
#X connect 3 1 6 0;
#X connect 4 0 9 0;
#X connect 4 0 10 0;
#X connect 5 0 4 0;
#X connect 5 1 7 0;
#X connect 6 0 5 1;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 8 0 10 0;
#X connect 9 0 13 0;
#X connect 13 0 1 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Converting a decimal number to hexadecimal and from there to its ASCII numbers

2013-05-30 Thread Patrice Colet

 Hello,
 
  with pd-extended some externals can do this, curiously 255 is FF but
  gives 102 102, not 70 70 following solution proposed in attached patch.
 
 Colet Patrice
> 
> - Mail original -
> > De: "Alexandros Drymonitis" 
> > À: "PD-list" 
> > Envoyé: Jeudi 30 Mai 2013 20:44:07
> > Objet: [PD] Converting a decimal number to hexadecimal and from
> > there to its ASCII numbers
> > 
> > 
> > 
> > 
> > I want to communicate with a LanBox and I have to send values in
> > hexadecimal, but represented by their ASCII values. So, for example
> > 0 is 00 in hexadecimal, and it's sent as 48 48. 255 is FF and is
> > sent as 70 70.
> > The only thing I can think of is [makefilename], but it seems that
> > it's only helpful for converting a decimal number to hexadecimal.
> > How can I go about the rest, splitting the two characters and
> > finding their ASCII values?
> > 
> > ___
> > 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] first exercise with data structures

2013-05-26 Thread Patrice Colet
--- Mail original -
> > De: "Jonathan Wilkes" 
> 
> > > too late, datastructure is really awsome for managing settings,
> > > the
> > > -v flag makes possible the coding of panels that is containing a
> > > lot of data...
> > 
> > do you have a demo patch?
> > 
> 
> I could work on it, what kind of data would this demo manage? I use
> DS for managing Gem.
> 
> ___


 attached proposing to define a modular synth environment, there are only 
struct declarations for the moment#N canvas 0 0 450 300 10;
#X obj 339 138 *~;
#X floatatom 339 53 0 0 0 0 - - -;
#X floatatom 249 88 0 0 0 0 - - -;
#X obj 249 158 +~;
#X floatatom 361 108 0 0 0 0 - - -;
#X obj 248 202 osc~;
#X obj 339 78 osc~;
#X obj 247 225 *~;
#X obj 246 251 dac~;
#N canvas 102 102 450 300 synth-data 0;
#X restore 10 16 pd synth-data;
#N canvas 118 125 450 300 synth-template 0;
#X obj 85 46 struct synth float id symbol name array vco vco-array
array vcf vcg-array array vca vca-array;
#X restore 9 42 pd synth-template;
#N canvas 259 122 450 300 vco-template 0;
#X obj 131 94 drawsymbol name 500 0 0 0;
#X obj 131 114 drawnumber carrier 500 0 0 0;
#X obj 131 134 drawnumber modulation 500 0 0 0;
#X obj 62 29 struct vco-array float id symbol name float carrier float
modulation array adsr adsr-array;
#X restore 8 87 pd vco-template;
#N canvas 259 122 450 300 vcf-template 0;
#X obj 131 94 drawsymbol name 500 0 0 0;
#X obj 131 114 drawnumber frequency 500 0 0 0;
#X obj 131 134 drawnumber resonance 500 0 0 0;
#X obj 62 29 struct vcf-array float id symbol name float frequency
float resonance array adsr adsr-array;
#X restore 8 117 pd vcf-template;
#N canvas 259 122 450 300 vca-template 0;
#X obj 131 94 drawsymbol name 500 0 0 0;
#X obj 131 114 drawnumber frequency 500 0 0 0;
#X obj 131 134 drawnumber resonance 500 0 0 0;
#X obj 62 29 struct vca-array float id symbol name float frequency
float resonance array adsr adsr-array;
#X restore 8 147 pd vca-template;
#N canvas 63 196 450 300 adsr-template 0;
#X obj 127 58 struct adsr-array symbol name float attack float decay
float sustain float release;
#X obj 139 114 drawnumber attack 500 0 0 0;
#X obj 139 134 drawnumber decay 500 0 0 0;
#X obj 139 154 drawnumber sustain 500 0 0 0;
#X obj 139 174 drawnumber release 500 0 0 0;
#X restore 8 189 pd adsr-template;
#X connect 0 0 3 1;
#X connect 1 0 6 0;
#X connect 2 0 3 0;
#X connect 3 0 5 0;
#X connect 4 0 0 1;
#X connect 5 0 7 0;
#X connect 6 0 0 0;
#X connect 7 0 8 0;
#X connect 7 0 8 1;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] first exercise with data structures

2013-05-26 Thread Patrice Colet


Colet Patrice

- Mail original -
> De: "Jonathan Wilkes" 

> > too late, datastructure is really awsome for managing settings, the
> > -v flag makes possible the coding of panels that is containing a
> > lot of data...
> 
> do you have a demo patch?
> 

I could work on it, what kind of data would this demo manage? I use DS for 
managing Gem.

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


Re: [PD] first exercise with data structures

2013-05-26 Thread Patrice Colet


- Mail original -
> De: "Alexandre Torres Porres" 

> I've just started tweaking with it to see if I finally learn it, but
> it's crashing a lot!!! I'm just changing arguments in the struct
> object and it crashes... I clicl on GOP box and it crashes... things
> like that.

Every scalars have to be removed before modifying [struct] otherwise it crashes

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


Re: [PD] first exercise with data structures

2013-05-25 Thread Patrice Colet

> 
> I wouldn't recommend spending too much time learning data structures.
> They are _extremely_ limited with the current implementation.
> 

too late, datastructure is really awsome for managing settings, the -v flag 
makes possible the coding of panels that is containing a lot of data...
 Is there a trick to copy data stored into a struct to an array element made 
with the same struct? I guess it should be possible to do it with textfile and 
some load/save messages, I'm actually doing it by using [get], [set] and 
[element], it a bit complicated... Would [sublist] simplify this task? How can 
we make list fields?

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


Re: [PD] [PD-dev] audio apis

2013-05-21 Thread Patrice Colet

> 7) Does anyone using GNU/Linux system want to use pulse-audio with
> Pd?  The main reason would be easy software mixing-- for example,
> you could watch a tutorial on youtube and get sound out of a running
> instance of Pd without doing any configuration whatsoever.  (At
> least that's what Pulse Audio claims-- I haven't used it so much.)
>

 It's hard to stay polite about this, for me it has never worked correctly,
the best way to have sound always going out from audiocard on linux/ubuntu is 
about removing pulse-audio,
since ever, everytime.


> Thanks,
> Jonathan
> 
> 
> ___
> Pd-dev mailing list
> pd-...@iem.at
> http://lists.puredata.info/listinfo/pd-dev
> 

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


Re: [PD] flip image in glsl

2013-04-11 Thread Patrice Colet
Hello Jack, 

 I didn't realized how using gemframebuffer is really an interesting approach, 
in fact there is no need to move textures with glsl because it's possible move 
objects rendered into the framebuffer, also the flipping problem isn't occuring 
anymore...
 The solution you are proposing here gives results I haven't expected, and 
might fit some other purposes that might come later,
since the texture processed by glsl (tex0) isn't anymore mapped with mixed 
textures (tex1 and tex2)...
 In all cases thank you for the contribution that gave me all the solutions I 
need in the project I'm working on.

Colet Patrice

- Mail original -----
> De: "Jack" 
> À: "Patrice Colet" 
> Cc: "PD List" 
> Envoyé: Mercredi 10 Avril 2013 17:13:07
> Objet: Re: [PD] flip image in glsl
> 
> Le 10/04/2013 07:48, Patrice Colet a écrit :
> > Hi Jack,
> >
> >  the fragment code is now very short and much more elegant,
> >  certainly faster than using conditions, I guess this is due to
> >  [pix_info] that is computing dimensions of the resulting texture.
> >  This procedure seems to work for horizontal flipping then corrects
> >  strange behavior between pix_image and glsl,
> > but vertical flipping has no consequence.
> >  It's also possible to crop using the dimen parameter, but I
> >  believe there is a zoom parameter missing to do it entirely.
> > So I'm going to restart coding a fragment code from the basis you
> > propose that would allow to crop both textures, because this looks
> > fundamental for my possible use of this object, that is mainly
> > about mixing two textures which coordinates could be modulated to
> > fit a particular context, where textures would need to be placed
> > accurately without having to modify it in an image editor, maybe
> > you have an idea about how to do it simply?
> >
> >
> >> You can do operations directly on vec2 instead of two floats in
> >> your
> >> fragment shader.
> >> You can also avoid condition (could be slow).
> >> See patch and glsl vertex and fragment attached for flip.
> >> ++
> >>
> >> Jack
> >>
> >>
> >>
> >> ___
> >> Pd-list@iem.at mailing list
> >> UNSUBSCRIBE and account-management ->open
> >> http://lists.puredata.info/listinfo/pd-list
> >>
> Hello Patrice,
> 
> Not sure to understand what you mean about the problem on
> horizontal/vertical flipping.
> Here a new patch and the fragment shader. This time, all is computed
> from the Gem window size.
> You can flip, scale and move each texture. (the flip is done from the
> center position of the Gemwin).
> In this patch, i use a workaround to avoid to see the 'border' of the
> texture thanks to the message [perspec( on [gemframebuffer]. I don't
> know if there is a better solution ?
> Hope it will help.
> ++
> 
> Jack
> 
> PS : I can clean the this patch and keep only the part about position
> and scale of a texture with GLSL for Gem example if it is interesting
> ?
> 

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


Re: [PD] flip image in glsl

2013-04-09 Thread Patrice Colet
Hi Jack,

 the fragment code is now very short and much more elegant, certainly faster 
than using conditions, I guess this is due to [pix_info] that is computing 
dimensions of the resulting texture.
 This procedure seems to work for horizontal flipping then corrects strange 
behavior between pix_image and glsl,
but vertical flipping has no consequence.
 It's also possible to crop using the dimen parameter, but I believe there is a 
zoom parameter missing to do it entirely.
So I'm going to restart coding a fragment code from the basis you propose that 
would allow to crop both textures, because this looks fundamental for my 
possible use of this object, that is mainly about mixing two textures which 
coordinates could be modulated to fit a particular context, where textures 
would need to be placed accurately without having to modify it in an image 
editor, maybe you have an idea about how to do it simply?


> You can do operations directly on vec2 instead of two floats in your
> fragment shader.
> You can also avoid condition (could be slow).
> See patch and glsl vertex and fragment attached for flip.
> ++
> 
> Jack
> 
> 
> 
> ___
> 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] Control a USB fan from Pd

2013-04-09 Thread Patrice Colet
 
> 
> Output voltage of a USB port is _always_ 5VDC
> 
>

it can be modulated with zero voltage, like PWM

 
> --
> buZz
> 
> ___
> 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] Control a USB fan from Pd

2013-04-09 Thread Patrice Colet
Hello, this is an interesting project, you can power on/off from linux shell, 
for going further I guess you need to put your hands into a libusb external

Colet Patrice

> 
> I would guess those devices only draw the electricity from the USB
> port and are otherwise not controllable at all. but may be that
> there are more intelligent devices out there which i haven't seen
> yet. Link to a product you are talking about?
> 
> Am 09.04.2013 um 07:48 schrieb J Oliver :
> 
> > Hello everyone,
> > 
> > Would anyone know how to control a USB fan from Pd?
> > 
> > best,
> > 
> > Jaime
> > 
> > 
> > ___
> > 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] flip image in glsl

2013-04-08 Thread Patrice Colet

I've implemented all the stuff for flipping horizontaly and verticaly, 
there is an attached example, but it's not very elegant, there is warning 
messages even if it works good, maybe there is a better way to do it?


Colet Patrice

- Mail original -----
> De: "Patrice Colet" 
> À: "pd-list" 
> Cc: "Cyrille Henry" 
> Envoyé: Lundi 8 Avril 2013 16:37:29
> Objet: Re: [PD] flip image in glsl
> 
> Got it, thanks a lot!
> 
> Colet Patrice
> 
> - Mail original -
> > De: "Cyrille Henry" 
> > À: "Patrice Colet" 
> > Cc: "pd-list" 
> > Envoyé: Lundi 8 Avril 2013 10:05:22
> > Objet: Re: [PD] flip image in glsl
> > 
> > hello,
> > 
> > when using rectangular texturing, coordinate goes from 0 to image
> > pixel size.
> > when using "rectangle 0" mode, pixel coordinate goes from 0 to 1.
> > (sometimes 1 is for the power of 2 bigger than the image pixel
> > size)
> > 
> > so, in rectangular mode, use pixetl_size - image coordinate to flip
> > the image.
> > and 1 - image coordinate in non rectangle mode.
> > 
> > Image can be fliped because the "fliped" flag is not used on the
> > shader.
> > 
> > cheers
> > c
> > 
> > 
> > 
> > Le 08/04/2013 09:24, Patrice Colet a écrit :
> > > Hello,
> > >
> > >   how is it possible to flip upside down an image in glsl example
> > >   05.multitexture
> > >
> > > I tried to implement this in fragment program:
> > >
> > > http://stackoverflow.com/questions/9857089/flip-upside-down-vertex-shader-gles
> > >
> > > but it doesn't work. The only thing I can do is changing texture
> > > scale and position, but I couldn't do it with negative values
> > > like it would be done in pix_coordinates.
> > >
> > > In fact when I use pix_multiimage before pix_texture, the image
> > > gets flipped, I don't know why...
> > >
> > > Colet Patrice
> > >
> > >
> > > ___
> > > 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
> 
//jack/RYBN 2010
#extension GL_EXT_gpu_shader4 : enable
#extension GL_ARB_texture_rectangle : enable
uniform sampler2DRect Ttex1;
uniform sampler2DRect Ttex2;
uniform sampler2DRect Ttex3;
uniform sampler2DRect tex0;
uniform float style, target;
uniform float mix_factor, mix_color;
uniform float R, G, B, A;
uniform float FlipV1, FlipV2, FlipH1, FlipH2;


varying vec2 texcoord0;
ivec2 size1 = textureSize2DRect(Ttex1, 0);
ivec2 size2 = textureSize2DRect(Ttex2, 0);
ivec2 size3 = textureSize2DRect(Ttex3, 0);
ivec2 size0 = textureSize2DRect(tex0, 0);
vec2 texcoord1,texcoord2;
void main (void)
{
	
	float sizeF1X = float(size1.x)/float(size0.x);
	float sizeF1Y = float(size1.y)/float(size0.y);
	float sizeF2X = float(size2.x)/float(size0.x);
	float sizeF2Y = float(size2.y)/float(size0.y);
	float sizeF3X = float(size3.x)/float(size0.x);
	float sizeF3Y = float(size3.y)/float(size0.y);
	
	if (FlipV1 == 0.) {
		if (FlipH1 == 0.) {
			texcoord1 = vec2(texcoord0.s*sizeF1X, texcoord0.t*sizeF1Y);
		 } else if (FlipH1 == 1.) {
			texcoord1 =  vec2(float(size1.x) - texcoord0.s*sizeF1X, texcoord0.t*sizeF1Y);
		}
	} else if (FlipV1 == 1.) {
		if (FlipH1 == 0.) {
			texcoord1 =  vec2(texcoord0.s*sizeF1X,float(size1.y) - texcoord0.t*sizeF1Y);
		} else if (FlipH1 == 1.) {
			texcoord1 =  vec2(float(size1.x) - texcoord0.s*sizeF1X,float(size1.y) - texcoord0.t*sizeF1Y);
		}
	}
	if (FlipV2 == 0.) {
		if (FlipH2 == 0.) {
			texcoord2 =  vec2(texcoord0.s*sizeF2X,texcoord0.t*sizeF2Y);
		} else if (FlipH2 == 1.) {
			texcoord2 =  vec2(float(size2.x) - texcoord0.s*sizeF2X,texcoord0.t*sizeF2Y);
		}
	} else if (FlipV2 == 1.) {
		if (FlipH2 == 0.) {
			texcoord2 =  vec2(texcoord0.s*sizeF2X,float(size2.y) - texcoord0.t*sizeF2Y);
		} else if (FlipH2 == 1.) {
			texcoord2 =  vec2(float(size2.x) - texcoord0.s*sizeF2X,float(size2.y) - texcoord0.t*sizeF2Y);
		}
	}
	vec4 color1 = texture2DRect(Ttex1, texcoord1);
	vec4 color2 = texture2DRect(Ttex2, texcoord2);
	vec4 color3 = vec4(R, G, B, A);
	if (style == 0.) {
		if (target == 0.) {
			gl_FragColor = (color1 + color2);
		} else if (target == 1.) {
			gl_FragColor = (color1 + color3);
		}
	} else if (style == 1.) {
		if (target == 0.) {
			gl_FragColor = (color1 - color2);
		} else if (target == 1.) {
			gl_FragColor = (color1 - colo

Re: [PD] flip image in glsl

2013-04-08 Thread Patrice Colet
Got it, thanks a lot!

Colet Patrice

- Mail original -
> De: "Cyrille Henry" 
> À: "Patrice Colet" 
> Cc: "pd-list" 
> Envoyé: Lundi 8 Avril 2013 10:05:22
> Objet: Re: [PD] flip image in glsl
> 
> hello,
> 
> when using rectangular texturing, coordinate goes from 0 to image
> pixel size.
> when using "rectangle 0" mode, pixel coordinate goes from 0 to 1.
> (sometimes 1 is for the power of 2 bigger than the image pixel size)
> 
> so, in rectangular mode, use pixetl_size - image coordinate to flip
> the image.
> and 1 - image coordinate in non rectangle mode.
> 
> Image can be fliped because the "fliped" flag is not used on the
> shader.
> 
> cheers
> c
> 
> 
> 
> Le 08/04/2013 09:24, Patrice Colet a écrit :
> > Hello,
> >
> >   how is it possible to flip upside down an image in glsl example
> >   05.multitexture
> >
> > I tried to implement this in fragment program:
> >
> > http://stackoverflow.com/questions/9857089/flip-upside-down-vertex-shader-gles
> >
> > but it doesn't work. The only thing I can do is changing texture
> > scale and position, but I couldn't do it with negative values
> > like it would be done in pix_coordinates.
> >
> > In fact when I use pix_multiimage before pix_texture, the image
> > gets flipped, I don't know why...
> >
> > Colet Patrice
> >
> >
> > ___
> > 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] flip image in glsl

2013-04-08 Thread Patrice Colet
Hello, 

 how is it possible to flip upside down an image in glsl example 05.multitexture

I tried to implement this in fragment program:

http://stackoverflow.com/questions/9857089/flip-upside-down-vertex-shader-gles

but it doesn't work. The only thing I can do is changing texture scale and 
position, but I couldn't do it with negative values
like it would be done in pix_coordinates.

In fact when I use pix_multiimage before pix_texture, the image gets flipped, I 
don't know why...

Colet Patrice


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


Re: [PD] Drawing a sine function dynamically in Gem

2013-04-03 Thread Patrice Colet
 Hello,

attached patch is inspired from code found in link you provide:

  for (int i = 0; i< width; i++){
px2 = width/8 + cos(radians(angle2))*(radius);
py2 = 75 + sin(radians(angle2))*(radius);
point(width/8+radius+i, py2);
angle2 -= frequency2;
  }

using Gem and recursion

Colet Patrice

> De: "Alexandros Drymonitis" 
 
> I want to build this visual http://processing.org/learning/trig/ in
> Pd, but I want the sine curve to be drawn dynamically with every
> circle spin. It seems quite hard though.
> 
> 
> I don't know which object would be best. I tried either [curve] but
> the parameters are way too many and I'm not sure if precision is
> really possible. Then I tried [square 0.008] in combination with
> [repeat] but also doesn't work.
> Anyone knows how to do this?

#N canvas 941 420 553 607 10;
#X obj 52 143 gemhead;
#X obj 48 98 gemwin;
#X obj 53 321 separator;
#X obj 53 302 repeat 100;
#X floatatom 561 137 5 0 0 0 - - -;
#X obj 560 158 / 100;
#X msg 78 70 destroy;
#X msg 48 47 create \, 1;
#X obj 53 340 t a b;
#X obj 80 359 f;
#X obj 107 440 sin;
#X obj 53 505 translateXYZ 0 0 0;
#X obj 104 359 - 1;
#X obj 107 420 * 6.28319;
#X obj 80 398 t a a;
#X obj 80 419 * 4;
#X obj 80 378 / 360;
#X obj 212 75 line;
#X obj 212 14 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 80 482 * 1;
#X obj 111 482 * 1;
#X obj 53 182 t a a;
#X obj 80 201 separator;
#X obj 80 256 curve 2;
#X msg 143 225 \$1 0 0;
#X obj 143 206 * 4;
#X obj 176 453 r radius;
#X obj 143 187 r radius;
#X obj 307 65 s radius;
#X floatatom 425 16 5 0 0 0 - - -;
#X obj 425 39 s lenght;
#X obj 110 281 r lenght;
#X obj 52 163 translateXYZ -4 0 0;
#X obj 212 97 s lenght;
#X text 234 10 <;
#X obj 307 26 nbx 4 14 0.1 200 0 1 empty empty empty 0 -8 0 10 -262144
-1 -1 198 256;
#X obj 129 359 mod 360;
#X obj 307 45 / 100;
#X msg 212 55 0 \, 360 1;
#X obj 53 529 square 0.02;
#X connect 0 0 32 0;
#X connect 2 0 8 0;
#X connect 3 0 2 0;
#X connect 4 0 5 0;
#X connect 6 0 1 0;
#X connect 7 0 1 0;
#X connect 8 0 11 0;
#X connect 8 1 9 0;
#X connect 9 0 12 0;
#X connect 9 0 16 0;
#X connect 10 0 20 0;
#X connect 11 0 39 0;
#X connect 12 0 36 0;
#X connect 13 0 10 0;
#X connect 14 0 15 0;
#X connect 14 1 13 0;
#X connect 15 0 19 0;
#X connect 16 0 14 0;
#X connect 17 0 33 0;
#X connect 18 0 38 0;
#X connect 18 0 7 0;
#X connect 19 0 11 1;
#X connect 20 0 11 2;
#X connect 21 0 3 0;
#X connect 21 1 22 0;
#X connect 22 0 23 0;
#X connect 24 0 23 2;
#X connect 25 0 24 0;
#X connect 26 0 20 1;
#X connect 26 0 19 1;
#X connect 27 0 25 0;
#X connect 29 0 30 0;
#X connect 31 0 3 1;
#X connect 31 0 36 1;
#X connect 32 0 21 0;
#X connect 35 0 37 0;
#X connect 36 0 9 1;
#X connect 37 0 28 0;
#X connect 38 0 17 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] latest pd-extended-0.44 on win32

2013-03-31 Thread Patrice Colet
This is a 3,5 years old laptop with an ATI HD4500 inside

Colet Patrice

- Mail original -
> De: "Jm Jones" 
> À: "Patrice Colet" 
> Cc: "pd-list" 
> Envoyé: Samedi 30 Mars 2013 20:46:36
> Objet: Re: [PD] latest pd-extended-0.44 on win32
> 
> ok. just for curiosity, which graphic card? i need to change mine...
> 
> 2013/3/30 Patrice Colet :
> > I think it's not worth to try because the problem is really coming
> > from catalyst drivers,
> >  they just don't work good anymore, I've just found people
> >  encountering same problem with same graphic card on windows or
> >  RC2,
> > thank you.
> >
> >
> > Colet Patrice
> >
> > - Mail original -
> >> De: "Jm Jones" 
> >> À: "Patrice Colet" 
> >> Cc: "pd-list" , "IOhannes m zmölnig"
> >> 
> >> Envoyé: Samedi 30 Mars 2013 20:29:30
> >> Objet: Re: [PD] latest pd-extended-0.44 on win32
> >>
> >> I want to try 0.44 and give you my feedback, im in Win7 64 bits,
> >> but
> >> using 32 bit pd extended
> >>  43.4. If I install 0.44 it will overwrite my previous one? I dont
> >>  want that : )
> >>
> >> 2013/3/30 Patrice Colet :
> >> > Ah, this might be because this thread wasn't mine, I forgot to
> >> > mention it's happening in vista, where aero has been disabled
> >> > the
> >> > first day of use for using a classic desktop, as usual ;)...
> >> >  Gem has always been working on this computer, but I believe
> >> >  there
> >> >  has been some changes in system configuration that is really
> >> >  obscure for me, if only I had a tool that would tell me what's
> >> >  happening with graphic acceleration...
> >> >  The only point I could get with  OpenGL Extension Viewer is
> >> >  that
> >> >  it could not find driver version, and in display
> >> >  settings/Troubleshot tab it says that drivers couldn't allow
> >> >  acceleration, no more clue, reinstalling drivers doesn't change
> >> >  anything, the only option I have is about reinstalling windows,
> >> >  or even better, installing w7 or w8.
> >> > Thank you for taking care about this.
> >> >
> >> > Colet Patrice
> >> >
> >> > - Mail original -
> >> >> De: "IOhannes m zmölnig" 
> >> >> À: "pd-list" 
> >> >> Envoyé: Samedi 30 Mars 2013 08:15:30
> >> >> Objet: Re: [PD] latest pd-extended-0.44 on win32
> >> >>
> >> >> On 03/29/2013 16:55, Patrice Colet wrote:
> >> >> > I tried the win32 release archive proposed at iem.gem
> >> >> > website,
> >> >> > same
> >> >> > thing is happening,
> >> >>
> >> >>
> >> >> i remember a recent thread that mentioned that you had to
> >> >> disable
> >> >> some
> >> >> accelerated desktop on w8 in order to get Gem running.
> >> >> it seems like i cannot find that mail now.
> >> >>
> >> >> fgmadr
> >> >> 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
> >>
> >>
> >>
> >> --
> >> JM Jones
> >>
> 
> 
> 
> --
> JM Jones
> 

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


Re: [PD] latest pd-extended-0.44 on win32

2013-03-30 Thread Patrice Colet
I think it's not worth to try because the problem is really coming from 
catalyst drivers,
 they just don't work good anymore, I've just found people encountering same 
problem with same graphic card on windows or RC2,
thank you.


Colet Patrice

- Mail original -
> De: "Jm Jones" 
> À: "Patrice Colet" 
> Cc: "pd-list" , "IOhannes m zmölnig" 
> Envoyé: Samedi 30 Mars 2013 20:29:30
> Objet: Re: [PD] latest pd-extended-0.44 on win32
> 
> I want to try 0.44 and give you my feedback, im in Win7 64 bits, but
> using 32 bit pd extended
>  43.4. If I install 0.44 it will overwrite my previous one? I dont
>  want that : )
> 
> 2013/3/30 Patrice Colet :
> > Ah, this might be because this thread wasn't mine, I forgot to
> > mention it's happening in vista, where aero has been disabled the
> > first day of use for using a classic desktop, as usual ;)...
> >  Gem has always been working on this computer, but I believe there
> >  has been some changes in system configuration that is really
> >  obscure for me, if only I had a tool that would tell me what's
> >  happening with graphic acceleration...
> >  The only point I could get with  OpenGL Extension Viewer is that
> >  it could not find driver version, and in display
> >  settings/Troubleshot tab it says that drivers couldn't allow
> >  acceleration, no more clue, reinstalling drivers doesn't change
> >  anything, the only option I have is about reinstalling windows,
> >  or even better, installing w7 or w8.
> > Thank you for taking care about this.
> >
> > Colet Patrice
> >
> > - Mail original -
> >> De: "IOhannes m zmölnig" 
> >> À: "pd-list" 
> >> Envoyé: Samedi 30 Mars 2013 08:15:30
> >> Objet: Re: [PD] latest pd-extended-0.44 on win32
> >>
> >> On 03/29/2013 16:55, Patrice Colet wrote:
> >> > I tried the win32 release archive proposed at iem.gem website,
> >> > same
> >> > thing is happening,
> >>
> >>
> >> i remember a recent thread that mentioned that you had to disable
> >> some
> >> accelerated desktop on w8 in order to get Gem running.
> >> it seems like i cannot find that mail now.
> >>
> >> fgmadr
> >> 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
> 
> 
> 
> --
> JM Jones
> 

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


[PD] [GEM] catalyst's multiscreen on ubuntu with amdcccle

2013-03-30 Thread Patrice Colet
 I'm making this thread just to prevent that ubuntu's multiscreen tools aren't 
good, and that there is a good command line that is not mentionned in ubuntu 
forums or manuals, I've found it in archlinux forums and it's called amdcccle, 
this command line should be available when proprietary drivers are installed.

Colet Patrice


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


Re: [PD] latest pd-extended-0.44 on win32

2013-03-30 Thread Patrice Colet
Ah, this might be because this thread wasn't mine, I forgot to mention it's 
happening in vista, where aero has been disabled the first day of use for using 
a classic desktop, as usual ;)...
 Gem has always been working on this computer, but I believe there has been 
some changes in system configuration that is really obscure for me, if only I 
had a tool that would tell me what's happening with graphic acceleration...
 The only point I could get with  OpenGL Extension Viewer is that it could not 
find driver version, and in display settings/Troubleshot tab it says that 
drivers couldn't allow acceleration, no more clue, reinstalling drivers doesn't 
change anything, the only option I have is about reinstalling windows, or even 
better, installing w7 or w8.
Thank you for taking care about this.

Colet Patrice

- Mail original -
> De: "IOhannes m zmölnig" 
> À: "pd-list" 
> Envoyé: Samedi 30 Mars 2013 08:15:30
> Objet: Re: [PD] latest pd-extended-0.44 on win32
> 
> On 03/29/2013 16:55, Patrice Colet wrote:
> > I tried the win32 release archive proposed at iem.gem website, same
> > thing is happening,
> 
> 
> i remember a recent thread that mentioned that you had to disable
> some
> accelerated desktop on w8 in order to get Gem running.
> it seems like i cannot find that mail now.
> 
> fgmadr
> 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


Re: [PD] latest pd-extended-0.44 on win32

2013-03-29 Thread Patrice Colet
I tried the win32 release archive proposed at iem.gem website, same thing is 
happening,

I'm wondering if this is coming from my drivers or hardware, so I've tried 
openGL extension viewer to have a clue,
attached is the result, couldn't try right now on another windows machine...

 Fortunately I also have a linux machine with a big graphic card
and there is no problem at all with Gem ^^...


Colet Patrice

> De: "Hans-Christoph Steiner" 

> 
> The included Gem is the same version as the Pd-extended 0.43.4
> release.  Maybe
> you could try a newer build?
> 
> .hc
> 
> On 03/28/2013 08:42 AM, Patrice Colet wrote:
> > 
> > Hello,
> > 
> >  I'm trying to make it working, yesterday there was a missing
> >  libjack.dll problem, it has been fixed by eighthave today,
> > now I'd like to have Gem working...
> > 
> >  [gemwin] is just not responding, no error message, with any patch,
> >  it does not answer after it's creation...
> > no idea how else I could report this.
> > 
> > Colet Patrice
> > 
> > 
> > ___
> > 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
> 
Renderer: ATI Mobility Radeon HD 4500/5100 Series
Vendor: ATI Technologies Inc.
Memory: 512 MB
Version: 3.3.11672 Core Profile Forward-Compatible Context
Shading language version: 3.30


Max texture size: 8192 x 8192
Max texture coordinates: 0
Max vertex texture image units: 16
Max texture image units: 16
Max geometry texture units: 16
Max anisotropic filtering value: 16
Max viewport size: 8192 x 8192
Max uniform vertex components: 16384
Max uniform fragment components: 16384
Max geometry uniform components: 16384
Max varying floats: 128
Max samples: 4
Max draw buffers: 8


Extensions: 219

GL_AMD_conservative_depth
GL_AMD_debug_output
GL_AMD_depth_clamp_separate
GL_AMD_draw_buffers_blend
GL_AMD_name_gen_delete
GL_AMD_performance_monitor
GL_AMD_pinned_memory
GL_AMD_sample_positions
GL_AMD_seamless_cubemap_per_texture
GL_AMD_shader_stencil_export
GL_AMD_texture_cube_map_array
GL_AMD_texture_texture4
GL_AMD_vertex_shader_tessellator
GL_AMDX_debug_output
GL_AMDX_vertex_shader_tessellator
GL_ARB_base_instance
GL_ARB_blend_func_extended
GL_ARB_color_buffer_float
GL_ARB_compatibility
GL_ARB_compressed_texture_pixel_storage
GL_ARB_conservative_depth
GL_ARB_copy_buffer
GL_ARB_depth_buffer_float
GL_ARB_depth_clamp
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_draw_buffers_blend
GL_ARB_draw_elements_base_vertex
GL_ARB_draw_instanced
GL_ARB_ES2_compatibility
GL_ARB_explicit_attrib_location
GL_ARB_fragment_coord_conventions
GL_ARB_fragment_program
GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_framebuffer_object
GL_ARB_framebuffer_sRGB
GL_ARB_geometry_shader4
GL_ARB_get_program_binary
GL_ARB_half_float_pixel
GL_ARB_half_float_vertex
GL_ARB_imaging
GL_ARB_instanced_arrays
GL_ARB_internalformat_query
GL_ARB_map_buffer_alignment
GL_ARB_map_buffer_range
GL_ARB_multisample
GL_ARB_multitexture
GL_ARB_occlusion_query
GL_ARB_occlusion_query2
GL_ARB_pixel_buffer_object
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_provoking_vertex
GL_ARB_sample_shading
GL_ARB_sampler_objects
GL_ARB_seamless_cube_map
GL_ARB_separate_shader_objects
GL_ARB_shader_bit_encoding
GL_ARB_shader_objects
GL_ARB_shader_precision
GL_ARB_shader_stencil_export
GL_ARB_shader_texture_lod
GL_ARB_shading_language_100
GL_ARB_shading_language_420pack
GL_ARB_shading_language_packing
GL_ARB_shadow
GL_ARB_shadow_ambient
GL_ARB_sync
GL_ARB_texture_border_clamp
GL_ARB_texture_buffer_object
GL_ARB_texture_buffer_object_rgb32
GL_ARB_texture_compression
GL_ARB_texture_compression_rgtc
GL_ARB_texture_cube_map
GL_ARB_texture_cube_map_array
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3
GL_ARB_texture_float
GL_ARB_texture_gather
GL_ARB_texture_mirrored_repeat
GL_ARB_texture_multisample
GL_ARB_texture_non_power_of_two
GL_ARB_texture_query_lod
GL_ARB_texture_rectangle
GL_ARB_texture_rg
GL_ARB_texture_rgb10_a2ui
GL_ARB_texture_snorm
GL_ARB_texture_storage
GL_ARB_timer_query
GL_ARB_transform_feedback2
GL_ARB_transform_feedback3
GL_ARB_transform_feedback_instanced
GL_ARB_transpose_matrix
GL_ARB_uniform_buffer_object
GL_ARB_vertex_array_bgra
GL_ARB_vertex_array_object
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_vertex_type_2_10_10_10_rev
GL_ARB_viewport_array
GL_ARB_window_pos
GL_ATI_draw_buffers
GL_ATI_envmap_bumpmap
GL_ATI_fragment_shader
GL_ATI_meminfo
GL_ATI_separate_stencil
GL_ATI_texture_compression_3dc
GL_ATI_texture_

[PD] latest pd-extended-0.44 on win32

2013-03-28 Thread Patrice Colet

Hello,

 I'm trying to make it working, yesterday there was a missing libjack.dll 
problem, it has been fixed by eighthave today,
now I'd like to have Gem working...

 [gemwin] is just not responding, no error message, with any patch, it does not 
answer after it's creation...
no idea how else I could report this.

Colet Patrice


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


[PD] [gem][arch] crash on loading image

2013-02-13 Thread Patrice Colet
Package was built yesterday

pd crashes at image loading

open: ./gem.conf: No such file or directory
Magick: Memory allocation failed `Cannot allocate memory' @ 
fatal/cache.c/AcquirePixelCacheNexus/270.

On pd-lork it simply doesn't load image, no crash, no error message. 

Colet Patrice


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


Re: [PD] PsVST

2013-01-31 Thread Patrice Colet


> De: "Hans-Christoph Steiner" 
 
> How about putting this info up in a "How to install PdVST" page on
> http://puredata.info/docs/


Eventually when the server would answer ;-)

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


Re: [PD] PsVST

2013-01-31 Thread Patrice Colet


Colet Patrice

- Mail original -
> De: "Esteban Viveros" 

> 
> Ableton Live 8.3.4 don't have install folder in C:\Program Files
> (x86)\Ableton\Live, now it happend in a hide folder, but I think the
> solution isn't here.

"
1) Copy the pdvst folder to the directory that contains the 
   application (e.g. Cubase.exe) that you want to use PdVst with
   (e.g. c:\Program Files\Steinberg\Cubase VST\)

"

This is an extract from README.txt

you have to put pdvst folder with Live.exe wherever it is located.

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


Re: [PD] PsVST

2013-01-29 Thread Patrice Colet

- Mail original -
> De: "Esteban Viveros" 

> 
> I'm trying now put to work pdvst with ableton live..
> 
> 
> To pdvst work I need to have installed pd-extended in an specific
> directory?
> 
> 
> At this moment I only download pdvst in website:
> http://crca.ucsd.edu/~jsarlo/pdvst/
> and put pdvst folder in the c:/Program Files (x86)/Common Files/VST
> Plugins
> in this folder my Ableton Live uses like Plug-In Sources. After do
> that I don't have
> pdvst in Plug-In Devices.
> 
> 
> Some ideas?

this works:


C:\Program Files (x86)\Ableton\Live\Program\pdvst

C:\Program Files (x86)\Steinberg\Vstplugins\pdvst

just do this and eventually remove the other files than DLLs in 
VstPlugins\pdvst, or simply add pdvst folder to ableton vst directories

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


[PD] [GEM][pix_multiimage] error message

2013-01-28 Thread Patrice Colet
Hello,

 I'm using [pix_multiimage] into archlinux 64bit environment.

When opening the helpfile, I've got this error message into pd console:

GEM: Someone sent a bogus pointer to copy2Image

the object seems to work good thought, but is there a way to avoid getting this 
weird error message?

Colet Patrice


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

> De: "Hans-Christoph Steiner" 

> 
> If you're using Pd-extended 0.43.4, there is the 'tclfile' library,
> which
> provides a bunch of objects for file operations:
> 
> http://puredata.info/downloads/tclfile/releases/0
> 
> Just drop the 'tclfile' folder into user library folder:
> http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files


very nice!

just a little precision, once 'tclfile' folder has been dropped, the objects 
can be called like this 

[tclfile/delete]

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


Re: [PD] Building pd-l2ork on arch linux 64

2013-01-27 Thread Patrice Colet

Hello,

will pd-l2ork be available like pd-extended in https://aur.archlinux.org ?

Colet Patrice

- Mail original -
> De: "Ivica Bukvic" 
> À: "Fero Kiraly" 
> Cc: "pd-list" 
> Envoyé: Dimanche 27 Janvier 2013 22:49:28
> Objet: Re: [PD] Building pd-l2ork on arch linux 64
> 
> 
> 
> 
> Compare it to l2ork build script l2ork_addons/tar_em_up.sh. You are
> missing a number of externals, plus k12.
> On Jan 27, 2013 4:39 PM, "Fero Kiraly" < fero.kir...@gmail.com >
> wrote:
> 
> 
> 
> ivica, thank for applying my patch.
> now everything works.
> 
> 
> I am not sure if ot is completed . this is my /usr/lib/pd-lork/extra/
> :
> 
> 
> 
> adaptive
> arraysize
> bassemu~
> boids
> bonk~
> bsaylor
> choice
> complex-mod~-help.pd
> complex-mod~.pd
> comport
> controctopus
> creb
> cxc
> cyclone
> earplug~
> ekext
> expr~
> expr~.pd_linux
> expr.pd_linux
> ext13
> fexpr~.pd_linux
> fiddle~
> flatgui
> freeverb~
> Gem
> gem2pdp-help.pd
> gem2pdp.pd_linux
> gem2pdp-README.txt
> ggee
> hcs
> hexloader
> hid
> hilbert~-help.pd
> hilbert~.pd
> iem16
> iem_adaptfilt
> iem_ambi
> iem_bin_ambi
> iem_delay
> iemgui
> iemguts
> iemlib
> iemmatrix
> iem_roomsim
> iem_spec2
> iem_tab
> iemxmlrpc
> jasch_lib
> jmmmp
> la-kitchen
> libdir
> list-abs
> loop~
> lrshift~
> Makefile.am
> makefile.subdir
> mapping
> markex
> maxlib
> memento
> memento-p
> mjlib
> moocow
> moonlib
> motex
> mrpeach
> nsend
> oscx
> output~-help.pd
> output~.pd
> pan
> parazit-help.pd
> parazit.pd
> pd~
> pdcontainer
> pddp
> pdogg
> pdp
> pdp2gem-help.pd
> pdp2gem.pd_linux
> pd-wavelet
> pique
> pix_2pdp-help.pd
> pix_2pdp.pd_linux
> pixeltango
> plugin~
> pmpd
> purepd
> README.txt
> rev1-final.pd
> rev1~-help.pd
> rev1~.pd
> rev1-stage.pd
> rev2~-help.pd
> rev2~.pd
> rev3~-help.pd
> rev3~.pd
> rradical
> rtc
> sfruit
> sigmund~
> sigpack
> smlib
> stdout
> timestretch
> tof
> unauthorized
> vanilla
> vbap
> windowing
> zexy
> zexy.pd
> 
> 
> 
> 
> is something missing there ? I think yes  K12 or ?
> 
> 
> fk.
> 
> ___
> 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-27 Thread Patrice Colet
Hello,

in bash shell that would be something like 
[rm -rf /home/Sebastian/Desktop/folder(
|
[ggee/shell]

in ms-dos you can't specify a directory that is not relative to the patch (long 
story),
a simple way would be about making a batch script with this inside:

cd c:\Users\Sebastian\Desktop
rd %1

along with your patch

and then

[open yourBatchScript.bat folderToDelete(
|
[moonlib/popen]

or

[yourBatchScript.bat folderToDelete(
|
[motex/system]


Colet Patrice

- Mail original -
> De: "Sebastian Valenzuela" 
> À: "Pure Data Forum" 
> Envoyé: Dimanche 27 Janvier 2013 22:25:48
> Objet: [PD] Solution for deleting files via pd?
> 
> 
> 
> 
> 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]...
> 
> 
> 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?
> 
> 
> 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] Jack support on Windows

2013-01-27 Thread Patrice Colet


> De: "Esteban Viveros" 

> Some time ago I tried to run pdvst without sucess.

ah if you put the vststuff.dll into vstplugin directory, and the pdvst folder 
that contains vststuff.pd patches vststuff.pdv files along with the vst host 
executable (it should be 'Program' folder for Ableton Live) it should be ok.

I've started some time ago to give a try into recompiling pdvst with a recent 
pd version, but no success yet.
It would be nice to have some patches to apply into pd-extended sources for 
having an actual pdvst version, but if I'm the only one interested into using 
this, it might not be worth the effort.

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


Re: [PD] Jack support on Windows

2013-01-27 Thread Patrice Colet
jackdmp has always worked with pd on windows because it has been using ASIO 
drivers, but with two channels only...

also I'm still using pdvst for playing with Ableton Live on windows, if not in 
debug mode, it's rather stable, and even if it's a 0.37 pd version, we can do a 
lot of thing with, like opening sockets and send MIDI or VST parameters, even 
running vocoder patches, etc ... In other words, no need for jackd, no need for 
maxmsp in Ableton Live...

Would jackd work with more than two in/out channels on windows?

Colet Patrice

- Mail original -
> De: "Thomas Mayer" 
> À: pd-list@iem.at
> Envoyé: Dimanche 27 Janvier 2013 16:59:55
> Objet: Re: [PD] Jack support on Windows
> 
> Hello,
> 
> on Windows only Jackdmp (Jackd2) is available, but the latest version
> of
> Pd-extended (0.43.4-extended) does not work with Jackd2, at least on
> Debian Wheezy.
> 
> It may be fixed, when this patch is applied
> (http://sourceforge.net/tracker/?func=detail&atid=478072&aid=3582739&group_id=55736),
> because Jackd2 has removed jack_client_new () from their interface.
> 
> I have found another issue with jackd2, because hardware ports are
> not
> reported with the register_port callback, at least not with the way I
> am
> using it in my own software (a C#/Mono replacement for QJackCTL
> https://github.com/residuum/MonoMultiJack), but it probably is an
> issue
> in my code.
> 
> Hth,
> Thomas
> 
> On 16.01.2013 18:58, Esteban Viveros wrote:
> > Hello list,
> > 
> > Excuse the hassle... But I think this very important ..
> > 
> > The windows version of pd-extended 0.43 don't have support to
> > Jack..
> > 
> > It would be great can connect my new pd extended release to ableton
> > live to
> > play a little..
> > 
> > 
> > 
> > 
> > 
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> 
> 
> --
> "We left all that stuff out. If there's an error, we have this
> routine called panic, and when it is called, the machine crashes,
> and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
> http://www.residuum.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


[PD] [PD-announce] Pd-extended 0.43.4 release candidate 1: last chance to report your bugs

2013-01-23 Thread Patrice Colet
>On 01/07/2013 07:51 PM, Patrice Colet wrote:
>> 
>> hello, I'd like to report again a problem that is still not resolved in this 
>> release...
>> 
>> On win32, I've got many pd patches that makes the GUI not working with mouse 
>> binding, 
>> I can not move any object on the patch, only the arrows can make it move 
>> when it's selected.
>> 
>> It's still hard to tell where does it come from without passing hours 
>> opening, modifying, 
>> closing, and opening again patches that makes pd GUI doing this, maybe one 
>> day...
>
>Yeah, that's a tough one.  Is this something that you have reported before,
>like in a bug report in the tracker?  Do you get any error messages when it
>happens?
>
>I've seen bugs like this in the past, I think we've fixed some of them, but I
>wouldn't be surprised if there are still some out there.

Hello, I think I've found out where this problem comes from...
It's related with audio, asio particulary...portaudio is still a big problem 
here...

In some words, when asio doesn't work the mouse binding is out.

I'd be glad to put a bug report but I don't really know how to attribute this 
one,
it's both hardware (it might be a portaudio bug),
hardcoding (it might be how portaudio is implemented in pd), 
and interface (the tcl part shouldn't be involved when audio is messing up)...





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


Re: [PD] Simplest way for looping soudfiles

2013-01-22 Thread Patrice Colet

> De: "Roman Haefeli" 
> Envoyé: Mardi 22 Janvier 2013 23:24:09
> 
> On Die, 2013-01-22 at 22:20 +0100, Patrice Colet wrote:
> > > De: "Patrick Pagano" 
> > 
> > > I am very interested in finding a non-external way to constantly
> > > loop
> > > sound files of ANY size.
> > > 
> > 
> > using two [readsf~] is working so far so good for looping large
> > soundfiles, with the offset option and a signal crossfading between
> > them.
> 
> Why using an offset? Why not letting each of them play the file to
> the
> end?

Offset would be used for looping a part of the soundfile only, it's not simple 
indeed because we need to know the file length too, but's it's usefull for 
looping files writen in real time with [writesf~] for example, in this case the 
offset is used for reading the sound that comes after the end of the loop for 
mixing it with the begining of the loop, and then it can prevent to cut some 
sound's releases, or reverb.

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


Re: [PD] Simplest way for looping soudfiles

2013-01-22 Thread Patrice Colet

> De: "Patrick Pagano" 

> I am very interested in finding a non-external way to constantly loop
> sound files of ANY size.
> 

using two [readsf~] is working so far so good for looping large soundfiles, 
with the offset option and a signal crossfading between them.




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


Re: [PD] Jack support on Windows

2013-01-19 Thread Patrice Colet


> > Excuse the "(... lot of letters..)" but my cmd don't have ctrl+c
> > option.. :/


hello,

Are you really using cmd for compiling, or msys console?

On cmd you can select and copy with menu actions, cygwin uses cmd... 
In msys console it's truly like a unix terminal, Ctrl+Insert and Shift+Insert 
for copying and pasting

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


Re: [PD] [PD-announce] Pd-extended 0.43.4 release candidate 1: last chance to report your bugs

2013-01-07 Thread Patrice Colet

hello, I'd like to report again a problem that is still not resolved in this 
release...

On win32, I've got many pd patches that makes the GUI not working with mouse 
binding, 
I can not move any object on the patch, only the arrows can make it move when 
it's selected.

It's still hard to tell where does it come from without passing hours opening, 
modifying, 
closing, and opening again patches that makes pd GUI doing this, maybe one 
day...

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


Re: [PD] [text2d] background color

2013-01-07 Thread Patrice Colet

- Mail original -
> De: "Jack" 
> À: "Patrice Colet" 

> > [text3d] is aliased, not very nice to read...
> 
> And you can't use FSAA with this Radeon ?


no I can't with this radeon 4500 serie, either glsl magicks, the rendering 
order has resolved my problem anyway, thank you for the help.

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


Re: [PD] [text2d] background color

2013-01-07 Thread Patrice Colet


Colet Patrice

- Mail original -
> De: "Jack" 
> http://lists.puredata.info/listinfo/pd-list
> I think you have a problem with your version of Gem.
> What is your configuration ?
> It is working nice on Ubuntu 12.04 and Gem 0.93 with Pd 0.43.2.
> Can you use [text3d] instead of [text2d] ?
> ++
> 
> Jack


I've tried this with an ati radeon 4500/5100 serie on win32, and the Gm release 
coming with last pdx from autobuild.

 I couldn't try right now on last .deb release for precise, but I will...

[text3d] is aliased, not very nice to read...

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


Re: [PD] [text2d] background color

2013-01-07 Thread Patrice Colet


> > By the way I've found another bug, see inside, it's hard to
> > explain...

couldn't reproduce it, it might be the murphy law

> [text2d] is really very much 2d and behaves weirdly when used in 3d.
>

at least it doesn't seem aliased :D
 
> the fix for your problem is to make sure, that the [rectangle]s are
> rendered _before_ the [text2d], e.g. using [gemhead 10] for
> [rectangle]s and [gemhead 50] (which is the default for [gemhead])
> for
> [text2d].
> 

Great I didn't try render order, my bad, thank you.

> fgmasdr
> IOhannes
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAlDqv9IACgkQkX2Xpv6ydvS8ygCfQOTCk4Qk4zkKs6qWvYqM1xxA
> ReMAnRzJTJrVidaIJhgLhF5t0zu/wFmz
> =y7l+
> -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] [text2d] background color

2013-01-07 Thread Patrice Colet

> De: "Patrice Colet" 

> > De: "Alexandros Drymonitis" 
> 
> > By black background you mean the color of [gemwin]? You can change
> > that by sending [color 1 1 1( to [gemwin] (this will make the whole
> > background white), if this is what you want...
> > 
> 
> thank you for answering, but it's not about [gemwin], it's about
> [text2d],
> I forgot to mention that it's happening in recursion, see attached
> patch...
> 
> By the way I've found another bug, see inside, it's hard to
> explain...
> 

Oh I just got it! we see the gemwin background on a rectangle surrounding the 
character
so it's possible to fix it by setting gemwin color but it's not really 
convenient...

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


Re: [PD] [text2d] background color

2013-01-07 Thread Patrice Colet

> De: "Alexandros Drymonitis" 

> By black background you mean the color of [gemwin]? You can change
> that by sending [color 1 1 1( to [gemwin] (this will make the whole
> background white), if this is what you want...
> 

thank you for answering, but it's not about [gemwin], it's about [text2d],
I forgot to mention that it's happening in recursion, see attached patch...

By the way I've found another bug, see inside, it's hard to explain...



> 
> On Mon, Jan 7, 2013 at 6:54 AM, Patrice Colet < colet.patr...@free.fr
> > wrote:
> 
> 
> 
> Hello,
> 
> using GEM: ver: 0.93.3 compiled: Nov 10 2011
> 
> each [text2d] character has a black background, how can we change
> this?
> 
> 
> Colet Patrice
> 
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> 
> 


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


[PD] [text2d] background color

2013-01-06 Thread Patrice Colet

Hello,

 using GEM: ver: 0.93.3 compiled: Nov 10 2011

each [text2d] character has a black background, how can we change this?


Colet Patrice


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


Re: [PD] Circular scrolling in pd

2013-01-06 Thread Patrice Colet
hello,

what about converting cartesian to polar coordinates instead?

with something like

angle = atan(y/x)

you can even get the distance from the center with

R = Sqrt(x2 + y2)

that should be a lot easier


- Mail original -
> De: "James Dunn" 
> À: "pd-list" 
> Envoyé: Dimanche 6 Janvier 2013 22:28:30
> Objet: [PD] Circular scrolling in pd
> 
> Hi,
> 
> I'm trying to implement circular scrolling with the trackpad in pd
> and
> am approaching it by dividing a circle into segments and trying to
> detect when the mouses moves from one segment to the other. At the
> moment I can only detect 4 segments (basically just the zero
> crossings)
> which is not really accurate enough.
> 
> How would I go about detecting the boundaries of the 12 segments in
> the
> attached patch (circscroll.pd)?
> 
> Eventually I want to detect speed and direction too - but perhaps
> there
> is a better approach?
> 
> any advice welcome.
> 
> thanks,
> 
> james
> 
> ___
> 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 does not work on Windows.

2012-12-12 Thread Patrice Colet

- Mail original -
> De: "Hans-Christoph Steiner" 

> ok, I'm seeing the same thing.  double-clicking and 'pd -open' are
> the same thing on Windows.  I'm going to implement the double-click
> opening in Tcl, here's a bug report for 'pd -open':
> https://sourceforge.net/tracker/?func=detail&aid=3595309&group_id=55736&atid=478070

allright thanks for that

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


Re: [PD] Pd does not work on Windows.

2012-12-11 Thread Patrice Colet


> De: "Hans-Christoph Steiner" 
> À: "Patrice Colet" 
> Cc: "pd-list" 
> Envoyé: Mercredi 12 Décembre 2012 01:51:55
> Objet: Re: [PD] Pd does not work on Windows.
> 
> 
> My guess is that you are using an older version. This only works on
> the build from today at 2pm Eastern Time, which version are you
> using?
> 

using 0.43.4-extended-20121211, ü.pd works from open menu, dnd, and recent 
files,
but when double-clicking on file icon, or from cmd, pd removes the umlaut and 
could not open.

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


Re: [PD] Pd does not work on Windows.

2012-12-11 Thread Patrice Colet
I've tried it out with a file named ü.pd on vista, it is converted to u.pd:


C:/Users/patko/Desktop/u.pd: can't open

same thing happens with cmd...

thank you for trying to fix it...

Colet Patrice

- Mail original -
> De: "Roman Haefeli" 
> À: pd-list@iem.at
> Envoyé: Mardi 11 Décembre 2012 23:29:24
> Objet: Re: [PD] Pd does not work on Windows.
> 
> Hey Hans
> 
> This is great news. Thanks for your efforts! I'll check it out as
> soon
> as I have access to a Windows machine.
> 
> Roman
> 
> 
> On Die, 2012-12-11 at 14:11 -0500, Hans-Christoph Steiner wrote:
> > 
> > 
> > Sourceforge was down last night, so I couldn't push my
> > updates. :-( Now that its back up, I pushed them and there is a new
> > build that works for me. I fixed the unicode issue in the core of
> > Pd-extended, so you can now use unicode characters (accents,
> > umlauts,
> > etc) for filenames and paths.  Try it out:
> > 
> > 
> > http://autobuild.puredata.info/auto-build/2012-12-11/
> > 
> > 
> > There are still some externals that will need to be fixed, any
> > object
> > that reads and writes to a file.
> > 
> > 
> > .hc
> 
> 
> 
> ___
> 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, elka ek22, sysexin dump "unpacking" (82 bytes)

2012-12-11 Thread Patrice Colet

> De: "jamal crawford" 
> À: "pdlist" 
> Envoyé: Lundi 10 Décembre 2012 18:53:35
> Objet: [PD] linux, elka ek22, sysexin dump "unpacking" (82 bytes)
> 
> hi list.
> 
> im working on editor for Elka ek/em 22 analogue synth. when i request
> a
> parameter dump i get 82 bytes from sysexin. i can see the dump by
> [print] monitor, but I have no idea how to "unpack" these 82 bytes.
> when
> trigger banging the dump i only get 8 bangs, so i cant put a counter
> on
> it.
> is there anyone who has an idea how to unpack this dump.
> 

there is a class object suited for processing big lists called [gridflow], 
[list] isn't really suited to process large amount of data.


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

> De: "Björn Eriksson" 

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


There are plenty of compressed formats so it implies a lot of different 
libraries,
and fortunately almost all is handled by gmerlin and then [readanysf~] external,
at the same time this external couldn't seek lossless formats like wav or 
flac...

I remember once a discussion about this topic where I proposed a solution using 
command lines
for the converting process, this is rather fast following the computer it's 
working on.

___
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-21 Thread Patrice Colet
hello,

I've built readanysf~ dll some time ago, but there is a little bug with mp3 
files encoded with lame, I couldn't try out yet with newer gcc version,
all the work is archived here:


http://megalego.free.fr/pd/externals/readanysf~-win32-0.42.zip

Colet Patrice

- Mail original -
> De: "august" 
> À: "Björn Eriksson" 
> Cc: "Pd - list" 
> Envoyé: Mercredi 21 Novembre 2012 20:08:48
> Objet: Re: [PD] mp3 (layerII) or .wav/.aif stereo player!
> 
> 
> Björn,
> 
> AFAIK, some kind person took the time to build readanysf~ on windows.
> However, I was never able to get the binary package(s) from him or
> her.
> I'm guessing packaging it all up to be user-friendly would take some
> time too.
> 
> If anyone has a windows package together, please let me know and I'll
> include it in the download section of readanysf~.
> 
> If not, then I guess it will be a while longer before readanysf~ is
> readily available for windows.  sorry.
> 
> -august.
> 
> 
> > Well, I tried to download and get into my pd install last winter -
> > but I
> > couldn´t find out how to get it onto these old win machines. Maybe
> > there is
> > something obvious I am doing wrong, or maybe it´s already included
> > in the
> > latest pd extended.
> > Or maybe just not for win machines.
> > 
> > Someone who knows?
> > 
> > The object seems super nice though. Can really be helpful in a lot
> > of
> > situations.
> > 
> > http://aug.ment.org/readanysf/index.php
> > 
> > /Björn
> > 
> > 
> > 
> > 
> > On Wed, Nov 21, 2012 at 3:43 PM, Pierre Massat 
> > wrote:
> > 
> > > Have you guys tried with [readanysf~] ?
> > >
> > > Pierre.
> > >
> > >
> > > 2012/11/21 Björn Eriksson 
> > >
> > >> Hello,
> > >> chiming in on the mp3-file playing topic aswell...
> > >> I encountered exactly the same problem trying to play a mp3 file
> > >> a while
> > >> ago with the object [mp3play~], receiving this error text:
> > >>
> > >> ==
> > >> error: : no such object
> > >> Layer II not supported!
> > >>
> > >> EOF: bang
> > >> ==
> > >>
> > >> which is maybe not so surprising as we all have heard that mp3
> > >> should be
> > >> the layer III to be played. But how is it possible to change an
> > >> mp3 that
> > >> has layer II format into a layer III format?  Seems most mp3´s
> > >> are in the
> > >> layer II standard. My try was with this mp3-file (found on
> > >> UBU.com)
> > >>
> > >> http://ubumexico.centro.org.mx/sound/broodthaers_marcel/Broodthaers-Marcel_Interview-With-A-Cat.mp3
> > >>
> > >> I am attaching the help-patch for [mp3play~], which I found in
> > >> IEMLIB
> > >> folder.
> > >>
> > >> If there only where ogg vorbis files out there it would be easy
> > >> to just
> > >> use [oggread~] which seems to work fine.
> > >>
> > >> I am really curious about the layer II / III mystery. Also I
> > >> have heard
> > >> that layer III "are" the mp3 standard, and layer II not. Just
> > >> don´t understand the error I am getting.(I am on a win xp
> > >> machine,
> > >> but the same happens also on a win 7 machine)
> > >>
> > >>
> > >> All the best,
> > >> Björn Eriksson
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> On Wed, Nov 21, 2012 at 3:08 PM, Òscar Martínez Carmona <
> > >> xamp...@gmail.com> wrote:
> > >>
> > >>> then you probably should report a bug with "f*cking" logic.
> > >>>
> > >>> Should I? I mean, the external might work fine with layer III
> > >>> files (in
> > >>> reality mp3 stands for mpeg2 layer 3), the thing is that all
> > >>> the converters
> > >>> I've used are on layer II, so I can't use it!
> > >>>
> > >>> Anyways, I've solved it with [readsf~] playing an .aif file,
> > >>> but the
> > >>> problem I got now it's related with dinamically changing the
> > >>> file I need to
> > >>> open. I receive the filename throught OSC and it goes to a
> > >>> symbol and it
> > >>> shows me the communication went nice, but apparently it doesn't
> > >>> affect the
> > >>> open message with the dollar sign, why??
> > >>>
> > >>> [unpack f f s]
> > >>>   llI
> > >>>   [amnotlayertri.aif} //this is supposed to represent a
> > >>>   symbol
> > >>>l
> > >>>   [ open ../samples/$ (
> > >>>l
> > >>>   [readsf~ 2]
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> On Tue, Nov 20, 2012 at 8:00 PM, IOhannes m zmölnig
> > >>> wrote:
> > >>>
> >  On 11/20/2012 07:04 PM, Ò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...
> > >
> > 
> >  then you probably should report a bug with "f*cking" logic.
> > 
> > 
> >  fgmasdr
> >  IOhannes
> > 
> > 
> >  __**_
> >  Pd-list@iem.at mailing list
> >  UNSUBSCRIBE and account-management ->
> >  http://lists.puredata.info/**
> >  listinfo/pd-list

Re: [PD] opinions on the issue of concurrent implementations (was: getting sample rate of file loaded into an array)

2012-10-06 Thread Patrice Colet

> De: "IOhannes m zmölnig" 
> On 10/04/2012 05:04 PM, Patrice Colet wrote:
> > 
> >  We should use C language only when we need it, in the example of
> >  [waveinfo] vs [soundfile_info], both aren't the good way for me,
> > we just need the [binfile] external for reading the header, and all
> > the other stuff can be done into a pd patch.
> > 
> 
> we don't need [binfile]!
> 

how do you read the header without binfile? 

> Pd is proven to be turing complete, so it should be easy enough to
> write
> an operating system entirely in Pd (that is: a patch) that will allow
> you to read/write soundfiles in any desired format.


pd is not even able to read extended precision, that's why pd can't tell about 
aiff samplerate.


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


Re: [PD] Question on getting the amount of values in a table and setting table to zero

2012-10-04 Thread Patrice Colet


Colet Patrice

- Mail original -
> De: "Rick T" 
> À: "PD List" 
> Envoyé: Jeudi 4 Octobre 2012 17:47:57
> Objet: [PD] Question on getting the amount of values in a table and setting 
> table to zero
> 
> 
> Greetings All
> 
> 1) I'm trying to find a way to get the total amount of values in a
> table. I found arraysize but that doesn't seem to give me the
> correct output
> 
> Example:
> If I create a table with "; arrayx 0 .1 .3 .5 .3 .1"
> I'm trying to get the output to be 5 since there are 5 values in it.

if you set manually array values, maybe [list-abs/list-len] is the answer...

something like this:

[.1 .3 .5 .3 .1(
|
[list]
|
[t a a]
||
|[list length]
||
|[;arrayx resize $1(
|
[list prepend 0]
|
[list trim]
|
[s arrayx]

> 2) I'm also trying to set all values in array to zero with out having
> to zero each index.
> 
> Example
> If I create a table with "; arrayx 0 .1 .3 .5 .3 .1"
> is there an option to set all indexes values back to zero (or set the
> entire array back to zero) without
> creating another object like this"; arrayx 0 0 0 0 0 0"

[;arrayx const 0(

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


Re: [PD] Looping through an array a specific number of times

2012-10-04 Thread Patrice Colet

> De: "Rick T" 
>
> I'm trying to loop a wav file a specific number of times after I load
> it into an array and play it using tabread4~.
> 

It depends on how you read the table, if you are using [line~] it's easy, you 
just have to count how many time it's triggered,
but for some reasons I don't know, the sound quality will be bad with long 
soundfiles...

If you are using [phasor~] you can count ramp reset,
here is a track to do this:

http://www.mail-archive.com/pd-list@iem.at/msg46735.html

> I was going to use moses and a spigot and I found the "loop" object
> but it doesn't have any help information it's just another
> sub-patch.
> Is their another object I should use to control the amount of loops a
> sound file plays?
> 
> Thanks
> Rick
> 
> ___
> 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] getting sample rate of file loaded into an array

2012-10-04 Thread Patrice Colet

> De: "Roman Haefeli" 
> 
> On Thu, 2012-10-04 at 16:23 +0200, Patrice Colet wrote:
> > Thank you roman, didn't try this one...
> > 
> > I'd like to know what was the bug
> 
> http://sourceforge.net/tracker/?func=detail&atid=478070&aid=2950978&group_id=55736
> 
> >  because it gives wrong sample resolution
> 
> Didn't know about this one. Please report it, so that hopefully it
> gets
> fixed. Does it work correctly with [ext13/wavinfo]?

Yes it does,

but anyway, my bad, I didn't read carefuly enough the help file that is saying 
sample resolution in *bytes*, not in *bits*.

maybe one day [soundfile_info] will read aiff files as well...

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


Re: [PD] opinions on the issue of concurrent implementations (was: getting sample rate of file loaded into an array)

2012-10-04 Thread Patrice Colet


> De: "Roman Haefeli" 
> 
> Hi all
> 
> The thread below makes me curious about what people think about the
> support of two or more several implementations of the similar
> functionality.
> 
> There are a few such cases:
> * [ext13/wavinfo] vs. [iemlib/soundfile_info]
> * OSCx vs. mrpeach's osc library
> * arraysize vs.[expr size("array-name")]  (which could be turned
> easily
> into an abstraction)
> 
> There are certainly more similar examples. Is that a good or a bad
> thing? Do you rather find it annoying when you find two or more
> implementations for the same thing or do you consider it a question
> of
> choice: more is better? Is it possible at all to make generalizations
> about that? Is it the lesser of two evils to keep each implementation
> for the sake of backwards compatibility or is it preferable to focus
> on
> one single (best working) implementation and get rid of the rest
> (which
> breaks compatibility, of course)?
> 
> My personal stance on the issue:
> I don't remember all cases, but in the case of [wavinfo] vs.
> [soundfile_info] I spent a lot of time figuring out which works for
> which files. Also, I wanted to know which is mature enough so that
> it's
> worth to write bug reports to its author. This consumes quite some
> time
> and I think everyone who discovers that there are many solutions for
> her
> problem needs to invest some time to find out which works best.
> Personally, I think this is lost time, because not only it needs
> twice
> as much time to implement the same thing twice, every user needs to
> figure out the small differences.
> Well aware, that this (my) opinion is likely not applicable to
> others, I
> tend to think that patches are too much treated like holy cows whose
> breaking should be avoided by any means. If it turns out, that my
> patches use an inferior of concurrent implementations, I'd be happy
> to
> switch them to the new class, especially if it helps to keep the
> future
> clean.
> 
Hi Roman,

 I think that it's better when we can modify the behavior of an object by 
modifying a pd patch.
When everything is enclosed into an external, somehow it's private, and then 
it's not really pd anymore.
 More people are able to debug a pd patch, anyone could fix the problem without 
compiling anything.

 We should use C language only when we need it, in the example of [waveinfo] vs 
[soundfile_info], both aren't the good way for me,
we just need the [binfile] external for reading the header, and all the other 
stuff can be done into a pd patch.

my one cent

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


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

2012-10-04 Thread Patrice Colet
Thank you roman, didn't try this one...

I'd like to know what was the bug because it gives wrong sample resolution

Colet Patrice

- Mail original -
> De: "Roman Haefeli" 
> À: pd-list@iem.at
> Envoyé: Jeudi 4 Octobre 2012 15:49:25
> Objet: Re: [PD] getting sample rate of file loaded into an array
> 
> Hi Patrice and Rick
> 
> Unfortunately, there are several different types of wav files, also
> the
> header size is not always the same.
> 
> IIRC, [ext13/wavinfo] assumes a fixed size of the typical 44 byte
> header
> and probably because of other reasons as well does not recognize many
> real-world wav-files. Sometimes it gives totally strange numbers
> instead
> of reporting an error.
> 
> [iemlib/soundfile_info] seems to support a much wider range of
> wav-files
> around and also I reported once a bug and it got fixed.
> 
> For reasons above I encourage you to use [iemlib/soundfile_info].
> 
> Roman
> 
> 
> 
> On Wed, 2012-10-03 at 14:09 -1000, Rick T wrote:
> > Thanks
> > 
> > On Wed, Oct 3, 2012 at 1:45 PM, Patrice Colet
> > 
> > wrote:
> > [ext13/wavinfo]
> > 
> > or more complicated for the fun, with [mrpeach/binfile] and
> > https://ccrma.stanford.edu/courses/422/projects/WaveFormat/
> > 
> > it's attached ^^
> > 
> > Colet Patrice
> > 
> > - Mail original -
> > > De: "Rick T" 
> > > À: "PD List" 
> > > Envoyé: Jeudi 4 Octobre 2012 00:26:15
> > > Objet: [PD] getting sample rate of file loaded into an
> > > array
> > >
> > >
> > > Greetings All
> > >
> > > I load a wavefile into an array using openpanel but how
> > > can
> > I go
> > > about getting the sample rate of the wav file?
> > >
> > > I'm trying to load the sample rate data into an expr
> > > object
> > > Example: expr (sample rate) / f$1
> > >
> > > Aloh
> > > Rick
> > >
> > 
> > > ___
> > > 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] getting sample rate of file loaded into an array

2012-10-03 Thread Patrice Colet
[ext13/wavinfo]

or more complicated for the fun, with [mrpeach/binfile] and 
https://ccrma.stanford.edu/courses/422/projects/WaveFormat/

it's attached ^^

Colet Patrice

- Mail original -
> De: "Rick T" 
> À: "PD List" 
> Envoyé: Jeudi 4 Octobre 2012 00:26:15
> Objet: [PD] getting sample rate of file loaded into an array
> 
> 
> Greetings All
> 
> I load a wavefile into an array using openpanel but how can I go
> about getting the sample rate of the wav file?
> 
> I'm trying to load the sample rate data into an expr object
> Example: expr (sample rate) / f$1
> 
> Aloha
> Rick
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>#N canvas 1231 538 450 300 10;
#N canvas 0 0 948 727 fileinfo 1;
#X obj 172 151 mrpeach/binfile;
#X obj 172 131 until;
#X obj 172 193 f;
#X obj 201 192 + 1;
#X obj 172 215 pack;
#X msg 209 172 0;
#X obj 172 170 t b a;
#X msg 172 110 37;
#X obj 172 89 t b a b;
#X text 259 46 grab wave info into file header;
#X obj 171 48 inlet;
#X obj 84 508 outlet;
#X msg 171 69 read \$1;
#X obj 123 377 *;
#X obj 203 403 *;
#X obj 203 463 /;
#X obj 203 443 f;
#X obj 203 423 t b a;
#X obj 111 358 / 8;
#X obj 84 339 t a a;
#X obj 209 270 * 256;
#X obj 209 289 +;
#X obj 191 337 +;
#X obj 190 311 * 65536;
#X obj 191 357 t a a;
#X obj 267 334 * 1.67772e+007;
#X obj 267 353 +;
#X obj 282 314 +;
#X obj 282 295 * 65536;
#X obj 300 254 * 256;
#X obj 300 274 +;
#X obj 138 358 t a a;
#X obj 172 234 route 34 26 25 24 22 7 6 5 4;
#X obj 84 487 pack f f f f f;
#X connect 0 0 6 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 2 0 4 0;
#X connect 3 0 2 1;
#X connect 4 0 32 0;
#X connect 5 0 2 1;
#X connect 6 0 2 0;
#X connect 6 1 4 1;
#X connect 7 0 1 0;
#X connect 8 0 7 0;
#X connect 8 1 0 0;
#X connect 8 2 5 0;
#X connect 10 0 12 0;
#X connect 12 0 8 0;
#X connect 13 0 14 0;
#X connect 14 0 17 0;
#X connect 15 0 33 3;
#X connect 16 0 15 0;
#X connect 17 0 16 0;
#X connect 17 1 15 1;
#X connect 18 0 13 0;
#X connect 19 0 33 0;
#X connect 19 1 18 0;
#X connect 20 0 21 0;
#X connect 21 0 22 1;
#X connect 22 0 24 0;
#X connect 23 0 22 0;
#X connect 24 0 33 1;
#X connect 24 1 14 1;
#X connect 25 0 26 0;
#X connect 26 0 16 1;
#X connect 26 0 33 4;
#X connect 27 0 26 1;
#X connect 28 0 27 0;
#X connect 29 0 30 0;
#X connect 30 0 27 1;
#X connect 31 0 13 1;
#X connect 31 1 33 2;
#X connect 32 0 19 0;
#X connect 32 1 23 0;
#X connect 32 2 20 0;
#X connect 32 3 21 1;
#X connect 32 4 31 0;
#X connect 32 5 25 0;
#X connect 32 6 28 0;
#X connect 32 7 29 0;
#X connect 32 8 30 1;
#X connect 33 0 11 0;
#X restore 147 48 pd fileinfo;
#X obj 147 29 openpanel;
#X obj 147 10 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X floatatom 147 189 5 0 0 0 - - -;
#X floatatom 170 162 5 0 0 0 - - -;
#X floatatom 193 134 5 0 0 0 - - -;
#X floatatom 216 111 5 0 0 0 - - -;
#X text 181 190 bitrate;
#X text 204 161 samplerate;
#X text 227 136 number of channels;
#X text 252 111 size in seconds;
#X obj 147 67 unpack f f f f f;
#X floatatom 240 88 5 0 0 0 - - -;
#X text 276 88 size in samples;
#X connect 0 0 11 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 11 0 3 0;
#X connect 11 1 4 0;
#X connect 11 2 5 0;
#X connect 11 3 6 0;
#X connect 11 4 12 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] namespaces in help files [was: Re: [pd] osc processing array to the pd table]

2012-09-30 Thread Patrice Colet

> De: "Jonathan Wilkes" 

> > I use to remove all the stuff at startup and use this namespace/
> > stuff, or even
> > better, the [declare] thingy in main patches,
> > then it's easier to figure out what's happening.
> > 
> > It would be cool to have this in help files,
> 
> That shouldn't be necessary if the author uses the libdir format
> because the binaries are in the same directory as the help files
> and Pd looks there first for the objects.
> 
> Unfortunately that same behavior doesn't apply for abstractions
> but it should.

Hi Jonathan, and thanks for answering,

most of the nice pdx stuff isn't in libdir format, like iem and Gem,
the last isn't so hard to fix, it's a just a single word to put in startup file,
but the first is full of helpfiles where many different objects from different 
libs couldn't be created,
some even crashes pd (win32 still, 20120720 version).

 Also the main problem isn't really about figuring out what's happening in 
patches,
but something that has been often debated in the list, conflictual objects,
same name but different behaviors, like [counter] for example, is this has been 
solved after all?

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


[PD] namespaces in help files [was: Re: [pd] osc processing array to the pd table]

2012-09-30 Thread Patrice Colet
Hello Billy, hello pd-list,

sorry to interfere into this interesting discussion...
I making another topic so it shouldn't be embarrassing...

> [iemnet/udpreceive] before it would load I guess it all depends on
> the
> stuff in startup

I use to remove all the stuff at startup and use this namespace/ stuff, or even 
better, the [declare] thingy in main patches,
then it's easier to figure out what's happening.

It would be cool to have this in help files, maybe it's not the best approach, 
but it's the best one I've found out.



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


Re: [PD] messages language

2012-09-25 Thread Patrice Colet
hello


> De: "Фывапр Олджэвич" 
 
> It seems that everything in PD-patch can be done with just messages,
> starting with " ; "
> 
> Is it true ?

semi-colon means that a message will be sent internaly to a [receive] object 
named with next argument,
this also can be a [table] object.

> 
> For example I can use
> 
> [ ; table1 sinesum 512 0.5 0.5 0.5 0.5; table2 cosinesum 512 0 1 {
> 
> to draw wave in a table .
> 
> But where can I find the most complete list of this messages and
> their syntax and meanings ??

for sinesum message arg 1: Number of Points - arg 2: list of partial strengths

it's documented in all_about_arrays.pd/Higher_math/sine_waves

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


Re: [PD] creation arg, distinction between 0 and no arg, WAS Re: Splitting Objects

2012-09-25 Thread Patrice Colet
Maybe dirty but skillful!

Is it possible to have this included somewhere in pdx abs?

> De: "Cyrille Henry" 

> 
> hello,
> 
> a dirty hack allow distinction between no argument and a 0 float arg.
> see attachment.
> cheers
> c
> 
> 
> Le 25/09/2012 15:45, Patrice Colet a écrit :
> >
> >> De: "Patrice Colet" 
> >>> De: "Funs Seelen" 
> >>
> >>> Speaking about creation arguments: if none are given for
> >>> abstractions
> >>> the default value is always "0" (at least I never figured out a
> >>> way
> >>> to
> >>> give another default value *). For C-objects it is possible to
> >>> use
> >>> any
> >>> float value as default.
> >>
> >>
> >> [loadbang]
> >> |
> >> [$1]
> >> |
> >> [sel 0]
> >> |
> >> [my default value(
> >>
> >
> > indeed it doesn't seem possible to set a default value and keep 0
> > as another value
> >
> > ___
> > 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] Splitting Objects

2012-09-25 Thread Patrice Colet

> De: "Patrice Colet" 
> > De: "Funs Seelen" 
> 
> > Speaking about creation arguments: if none are given for
> > abstractions
> > the default value is always "0" (at least I never figured out a way
> > to
> > give another default value *). For C-objects it is possible to use
> > any
> > float value as default.
> 
> 
> [loadbang]
> |
> [$1]
> |
> [sel 0]
> |
> [my default value(
> 

indeed it doesn't seem possible to set a default value and keep 0 as another 
value

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


Re: [PD] Splitting Objects

2012-09-25 Thread Patrice Colet



- Mail original -
> De: "Funs Seelen" 

> Speaking about creation arguments: if none are given for abstractions
> the default value is always "0" (at least I never figured out a way
> to
> give another default value *). For C-objects it is possible to use
> any
> float value as default.


[loadbang]
|
[$1]
|
[sel 0]
|
[my default value(




Colet Patrice

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


[PD] iemmatrix missing externals on win32

2012-08-30 Thread Patrice Colet
Hello, I'm playing with some iemmatrix objects on win32, pd-extended 0.43.1, 
and got the following error message in console when trying [mtx_ei~]

I could find almost all objects scattered in pdx, but not [mtx_pcolor], what is 
this object standing for?

 dsp
... couldn't create
 z~
... couldn't create
 z~ 10
... couldn't create
 mtx_pcolor
... couldn't create
 mtx_- 100
... couldn't create
 mtx_* 0
... couldn't create
 mtx_:
... couldn't create
 mtx_+ $1
... couldn't create
 mtx_+
... couldn't create
 mtx_./
... couldn't create
 mtx_* 1
... couldn't create

Colet Patrice

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


Re: [PD] playing soundcloud files

2012-08-28 Thread Patrice Colet

> De: "Andrew Faraday" 

> That sounds good, but how exactly? Do you have an example patch?
> 

I gave the answer in precedent mail, you have the link into html sources

> > From: reduz...@gmail.com
> > To: pd-list@iem.at
> > Date: Mon, 27 Aug 2012 22:32:04 +0200
> > Subject: Re: [PD] playing soundcloud files
> > 
> > [readanysf~] does not only play many encodings and file formats,
> > but
> > supports also a lot of protocols, including http. You can directly
> > open
> > a track on soundcloud.com with [readanysf~]. There is no need to
> > download the file first with wget or whatsoever.
> > 
> > Roman
> > 
> > 
> > On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote:
> > > [wget -O source file(-[shell] & [read file(-[readanysf~]
> > > 
> > > use [popen] on windows and an executable of wget
> > > 
> > > Colet Patrice
> > > 
> > > - Mail original -
> > > > De: "alessandro contini" 
> > > > À: "PD list" 
> > > > Envoyé: Jeudi 23 Août 2012 12:49:42
> > > > Objet: [PD] playing soundcloud files
> > > > 
> > > > Hey pd-people,
> > > > 
> > > > I'm just wondering if any of you ever tried loading an audio
> > > > file
> > > > hosted by
> > > > soundcloud into a PD patch.
> > > > I'm thinking about something like [openpanel] + [soundfiler]
> > > > but
> > > > sourcing
> > > > the audio data from a soundcloud account.
> > > > 
> > > > Any idea? Suggestions?
> > > > Thanks!
> > > > 
> > > > --
> > > > 
> > > > // ALESSANDRO CONTINI
> > > > 
> > > > // www.alessandrocontini.it
> > > > // skype: alessandro_contini
> > > > // DE: +49-176-38600277
> > > > // ITA: +39-340-2686996
> > > > 
> > > > ___
> > > > 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
> 

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


Re: [PD] playing soundcloud files

2012-08-23 Thread Patrice Colet

> De: "alessandro contini" 

> Anyway, I don't seem to find a way to make readanysf working on my
> computer
> (OS X)...


 I don't know anything about OSX, so I couldn't help with it. Maybe you should 
try first to understand what is a shell on OSX and how to use it.
Another solution would be about converting the downloaded soundfile to aiff 
with a command line tool like ffmpeg.

$ ffmpeg -i soundfile.flv soundfile.aif

then you can open it with [soundfiler]

> What do you mean with "an executable of wget"?

wget is a command line tool for downloading files, also there is something I 
didn't think about, you have to download first the html page,
and extract the link of the flv file with sed or awk, or python, or tcl, or 
manually, choose your weapons...

I give you an indice, if in the html sources the link is something like 
"streamUrl":"http://media.soundcloud.com/stream/123456abcdef?

the command line would be:

$ wget -O  soundfile.flv http://media.soundcloud.com/stream/123456abcdef

(sorry I've inverted output and link in precedent mail)

A last thing, be careful to not abuse with those command line tools, I suppose 
that soundcloud owners wouldn't appreciate if two many files are downloaded 
like this.

> 
> > [wget -O source file(-[shell] & [read file(-[readanysf~]
> >
> > use [popen] on windows and an executable of wget
> >
> > Colet Patrice
> >
> > - Mail original -
> > > De: "alessandro contini" 
> > > À: "PD list" 
> > > Envoyé: Jeudi 23 Août 2012 12:49:42
> > > Objet: [PD] playing soundcloud files
> > >
> > > Hey pd-people,
> > >
> > > I'm just wondering if any of you ever tried loading an audio file
> > > hosted by
> > > soundcloud into a PD patch.
> > > I'm thinking about something like [openpanel] + [soundfiler] but
> > > sourcing
> > > the audio data from a soundcloud account.
> > >
> > > Any idea? Suggestions?
> > > Thanks!
> > >
> > > --
> > >
> > > // ALESSANDRO CONTINI
> > >
> > > // www.alessandrocontini.it
> > > // skype: alessandro_contini
> > > // DE: +49-176-38600277
> > > // ITA: +39-340-2686996
> > >
> > > ___
> > > 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] playing soundcloud files

2012-08-23 Thread Patrice Colet
[wget -O source file(-[shell] & [read file(-[readanysf~]

use [popen] on windows and an executable of wget

Colet Patrice

- Mail original -
> De: "alessandro contini" 
> À: "PD list" 
> Envoyé: Jeudi 23 Août 2012 12:49:42
> Objet: [PD] playing soundcloud files
> 
> Hey pd-people,
> 
> I'm just wondering if any of you ever tried loading an audio file
> hosted by
> soundcloud into a PD patch.
> I'm thinking about something like [openpanel] + [soundfiler] but
> sourcing
> the audio data from a soundcloud account.
> 
> Any idea? Suggestions?
> Thanks!
> 
> --
> 
> // ALESSANDRO CONTINI
> 
> // www.alessandrocontini.it
> // skype: alessandro_contini
> // DE: +49-176-38600277
> // ITA: +39-340-2686996
> 
> ___
> 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-dev] Cross Compiling External for Windows - Problem

2012-08-22 Thread Patrice Colet
 Hello Thomas, 

> it seems, that I have problems compiling the external with MinGW on
> Windows as well. I will try to make that work first, and then go on

I tried to have a look but there is something I didn't have time to handle,
how to get libcurl on win32 for mingw...


> with
> the compilation with MXE on Linux. Your tips have led to some bugs
> with
> my Makefile already.

cool, let us know if you get something working :D

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


Re: [PD] [PD-announce] Gemnotes 0.2

2012-08-21 Thread Patrice Colet
Hello,

that looks nice, but I'm getting a 404 error when trying to download

Colet Patrice

- Mail original -
> De: "Ed Kelly" 
> À: pd-annou...@iem.at
> Envoyé: Lundi 20 Août 2012 17:24:59
> Objet: [PD] [PD-announce] Gemnotes 0.2
> 
> Hi all,
> 
> Gemnotes 0.2 is released.
> It has dynamics (at last), hairpin crescendos, and very basic
> articulation (just the accented note for now).
> Also, the clocking is done seperately from the GEM framerate (thanks
> IOhannes).
> 
> Enjoy!
> Ed
>  
> Gemnotes-0.2: Live music notation for Pure Data
> http://sharktracks.co.uk/
> ___
> 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] Multiple Pd patchers on one computer?

2012-08-19 Thread Patrice Colet
 hello,

it should be possible with [hid] but it would require to make an interface for 
sending internal messages, and drawing several custom cursors.
Graphically I guess that the patcher would have to be made with another tool 
kit than tcltk by using a library like tkinter (already available),
or even better (I guess) with a gtk or a qt frontend external. Another solution 
would be about hacking Gem or gridflow for using multiple mouses, I don't know 
if it's possible.


Colet Patrice

- Mail original -
> De: "Björn Eriksson" 
> À: "Pd - list" 
> Envoyé: Dimanche 19 Août 2012 18:12:49
> Objet: [PD] Multiple Pd patchers on one computer?
> 
> Hello,
> earlier today a thought just popped up... and maybe it´s already
> done, and
> maybe it´s not even something that relates to Pd mainly.
> 
> My idea is this:
> One computer, several keyboards and mouses connected to this same one
> computer, shares a Pd window, patching together.
> Could be something that could be interesting to do as live
> performance/collaboration... maybe.
> Just wanted to share this idea - and see if it´s already been done
> something like this..
> 
> Guess the technical side of it is more to get several
> keyboards/mouses to
> run in parallell with unique "id"s. Probably there exists a really
> easy
> solution to this.
> 
> I am not directly planning to do this, but I am curious anyway, if
> someone
> can elaborate on this idea then I am happy to listen..!?
> (I know there are some web-interfaced Pd projects (Purée Data?) but
> this
> idea is more simple, just to use one computer with several
> users/patchers.)
> 
> All the best,
> Björn Eriksson
> 
> ___
> 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


  1   2   3   4   5   >