[PD] bad arguments for message 'dsp' to object 'outlet'

2021-01-05 Thread Patrice Colet

Hello!

 This console error message occurs with Pd version 0.51.1

To reproduce this error just send [dsp( to [outlet]

What is this supposed to do to [outlet] ?

--
ecirtaPteloC
MerciDeDetruireCetEmail




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


Re: [PD] Gem 0.94 on Windows ? ...

2020-06-22 Thread Patrice Colet


Le 23/06/2020 à 00:33, oliver a écrit :


Just tried your package. Unfortunately on my machine it fails with 
lots of "GL[1282]: invalid operation" error messages and the eventual 
pd crash.


Ah ok it looks like this doesn't work an older version of openGL, thank 
you for trying.


But, as i said: it's most likely a combination of my special machine 
(or graphic card) and the fact that i'm still on W7, as others don't 
seem to have that problem



I've also been going into issues with gem-0.94 and video files.

With k-lite codecs I could only read the avi file from examples, the 
other ones crash pd.


Pd version 0.50.2, GEM: ver: 0.94.git v0.94, NVDIA GTX 1050.





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


Re: [PD] Gem 0.94 on Windows ? ...

2020-06-22 Thread Patrice Colet


Le 21/06/2020 à 17:15, Patrice Colet a écrit :


Le 18/06/2020 à 23:45, oliver a écrit :



Is anybody on this list successfully using Gem for works with videos 
under Windows ?
If so, what are your specs (OS version, Machine, graphics card, codec 
pack) ?



I had almost all video and stream files working successfully by 
compiling/installing/using mpv external, not easy to do, and 
unreliable unless someone really qualified handles the windows version 
of this external


here's a hint:

https://github.com/patricecolet/gem-mpv


I've made an archive containing all the stuff for mpv with windows10 
(x86_64)


http://megalego.free.fr/pd/gem-mpv/mpv.zip

If you want to try it out, put mpv folder into 
c:\users\\appData\Roaming\pd\ then add this path into pd 
preferences and load mpv-help.pd patch.


Almost all video files should work, even 4k, but I couldn't make youtube 
streaming work again.







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


Re: [PD] Gem 0.94 on Windows ? ...

2020-06-21 Thread Patrice Colet


Le 18/06/2020 à 23:45, oliver a écrit :



Is anybody on this list successfully using Gem for works with videos 
under Windows ?
If so, what are your specs (OS version, Machine, graphics card, codec 
pack) ?



I had almost all video and stream files working successfully by 
compiling/installing/using mpv external, not easy to do, and unreliable 
unless someone really qualified handles the windows version of this external


here's a hint:

https://github.com/patricecolet/gem-mpv




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


Re: [PD] 8 channel circle panner, how?

2019-09-11 Thread Patrice Colet

Hello.

Le 11/09/2019 à 00:26, Andrew Lyons a écrit :
Sounds like you want spatialization on a plane through 8 speakers 
positioned on a circle?


So you need to convert any cartesian locations to polar coords first. 
For an approximate 3D sound effect you really only need a function to 
create distance (and Doppler?) effects, and then feed that output, and 
the angle into the planner.


The Doppler effects are the trickiest obviously. Last time I checked, 
real time pitch shifting as a function of change in distance was best 
done in the Fourier domain. Not sure how real time that is these days.


Distance effects are just inverse square of distance (or 1/ d^1.5 
according to some). Then add filters for high and low frequencies. 
Constant power panning and variants popular and easy for speakers on a 
circle.


 When soundwaves are propagating through a medium, there are several 
effects happening, like dispersion and reflexion, and they may travel at 
different speeds with same frequency following it's shear modulus (see 
https://en.m.wikipedia.org/wiki/Speed_of_sound). That's how ambisonic 
tools might be usefull...


Doppler effect is involved when the source of a sound and the listener 
are moving relative to each other.



There's pseudo code in this book from memory: Dodge, Charles; Jerse, 
Thomas A. 1997 Computer music : synthesis, composition,

and performance. 2nd ed. New York : Schirmer Books ; London : Prentice
Hall International.

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


Re: [PD] [PD-announce] Ofelia 2.0 released!

2018-11-21 Thread Patrice Colet


Hello Zack!

 that's a nice project! I'd like to use it in some GUI frontend 
projects for replacing tk widgets, have you got any menubutton, slider, 
tree, drag and drop examples?


 I've got crashes on my win32 pd version with shader/simpleColorQuad 
and text/easyFontLoader the asciiVideoExample doesn't show anything and 
won't turn webcam off when I close the patch, and videoPlayerExample 
doesn't show the video in window



Le 21/11/2018 à 12:48, Zack Lee a écrit :
Hi, I'm proud to announce Ofelia 2.0 which allows you to use 
openFrameworks and Lua within Pd for creating multimedia applications.


Thanks to Lua scripting feature, you can do text coding directly on a 
Pd patch or through a text editor which makes it easier to solve 
problems that are complicated to express in visual programming 
languages like Pd. And you can use openFrameworks functions and 
classes within a Lua script.


Using Ofelia, you can flexibly choose betweeHello, that'sn patching 
and coding style depending on your preference. For more information, 
please visit https://github.com/cuinjune/ofxOfelia


The external is available on Deken for macOS(64bit), Linux(64bit), 
Windows and Raspberry Pi.


I apologize that the patches made using Ofelia 1.0 won't work on 
Ofelia 2.0 since many things have changed.


Any feedback is welcomed, hope you like it.

Zack


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


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


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


Re: [PD] remote ssh into pd

2018-04-16 Thread Patrice Colet
I usually do ssh -XY user@ipadress in a shell with X11 libraries and 
then pd does run with the interface



Le 17/04/2018 à 00:28, michael strohmann a écrit :

Hello List,
i have a pd patch running on raspberry.
would be great to open an xsession and peek into the running patch via ssh.
is this at all possible?

Cheers!
mkl

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



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


Re: [PD] compiling PD on windows

2018-03-21 Thread Patrice Colet

Could you post a link to Pd64bit tcl/tk 32bit version? 



Le 20 mars 2018 20:16:52 GMT+01:00, Lucas Cordiviola  a 
écrit :
>Patrice reported he was able to use his 64bit ASIO soundcard only with
>64bit tcl/tk 8.6.8.
>
>He couldn't with 64bit-Pd 32bit-tcl/tk or with Pd-w32
>
>
>--
>
>Mensaje telepatico asistido por maquinas.
>
>On 3/20/2018 5:55 AM, IOhannes m zmoelnig wrote:
>
>On 2018-03-20 08:07, oliver wrote:
>
>
>For a 64bit Pd (still experimental) we also need a 64bit tcl/tk
>
>
>
>could someone explain to me why this is needed?
>
>fgamsdr
>IOhannes
>
>
>
>
>
>___
>Pd-list@lists.iem.at mailing list
>UNSUBSCRIBE and account-management ->
>https://lists.puredata.info/listinfo/pd-list

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma 
brièveté.___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] readanysf~ support on Windows

2018-01-26 Thread Patrice Colet



Le 26/01/2018 à 15:26, Roman Haefeli a écrit :

On Fre, 2018-01-26 at 14:29 +0100, Christof Ressi wrote:

I guess this would require a recoding of readanysf~ sources...

I'll have a look in February. the next step would be a [writeanysf~]
:-)

I don't get the point of this discussion. The origin of this thread was
an announcement about [locusamp~] which is exactly a multi-format
playback external based on ffmpeg.

So what's the point of coding another one?


maybe to distribute de sources?

Roman


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


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


Re: [PD] readanysf~ support on Windows

2018-01-26 Thread Patrice Colet

Hello,

Le 26/01/2018 à 13:13, Christof Ressi a écrit :

I tried to build readsf~ with Msys2 and I'm missing gmerlin_avdec lib (not 
included in dll folder). there's no package for Msys2 and I couldn't find any 
binaries elsewhere so I tried to build gmerlin_avdec from source but gave up 
after a while...

I'm wondering if there shouldn't be a better cross-platform solution, probably 
using ffmpeg/libav instead of gmerlin?



me too, gmerlin_avdecoder is just impossible to build on MSYS2

I guess this would require a recoding of readanysf~ sources...



The archive for Windows actually ships with a few dlls, but not all of
them. libtheora-0 and libtiff3 are part of the archive and I installed
them as suggested in the README (don't know why it complains about
them), but the others from above list are missing.

So, before anyone reports to the author, be sure to have all required
dlls installed and then test again.


the missing DLLs should be provided by pd-extended.


Note: the windows package was put together by someone else (says the
READMEwin32.txt). So, please also do not complain to the author about
missing dlls.

Maybe someone knows of a good / trustworthy way to get compiled
binaries of GPL-ed software for Windows? Or is willing to compile them?

Roman

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



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


Re: [PD] Windows test builds

2018-01-26 Thread Patrice Colet

Hello,

 I've tried again the Pd-64bit binaries you have provided, and my 
soundcard ASIO only working with 64-bit DAW are finally fully available 
without any bug.


Thank you for this work.


Le 22/01/2018 à 04:31, Lucas Cordiviola a écrit :

Here’s a bug that is fooling my ability to test, probably also to you:

https://github.com/pure-data/pure-data/issues/260

We can’t access the last ASIO driver from the list.

I’ll try to be breif:

Tascam4x4 don’t specify anything when you install the drivers.

It has 2 drivers. Normal and Mixing.

On the tascam folder there are 2 folders for the Mixing driver. x86 and x64.

On the x64 folder there’s an installer.

I run it, now I have Mixing(64).

When I try to use it with ableton live (32bit) I get NO-SOUND

But when I try with Pd I get Sound on both Pds (32 and 64).

Here’s whats fooling me. When I select the last driver (which happens to
be the 64bit one) I get sound. So I close the audiosettings window. Now
when I reopen it it shows the “name” of the Normal (32bit) driver. So
this totally mess up the testing. :(

Can you check on your machine for similar behaviour ?


--

Mensaje telepatico asistido por maquinas.

On 1/21/2018 9:12 PM, Patrice Colet wrote:

Le 21/01/2018 à 20:03, Lucas Cordiviola a écrit :

Hi Patrice,

I’m not sure whats stopping your UAD. We are building with the latest
ASIOSDK2.3 and Portaudio (unsure if this is the latest.)

I tried once to build Purr Data with msys2 tools and a 64-bit compiler
with the help of Jonathan, and my soundcard was displayed in ASIO
device list,
but the binaries I've made didn't work well... When the UAD hardware
is connected, Pd is crashing...
Here is a trace of this attempt:

https://git.purrdata.net/jwilkes/purr-data/issues/349

And here is what I know about DAW compatibility:

https://help.uaudio.com/hc/en-us/articles/208053913-DAW-Compatibility


Here’s another w64, this also has 64bit gui (surely this has nothing to
do with ASIO) but try it.

http://lucarda.com.ar/x/Pd-0.48-1-all-w64.zip

Thanks, I'll give a try...


I have a Tascam 4x4 which is sounding fine. I'm using the latest drivers
but I can’t tell if they are 64bit. On the task manager I have 2 process
from tascam that are 32bit. I believe these 2 are just simple GUI
interfaces to do the soundcard settings. My Tascam installation has
folders on both dirs "C:\Program Files (x86)" & "C:\Program Files".

I will have to investigate more to tell if I’m currently running 64bit
(ASIO) drivers.


--

Mensaje telepatico asistido por maquinas.

On 1/21/2018 10:43 AM, Patrice Colet wrote:

   thank you for those attemps at building full 64-bit PureData version!

I've tried out the following build with my UAD soundcard,
unfortunately the Appolo  drivers doesn't show up in ASIO devices.

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


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



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


Re: [PD] Windows test builds

2018-01-21 Thread Patrice Colet


Le 21/01/2018 à 20:03, Lucas Cordiviola a écrit :

Hi Patrice,

I’m not sure whats stopping your UAD. We are building with the latest
ASIOSDK2.3 and Portaudio (unsure if this is the latest.)


I tried once to build Purr Data with msys2 tools and a 64-bit compiler 
with the help of Jonathan, and my soundcard was displayed in ASIO device 
list,
but the binaries I've made didn't work well... When the UAD hardware is 
connected, Pd is crashing...

Here is a trace of this attempt:

https://git.purrdata.net/jwilkes/purr-data/issues/349

And here is what I know about DAW compatibility:

https://help.uaudio.com/hc/en-us/articles/208053913-DAW-Compatibility


Here’s another w64, this also has 64bit gui (surely this has nothing to
do with ASIO) but try it.

http://lucarda.com.ar/x/Pd-0.48-1-all-w64.zip


Thanks, I'll give a try...



I have a Tascam 4x4 which is sounding fine. I'm using the latest drivers
but I can’t tell if they are 64bit. On the task manager I have 2 process
from tascam that are 32bit. I believe these 2 are just simple GUI
interfaces to do the soundcard settings. My Tascam installation has
folders on both dirs "C:\Program Files (x86)" & "C:\Program Files".

I will have to investigate more to tell if I’m currently running 64bit
(ASIO) drivers.


--

Mensaje telepatico asistido por maquinas.

On 1/21/2018 10:43 AM, Patrice Colet wrote:

  thank you for those attemps at building full 64-bit PureData version!

I've tried out the following build with my UAD soundcard,
unfortunately the Appolo  drivers doesn't show up in ASIO devices.

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



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


Re: [PD] Windows test builds

2018-01-21 Thread Patrice Colet

Hello Lucas,


Le 12/01/2018 à 19:25, Lucas Cordiviola a écrit :


Also I have a working an sounding (also with ASIO) 64-bit Pd.



 thank you for those attemps at building full 64-bit PureData version!

I've tried out the following build with my UAD soundcard, unfortunately 
the Appolo  drivers doesn't show up in ASIO devices.




For those who want to test download from:

http://lucarda.com.ar/x/pd-0.48.1-test64bit.zip

We can't load any external as for windows they are all 32-bit.




 Isn't it possible to make an external that would help for loading 
32-bit externals, like it's done with VST Bridge?


Best regards.


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


Re: [PD] ASIO on Windows and vanilla Pd 48

2017-12-13 Thread Patrice Colet
I have the same problem but I know where the problem come from, my 
hardware only work with 64bit pd build...


Le 13/12/2017 à 11:41, Christof Ressi a écrit :

This is probably not very helpful but I had the same problem once in a theater 
with Dante. Reaper would see the soundcard but not Pd. I didn't have time to 
investigate this, though.


Gesendet: Dienstag, 12. Dezember 2017 um 18:28 Uhr
Von: "Kerry Hagan" 
An: pd-list@lists.iem.at
Betreff: [PD] ASIO on Windows and vanilla Pd 48

Hi all,

I’m normally on a Mac, but I’m working in a multi-channel space that runs off 
some kind of Robocop Windows. (I tried to figure out what the OS was, but even 
the student there to help me didn’t know). The machine is A.MAZ.ING. Configured 
for virtual reality/3D, so everything is super blazing fast.

I digress... it uses an ASIO sound card to a Dante system. Pd 48 (vanilla) 
doesn’t see the sound card. In the time we had, we couldn’t find any immediate 
reason, but it will take further inquiry.

I’m wondering if you all know anything in advance about Windows, Pd 48 and ASIO 
cards/drivers that might save me debugging time tomorrow, as I have pretty 
limited access to the space.

TIA,
Kerry


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


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



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


Re: [PD] why not Purr Data?

2017-10-02 Thread Patrice Colet
Purr Data looks like a continuity of pd-extended, anyway all pd versions 
are obsolete since they aren't fully 64bit compatible.


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


Re: [PD] Draw with mouse in GEM

2017-09-07 Thread Patrice Colet

You can hide colored objects by using gemframebuffer for mouse binding.
 Each hidden object would be referenced with different colors and would 
share coordinates with the vertice you want to drag in the gem window. 
By this way it's possible draw with polygons by moving vertices with the 
mouse. It should also be possible to do it in different camera views.


Le 06/09/2017 à 08:31, Richie Cyngler a écrit :

Hi Marie,

You could use [gemmouse] to locate your cursor in the gemwin and 
there's an object that lets you manipulate a mesh at points but I 
can't remember what it's called. The other object that comes to mind 
is [model] which allows you to import 3D models from external 
software, which isn't what you're asking but might be useful.


I don't know of a way to draw with polygons in GEM, if there is one 
I'd love to hear about it too.


cheers
Richie

On Wed, 6 Sep 2017 at 3:09 pm, Jean-Marie Adrien 
mailto:jm.adrien@gmail.com>> wrote:


Hello
Is there an object to draw a closed shape with the mouse in a GEM
window so that it can be processed afterwards like generic objects
such as squares and circles ?
Thanks
JM
___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list

--

www.glitchpop.com 


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


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


Re: [PD] Easy way to list used abstractions in patch?

2017-07-28 Thread patrice colet
I was more thinking about a tool that would determine platforms were the 
distribution would work by fetching database containing an historic of 
all pd functions, internals, externals, and abstractions.


Then the distribution provider would know if it works on other 
platforms, and why it wouldn't work, eventually advising the use of some 
objects and methods over some other to be compatible everywhere, .


Of course deken could be used at the other end for providing the missing 
objects.


Building pd wouldn't resolve many cases were some functions aren't 
compatible between different platforms.



Le 28/07/2017 à 00:41, Fede Camara Halac a écrit :

Of course a pd patch is in itself platform independent, which is what allows 
one to bring patches to diff platforms.

For externals, my guess is that you can ask deken to fetch the corresponding 
binary for the target platform and use that in the exported bundle.

I dont understand, though, how from pd in one platform you would build pd for another. 
Or, perhaps you dont need to build and you need only to fetch the corresponding build 
from Miller's builds and put the libs in the "extra" (as suggested in the deken 
path github discussion)

Are Miller's builds dekenizable for that matter?


fdch.github.io/tv




On Jul 27, 2017, at 5:57 PM, patrice colet  wrote:

functions in pd headers



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


Re: [PD] Easy way to list used abstractions in patch?

2017-07-27 Thread patrice colet



Le 27/07/2017 à 22:17, Fede Camara Halac a écrit :

I agree this is indeed very useful. I would even dare to raise the stakes, if 
you allow:

Maybe since there is deken, which adds externals to pd, it would be nice to have a 
similar tool that packs and exports a "distribution" of pd for performance, 
with all required libs/abs/prefs the patch requires. (Perhaps even for multiple 
platforms, but this is asking too much). In mac it would be close to a sort of make app 
adapted to the patch.


pd is already multiplatform, I think this would work if it is possible 
to add a binary extension to PureData that would use functions in pd 
headers for managing the distribution.




Could this be possible? I'd be interested in contributing to this if so and i 
still need a huge lot to learn

I've seen pd distributions in many highly experienced users, and so I also ask if this is 
the only solution (packing a distribution) when it comes to the "last steps" 
before publishing a patch/piece that has a lot of extra stuff that might break if not 
mantained/adapted, etc.

Cheers,

fd



fdch.github.io/tv




On Jul 27, 2017, at 2:40 PM, jlistshit  wrote:

Thank you Miller,
that’s at least a better way than going through all by hand and try to list 
what one finds… that process usually results in missing things here.

Should i file a feature request?
+1

I think everyone would be happy to see this, and it would make PD more 
accessible for non-programmers, too.

Thank you for all you do.

jayrope
- - -
www.jayrope.com
www.aircushionfinish.com
www.ello.co/jayrope




On Jul 27, 2017, at 19:33, Miller Puckette  wrote:

This is always a pain, sorry - I often want to do this too.  I do it this
way:  set "verbose" flag, load the patch, copy all the messages into a
file, then "grep succeeded ", then sort.  The linux/Mac sort
program has a "-u" flag (unique) that suppresses repeats.

But Pd ought to offer a simpler way to do this :)

cheers
Miller


On Thu, Jul 27, 2017 at 07:13:57PM +0200, jlistshit wrote:
I have a simple question, is there an easy way to list used abstractions of a 
patch?

I oftenly pass on patches to fellow musicians and finding used abstractions per 
patch can be sticky business - i’d like to not send all abstractions i ever 
made instead :)
Thanx for any hints!

jayrope
- - -
www.jayrope.com
www.aircushionfinish.com
www.ello.co/jayrope




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


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

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



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


Re: [PD] windows 64bit builds

2017-06-29 Thread patrice colet

Thank you Antoine for this hint,

running this binary doesn't seem to solve my audio drivers problem, 
portaudio still only show MMIO entries in ASIO selection.



Le 29/06/2017 à 21:41, Antoine Rousseau a écrit :

Hi Patrice

thanks to IOhannes, it seems that appveyor now automatically build Pd 
for windows 32&64 bit ! See :

https://ci.appveyor.com/project/umlaeute/pure-data

Navigate through History to find latest successful built Artefact 
(binary). Currently it's :


https://ci.appveyor.com/api/buildjobs/ovgiq6dt7dcqqiji/artifacts/Pure%20Data%20(bin%20X64).zip 
<https://ci.appveyor.com/api/buildjobs/ovgiq6dt7dcqqiji/artifacts/Pure%20Data%20%28bin%20X64%29.zip>

(I didn't try this by myself).

cheers

Antoine Rousseau
http://www.metalu.net <http://metalu.net> __ 
http://www.metaluachahuter.com/ 
<http://www.metaluachahuter.com/compagnies/al1-ant1/>



2017-06-28 13:14 GMT+02:00 patrice colet <mailto:colet.patr...@free.fr>>:


 Hello,

 my soundcard drivers are fully ASIO compatible on windows with a
64bit DAW, it's an UAD apollo twin, I'd like to access all I/O but
it would only work then with a 64bit build of PureData.

The option I've found yet is about compiling PureData with
mingw64, so before giving a try I'd like to ask if there are 64bit
windows binaries of PureData anywhere?

pc


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




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


[PD] windows 64bit builds

2017-06-28 Thread patrice colet

 Hello,

 my soundcard drivers are fully ASIO compatible on windows with a 64bit 
DAW, it's an UAD apollo twin, I'd like to access all I/O but it would 
only work then with a 64bit build of PureData.


The option I've found yet is about compiling PureData with mingw64, so 
before giving a try I'd like to ask if there are 64bit windows binaries 
of PureData anywhere?


pc


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


Re: [PD] Execute command from Pd

2017-05-29 Thread patrice colet


Le 29/05/2017 à 11:40, Roman Haefeli a écrit :

My main problem is still that I find it hard to kill a still running
command, especially when I want to kill a specific one when many are
running.


The kill command should do the trick, it needs PID, and this should 
appear in stdout by doing  'command & echo $!'




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


Re: [PD] Ray casting

2017-04-20 Thread patrice colet
 If it's about mouse binding in [gemwin], the math is really heavy, 
particulary if the camera is moving.


 It can be solved differently by rendering the polygons in an hidden 
frame or another gemwin, and set a different color for each new polygon, 
the binding will be about detecting color under mouse cursor with the 
help of [pix_snap] and [pix_data] and it will work even if the camera is 
moving.



Le 20/04/2017 à 12:26, baptiste chatel a écrit :
I think so for point in polygon, see attached. It's an old attempt of 
mine, with a mechanism to draw polygons in Gem and then tell in which 
polygon your mouse pointer is.


2017-04-20 9:13 GMT+02:00 Max >:


Did someone here solve this in Pd before?

https://en.wikipedia.org/wiki/Point_in_polygon

https://rosettacode.org/wiki/Ray-casting_algorithm


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





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



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


Re: [PD] [multimodel] inconsistencies in displaying/scaling objects

2017-04-04 Thread patrice colet
I've fixed this problem by adding into the obj file some vertex to make 
a cube around each object, same size larger than every objects opened by 
multimodel. The cube can be invisible if it's in another group, or by 
using a vertex shader.


It would be great indeed if multimodel wouldn't normalize values from 
the obj file



Le 02/04/2017 à 21:17, IOhannes m zmölnig a écrit :

On 04/02/2017 09:10 PM, Antonio Roberts wrote:

I definitely did this. If you check the order of messages in the video
you can see that it is sent first. (I did another test with [rescale 1
(

i have to admit that i don't watch youtube videos for bug reports.
could you provide a test-patch that exhibits the problem.

it also might help to know which platform and which version of Gem you
are using.

gfmards
IOhannes



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



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


Re: [PD] accoustic guitar chord detection

2017-03-30 Thread patrice colet

my patch doesn't need zexy abstractions, it's only for [l2s]


Le 30/03/2017 à 08:56, Roman Haefeli a écrit :

On Don, 2017-03-30 at 03:17 +0200, patrice colet wrote:

[declare -stdpath list-abs -stdlib zexy]

Part of zexy comes as abstractions, so you would need:

[declare -stdpath zexy -stdlib zexy]

in order to load all of zexy. You can test with those objects:

[dirac~]  (external only)
[mean](abstraction only)
[repack]  (available as both)


Roman




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


Re: [PD] accoustic guitar chord detection

2017-03-29 Thread patrice colet
 I forgot to mention that my patch needs zexy external and list-abs 
library, they are both available in deken, and it's very recommended to 
get the very last version of list-abs and a recent pd-vanilla version. 
Also I've just found out an error in last patch submit, that's because I 
almost never use [declare] object, but you can correct this by changing 
arguments like this:


[declare -stdpath list-abs -stdlib zexy]

Best regards

Le 29/03/2017 à 20:28, Björn Eriksson a écrit :
Hi, thanks for this thread. I am also searching for detection 
solutions, for let say three notes in a chord.
I tried to open the patch Patrice posted "chordDetection.pd"  It seems 
like that objects [list-sort desc] and [list-compare] aren+t created 
with my Pd Vanila install on a Win10 machine. Any idea why this 
behaviour? Do I need some extra library for the [list] objects?


/Björn Eriksson

On Wed, Mar 29, 2017 at 6:21 PM, patrice colet <mailto:colet.patr...@free.fr>> wrote:


I don't really know what 'fancy' means in this context, here is an
example with [sigmund~], it's supposed to detect 3 notes chords



Le 29/03/2017 à 11:02, Simon Iten a écrit :

this is far from trivial without a hex pickup and i doubt that
something useful will be possible to do with puredata. but i
would be very happy to be proven wrong!

On 29 Mar 2017, at 02:51, Alexandre Torres Porres
mailto:por...@gmail.com>> wrote:

howdy, getting involved in a research that needs to detect
notes from guitar chords (no hex pickup solutions,
unfortunately). No need to do anything fancy with the
spectra, or process it in any way like with celemony
melodyne's DNA stuff. Do any of you know of some nice
stuff done in Pd or Max or SC or whatever on that?

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


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



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




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



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


Re: [PD] accoustic guitar chord detection

2017-03-29 Thread patrice colet
 Attached is an attempt to detect 3 notes chords from [adc~], I had to 
enlarge window and peaks number for a better detection and added a part 
that choose the most recurrent harmonics...


 It almost always works on chords played in the middle of the guitar 
neck. However it sometimes mixes the bass between the first note and 
it's subharmonic fifth, and is confused between a major chord and it's 
fifth sus4 chord.




Le 29/03/2017 à 20:11, patrice colet a écrit :
I've just tried with my electric guitar, and 3 peaks isn't enough to 
detect all notes from the chords, that's mainly because a guitar chord 
uses several times the same note at different octaves, and sigmund may 
detect subharmonics, and first harmonics from the bass strings... I 
think it's worth to try with at least 12 peaks and remove octaves in a 
next patch...



Le 29/03/2017 à 19:47, Pierre Massat a écrit :

Have you tested it with real guitar input ?
I've used Pd with my guitar a lot but I never managed to get anything 
reliable off sigmund except the base frequency.

I'm also very interested if it does work.

Cheers,

Pierre.

2017-03-29 18:21 GMT+02:00 patrice colet <mailto:colet.patr...@free.fr>>:


I don't really know what 'fancy' means in this context, here is an
example with [sigmund~], it's supposed to detect 3 notes chords


Le 29/03/2017 à 11:02, Simon Iten a écrit :

this is far from trivial without a hex pickup and i doubt that
something useful will be possible to do with puredata. but i
would be very happy to be proven wrong!

On 29 Mar 2017, at 02:51, Alexandre Torres Porres
mailto:por...@gmail.com>> wrote:

howdy, getting involved in a research that needs to detect
notes from guitar chords (no hex pickup solutions,
unfortunately). No need to do anything fancy with the
spectra, or process it in any way like with celemony
melodyne's DNA stuff. Do any of you know of some nice
stuff done in Pd or Max or SC or whatever on that?

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


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



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





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


#N canvas 56 71 603 460 10;
#X declare -sdtpath list-abs;
#X msg 41 122 \; pd dsp \$1;
#X obj 41 96 tgl 15 0 empty chord~init empty 17 7 0 10 -262144 -1 -1
1 1;
#N canvas 56 91 468 747 chordDetector_3sounds 0;
#X obj 55 7 inlet;
#X obj 55 637 list prepend set;
#X obj 55 657 list trim;
#X obj 55 618 l2s;
#X msg 70 599 symbol;
#X obj 70 579 r chord~init;
#X obj 55 152 t a a;
#X obj 88 345 list-compare;
#N canvas 926 513 520 323 templates 0;
#X obj 69 17 inlet;
#X obj 114 283 outlet;
#X obj 196 77 list prepend M;
#X obj 195 118 list prepend m;
#X msg 196 57 2 7 4 0 \, 1 9 5 0 \, 0 8 3 0;
#X msg 195 98 2 7 3 0 \, 1 8 5 0 \, 0 9 4 0;
#X obj 194 163 list prepend mb5;
#X msg 194 142 2 6 3 0 \, 1 9 6 0 \, 0 9 3 0;
#X obj 192 219 list prepend sus4;
#X msg 192 198 2 7 5 0 \, 1 10 5 0 \, 0 7 2 0;
#X obj 70 35 t b b b b a;
#X obj 177 281 outlet;
#X connect 0 0 10 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 2 0;
#X connect 5 0 3 0;
#X connect 6 0 1 0;
#X connect 7 0 6 0;
#X connect 8 0 1 0;
#X connect 9 0 8 0;
#X connect 10 0 9 0;
#X connect 10 1 7 0;
#X connect 10 2 5 0;
#X connect 10 3 4 0;
#X connect 10 4 11 0;
#X restore 55 294 pd templates;
#X obj 55 323 list split 2;
#X obj 194 400 list;
#X obj 55 365 spigot;
#X obj 55 383 list split 1;
#X obj 194 471 list split;
#X obj 55 446 t a b;
#X obj 227 491 list split 1;
#X obj 55 551 list prepend;
#X obj 55 492 sel M;
#X obj 335 709 outlet bass;
#N canvas 1106 211 256 291 note 0;
#X obj 22 12 inlet;
#X obj 39 253 outlet;
#X obj 21 59 route 0 1 2 3 4 5 6 7 8 9 10 11;
#X msg 21 83 C;
#X msg 31 104 C#;
#X msg 21 83 C;
#X msg 31 104 C#;
#X msg 53 82 D;
#X msg 63 103 D#;
#X msg 82 81 E;
#X msg 93 103 C;
#X msg 103 124 C#;
#X msg 93 103 F;
#X msg 103 124 F#;
#X msg 

Re: [PD] accoustic guitar chord detection

2017-03-29 Thread patrice colet
I've just tried with my electric guitar, and 3 peaks isn't enough to 
detect all notes from the chords, that's mainly because a guitar chord 
uses several times the same note at different octaves, and sigmund may 
detect subharmonics, and first harmonics from the bass strings... I 
think it's worth to try with at least 12 peaks and remove octaves in a 
next patch...



Le 29/03/2017 à 19:47, Pierre Massat a écrit :

Have you tested it with real guitar input ?
I've used Pd with my guitar a lot but I never managed to get anything 
reliable off sigmund except the base frequency.

I'm also very interested if it does work.

Cheers,

Pierre.

2017-03-29 18:21 GMT+02:00 patrice colet <mailto:colet.patr...@free.fr>>:


I don't really know what 'fancy' means in this context, here is an
example with [sigmund~], it's supposed to detect 3 notes chords


Le 29/03/2017 à 11:02, Simon Iten a écrit :

this is far from trivial without a hex pickup and i doubt that
something useful will be possible to do with puredata. but i
would be very happy to be proven wrong!

On 29 Mar 2017, at 02:51, Alexandre Torres Porres
mailto:por...@gmail.com>> wrote:

howdy, getting involved in a research that needs to detect
notes from guitar chords (no hex pickup solutions,
unfortunately). No need to do anything fancy with the
spectra, or process it in any way like with celemony
melodyne's DNA stuff. Do any of you know of some nice
stuff done in Pd or Max or SC or whatever on that?

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


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



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





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


Re: [PD] accoustic guitar chord detection

2017-03-29 Thread patrice colet
I don't really know what 'fancy' means in this context, here is an 
example with [sigmund~], it's supposed to detect 3 notes chords



Le 29/03/2017 à 11:02, Simon Iten a écrit :

this is far from trivial without a hex pickup and i doubt that something useful 
will be possible to do with puredata. but i would be very happy to be proven 
wrong!


On 29 Mar 2017, at 02:51, Alexandre Torres Porres  wrote:

howdy, getting involved in a research that needs to detect notes from guitar 
chords (no hex pickup solutions, unfortunately). No need to do anything fancy 
with the spectra, or process it in any way like with celemony melodyne's DNA 
stuff. Do any of you know of some nice stuff done in Pd or Max or SC or 
whatever on that?

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


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


#N canvas 643 50 603 460 10;
#X obj 63 323 dac~;
#X msg 107 20 60 64 67;
#X obj 63 302 *~;
#X obj 40 189 tgl 15 0 empty chord~init empty 17 7 0 10 -262144 -1
-1 1 1;
#X obj 40 229 pack 0 50;
#X obj 40 250 line~;
#X msg 41 122 \; pd dsp \$1;
#X obj 41 96 tgl 15 0 empty chord~init empty 17 7 0 10 -262144 -1 -1
1 1;
#N canvas 215 50 427 700 chordDetector_3sounds 0;
#X msg 53 45 \$1;
#X obj 53 64 ftom;
#X msg 84 45 \$1;
#X obj 84 64 ftom;
#X msg 113 45 \$1;
#X obj 115 65 ftom;
#X obj 53 7 inlet;
#X obj 56 618 list prepend set;
#X obj 56 638 list trim;
#X obj 56 659 outlet;
#X obj 53 136 pack f f f;
#X obj 56 599 l2s;
#X msg 71 580 symbol;
#X obj 71 560 r chord~init;
#X obj 53 173 t a a;
#X obj 86 346 list-compare;
#N canvas 926 498 374 296 templates 0;
#X obj 69 17 inlet;
#X obj 114 283 outlet;
#X obj 196 77 list prepend M;
#X obj 195 118 list prepend m;
#X msg 196 57 2 7 4 0 \, 1 9 5 0 \, 0 8 3 0;
#X msg 195 98 2 7 3 0 \, 1 8 5 0 \, 0 9 4 0;
#X obj 194 163 list prepend mb5;
#X msg 194 142 2 6 3 0 \, 1 9 6 0 \, 0 9 3 0;
#X obj 192 219 list prepend sus4;
#X msg 192 198 2 7 5 0 \, 1 10 5 0 \, 0 7 2 0;
#X obj 70 35 t b b b b a;
#X obj 177 281 outlet;
#X connect 0 0 10 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 2 0;
#X connect 5 0 3 0;
#X connect 6 0 1 0;
#X connect 7 0 6 0;
#X connect 8 0 1 0;
#X connect 9 0 8 0;
#X connect 10 0 9 0;
#X connect 10 1 7 0;
#X connect 10 2 5 0;
#X connect 10 3 4 0;
#X connect 10 4 11 0;
#X restore 52 288 pd templates;
#X obj 53 324 list split 2;
#X obj 53 154 list-sort desc;
#X obj 193 376 list;
#X obj 53 366 spigot;
#X obj 53 384 list split 1;
#X obj 192 477 list split;
#X obj 46 437 t a b;
#X obj 220 495 list split 1;
#X obj 54 542 list prepend;
#X obj 46 483 sel M;
#X obj 57 26 route 0 1 2 3;
#X obj 337 578 outlet bass;
#X obj 193 394 t a a;
#N canvas 1106 179 256 291 note 0;
#X obj 22 12 inlet;
#X obj 39 253 outlet;
#X obj 21 59 route 0 1 2 3 4 5 6 7 8 9 10 11;
#X msg 21 83 C;
#X msg 31 104 C#;
#X msg 21 83 C;
#X msg 31 104 C#;
#X msg 53 82 D;
#X msg 63 103 D#;
#X msg 82 81 E;
#X msg 93 103 C;
#X msg 103 124 C#;
#X msg 93 103 F;
#X msg 103 124 F#;
#X msg 120 81 C;
#X msg 130 102 C#;
#X msg 120 81 G;
#X msg 130 102 G#;
#X msg 155 82 C;
#X msg 165 103 C#;
#X msg 155 82 A;
#X msg 165 103 A#;
#X msg 189 132 B;
#X obj 22 35 mod 12;
#X connect 0 0 23 0;
#X connect 2 0 3 0;
#X connect 2 1 6 0;
#X connect 2 2 7 0;
#X connect 2 3 8 0;
#X connect 2 4 9 0;
#X connect 2 5 12 0;
#X connect 2 6 13 0;
#X connect 2 7 16 0;
#X connect 2 8 17 0;
#X connect 2 9 20 0;
#X connect 2 10 21 0;
#X connect 2 11 22 0;
#X connect 3 0 1 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 1 0;
#X connect 7 0 1 0;
#X connect 8 0 1 0;
#X connect 9 0 1 0;
#X connect 10 0 1 0;
#X connect 11 0 1 0;
#X connect 12 0 1 0;
#X connect 13 0 1 0;
#X connect 14 0 1 0;
#X connect 15 0 1 0;
#X connect 16 0 1 0;
#X connect 17 0 1 0;
#X connect 18 0 1 0;
#X connect 19 0 1 0;
#X connect 20 0 1 0;
#X connect 21 0 1 0;
#X connect 22 0 1 0;
#X connect 23 0 2 0;
#X restore 220 513 pd note;
#X obj 337 538 list prepend set;
#X obj 336 558 list trim;
#X obj 305 498 list split 2;
#X obj 53 87 expr rint($f1) \; rint($f2) \; rint($f3);
#N canvas 710 340 450 300 note 0;
#X obj 177 15 inlet;
#X obj 194 256 outlet;
#X obj 176 62 route 0 1 2 3 4 5 6 7 8 9 10 11;
#X msg 176 86 C;
#X msg 186 107 C#;
#X msg 176 86 C;
#X msg 186 107 C#;
#X msg 208 85 D;
#X msg 218 106 D#;
#X msg 237 84 E;
#X msg 248 106 C;
#X msg 258 127 C#;
#X msg 248 106 F;
#X msg 258 127 F#;
#X msg 275 84 C;
#X msg 285 105 C#;
#X msg 275 84 G;
#X msg 285 105 G#;
#X msg 310 85 C;
#X msg 320 106 C#;
#X msg 310 85 A;
#X msg 320 106 A#;
#X msg 344 135 B;
#X obj 177 38 mod 12;
#X connect 0 0 23 0;
#X connect 2 0 3 0;
#X connect 2 1 6 0;
#X connect 2 2 7 0;
#X connect 2 3 8 0;
#X connect 2 4 9 0;
#X connect 2 5 12 0;
#X connect 2 6 13 0;
#X connect 2 7 16 0;
#X connect 2 8 17 0;
#X connect 2 9 20 0;
#X 

Re: [PD] how-do-i-install-externals-and-help-files page (was Re: Linux Global folder for externals)

2017-03-01 Thread patrice colet

Is there on linux an environment variable for this ?

Because on my archlinux system application specific data are located at 
a different place in ~/.local/share



Le 01/03/2017 à 21:17, IOhannes m zmölnig a écrit :

to answer you question more specifically: because ~/.local/lib/ is the
standard (as defined by freedesktop specs) place on linux systems to put
application specific data.



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


Re: [PD] Click Removal & Noise suppression

2017-02-28 Thread patrice colet

Hello,

 I already use the FFT tutorial patch for noise removal, this is the 
best tool I have for that, but  I'm sure those externals would 
contribute a lot



Le 28/02/2017 à 11:20, Nicolas Montgermont a écrit :

Hello list,

I'd like to implement click removal and noise suppression techniques for
a specific signal I have that is full of:
- loud clicks, but very regular in time and short (2ms)
- 50 Hz noise with harmonics. This one has two spectral patterns
switching to one or the other during time.

For the clicks, I tried median filtering, but it's not working well.
I tried to work with audacity on a recorded extract, and I have pretty
good results with their click suppression and noise removal algorithms.
So I was thinking of implementing them in Pd, but before I do that I was
wondering if some of you have already implemented some of these
techniques, or of you have any advices?

https://github.com/audacity/audacity/blob/master/src/effects/ClickRemoval.cpp
https://github.com/audacity/audacity/blob/master/src/effects/NoiseRemoval.cpp

Best,

Nicolas

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



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


Re: [PD] Aciles - the world's worst web server in Pd

2016-11-18 Thread patrice colet

Hello Billy,


Le 18/11/2016 à 11:19, Billy Stiltner a écrit :

what about sequencing from javascript?
javascript isn't good enough even for a 90 bpm sequencer sending note 
ons and offs monophonically


I don't think that the old clock sequencer design is a good idea for 
realtime sequencing in a network in any language, particulary in 
internet handshaking environment...


Client and server should communicate packets containing a whole musical 
sentence for avoiding almost all lagging problems, and get an accurate  
interpretation of tuplets.


That's why I've made once an abstraction called [list-tuplet] that is 
interpreting a message converted to a sequence.
Since version 0.46, Miller has implemented an exemple illustrating what 
I'm saying in list-help.pd.


Almost all interpreted languages should be able to handle this kind of 
sequencing.


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


Re: [PD] convert signal to 16bit stream

2016-11-07 Thread patrice colet

Thank you,

 I'm not sure it's possible to perform audio modulo with internals 
only, here is a workaround with expr~



Le 07/11/2016 à 18:02, Roman Haefeli a écrit :

On Mon, 2016-11-07 at 17:49 +0100, patrice colet wrote:

Hello,

   this is quite interesting but there is something I don't get in
attached patch, both 1 and -1 outputs the same thing, so I don't know
if
I've misinterpreted something or if there is a mistake in message
computing

No, you're right. The message based reference is already wrapping over.
I added a [clip -32768 32767] to avoid that.

See attachment.

Roman





Le 07/11/2016 à 16:24, Roman Haefeli a écrit :

Hi all

In order to store audio data more efficiently in netpd presets and
also
to transmit live audio through OSC, I'm thinking of ways to convert
an
signal to a 16-bit stream represented as two signals, one for each
byte, the first for MSB and the second for LSB. I already came up
with
a few solutions, but I'm not totally happy with any of them because
they are not very efficient or/and have strange edge cases. It
turns
out what seems a simple task is a bit more complex and probably has
quiet a few totally different solutions.

I would be interested to see with what solutions people come up
with.
Consider it a puzzle, a brain teaser (in case you're done writing
your
paper for pdcon and need some distraction).

Requirements:
   * It must be done in signal domain (I was doing it in message
domain
 yet, but performance is obviously bad)
   * Only vanilla objects are allowed.
   * Input is in the range -1 to 1. Input outside this range should
be
 clipped and not wrapped around.
   * Output is two signals, each consisting of an integer value
between
 0 and 255
   * The two bytes represent a 16-bit _signed_ integer

You can compare your output with the message version in attached
patch.
If this generates interest and makes some people participate, I'll
disclose my solutions after people submitted their solutions.



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

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


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


#N canvas 31 137 582 392 10;
#X obj 53 67 hsl 300 15 -1 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 29431 1;
#X floatatom 52 40 5 0 0 0 - - -, f 5;
#X obj 201 104 sig~;
#X floatatom 52 256 5 0 0 0 - - -, f 5;
#X floatatom 157 228 5 0 0 0 - - -, f 5;
#N canvas 2452 575 355 239 float-to-16bit 0;
#X obj 28 94 t a a;
#X obj 28 4 inlet;
#X obj 28 190 outlet;
#X obj 91 190 outlet;
#X obj 28 134 div 256;
#X obj 28 154 mod 256;
#X obj 91 139 mod 256;
#X obj 28 27 * 32768;
#X obj 28 49 clip -32768 32767;
#X connect 0 0 4 0;
#X connect 0 1 6 0;
#X connect 1 0 7 0;
#X connect 4 0 5 0;
#X connect 5 0 2 0;
#X connect 6 0 3 0;
#X connect 7 0 8 0;
#X connect 8 0 0 0;
#X restore 52 156 pd float-to-16bit;
#X msg 83 11 0;
#X msg 20 11 -1;
#X msg 48 11 -0.5;
#X msg 113 11 0.5;
#X msg 141 11 1;
#X obj 202 228 snapshot~;
#X obj 374 234 snapshot~;
#X obj 408 199 metro 100;
#X obj 408 178 loadbang;
#N canvas 663 138 566 427 sig-to-16bit-converter 0;
#X obj 42 5 inlet~;
#X obj 40 351 outlet~;
#X obj 294 306 outlet~;
#X obj 40 157 -~;
#X obj 59 131 -~;
#X obj 78 109 /~ 256;
#X obj 39 79 clip~ -32768 32767;
#X obj 41 51 *~ 32728;
#X obj 41 221 max~ 0;
#X obj 95 221 min~ 0;
#X obj 137 247 +~ 256;
#X obj 137 267 min~ 255;
#X obj 97 286 *~;
#X obj 96 259 <~ 0;
#X obj 40 321 expr~ int(floor($v1));
#X obj 293 61 expr~ ceil(fmod(($v1+1)* 32768 \, 256));
#X obj 293 40 clip~ -1 1;
#X connect 0 0 7 0;
#X connect 0 0 16 0;
#X connect 3 0 8 0;
#X connect 3 0 9 0;
#X connect 4 0 3 1;
#X connect 5 0 4 1;
#X connect 6 0 3 0;
#X connect 6 0 4 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X connect 8 0 14 0;
#X connect 9 0 10 0;
#X connect 9 0 13 0;
#X connect 10 0 11 0;
#X connect 11 0 12 1;
#X connect 12 0 14 0;
#X connect 13 0 12 0;
#X connect 14 0 1 0;
#X connect 15 0 2 0;
#X connect 16 0 15 0;
#X restore 201 158 pd sig-to-16bit-converter;
#X text 366 158 <- what to put there?;
#X floatatom 51 296 5 0 0 0 - - -, f 5;
#X floatatom 152 296 5 0 0 0 - - -, f 5;
#X connect 0 0 2 0;
#X connect 0 0 5 0;
#X connect 1 0 0 0;
#X connect 2 0 15 0;
#X connect 5 0 3 0;
#X connect 5 1 4 0;
#X connect 6 0 1 0;
#X connect 7 0 1 0;
#X connect 8 0 1 0;
#X connect 9 0 1 0;
#X connect 10 0 1 0;
#X connect 11 0 17 0;
#X connect 12 0 18 0;
#X connect 13 0 11 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
#X connect 15 0 11 0;
#X connect 15 1 12 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] convert signal to 16bit stream

2016-11-07 Thread patrice colet

Hello,

 this is quite interesting but there is something I don't get in 
attached patch, both 1 and -1 outputs the same thing, so I don't know if 
I've misinterpreted something or if there is a mistake in message computing



Le 07/11/2016 à 16:24, Roman Haefeli a écrit :

Hi all

In order to store audio data more efficiently in netpd presets and also
to transmit live audio through OSC, I'm thinking of ways to convert an
signal to a 16-bit stream represented as two signals, one for each
byte, the first for MSB and the second for LSB. I already came up with
a few solutions, but I'm not totally happy with any of them because
they are not very efficient or/and have strange edge cases. It turns
out what seems a simple task is a bit more complex and probably has
quiet a few totally different solutions.

I would be interested to see with what solutions people come up with.
Consider it a puzzle, a brain teaser (in case you're done writing your
paper for pdcon and need some distraction).

Requirements:
  * It must be done in signal domain (I was doing it in message domain
yet, but performance is obviously bad)
  * Only vanilla objects are allowed.
  * Input is in the range -1 to 1. Input outside this range should be
clipped and not wrapped around.
  * Output is two signals, each consisting of an integer value between
0 and 255
  * The two bytes represent a 16-bit _signed_ integer

You can compare your output with the message version in attached patch.
If this generates interest and makes some people participate, I'll
disclose my solutions after people submitted their solutions.



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



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


Re: [PD] raspberry pi 3 with noob Gem does not work

2016-10-22 Thread patrice colet

Hello,

openGL drivers uses X11 so it's not possible, even running Gem through 
SDL would be very tricky to do without X, but it should be possible to 
play RSTP with omxplayer at least.



Le 22/10/2016 à 03:48, me.grimm a écrit :

on this subject...

any idea if pix_ objects, [pix_film] specifically, work with Gem on 
rpi? also, can Gem work without starting X? from command line?


i have been messing with this omxplayer on the rpi the past couple 
weeks and it will play vids from command line when booting to CLI. I 
was thinking this might be nifty if Pd/Gem could do such...


cheers
m

On Wed, Oct 19, 2016 at 7:07 AM, Roman Haefeli > wrote:


On Wed, 2016-10-19 at 11:43 +0200, Csaba Láng wrote:
> Dear list,
>
> just got my pi 3 and tried to install 0.47.1, however under the
links
> on the page of Mr. Puckette, I can compile only 0.46.2
> Anyway, after installing deken and trying to get Gem, it is more or
> less downloaded, but most of the Gem objects does not load.
> Can anybody give a hint how to make it working?
> Best,
> Popesz


It works for me after loading the full library by creating an
object in
the patch:

[declare -stdpath Gem -stdlib Gem]

I tested only square-help.pd and it displayed correctly. I didn't do
any serious Gem stuff on the Pi yet.

IIRC, you have to enable the experimental GL driver with raspbi-config
before you can do hardware accelerated openGL on the Raspberry Pi 3.

Tested with:
 - Raspberry Pi 3
 - Raspbian Jessie
 - Pd-0.47.1 (compiled) and Pd-0.46.2 (repo)
 - Gem 0.93.3 (repo)

In order for the compiled Pd to find the repo installation of Gem, I
added a symlink /usr/local/lib/pd/extra/Gem pointing to
/usr/lib/pd/extra/Gem.

Roman

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





--

m.e.grimm, m.f.a, ed.m.
syracuse u., tc3
megrimm.net 



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



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


Re: [PD] efficient approximation of trig functions for hi pass formula

2016-10-19 Thread patrice colet



Le 20/10/2016 à 02:20, Jonathan Wilkes via Pd-list a écrit :

Does anyone know a tool that will display the line number of a vim session


why not just adding ":set number" into vimrc?

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


Re: [PD] drag and drop a filename

2016-10-18 Thread patrice colet



Le 18/10/2016 à 16:14, oliver a écrit :
you drop a file onto a window (or even better: a specific spot) and 
get the filename as a symbol from an outlet or a receive object ? 


Wouldn't it be better if the dragged filename can be dropped directly 
onto the object requiring a filename symbol?


There already is a dnd object in ix extensions but I think it's obsolete 
now.


I would also expect a dnd behavior from GUI objects like 
unauthorized/playlist
<>___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Fwd: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard

2016-10-18 Thread patrice colet

or just writing a plugin would do the trick

http://wiki.tcl.tk/1423


Le 18/10/2016 à 07:41, Alexandre Torres Porres a écrit :

how hard would this be?

maybe purr data?

cheers

-- Forwarded message --
From: *Ticket 1273* <1...@bugs.pure-data.p.re.sf.net 
>

Date: 2016-10-18 3:03 GMT-02:00
Subject: [PD-dev] [pure-data:bugs] #1273 feature request - paste from 
clipboard

To: pd-...@lists.iem.at 




*[bugs:#1273]  feature 
request - paste from clipboard*


*Status:* open
*Group:* v0.47
*Created:* Tue Oct 18, 2016 05:03 AM UTC by Anonymous
*Last Updated:* Tue Oct 18, 2016 05:03 AM UTC
*Owner:* Miller Puckette

really hoping for a "copy compress" / "paste from clipboard" thing 
like in max

thanks



Sent from sourceforge.net  because 
pd-...@lists.iem.at  is subscribed to 
https://sourceforge.net/p/pure-data/bugs/ 



To unsubscribe from further messages, a project admin can change 
settings at https://sourceforge.net/p/pure-data/admin/bugs/options. 
 Or, if this 
is a mailing list, you can unsubscribe from the mailing list.



___
Pd-dev mailing list
pd-...@lists.iem.at 
https://lists.puredata.info/listinfo/pd-dev 






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


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


Re: [PD] on android to root n linux or not

2016-10-14 Thread patrice colet
The only free solution I've found for doing such thing is quite 
complicated as usual, and it's about creating many accounts on free 
servers allowing the use of sockets, a server at home running scripts 
for routing connections and upload a database where resides all 
parameters shared with all connected clients to the socket server, and 
an account on another server (I haven't found a free one but it's 
relatively cheap) that does the DNS mapping for connecting with a single 
URL.



Le 14/10/2016 à 06:06, Billy Stiltner a écrit :
http://raw-sockets.sysapps.org/#interface-tcpsocket for a possible 
simpler 3rd option, its hard to find which direction to go in.
imagine an impromptu group jam where you have a puredata instrument 
ready to accept messages over the internet and the group is the 
audience that can join in on the jam using their mobile devices as the 
interface.


On Thu, Oct 13, 2016 at 9:16 PM, Daniel Iglesia 
mailto:daniel.igle...@gmail.com>> wrote:


Never used it or seen it in action, but there's
https://play.google.com/store/apps/details?id=com.aide.ui&hl=en

plus some others on

https://blog.idrsolutions.com/2014/12/android-apps-ide-for-java-coder-programmers/


though I doubt anything is going to be as well-supported as
Android Studio...let me know how it goes though

On Thu, Oct 13, 2016 at 3:30 PM, Billy Stiltner
mailto:billy.stilt...@gmail.com>> wrote:

likeing to do everything very mobile, would love to know a
good resource for finding android development apps that can be
run right on the android that runs them, or alternatively like
a good url for learning how to root them, so the perfect
ubuntustudio that is out now can be booted from usb , current
android is rca viking pro, thnx in advance


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






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


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


Re: [PD] purr data beta1

2016-09-30 Thread patrice colet
It's fairly possible on android for multiprocess and low latency since 
6.1, there also is a function for local sockets:


https://developer.android.com/reference/android/net/LocalServerSocket.html


Le 30/09/2016 à 22:06, Jonathan Wilkes via Pd-list a écrit :
> ah, I was thinking of android and iOs (I thought those were the 
official "mobile plattforms")


There's no support for android or ios atm, and adding it would be 
beyond what's possible in the first release.


Just for reference: do those platforms allow their apps to be 
multi-process, and to communicate over a tcp socket?


-Jonathan



> Any chance to also pack purr-d to the mobile plattforms? so that
a patch could be used there as well, with no vanilla-compatibility?

Which platforms?




This is the beta 1 release of Purr Data (the GUI port of Pd-l2ork)

Change log:
* fix many errors in the GUI
* fix position of popup menu when zooming
* fix scalar crasher
* fix gop display error
* fix disappearing $@
* save gui preset with preferences
* fix segfault with preference changes
* fixed many memory leaks with patches backported from Pd Vanilla
* small fixes to help patches
* add text editor window for [text define]
* add and improve the scalar properties dialog
* add default float arg for Pd's "quit" message (good for test
patches)
* updated some external libraries

This is a beta release, so please report lots of bugs to
https://git.purrdata.net/jwilkes/purr-data/issues

Binaries here:
https://git.purrdata.net/jwilkes/purr-data-binaries/tree/master

-Jonathan








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


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


Re: [PD] purr data beta1

2016-09-30 Thread patrice colet



Le 30/09/2016 à 21:38, patrice colet a écrit :



Le 30/09/2016 à 20:47, Ivica Ico Bukvic a écrit :


Did you try pd-l2ork (assuming you have access to Linux)? I thought I 
fixed this a while ago.


Yes I did, I even planned to make a better archlinux package but I had 
problems with managing externals, and chosen to stay on vanilla since 
deken came out.


 This remind me a conversation with Hans where I asked if there is a 
way to manage externals through a repository but we didn't get to the point,
now there is something nice where all pd versions could rely on with a 
bit of efforts from all parts, I believe, for getting all pd libraries 
installed without tweaking the OS or anything else.
<>___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] purr data beta1

2016-09-30 Thread patrice colet



Le 30/09/2016 à 20:47, Ivica Ico Bukvic a écrit :




On 9/29/2016 6:04 PM, patrice colet wrote:



Le 29/09/2016 à 23:45, Jonathan Wilkes a écrit :
> Not sure Purr Data will replace anything since sources aren't 
available


https://git.purrdata.net/jwilkes/purr-data



Btw-- successfully building for Windows, OSX, and Gnu/Linux was by 
_far_

the most time-consuming part of this project.



I'm trying it right now with hoping that it won't crash when jackd is 
stopped, that's the main reason for me to consume time on it.


Did you try pd-l2ork (assuming you have access to Linux)? I thought I 
fixed this a while ago.


Yes I did, I even planned to make a better archlinux package but I had 
problems with managing externals, and chosen to stay on vanilla since 
deken came out.







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




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


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


Re: [PD] purr data beta1

2016-09-30 Thread patrice colet
Once it's installed and launched, I see in console window that there are 
things I have to deal with manually...


 There are plenty of externals that couldn't load, and I don't know 
what is triggering this because the first thing I've done is replacing


'/usr/lib' by '/usr/local/lib' in ~/.pd-l2ork/user.settings but 
libraries are still missing, even the ones that resides in 
'/usr/local/lib/pd-l2ork/extra'.


So I don't really know how to deal with this problem.

The audio is working on ALSA driver that I use to pass through JACK with 
alsa loopback, the sound test is successfull.


I can also enjoy the GUI modes, particulary the inverted one, very 
useful when doing a performance.


I still don't understand what happened to the help browser, I use to 
navigate through references and tutorials in vanilla, that is quite 
usefull for people with bird memory like me, if I type 'tutorial' in 
search engine some parts are appearing in random order so I'm a bit lost 
with it.


The manual doesn't show up with my web browser but with the text editor.

 The developper tool is a chrome extension I don't really know what it 
stands for, but I guess that my webdev background will help when I'll go 
deeper into this, even if I'm not particulary fan of chrome stuff...


Anyway that is a great job, thanks for the help.


Le 30/09/2016 à 04:14, Jonathan Wilkes a écrit :

Once the script has done it's job, I can find all the compiled stuff in


packages/build/usr/local, so now I want a clean install/uninstall of all
the stuff
in my system so I'm doing 'make install' from package directory, but it
compiles again, is it the good way to go?

You should have a tar.gz in the parent directory of the root repo
directory.  Untar it, enter the directory it creates, then do `make 
install`

there.



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


Re: [PD] purr data beta1

2016-09-29 Thread patrice colet



Le 30/09/2016 à 03:01, Jonathan Wilkes a écrit :

> I'm a bit confused because I haven't found the tar_em_up.sh goodie in


the script folder from your git repository.

It's in l2ork_addons.  (Would be nice to have it toplevel and flatten 
the whole
complicated repo layout, but with a multi-level recursive gnu makefile 
build

system that's unfortunately very difficult)

It's allright, I was just too lazy to look deeper and find the script, a 
note about this in README.md would help a lot I guess...


Once the script has done it's job, I can find all the compiled stuff in 
packages/build/usr/local, so now I want a clean install/uninstall of all 
the stuff
in my system so I'm doing 'make install' from package directory, but it 
compiles again, is it the good way to go?
<>___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] purr data beta1

2016-09-29 Thread patrice colet



Le 30/09/2016 à 02:31, Jonathan Wilkes a écrit :

>> The good news is it won't crash.  The bad news is that so far I've had


>> to compile
>> without jack support to get things to build correctly.

> That's quite a bad a new indeed, but anyway I haven't found a way to
> compile because all the GNU/linux stuff I've found in there are 
Debian only,

> and I'm not on Debian, otherwise I'd just use binaries.

I'll look into building with Jack support for the next release on OSX.

The easy, documented, tested, and currently maintained "stuff" is
for building deb packages.  You could try `tar_em_up.sh -F` which--
if successful-- will output a tar.gz in the parent dir of the main repo
dir. Or if you don't need Gem you can do `tar_em_up.sh -f` for a
much faster compilation time.



 I'm a bit confused because I haven't found the tar_em_up.sh goodie in 
the script folder from your git repository.
 Last time I've successfully compiled pd-l2ork was by using this 
script, so I'm wondering if I should copy tar_em_up.sh from pd-l2ork

to purr data script folder.
<>___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] purr data beta1

2016-09-29 Thread patrice colet



Le 30/09/2016 à 00:15, Jonathan Wilkes a écrit :

Le 29/09/2016 à 23:45, Jonathan Wilkes a écrit :


>> > Not sure Purr Data will replace anything since sources aren't 
available

>>
>> https://git.purrdata.net/jwilkes/purr-data
>>
>>
>>
>> Btw-- successfully building for Windows, OSX, and Gnu/Linux was by 
_far_

>> the most time-consuming part of this project.

>>

> I'm trying it right now with hoping that it won't crash when jackd is
> stopped, that's the main reason for me to consume time on it.

The good news is it won't crash.  The bad news is that so far I've had 
to compile

without jack support to get things to build correctly.



That's quite a bad a new indeed, but anyway I haven't found a way to 
compile because all the GNU/linux stuff I've found in there are Debian only,

and I'm not on Debian, otherwise I'd just use binaries.
<>___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] purr data beta1

2016-09-29 Thread patrice colet



Le 29/09/2016 à 23:45, Jonathan Wilkes a écrit :

> Not sure Purr Data will replace anything since sources aren't available

https://git.purrdata.net/jwilkes/purr-data



Btw-- successfully building for Windows, OSX, and Gnu/Linux was by _far_
the most time-consuming part of this project.



I'm trying it right now with hoping that it won't crash when jackd is 
stopped, that's the main reason for me to consume time on it.
<>___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] purr data beta1

2016-09-29 Thread patrice colet


Le 29/09/2016 à 23:40, IOhannes m zmölnig a écrit :

On 09/29/2016 11:23 PM, patrice colet wrote:

Not sure Purr Data will replace anything since sources aren't available

how come? https://git.purrdata.net/jwilkes/purr-data


I didn't know about this link, thanks for posting it
<>___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] purr data beta1

2016-09-29 Thread patrice colet

Not sure Purr Data will replace anything since sources aren't available

Le 29/09/2016 à 23:14, Alexandre Torres Porres a écrit :

what is not clear to me is if Purr Data will replace Pd-L2ork

so we could also say "Purr Data is the new Pd-L2ork"

2016-09-29 18:12 GMT-03:00 Alexandre Torres Porres >:


Well, for one, I've been saying around: "Purr Data is the New
Extended"...

2016-09-29 16:34 GMT-03:00 Giulio Moro via Pd-list
mailto:pd-list@lists.iem.at>>:

interesting, can you please elaborate on  this:


> Its design principle is centered around nimble distributed
development which may (and already does) include improvements
in core behavior.

thanks
Giulio
>
> From: Ivica Bukvic mailto:i...@vt.edu>>
>To: Dan Wilcox mailto:danomat...@gmail.com>>
>Cc: Pd-list mailto:pd-list@lists.iem.at>>
>Sent: Thursday, 29 September 2016, 20:28
>Subject: Re: [PD] purr data beta1
>
>
>
>I think it can only be spiritual successor if you believe it
to be one in part because its philosophy is different. What I
said originally was that I had no explicit intentions on
replacing extended in part because I was not sure what was its
roadmap and whether it had a chance of being developed
further. In other words, I never denied its capacity to
replace extended but also did not want to assert that in any
kind of authoritative way. Hope this helps!
>--
>Ivica Ico Bukvic, D.M.A.
>Associate Professor
>Computer Music
>ICAT Senior Fellow
>Director -- DISIS, L2Ork
>Virginia Tech
>School of Performing Arts – 0141
>Blacksburg, VA 24061
>(540) 231-6139
>i...@vt.edu 
>www.performingarts.vt.edu 
>disis.icat.vt.edu 
>l2ork.icat.vt.edu 
>ico.bukvic.net 
>
>
>On Sep 29, 2016 14:52, "Dan Wilcox" mailto:danomat...@gmail.com>> wrote:
>
>In this light, is Purr Data the spiritual successor for
Pd-Extended? As I recall in previous discussions, y'all were
explicit that Pd-L2Ork was not.
>>
>>
>>This question is not meant as a slight in any way. I’m just
curious how this new project fits within your goals and the Pd
community at large.
>>
>>
>>
>>
>>Dan Wilcox
>>@danomatika
>>danomatika.com 
>>
>>robotcowboy.com 
>>
>>On Sep 29, 2016, at 12:29 PM, pd-list-requ...@lists.iem.at
 wrote:
>>>
>>>From: Alexandre Torres Porres mailto:por...@gmail.com>>
>>>
>>>Subject: Re: [PD] purr data beta1
>>>
>>>Date: September 29, 2016 at 11:21:49 AM MDT
>>>
>>>To: "pd-list@lists.iem.at "
mailto:pd-list@lists.iem.at>>
>>>
>>>
>>>
>>>
>>>In short: A Game Changer!
>>>
>>>
>>>2016-09-29 13:06 GMT-03:00 Ivica Ico Bukvic mailto:i...@vt.edu>>:
>>>
>>>Purr-Data is a GUI rewrite for Pd-L2Ork which has over
1,500 patches/bugfixes/improvements over vanilla/extended. Its
design principle is centered around nimble distributed
development which may (and already does) include improvements
in core behavior. Hope this helps!

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

>
>
>

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






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


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


Re: [PD] Tcl error for [knob] and [mknob]

2016-09-25 Thread patrice colet
Thanks for the answer, I see know how it's happening, so maybe this 
could be resolved with the linker like explained in following URL:


http://stackoverflow.com/questions/1617286/easy-check-for-unresolved-symbols-in-shared-libraries

just removing -z option at compile time would do the trick?


Le 25/09/2016 à 20:02, Christof Ressi a écrit :

Because in his case, the pd version is only known at runtime.


Gesendet: Sonntag, 25. September 2016 um 19:21 Uhr
Von: "patrice colet" 
An: pd-list@lists.iem.at
Betreff: Re: [PD] Tcl error for [knob] and [mknob]

Hello,

   why not using preprocessor expression like

#if PD_MINOR_VERSION < 47

...
iemgui_all_loadcolors();

...

#endif

?

Le 25/09/2016 à 16:25, Antoine Rousseau a écrit :

Hi all

in order to try making a mknob that would be compatible with any Pd
version, I still have a problem, with a function that didn't exist
prior to 0.47 (iemgui_all_loadcolors). Would someone have an idea to
"hide" the call of this function when linked by an older version of Pd?

Anyway I now have a version of mknob that is working with 0.47. I'll
push it soon.


2016-09-24 5:16 GMT+02:00 Billy Stiltner mailto:billy.stilt...@gmail.com>>:


 while on the subject subject of knobs, would be great to hav
 option for integer snapping

 its easy to do with a few objects in  a patch

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




--
Antoine Rousseau
http://www.metalu.net <http://metalu.net> __
http://www.metaluachahuter.com/
<http://www.metaluachahuter.com/compagnies/al1-ant1/>



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

--
Patrice Colet
fr: 0632660357


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



--
Patrice Colet
fr: 0632660357


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


Re: [PD] Tcl error for [knob] and [mknob]

2016-09-25 Thread patrice colet

Hello,

 why not using preprocessor expression like

#if PD_MINOR_VERSION < 47

...
iemgui_all_loadcolors();

...

#endif

?

Le 25/09/2016 à 16:25, Antoine Rousseau a écrit :

Hi all

in order to try making a mknob that would be compatible with any Pd 
version, I still have a problem, with a function that didn't exist 
prior to 0.47 (iemgui_all_loadcolors). Would someone have an idea to 
"hide" the call of this function when linked by an older version of Pd?


Anyway I now have a version of mknob that is working with 0.47. I'll 
push it soon.



2016-09-24 5:16 GMT+02:00 Billy Stiltner <mailto:billy.stilt...@gmail.com>>:



while on the subject subject of knobs, would be great to hav
option for integer snapping

its easy to do with a few objects in  a patch

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




--
Antoine Rousseau
http://www.metalu.net <http://metalu.net> __ 
http://www.metaluachahuter.com/ 
<http://www.metaluachahuter.com/compagnies/al1-ant1/>




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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] Read midi file into Pd

2016-09-10 Thread patrice colet



Le 09/09/2016 à 10:36, João Pais a écrit :
Another way would be about using [mrpeach/binfile] and parse the file 
with internals following MIDI reference we can find in following link 
for example:


http://www.ccarh.org/courses/253/assignment/midifile/

The first meta message should be obtained with [list split 23] where 
second byte gives the meta message number, the third byte gives 
message lenght and so on


that could be an interesting way, but I get the output not as lists, 
but as individual bins. Which means that somehow the bytes would have 
to be wrapped to make those lists?




 The bytes can be converted with [list tosymbol] for getting characters 
like MThd and MTrk, otherwise it's a MIDI message or an integer.


 I must admit that's not easy to do the parse with internals because 
this is a bit complicated to make it an abstraction for me, I'll also 
try out midi.lua with [mrpeach/pdlua].




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


Re: [PD] Read midi file into Pd

2016-09-07 Thread patrice colet
Another way would be about using [mrpeach/binfile] and parse the file 
with internals following MIDI reference we can find in following link 
for example:


http://www.ccarh.org/courses/253/assignment/midifile/

The first meta message should be obtained with [list split 23] where 
second byte gives the meta message number, the third byte gives message 
lenght and so on



Le 07/09/2016 à 23:58, João Pais a écrit :


Yes, but with many limitations - all tracks are mixed, etc...

Am 07.09.2016 8:00 nachm. schrieb "Berenger Recoules" 
mailto:berenger.recou...@gmail.com>>:

>
> I think [cyclone/seq] can do that if I'm not mistaken.
>
> 2016-09-07 19:21 GMT+02:00 João Pais <mailto:jmmmp...@gmail.com>>:

>>
>> Hello list,
>>
>> just to know, besides [mrpeach/midifile], is there any other way of 
reading a midi file into Pd, and list the events/metadata/etc. inside?

>>
>> Best,
>>
>> jmmmp
>>
>> ___
>> Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
>> UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

>
>
>
>
> --
> http://b2renger.github.io/
> http://berengerrecoules.wordpress.com/



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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] iemlib/init and iemgui

2016-09-03 Thread patrice colet
I've found out that this bug happens when drawing message are sent to 
room_sim when it's enclosed into a subpatch that have not been opened 
yet, a work around is about sending init messages after the subpatch 
where room_resides has been opened.



Le 04/09/2016 à 02:28, patrice colet a écrit :

Hello,

 I've found a severe bug between iemlib/init,  iemgui/room_sim_3d and 
room_sim2d,


[init] seem to send a bang before [room_sim_3d] gets the canvas glist, 
so it says something like:


"invalid command name ".x20126a0.c coords .x20126a0.cBASE ...blablah" 
and in the worst case it crashes pd.


I'm about to update binambi patches, so removing dependences like 
[init] object is an option,


removing the bug in roomsim3d would be great, but I've no idea about 
what is triggering this.


I use Pd 0.47.0test4 and freshly compiled iemgui for linux from svn.



--
Patrice Colet
fr: 0632660357


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


[PD] iemlib/init and iemgui

2016-09-03 Thread patrice colet

Hello,

 I've found a severe bug between iemlib/init,  iemgui/room_sim_3d and 
room_sim2d,


[init] seem to send a bang before [room_sim_3d] gets the canvas glist, 
so it says something like:


"invalid command name ".x20126a0.c coords .x20126a0.cBASE ...blablah" 
and in the worst case it crashes pd.


I'm about to update binambi patches, so removing dependences like [init] 
object is an option,


removing the bug in roomsim3d would be great, but I've no idea about 
what is triggering this.


I use Pd 0.47.0test4 and freshly compiled iemgui for linux from svn.

--
Patrice Colet
fr: 0632660357


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


Re: [PD] VST plugin host

2016-09-01 Thread patrice colet

Hello,

 DLL's needs a win32 API to work, and this is provided by wine server 
under linux.


DLLs that could be opened on both win32 and linux have to be compiled 
for both platform, it's very rare.


On the link it says that you need wine server anyway...

You might want to try fsthost instead of a PureData external?

Le 01/09/2016 à 13:00, Vincent Vanbesien (DIEHCO) a écrit :

Hello,

So, it seems that puredata does not send all note off to the vst 
plugin instrument. I would like to try newest source.


Is it possible to host vst instrument file .dll in puredata under 
linux (and without wine) ? (One old post trouble me 
http://recording.org/threads/vst-under-linux-is-real.9979/)


Under Linux, I downloaded sources, I can compile pd using autotools 
and flext using the build.sh script and now I am looking for compiling 
vst... build.sh seems not so easy to execute for the external.


*Vincent VANBESIEN*
Le 30/08/2016 17:03, Vincent Vanbesien (DIEHCO) wrote :

hello,
I did some print before and after the object [pack 0 0]

For the [notein] with m-audio keyRig 49, inputs and outputs are 
coherent. But not for the BCF2000 switches and [ctlin] (anyway it was 
just a testing for the latest).


Finally, the problem seems come from the vst~ that miss some event 
when releasing (note 0) (but also sometimes when pushing). It is easy 
to reproduce pushing only 2 keys. I understand that the VST plugin 
instrument stay in sustain period until receiving again the note 0. I 
tried with different plugins.


My config is windows 10, puredata 0.43.3 and vst~.dll is from this 
page : http://g.org/data/dev/ext/windows/pd/
Should I compile the whole with newest source for puredata ? from 
cygwin or Microsoft Visual C ?

regards,
*Vincent VANBESIEN*
Le 30/08/2016 12:59, IOhannes m zmoelnig a écrit :

On 2016-08-30 12:20, Vincent Vanbesien (DIEHCO) wrote:

Thank you IOhannes for the helpfull answer.

However, it seems ctlin and notein outputs are note syncronised 
then it

happens that the pack object triggered by first argument sends its
output with in second argument the previous/older note.

i'm not sure whether i can parse this.
[notein] will first output on the right outlet and then on the left
outlet, so the [pack]ed message will be correct (as it only outputs the
list after the left inlet is filled - which happens after the right
inlet got it s data).

i don't know where you get your [ctlin] from (you haven't mentioned it
before). but anyhow: in MIDI each event is atomic (so a note-on event
cannot be interrupted by a control-in event), but the sequence of
arrival is defined by the sender: so if you first send your ctlin
message and then your note-on, then the ctrlin even will naturally
appear before the note-onl.

in any case: Pd makes it easy to synchronize messages: use
hot/cold-inlets and triggers (this is probably the single most 
important

thing to understand about Pd)

fgm,asdr
IOhannes



*Vincent VANBESIEN

*
Le 29/08/2016 10:51, IOhannes m zmoelnig a écrit :

On 2016-08-29 09:45, Vincent Vanbesien (DIEHCO) wrote:

My question concerns the noise~ in input, can I replace it by a midi
notein object ?

no.
[noise~] produces an audio-signal (a bunch of numbers representing 
audio

samples), wheras [notein] produces a message (a high-level structured
event representing arbitrary data).

not all vst-plugins take midi-notes, but [vst~] might have a way 
to get
the available messages you can send to a given plugin (but i don't 
know

as i never use it).


The element named "pd midi" in the patch seems to generate midi and
not to receive, is that right ?

no, actually it documents how to send midi events (e.g. notes) to a
plugin.
the [s $0-vst] forwards all messages it receives to [r $0-vst], which
sends them to the [vst~] object.

so to answer your question, use something like

[notein 1]
||
[pack 0 0]
|
[note $1 $2(
|
[vst~]

this will take the note-in data (key and velocity) and create a new
message with selector "note" and the data and send that to [vst~].

fgmasd
IOhannes



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


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




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



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



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


--
Patrice Colet
fr: 063

Re: [PD] raspberry after boot 2 instances of Pd

2016-08-30 Thread patrice colet
That's what I believe too, thanks for the detailed explanation and 
crontab trick.



Le 29/08/2016 à 20:47, Roman Haefeli a écrit :

On Mon, 2016-08-29 at 19:37 +0200, patrice colet wrote:

good to know, I was wondering if the problem mainly come from
systemd.

I believe when you start tightvncserver, you're actually starting a
second desktop session (on a different DISPLAY). That means, when you
use the auto start infrastructure from your DE (desktop environment)for
auto-starting Pd, it is started twice, because you're running two
desktop sessions, one on DISPLAY=:0 (Raspbian is pre-configured to
auto-login at start) and the one started from tightvncserver.

x11vnc doesn't start another session, but captures the already running
session on DISPLAY=:0. That's why you don't see two instances of Pd,
when running x11vnc.

Alternatively, you could disable auto-login, so that in the session on
DISPLAY=:0 nothing gets auto-started (unless user 'pi' logs in). But
that also means, you need to login into your tightvncserver session.

Alternatively, you could also start your Pd by cron (which is not
attached to any desktop session and thus starts things only once). If
you don't need a Pd GUI, that is probably the easiest solution. If you
need a Pd GUI, you need to tell Pd in which DISPLAY to show the GUI,
since cron doesn't have any notion of desktop sessions. This is what I
sometimes do to auto-start Pd with GUI in it's own session:

Run 'crontab -e' to edit current user's crontab file. Then add a line
like:
  
@reboot /usr/bin/vncserver :4 -name pure-data -geometry 1000x800 -dpi 80; sleep 5; DISPLAY=:4 /usr/bin/pd -open mypatch.pd


save it and reboot. At next boot, this will launch a vncserver on
DISPLAY :4 and then start Pd with its GUI in said vnc session.

Roman


Le 28/08/2016 à 12:01, ro...@dds.nl a écrit :


  patrice colet wrote:


  From what I understand about what triggers this bug it's
tightvnc that
is running twice puredata, some has resolved this by using
x11vnc
instead

src:

https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=59285


thanks patrice for the helpfull link.
it had nothing to do with puredata.

FYI:
using x11vnc did indeed work.
another method which seems to solve it is to start the headless Pi
in
CLI mode;
then with tightvncserver there's also just 1 instance of puredata
running.

rolf



Le 25/08/2016 à 13:39, ro...@dds.nl a écrit :

hello,

(for me) strange problem of double instances of Pd.

raspbian jessie Pi-3, headless, VNC on laptop.

in /.config/LXEsession/autostart:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@puredata

after boot in Terminal command 'top':

   PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
COMMAND
  1105 pi-7   0   12632   5992   5292 S   1.7  0.6
0:00.57
puredata
  1106 pi-7   0   12632   6104   5404 S   1.7  0.6
0:00.57
puredata
   938 pi20   0   12544   8224   3428 S   1.0  0.9
0:00.63
Xtightvnc
  1399 pi20   05112   2544   2140 R   0.7  0.3
0:00.10 top
   903 root  20   0   98104  25936  18128 S   0.3  2.7
0:00.47 Xorg
  1100 pi20   0   94364  24608  20920 S   0.3  2.6
0:00.59
lxpanel
  1101 pi20   0   94188  24776  20972 S   0.3  2.6
0:00.68
lxpanel
..


there are 2 instances of puredata (and also 2 lxpanels)!
and only one GUI visible on screen.

when i close the GUI, 1 Pd instance disappears, 1 remains (and
a WISH).

without puredata in autostart there's only 1 lxpanel.

anybody experience with this?

is there better way to get Pd automatically started at boot?

rolf

___

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


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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] raspberry after boot 2 instances of Pd

2016-08-29 Thread patrice colet

good to know, I was wondering if the problem mainly come from systemd.


Le 28/08/2016 à 12:01, ro...@dds.nl a écrit :


 patrice colet wrote:


 From what I understand about what triggers this bug it's tightvnc that
is running twice puredata, some has resolved this by using x11vnc 
instead


src:

https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=59285


thanks patrice for the helpfull link.
it had nothing to do with puredata.

FYI:
using x11vnc did indeed work.
another method which seems to solve it is to start the headless Pi in 
CLI mode;
then with tightvncserver there's also just 1 instance of puredata 
running.


rolf



Le 25/08/2016 à 13:39, ro...@dds.nl a écrit :

hello,

(for me) strange problem of double instances of Pd.

raspbian jessie Pi-3, headless, VNC on laptop.

in /.config/LXEsession/autostart:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@puredata

after boot in Terminal command 'top':

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
 1105 pi-7   0   12632   5992   5292 S   1.7  0.6 0:00.57
puredata
 1106 pi-7   0   12632   6104   5404 S   1.7  0.6 0:00.57
puredata
  938 pi20   0   12544   8224   3428 S   1.0  0.9 0:00.63
Xtightvnc
 1399 pi20   05112   2544   2140 R   0.7  0.3 0:00.10 top
  903 root  20   0   98104  25936  18128 S   0.3  2.7 0:00.47 Xorg
 1100 pi20   0   94364  24608  20920 S   0.3  2.6 0:00.59 
lxpanel
 1101 pi20   0   94188  24776  20972 S   0.3  2.6 0:00.68 
lxpanel

..


there are 2 instances of puredata (and also 2 lxpanels)!
and only one GUI visible on screen.

when i close the GUI, 1 Pd instance disappears, 1 remains (and a WISH).

without puredata in autostart there's only 1 lxpanel.

anybody experience with this?

is there better way to get Pd automatically started at boot?

rolf

___


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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] raspberry after boot 2 instances of Pd

2016-08-25 Thread patrice colet
From what I understand about what triggers this bug it's tightvnc that 
is running twice puredata, some has resolved this by using x11vnc instead


src:

https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=59285


Le 25/08/2016 à 13:39, ro...@dds.nl a écrit :

hello,

(for me) strange problem of double instances of Pd.

raspbian jessie Pi-3, headless, VNC on laptop.

in /.config/LXEsession/autostart:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@puredata

after boot in Terminal command 'top':

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
 1105 pi-7   0   12632   5992   5292 S   1.7  0.6 0:00.57 
puredata
 1106 pi-7   0   12632   6104   5404 S   1.7  0.6 0:00.57 
puredata
  938 pi20   0   12544   8224   3428 S   1.0  0.9 0:00.63 
Xtightvnc

 1399 pi20   05112   2544   2140 R   0.7  0.3 0:00.10 top
  903 root  20   0   98104  25936  18128 S   0.3  2.7 0:00.47 Xorg
 1100 pi20   0   94364  24608  20920 S   0.3  2.6 0:00.59 lxpanel
 1101 pi20   0   94188  24776  20972 S   0.3  2.6 0:00.68 lxpanel
..


there are 2 instances of puredata (and also 2 lxpanels)!
and only one GUI visible on screen.

when i close the GUI, 1 Pd instance disappears, 1 remains (and a WISH).

without puredata in autostart there's only 1 lxpanel.

anybody experience with this?

is there better way to get Pd automatically started at boot?

rolf

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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] Feature Proposal

2016-08-18 Thread patrice colet

Hello,

 All those ideas are really neat, that would require many tricky 
changes in sources, adding a new type like A_BRACE, allowing $bla,


almost everything in m_binbuf.c would have be recoded, it looks like an 
hard job, but sounds very good at a patching point of view.


Le 18/08/2016 à 18:08, Roman Haefeli a écrit :

Hey all

After having worked with Python a bit, I'm very intrigued by the many
useful data containers it provides (tuples, lists, sets,
dictionaries).

At the same time, I am sometimes troubled by the inflexibility of
arguments in Pd. Writing abstractions that deal with a variable number
of arguments is hard. Even retrieving the number of specified arguments
inside the abstraction is hard. Also, if you have fixed argument part
and a variable part, you need to make sure that the variable part is
put at the end of the argument list, otherwise there is no way to
distinguish them.

I'm just thinking loud here and do not have any idea, how hard it would
be to implement in Pd. I'm just trying to raise a discussion about the
topic. Here some (probably not very thought-through) ideas:


== GROUPING IN ABSTRACTION ARGUMENTS ==
Allow grouping of atoms, so that you can pass a whole list to one
single argument like this:

[myabs ( one two 3 ) 4 five]

inside the abstraction:

$1 would evaluate to 'list one two 3'
$2 would evaluate to '4'
$3 would evaluate to '5'

== GETTING NUMBER OF ARGS ==
With the same example:

[myabs ( one two 3 ) 4 five]

inside the abstraction:

$# would evaluate to '3' (number of arguments given)

== GROUPING IN MESSAGES ==
[1 2 ( 97 98 99 ) 4 5(
|
[$2 (


would give '97 98 99'

== NAMED ARGUMENTS ==

[myabs freq=440 vol=1]

inside the abstraction:

$freq would evaluate to '440'
$vol would evalute to '1'

If a certain argument is not specified as creation argument, it would
evaluate to '0' (similar to existing behavior).


== USE CASE ==
[oscformat] takes an arbitrary number of arguments to create an OSC
address. While I find this the cleaner and more pd-like way than
  /one/two/three, this has big draw-back. You currently cannot pass the
OSC address (containing an arbitrary number of address fields) to an
abstraction when using [oscformat]. The number of arguments must known
beforehand when using this format. With [packOSC] from the osc library,
you can do:

[myabs /base/address]

and therein:

[packOSC $1/freq]

which evaluates to /base/address/freq.

By allowing grouping of arguments, one could achieve the same without
resorting to long symbols (which has other drawbacks). In the main
patch you could create:

[myabs ( base address )]

and therein:

[oscformat $1 freq]

and [oscformat] would actually see 'base address freq'.

There are many other cool things you could do. It would allow to create
lists of lists, which can be easily split again later (which is
currently very hard to do and involves a lot of serializing and using
delimiters or prepended number-of-elements). Generally, it would allow
to create much more flexible abstractions.

Any feedback welcome.

Roman




   



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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] unable to type certain characters

2016-07-26 Thread patrice colet


Le 26/07/2016 à 13:44, IOhannes m zmoelnig a écrit :

>'keycode #N dropped' (where #N is the ASCII code).

yes this is expected behaviour, on all operating systems.
among other things, this prevents w32 users from using backslash as
directory delimiter¹.

the list of forbidden characters is exactly this: \, {, }

fgmasdr
IOhannes

¹ though of course this is not the real reason why these keys are forbidden.



backslashes are used for keeping dollar sign in pd patches,

this also involves sometimes some bugs when we try to put tcl variables 
in a patch, it does happen when we try to interpret tcl code with 
[hc/sys_gui].


This is also one of the main reasons why I try to replace tcl scripts in 
my patches with pdlua objects and still looking for a decent third party 
graphical toolkit that could be coded without compiling.


br


--
Patrice Colet
fr: 0632660357


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


Re: [PD] matrix_diag_mul_line8~

2016-07-25 Thread patrice colet



zexy's [multiline~] works similar, and of course [mtx_*~].



so I have to replace [matrix_diag_mul_line8~ 18 50] with [mtx_*~ 18 
18 50]  and reconnect everything?


forget this I install iemmatrix instead



Sorry I confused the topic again, I have to:
1° install iem_matrix
2° or repatch everything I need that uses the old externals with the new 
iemmatrix objects,


and I actually choose the second option, and might come up with the 
patches that has been updated...


--
Patrice Colet
fr: 0632660357


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


Re: [PD] matrix_diag_mul_line8~

2016-07-25 Thread patrice colet



Le 25/07/2016 à 14:18, patrice colet a écrit :



zexy's [multiline~] works similar, and of course [mtx_*~].



so I have to replace [matrix_diag_mul_line8~ 18 50] with [mtx_*~ 18 18 
50]  and reconnect everything?


forget this I install iemmatrix instead

--
Patrice Colet
fr: 0632660357


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


Re: [PD] matrix_diag_mul_line8~

2016-07-25 Thread patrice colet



 thank you for the fast answer...

Le 25/07/2016 à 14:11, IOhannes m zmoelnig a écrit :

On 2016-07-25 13:18, patrice colet wrote:

  [matrix_diag_mul_line8~] doesn't exist anymore in iemmatrix externals,

it never did.
(it used to be part of `iem_matrix` (with underscore!), which has been
merged into iemmatrix (mostly)


is there an abs somewhere for replacing it?

well, given that until Pd-0.47 there was no sane way have abstractions
with a dynamic number of iolets: no.
and given that even with Pd-0.47, an abstraction cannot have an inlet
that accepts both signals and messages: nono.


that's right, I should have known it...


zexy's [multiline~] works similar, and of course [mtx_*~].



so I have to replace [matrix_diag_mul_line8~ 18 50] with [mtx_*~ 18 18 
50]  and reconnect everything?




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


[PD] matrix_diag_mul_line8~

2016-07-25 Thread patrice colet

Hello,


 [matrix_diag_mul_line8~] doesn't exist anymore in iemmatrix externals, 
is there an abs somewhere for replacing it?



--
Patrice Colet
fr: 0632660357


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


Re: [PD] Read/write textfiles in ASCII/HEX?

2016-07-25 Thread patrice colet

there is also [mrpeach/binfile] object for this


Le 25/07/2016 à 12:10, Christof Ressi a écrit :

Hi list,

does anyone know of an object for reading/writing a textfile as a stream of 
ASCII or HEX characters? I want to be able to open arbitrary files and process 
them, like in a hex editor.

Christof

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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] Read/write textfiles in ASCII/HEX?

2016-07-25 Thread patrice colet

hello, have you tried to pass [textfile] output through [list fromsymbol] ?


Le 25/07/2016 à 12:10, Christof Ressi a écrit :

Hi list,

does anyone know of an object for reading/writing a textfile as a stream of 
ASCII or HEX characters? I want to be able to open arbitrary files and process 
them, like in a hex editor.

Christof

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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] Pass External Argument as Output on Creation

2016-07-23 Thread patrice colet

why not doing it with an abs?


Le 23/07/2016 à 10:21, christof.re...@gmx.at a écrit :

Quick question for C folks: what’s the best way to pass an arg (e.g. [object 
2]) to an outlet immediately on creation? Curious to know if I’m going about 
this in the most efficient way possible.


--
Patrice Colet
fr: 0632660357


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


Re: [PD] Deken and Dependencies

2016-07-18 Thread patrice colet



Le 19/07/2016 à 00:48, Lucas Cordiviola a écrit :


/on linux: use apt (or yum/emerge/pacman) instead to install any pd/
/externals. this is *way* better and much more secure than
shipping 3rd/
/party libraries./


Instead of Deken?

Where does the dep lib goes, to the same folder as the external? Or to 
an Os system folder <--- this is what is not useful for the pendrive 
example.


under unix system lib dep is managed by OS but on windows it's a growing 
pletora off dll everywhere tha sucks hard drive space for the sake of 
hardware vendors





Mensaje telepatico asistido por maquinas.




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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] w32 Deken package issues.

2016-07-13 Thread patrice colet



Le 12/07/2016 à 09:41, IOhannes m zmoelnig a écrit :

i think it's best to stick with the microsoft way when using w32 (and
even better to not having to use w32).


ahah, I didn't notice that pd can actually find lib dep in external's 
dir, -verbose mode is expressive enough though, sorry for confusion it 
has involved.


--
Patrice Colet
fr: 0632660357


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


Re: [PD] w32 Deken package issues.

2016-07-13 Thread patrice colet

Hello,


Le 11/07/2016 à 19:49, Martin Peach a écrit :
I wonder if compiling the externals with VC would use the 
pthreadVC.dll in pd/bin. There seems to be no other copy of 
pthreadVC.dll on my system. As I understand it, vanilla is built with 
VC. In the past I built my own externals with VC. Extended used MinGW 
but I was never able to get a working setup myself.



 linking against pthreadVC seems to work on my windows 6.1 machine,
 externals/Makefiles finds pthreadVC.lib in pd dir installed in 
%programfiles%


 I don't know yet if this work also in more recent version of windows.

I'm compiling on windows MinGW with the msys set up proposed in 
puredata.info, almost all your objects can be compiled, I couldn't have 
osc to work AFAIR.


On a windows10 machine, I've tried once puredata-svn/externals/mrpeach 
compilation with netbeans, but gcc version couldn't find libiberty.


--
Patrice Colet
fr: 0632660357


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


Re: [PD] w32 Deken package issues.

2016-07-11 Thread patrice colet

Hello,

Le 11/07/2016 à 02:44, Lucas Cordiviola a écrit :


Hi Patrice,


Thanx for your explanations!!!


I've tested your recompiled [tcpserver] and I get a system error that 
say *pthreadGC2.dll* is missing.



Probably it has to be re-compiled?


oupse, I didn't see it hidden in wow64 folder, the good new is that only 
externals/Makefile have to be tweaked for using pthreadVC.lib in pd/bin


I think it's fixed now, so I make an archive with all mrpeach objects I 
could compile, and send it in a personal mail attachement for testing in 
windows10.


The bad new is that my windows machine is dying but might build a few 
packages and a externals/Makefile patch before leaving,
could you test this package? If I do other packages would you mind 
trying them before I publish?



OTOH if I understand correctly recompiling externals is better *but* 
placing the third party dlls in the same dir as the externals could 
become a “good practice”



As recompiling don't cover all cases, its probably Ok to just add some 
dlls to the dir.





It's not as simple as that because pd uses to look for external's third 
party DLL into system path, not pd path, maybe it's different now?




There is usefull info here (not sure how much updated):


https://puredata.info/dev/pd_webwiki/ExternalsInventory



Salutti,

Lucarda


Mensaje telepatico asistido por maquinas.

To: pd-list@lists.iem.at
From: colet.patr...@free.fr
Date: Sun, 10 Jul 2016 18:37:45 +0200
Subject: Re: [PD] w32 Deken package issues.

I just realized by reading mrpeach Makefile that linker uses obj files
from installed version of PureData, so I've installed pd-0.47-0 and
compiled tcpserver.dll with windows 6.1,
it's attached, you may find out that this one doesn't need
pthreadGC3.dll anymore, if it's true I could make deken packages of
externals that only relies on PureData libs.
  
  
  



--
Patrice Colet
fr: 0632660357


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


Re: [PD] w32 Deken package issues.

2016-07-10 Thread patrice colet

Hi Lucas,


Le 10/07/2016 à 01:32, Lucas Cordiviola a écrit :


/Hi Lucas, why don't you recompile the externals with static
libraries?/


Hi Patrice ,

I've never compiled anything and also I don't write C code.

What does static libraries means? It is adding the system.dll to the 
object.dll?


For a static linking we need the .a files, not the .dll  that's the 
hardcore part because if there is no .a we have to import functions with 
dlltools.
That's why I think IOhannes suggested to use first the dll provided by 
PureData (pthread) at recompilation.


The third party dlls can also be provided by third party softwares (eg: 
for pdlua install lua5.3 and add luadist lib folder to PureData path).


This also should be indicated by deken during install that we need to 
add third party software for having things working.



If that was the case anyway we have to detect which dll needs that.



The library dependences names can be found through the linker command 
line in Makefile prepended with "-l" characters.


Detecting could be done by referencing all system DLL provided by 
pd-extended and doing a script for detecting those libraries in linking 
command lines found in pure-data-svn/externals/myexternal/Makefile.




Or are you saying that *you* can recompile all w32 deken packages?



Unfortunately I don't have a consistent windows machine, and little 
spare time to do that, but I'd like to help windows customers to snap my 
code.




Let me know.




Mensaje telepatico asistido por maquinas.

> To: pd-list@lists.iem.at
> From: colet.patr...@free.fr
> Date: Sat, 9 Jul 2016 16:42:36 +0200
> Subject: Re: [PD] w32 Deken package issues.
>
> Hi Lucas, why don't you recompile the externals with static libraries?
>
>
> Le 09/07/2016 à 13:31, Lucas Cordiviola a écrit :
> >
> > hi,
> > On 07/03/2016 08:48 AM, Lucas Cordiviola wrote:
> > > Type “missing” in deken`s search bar.
> > > Then put all dlls in the pd/bin directory.
> > while i appreciate the initiative to provide missing system
> > libraries, i
> > think this is the wrong way to do it.
> > #1 a deken package should be self-contained.
> > if a given deken package lacks a library (e.g. libpthreadGCC3.dll)
> > then
> > it should provide that library itself.
> > (alternatively, deken could be (theoretically; practically i see a
> > number of hurdles) enhanced to explicitely state such dependencies (so
> > installing "foo" would also install "pthreadGCC3")
> > #2 a deken package must be installable by deken. the requierement to
> > "then put all the dlls into pd/bin" contradicts this.
> > until deken can be told to install into pd/bin, i think that though
> > shall not abuse the deken package system for such things.
> > i'd therefore rather have the 'missingDLLs' package removed from
> > puredata.info.
> > we *should* come up with a proper solution for the problem though.
> > fmasdr
> > IOhannes
> >
> >
> > Hi IOhannes,
> >
> > I've been thinking on the issue and did some tests that gave good 
results.

> >
> > First good result is that the missing .dlls placed on the same folder
> > as the external seems to work, I did a couple of tests and both 
worked.

> >
> > Second, I made a patch that creates objects from every .dll in a 
given

> > dir, the target dir is obviously the deken PKG extracted folder, this
> > speeds up checking PKGs.
> >
> > And third, I found http://www.dependencywalker.com/ wich provide some
> > useful info about which dll is missing. For example for zexy,
> > “libgnurx-0.dll” is called by matchbox.dll.
> >
> > The patch that I made also gives false errors because some objects
> > need creation args.
> >
> > I attach a zip with the patch along with 2 needed externals.
> >
> > Let me know what you think.
> >
> > I'm thinking on preparing a win10 system to check packages and 
provide

> > some reports.
> >
> >
> >
> > Salutti,
> > Lucarda.
> >
> >
> > Mensaje telepatico asistido por maquinas.
> >
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

>
> --
> Patrice Colet
> fr: 0632660357
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


--
Patrice Colet
fr: 0632660357


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


Re: [PD] w32 Deken package issues.

2016-07-09 Thread patrice colet

Hi Lucas, why don't you recompile the externals with static libraries?


Le 09/07/2016 à 13:31, Lucas Cordiviola a écrit :


hi,
On 07/03/2016 08:48 AM, Lucas Cordiviola wrote:
> Type “missing” in deken`s search bar.
> Then put all dlls in the pd/bin directory.
while i appreciate the initiative to provide missing system
libraries, i
think this is the wrong way to do it.
#1 a deken package should be self-contained.
if a given deken package lacks a library (e.g. libpthreadGCC3.dll)
then
it should provide that library itself.
(alternatively, deken could be (theoretically; practically i see a
number of hurdles) enhanced to explicitely state such dependencies (so
installing "foo" would also install "pthreadGCC3")
#2 a deken package must be installable by deken. the requierement to
"then put all the dlls into pd/bin" contradicts this.
until deken can be told to install into pd/bin, i think that though
shall not abuse the deken package system for such things.
i'd therefore rather have the 'missingDLLs' package removed from
puredata.info.
we *should* come up with a proper solution for the problem though.
fmasdr
IOhannes


Hi IOhannes,

I've been thinking on the issue and did some tests that gave good results.

First good result is that the missing .dlls placed on the same folder 
as the external seems to work, I did a couple of tests and both worked.


Second, I made a patch that creates objects from every .dll in a given 
dir, the target dir is obviously the deken PKG extracted folder, this 
speeds up checking PKGs.


And third, I found http://www.dependencywalker.com/ wich provide some 
useful info about which dll is missing. For example for zexy, 
“libgnurx-0.dll” is called by matchbox.dll.


The patch that I made also gives false errors because some objects 
need creation args.


I attach a zip with the patch along with 2 needed externals.

Let me know what you think.

I'm thinking on preparing a win10 system to check packages and provide 
some reports.




Salutti,
Lucarda.


Mensaje telepatico asistido por maquinas.


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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] [PD-announce] Deken package with missing dlls for old-extended externals (w32).

2016-07-04 Thread patrice colet



Le 03/07/2016 à 20:46, IOhannes m zmölnig a écrit :

Do you think it's possible for deken to:

1° add pd/bin to system's path, then pd pdsend and pdreceive will work
with no pain in ms-dos console

this should be done by pd installer but for the moment I believe it
doesn't,

since when are pdsend.exe and pdreceive.exe broken?
if this is true, this is a rather severe bug in the w32 package of Pd.



 They are not litteraly broken, they just don't respond in ms-dos 
console after a fresh install from installer
unless we navigate with the console to pd/bin or if it's added to 
environment variables, same for pd.com.


 I'd rather consider that more like a missing feature than a bug,
it's one one the things that doesn't make pd as reliable as we have it 
on linux.


--
Patrice Colet
fr: 0632660357


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


Re: [PD] [PD-announce] Deken package with missing dlls for old-extended externals (w32).

2016-07-04 Thread patrice colet



Le 03/07/2016 à 20:46, IOhannes m zmölnig a écrit :


also, if it's absolutely impossible to have pthreadGCC2.dll live besides
foo.dll (and have it instead live besides pd.exe), then i think the
proper solution would be to re-compile foo, so it depends on the
pthread-implementation that already comes with Pd.


That looks like a good solution

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


Re: [PD] [deken] w32 pd-extended libraries

2016-07-04 Thread patrice colet



Le 04/07/2016 à 05:27, Alexandre Torres Porres a écrit :



On 2016-07-02 01:37 AM, patrice colet wrote:

I've lately tried pd-0.47-2


we're actually talking about 0.47-1 right? :)


yes, at least the pd version with deken included :-)

--
Patrice Colet
fr: 0632660357


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


Re: [PD] [PD-announce] Deken package with missing dlls for old-extended externals (w32).

2016-07-03 Thread patrice colet



Le 03/07/2016 à 13:07, IOhannes m zmölnig a écrit :

#1 a deken package should be self-contained.
if a given deken package lacks a library (e.g. libpthreadGCC3.dll) then
it should provide that library itself.
(alternatively, deken could be (theoretically; practically i see a
number of hurdles) enhanced to explicitely state such dependencies (so
installing "foo" would also install "pthreadGCC3")

#2 a deken package must be installable by deken. the requierement to
"then put all the dlls into pd/bin" contradicts this.
until deken can be told to install into pd/bin, i think that though
shall not abuse the deken package system for such things.

Do you think it's possible for deken to:

1° add pd/bin to system's path, then pd pdsend and pdreceive will work
with no pain in ms-dos console

this should be done by pd installer but for the moment I believe it 
doesn't, so deken could at least resolve this.


2° add dependencies to a place declared in system's path

admin rights would only be required when installing deken or last pd-vanilla

--
Patrice Colet
fr: 0632660357


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


Re: [PD] [PD-announce] Deken package with missing dlls for old-extended externals (w32).

2016-07-03 Thread patrice colet

You've answered what I was just asking to Lucas


Le 03/07/2016 à 13:07, IOhannes m zmölnig a écrit :

hi,

On 07/03/2016 08:48 AM, Lucas Cordiviola wrote:

Type “missing” in deken`s search bar.
Then put all dlls in the pd/bin directory.

while i appreciate the initiative to provide missing system libraries, i
think this is the wrong way to do it.

#1 a deken package should be self-contained.
if a given deken package lacks a library (e.g. libpthreadGCC3.dll) then
it should provide that library itself.
(alternatively, deken could be (theoretically; practically i see a
number of hurdles) enhanced to explicitely state such dependencies (so
installing "foo" would also install "pthreadGCC3")

#2 a deken package must be installable by deken. the requierement to
"then put all the dlls into pd/bin" contradicts this.
until deken can be told to install into pd/bin, i think that though
shall not abuse the deken package system for such things.

i'd therefore rather have the 'missingDLLs' package removed from
puredata.info.
we *should* come up with a proper solution for the problem though.

fmasdr
IOhannes



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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] [deken] w32 pd-extended libraries

2016-07-03 Thread patrice colet

Thank you for this, it makes more sense to get those files with deken.

But this only resolve externals provided by pd-extended.

If I want to install pdlua or if I provide readanysf~, how do I get or 
provide those library dependences?



Le 03/07/2016 à 08:23, Lucas Cordiviola a écrit :

HI Patrice,

Y have uploaded a Deken package containing a lot of .dlls that were 
included in Pd-0.44.0-extended-windowsxp-i386.zip


The name of the package:

missingDLLS-v0.0.extended-(Windows-i386-32)-externals.zip

Type “missing” in the deken search bar.

Simply copy the dlls to your pd/bin directory.

Hope this helps
Lucarda.



Mensaje telepatico asistido por maquinas.

> To: pd-list@lists.iem.at
> From: colet.patr...@free.fr
> Date: Sat, 2 Jul 2016 01:37:40 +0200
> Subject: [PD] [deken] w32 pd-extended libraries
>
> Hello
>
> I've lately tried pd-0.47-2 on windows 10 with pd-extended externals
> provided by deken.
>
> Some didn't worked because they need libraries installed into a system
> or a user path.
>
>
> For resolving this in several clicks, install pd-extended with the
> installer, uncheck everything before installing, and uninstall without
> removing system32 libs.
>
> I'm not very used to windows 10 so I didn't get the usual windows error
> message telling which DLL is missing,
> so when deken provides an external that has this kind of dependance,
> it's very hard to guess what is getting wrong.
>
> Br
>
> Patrice Colet
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


--
Patrice Colet
fr: 0632660357


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


Re: [PD] [deken] w32 pd-extended libraries

2016-07-02 Thread patrice colet



Le 02/07/2016 à 15:29, Fred Jan Kraan a écrit :

On 2016-07-02 01:37 AM, patrice colet wrote:

  Hello

  I've lately tried pd-0.47-2  on windows 10 with pd-extended externals
provided by deken.

Some didn't worked because they need libraries installed into a system
or a user path.


If we knew which "Some" don't work, it would be possible to fix them, 
add a warning somewhere or list the dependencies...





I've encountered this with mrpeach/tcpsocket mrpeach/tcpclient the str 
lib is missing, but I'm not using much externals from extended that need 
libraries.


I don't think there is a way to fix this yet, there is no method in 
deken for library dependencies on windows.






Br

Patrice Colet


Greetings,

Fred Jan

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


--
Patrice Colet
fr: 0632660357


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


[PD] [deken] w32 pd-extended libraries

2016-07-01 Thread patrice colet

 Hello

 I've lately tried pd-0.47-2  on windows 10 with pd-extended externals 
provided by deken.


Some didn't worked because they need libraries installed into a system 
or a user path.



 For resolving this in several clicks, install pd-extended with the 
installer, uncheck everything before installing, and uninstall without 
removing system32 libs.


I'm not very used to windows 10 so I didn't get the usual windows error 
message telling which DLL is missing,
so when deken provides an external that has this kind of dependance, 
it's very hard to guess what is getting wrong.


Br

Patrice Colet

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


Re: [PD] Websocket Client in Pd

2016-06-24 Thread patrice colet

maybe flask would be better for a python socket module

https://flask-socketio.readthedocs.io/en/latest/


Le 24/06/2016 à 16:22, me.grimm a écrit :
yeah I am basically looking to stream a data feed from a website for 
example:


wss://ws-feed.foobar.com <http://ws-feed.foobar.com>

with python:
https://github.com/Lawouach/WebSocket-for-Python

which I'm having a hard time adapting to pyext. see:
http://stackoverflow.com/questions/37995999/print-to-console-outside-of-the-class

but maybe you awesome list peeps have better suggestions?

On Fri, Jun 24, 2016 at 7:03 AM, patrice colet <mailto:colet.patr...@free.fr>> wrote:


by the way I wanted to know why writing a socket client in pd
because it just take three lines of code for having a functionnal
FUDI pdsend in almost all interpreted language...


Le 24/06/2016 à 00:01, patrice colet a écrit :


hello,

 I'm doing web socket with pd and a patch taken in here,  it's a
server using mrpeach/tcp objects, I've attached it again...

my client is written in html5 there are pletores of online
tutorials for doing the socket client working with this http
server...

Is it possible to run a python http server through pyext without
admin rights?

patco


Le 23/06/2016 à 22:54, me.grimm a écrit :

Hello,

Anyone make a Websocket client for Pd? I see there is a server
attempt out there (could not find external code, just
references) but a client is what I need

Been trying to build one with python/pyext but running into a
wall and thought I would just ask in case I could save myself
some time.

Thanks!
m



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


-- 
Patrice Colet

fr: 0632660357


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


-- 
Patrice Colet

fr: 0632660357


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




--

m.e.grimm, m.f.a, ed.m.
syracuse u., tc3
megrimm.net <http://megrimm.net>



--
Patrice Colet
fr: 0632660357

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


Re: [PD] Websocket Client in Pd

2016-06-24 Thread patrice colet
by the way I wanted to know why writing a socket client in pd because it 
just take three lines of code for having a functionnal FUDI pdsend in 
almost all interpreted language...



Le 24/06/2016 à 00:01, patrice colet a écrit :


hello,

 I'm doing web socket with pd and a patch taken in here,  it's a 
server using mrpeach/tcp objects, I've attached it again...


my client is written in html5 there are pletores of online tutorials 
for doing the socket client working with this http server...


Is it possible to run a python http server through pyext without admin 
rights?


patco


Le 23/06/2016 à 22:54, me.grimm a écrit :

Hello,

Anyone make a Websocket client for Pd? I see there is a server 
attempt out there (could not find external code, just references) but 
a client is what I need


Been trying to build one with python/pyext but running into a wall 
and thought I would just ask in case I could save myself some time.


Thanks!
m



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


--
Patrice Colet
fr: 0632660357


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


--
Patrice Colet
fr: 0632660357

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


Re: [PD] Websocket Client in Pd

2016-06-24 Thread patrice colet

that's what I was looking for, thank you Andy


Le 24/06/2016 à 10:50, Andy Farnell a écrit :

Both iptables and pf let you do some sort of port remapping
which gives you the advantage of appearing to be on a standard
port from outside, but the advantage of running as
an unprivileged user.

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport $srcPortNumber -j REDIRECT 
--to-port $dstPortNumber



On Fri, Jun 24, 2016 at 12:20:31AM +0200, patrice colet wrote:


Le 24/06/2016 à 00:10, IOhannes m zmölnig a écrit :

On 06/24/2016 12:01 AM, patrice colet wrote:

Is it possible to run a python http server through pyext without admin
rights?

sure.
unless you want to run it on a standard port (like 80, or 443; or really
anything below 1024)

Oh yes, so if I want to run the http server without admin rights on
port 80, the patch has to run through a system service

dmsa
IOhannes



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

--
Patrice Colet
fr: 0632660357

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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] Websocket Client in Pd

2016-06-23 Thread patrice colet



Le 24/06/2016 à 00:10, IOhannes m zmölnig a écrit :

On 06/24/2016 12:01 AM, patrice colet wrote:

Is it possible to run a python http server through pyext without admin
rights?


sure.
unless you want to run it on a standard port (like 80, or 443; or really
anything below 1024)


Oh yes, so if I want to run the http server without admin rights on port 
80, the patch has to run through a system service

dmsa
IOhannes



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


--
Patrice Colet
fr: 0632660357

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


Re: [PD] Click on filledpolygon

2016-06-23 Thread patrice colet
<http://lists.puredata.info/pipermail/pd-list/attachments/20160621/f073810c/attachment-0001.html>

--

Message: 2
Date: Wed, 22 Jun 2016 02:24:20 +0200
From: Thomas Mayer 
To: pd-list@lists.iem.at
Subject: Re: [PD] Dynamic Patching with 0.47
Message-ID: <23c531ab-a788-7391-da5b-55bdef472...@residuum.org>
Content-Type: text/plain; charset=utf-8

Hi,

On 20.06.2016 09:29, IOhannes m zmoelnig wrote:

On 2016-06-20 03:38, Miller Puckette wrote:

(I keep wanting to make some sort of "delete" message to canvases
but can't figure out what would be a usable design).

what's wrong with the index that can be found everywhere else? e.g.
iemguts adds a "delete" message (to the canvas) that takes a
single number:
https://git.iem.at/pd/iemguts/blob/master/src/canvasdelete.c

(actually it takes a list of numbers, but i've never used that).

so using "delete " whould be: - consistent with the current
user-interface (e.g. "connect") - backward compatible with prior
implementations

Thanks, [delete( from iemguts' [canvasdelete] is just what I needed,
and makes it even clearer.

cu Thomas
--
"Anything can be a tool - poverty, war. War is useful because it
is effective in so many areas." (Bijaz to Hayt in: Frank Herbert -
Dune Messiah)
http://www.residuum.org/



--

Message: 3
Date: Tue, 21 Jun 2016 23:37:59 -0300
From: Alexandre Torres Porres 
To: "pd-list@lists.iem.at" 
Subject: [PD] A 6th order hilbert transformer?
Message-ID:

Content-Type: text/plain; charset="utf-8"

Howdy, I'm working on a frequency shifter object (via single sideband
modulation / complex modulation).

In Max they have a so called "6th order hilbert transformer with a minimum
of error". In Pd, the hilbert~ abstraction is 4th order. I'm copying the pd
abstraction for now, but I was hoping to use such a higher order filter and
also use- but I can't find a source for such a formula. Any help finding it?

thanks
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.puredata.info/pipermail/pd-list/attachments/20160621/a4d95cf2/attachment-0001.html>

--

Message: 4
Date: Tue, 21 Jun 2016 23:50:05 -0700
From: Derek Kwan 
To: Jack 
Cc: pd-list@lists.iem.at
Subject: Re: [PD] Best way to install Pd on Raspberry Pi
Message-ID: <20160622065005.GA5858@dxk-xps15>
Content-Type: text/plain; charset=us-ascii

hello,

you should move the pd binary to /usr/local/bin/

That directory should already be in your PATH and typically binaries any
user can run are put there (if you make install from source, it goes
there as well).

Once you've moved the pd binary to /usr/local/bin, you can type pd not
matter what directory you're in and it'll run.

Derek


Yep,

Raspberry Pi 3
Raspbian Jessie
++

Jack


=
Derek Kwan
www.derekxkwan.com



--

Subject: Digest Footer

___
Pd-list mailing list
Pd-list@lists.iem.at
to manage your subscription (including un-subscription) see
https://lists.puredata.info/listinfo/pd-list


--

End of Pd-list Digest, Vol 135, Issue 78



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


--
Patrice Colet
fr: 0632660357


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


Re: [PD] Morse Code Translator / Decoder

2016-06-15 Thread patrice colet



Le 15/06/2016 à 19:57, Joel Matthys a écrit :

Is [list-compare] from an external library? It's not in vanilla.


I forgot to put this in a subpatch, sorry for that, it's in [list-abs]



Joel

On 06/15/2016 12:25 PM, patrice colet wrote:


Hello,

 I've made such patch to decode termites hammering into morse.

 It uses the process described by andy, and datastructure for storing 
characters, it could also now be done with [text]


I've made a version where [env] testes if there is sound amplitude or 
not,


and compare with templates stored into datastructure.

 Attached is that version that should work with mjlib/morse and 
latest pd-vanilla.


Best,

patco


Le 15/06/2016 à 15:34, Andy Farnell a écrit :

Yes did that once, but I lost it years ago (the
patch I mean)

IIRC its not that hard.

Use a [timer] and onset/tone detector,
and an array that looks up the next state.
You need a way to navigate a tree - a state machine
with 26 terminal nodes (36 if you want numbers)
and there are four symbols to transition states,
dot, dah, short space and long gap (between letters)

The array is a 4-tree collapsed into a "Turing tape"
so you use the symbol to select the offset (jump)
to the next state (table index) based on the last
symbol. A long gap always resets the index to 0.

cheers,
andy


On Tue, Jun 14, 2016 at 11:41:20AM -0400, me.grimm wrote:

Hello,

Has anyone made a patch/abstraction to "decode" or translate morse code to
text? I see text->morse but not the other way around

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



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




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




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


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


Re: [PD] Morse Code Translator / Decoder

2016-06-15 Thread patrice colet

I'm sure that it's one of latest pd-vanilla feature


Le 15/06/2016 à 19:42, Pagano, Patrick a écrit :


what external lib provides for the [list fromsymbol] ?


Patrick


/Patrick Pagano B.S, M.F.A/
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
(352)294-2020

*From:* Pd-list  on behalf of patrice 
colet 

*Sent:* Wednesday, June 15, 2016 1:25 PM
*To:* pd-l...@mail.iem.at
*Subject:* Re: [PD] Morse Code Translator / Decoder

Hello,

 I've made such patch to decode termites hammering into morse.

 It uses the process described by andy, and datastructure for storing 
characters, it could also now be done with [text]


I've made a version where [env] testes if there is sound amplitude or not,

and compare with templates stored into datastructure.

 Attached is that version that should work with mjlib/morse and latest 
pd-vanilla.


Best,

patco


Le 15/06/2016 à 15:34, Andy Farnell a écrit :

Yes did that once, but I lost it years ago (the
patch I mean)

IIRC its not that hard.

Use a [timer] and onset/tone detector,
and an array that looks up the next state.
You need a way to navigate a tree - a state machine
with 26 terminal nodes (36 if you want numbers)
and there are four symbols to transition states,
dot, dah, short space and long gap (between letters)

The array is a 4-tree collapsed into a "Turing tape"
so you use the symbol to select the offset (jump)
to the next state (table index) based on the last
symbol. A long gap always resets the index to 0.

cheers,
andy


On Tue, Jun 14, 2016 at 11:41:20AM -0400, me.grimm wrote:

Hello,

Has anyone made a patch/abstraction to "decode" or translate morse code to
text? I see text->morse but not the other way around

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



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




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


Re: [PD] Morse Code Translator / Decoder

2016-06-15 Thread patrice colet



Le 15/06/2016 à 19:42, Pagano, Patrick a écrit :


what external lib provides for the [list fromsymbol] ?


I think a good way to optimize this patch would be also to store strings 
in [text] object instead of characters stored into scalars, then 
snd2morse~ would output strings



Patrick


/Patrick Pagano B.S, M.F.A/
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
(352)294-2020

*From:* Pd-list  on behalf of patrice 
colet 

*Sent:* Wednesday, June 15, 2016 1:25 PM
*To:* pd-l...@mail.iem.at
*Subject:* Re: [PD] Morse Code Translator / Decoder

Hello,

 I've made such patch to decode termites hammering into morse.

 It uses the process described by andy, and datastructure for storing 
characters, it could also now be done with [text]


I've made a version where [env] testes if there is sound amplitude or not,

and compare with templates stored into datastructure.

 Attached is that version that should work with mjlib/morse and latest 
pd-vanilla.


Best,

patco


Le 15/06/2016 à 15:34, Andy Farnell a écrit :

Yes did that once, but I lost it years ago (the
patch I mean)

IIRC its not that hard.

Use a [timer] and onset/tone detector,
and an array that looks up the next state.
You need a way to navigate a tree - a state machine
with 26 terminal nodes (36 if you want numbers)
and there are four symbols to transition states,
dot, dah, short space and long gap (between letters)

The array is a 4-tree collapsed into a "Turing tape"
so you use the symbol to select the offset (jump)
to the next state (table index) based on the last
symbol. A long gap always resets the index to 0.

cheers,
andy


On Tue, Jun 14, 2016 at 11:41:20AM -0400, me.grimm wrote:

Hello,

Has anyone made a patch/abstraction to "decode" or translate morse code to
text? I see text->morse but not the other way around

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



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




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


Re: [PD] Morse Code Translator / Decoder

2016-06-15 Thread patrice colet

Hello,

 I've made such patch to decode termites hammering into morse.

 It uses the process described by andy, and datastructure for storing 
characters, it could also now be done with [text]


I've made a version where [env] testes if there is sound amplitude or not,

and compare with templates stored into datastructure.

 Attached is that version that should work with mjlib/morse and latest 
pd-vanilla.


Best,

patco


Le 15/06/2016 à 15:34, Andy Farnell a écrit :

Yes did that once, but I lost it years ago (the
patch I mean)

IIRC its not that hard.

Use a [timer] and onset/tone detector,
and an array that looks up the next state.
You need a way to navigate a tree - a state machine
with 26 terminal nodes (36 if you want numbers)
and there are four symbols to transition states,
dot, dah, short space and long gap (between letters)

The array is a 4-tree collapsed into a "Turing tape"
so you use the symbol to select the offset (jump)
to the next state (table index) based on the last
symbol. A long gap always resets the index to 0.

cheers,
andy


On Tue, Jun 14, 2016 at 11:41:20AM -0400, me.grimm wrote:

Hello,

Has anyone made a patch/abstraction to "decode" or translate morse code to
text? I see text->morse but not the other way around

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



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


#N struct morse float x float y symbol letter float bin-num array content
morse-content;
#N struct morse-content float bin;
#N canvas 532 327 861 386 10;
#X obj 330 219 snd2morse~;
#X obj 330 368 print;
#N canvas 31 102 862 508 morse 0;
#X obj 274 213 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 296 213 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 319 213 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 87 119 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 106 117 metro 100;
#X obj 137 454 *~;
#X obj 62 267 osc~ 440;
#X obj 65 239 hsl 128 22 10 6000 0 0 empty empty frequency 9 9 1 10
-262144 -1 -1 1900 1;
#X obj 183 414 line~;
#X obj 197 330 delay 50;
#X obj 197 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X floatatom 286 332 5 0 0 0 - - -, f 5;
#X floatatom 7 268 5 0 0 0 - - -, f 5;
#X msg 62 211 906.1;
#X obj 62 184 loadbang;
#X obj 382 329 delay 50;
#X obj 382 309 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X floatatom 468 330 5 0 0 0 - - -, f 5;
#X msg 157 370 1 1;
#X msg 197 370 0 1;
#X msg 342 369 1 1;
#X msg 384 369 0 1;
#X obj 683 155 hsl 128 15 10 1000 0 0 empty empty empty -2 -6 0 8 -262144
-1 -1 513 1;
#X text 714 129 speed;
#X floatatom 681 185 5 0 0 0 - - -, f 5;
#X obj 643 276 s dot;
#X obj 735 276 s dash;
#X obj 191 91 r dot;
#X obj 272 304 r dot;
#X obj 457 302 r dash;
#X obj 735 224 * 3;
#X text 230 273 dot;
#X text 387 277 dash;
#X text 11 4 convert text to Morse Code;
#X text 223 36 On UNIX and MacOS X systems \, its case-sensitive \,
on Windows \, its not.;
#X obj 248 113 inlet;
#X obj 137 476 outlet~;
#X text 53 526 patch from mjilb help file;
#X obj 680 64 r morse-speed;
#X obj 274 183 mjlib/morse;
#X obj 58 67 r morse-metro;
#X obj 82 93 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
;
#X connect 0 0 10 0;
#X connect 1 0 16 0;
#X connect 4 0 3 0;
#X connect 4 0 39 0;
#X connect 5 0 36 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X connect 7 0 12 0;
#X connect 8 0 5 1;
#X connect 9 0 19 0;
#X connect 10 0 9 0;
#X connect 10 0 18 0;
#X connect 13 0 7 0;
#X connect 14 0 13 0;
#X connect 15 0 21 0;
#X connect 16 0 15 0;
#X connect 16 0 20 0;
#X connect 18 0 8 0;
#X connect 19 0 8 0;
#X connect 20 0 8 0;
#X connect 21 0 8 0;
#X connect 22 0 24 0;
#X connect 24 0 25 0;
#X connect 24 0 30 0;
#X connect 27 0 4 1;
#X connect 28 0 9 1;
#X connect 28 0 11 0;
#X connect 29 0 15 1;
#X connect 29 0 17 0;
#X connect 30 0 26 0;
#X connect 35 0 39 0;
#X connect 38 0 22 0;
#X connect 39 0 0 0;
#X connect 39 1 1 0;
#X connect 39 2 2 0;
#X connect 40 0 41 0;
#X connect 41 0 4 0;
#X restore 163 142 pd morse;
#X obj 161 296 dac~;
#X obj 162 246 *~;
#X obj 190 221 hsl 128 22 0.01 1 1 0 empty morse-volume volume 9 9
1 10 -262144 -1 -1 3030 0;
#X obj 363 347 print space;
#X obj 11 81 loadbang;
#X text 9 14 patko2013-2016;
#X msg 262 56 msg this is a test message;
#X msg 248 27 msg 1 2 3 4 8;
#X msg 11 109 \; init 0 \; morse-speed 50 \; pd dsp 1 \; morse-volume
0.03 \; morse-metro 1 \;;
#X msg 161 29 msg s o;
#X obj 164 92 t a b, f 21;
#X obj 410 268 list fromsymbol;
#X msg 532 265 32;
#X obj 400 307 list;
#X obj 600 271 t l;
#X obj 479 333 list tosymbol;
#X obj 482 356 print message;
#X obj 514 298 list prepend;
#X connect 0 0 1 0;
#X connect 0 0 14 0;
#X connect 0 1 6 0;
#X connect 0 1 15 0;
#X connect 0 2 16 0;
#

Re: [PD] open vst in pd in all OS

2016-06-13 Thread patrice colet

I should never say never, my bad


Le 13/06/2016 à 11:17, Roman Haefeli a écrit :


On Mon, 2016-06-13 at 11:02 +0200, patrice colet wrote:

vst is certainly not for linux, never ever

???

http://linux-sound.org/linux-vst-plugins.html

Roman


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


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


Re: [PD] open vst in pd in all OS

2016-06-13 Thread patrice colet

vst is certainly not for linux, never ever


Le 13/06/2016 à 04:51, Alexandre Torres Porres a écrit :
btw, audiounits are only for mac os, but vst is for linux, windows and 
mac, right?


2016-06-12 23:48 GMT-03:00 Alexandre Torres Porres >:


howdy, about plugin hosts for vst to load them in your patches...

what are the challenges, issues and is there a reason why anyone
hasn't done this for all OS yet?

cheers




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


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


Re: [PD] deken install user experience

2016-06-09 Thread patrice colet



Le 09/06/2016 à 20:16, Lucas Cordiviola a écrit :


One simple solution will be to have one zip containing all externals 
(updated monthly?) this will be the most simple and interesting for 
new users.


I don't know in this case how to avoid conflicts, sometimes I have to 
remove mrpeach from path for having other externals to work, don't ask 
me why because I don't know.


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


Re: [PD] deken install user experience

2016-06-09 Thread patrice colet

Le 09/06/2016 à 10:01, IOhannes m zmoelnig a écrit :

On 2016-06-09 08:19, patrice colet wrote:

one is about adding a lib and/or a path entry in PureData preferences

afaict there is agreement that dependencies should be [declare]d in the
patch, rather than system-wide.
this makes the ability to automatically add libs/paths to the
preferences a very low priority.



 Having deken proposing solutions for resolving missing patch 
dependencies looks very interesting, it should save a lot of time to 
users that want to collaborate on same patches from different machines.



In the same way it would be nice if deken could resolve external's 
libraries dependencies (eg:readanysf~ on windows needs a dozen of dlls 
to work) by downloading them in the right place or at least proposing 
install methods from a "README.md like" file or using the meta file from 
the external that would popup or appear on console when objects couldn't 
create.



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


Re: [PD] [pdlua] object repository

2016-06-09 Thread patrice colet



Le 09/06/2016 à 15:41, IOhannes m zmölnig a écrit :

On 06/09/2016 03:26 PM, patrice colet wrote:

  I've started to code some [pdlua] goodies to remove some patches
dependencies and now I'm wondering if some other pd users shares [pdlua]
objects somewhere, I'd be glad to contribute.

for what it is worth: deken can be used to share pdlua libraries as well.


Ok that looks pretty clean, I'll have to meditate on naming uploads with 
deken and naming pdlua object classes.



(creating packages containing .pd_lua files via the `deken` cmdline
utility has not been extensively tested, but i wouldn't expect any
problems and the gui plugin is blissfully unaware of such trivialities)

gfmards
IOhannes



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


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


[PD] [pdlua] object repository

2016-06-09 Thread patrice colet

Hi,

pdlua is offering possibilities that removes the need of installing many 
externals by creating our own pd object without compilers.


 I've started to code some [pdlua] goodies to remove some patches 
dependencies and now I'm wondering if some other pd users shares [pdlua] 
objects somewhere, I'd be glad to contribute.


best

pc


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


[PD] [pdlua] libraries on windows with luadist.org binaries

2016-06-09 Thread patrice colet

Hello list,

 this mail entry is a reminder for users using the great pdlua external 
on windows.


 I'm writing this to prevent anyone reading this from spending hours 
about trying to compile binaries or to try to install luarocks...


The procedure is quite simple, just put the lib binary from luadist.org 
windows archive in pd path and it's done.


eg: For having lsql.pd_lua to work out, we need to create luasql folder 
along with the patch or in a directory declared in pd path. In this 
folder put sqlite3.dll found in lua/lib, et voilà.


Best,

pc



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


Re: [PD] deken install user experience

2016-06-08 Thread patrice colet

hello,

I tried to follow deken discussions and would like to jump on topic for 
pointing out two missing methods...


one is about adding a lib and/or a path entry in PureData preferences, 
and the other is about removing/disabling deken installed external files 
and pref...


best,

pc


Le 08/06/2016 à 20:07, IOhannes m zmölnig a écrit :

On 06/08/2016 06:56 PM, Hans-Christoph Steiner wrote:

I mean completely hide, no trace at all.  The way it is now is intimidating.

please create a ticket on github.
i still believe that a collapsed subtree view would be ok.


The correct fix IMHO would be to make pd support

that's unrelated to "no trace at all", isn't it?¹


~/.local/share/pd-externals on GNU/Linux,

which Pd-0.47-1 (not yet released) already supports (6406700c)


then make all platforms
install into there by default.

i'm not sure i understand that sentence.

apart from that, this has really been discussed at length.
please read it up in the archives.

msdr
IOhannes

¹ since there are different multiple issues addressed in this mail
thread, would you mind giving context in your replies? (e.g. replying
inline rather than TOFU)



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


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


Re: [PD] [OT] choice of sound cards for 16 output channels

2016-05-06 Thread patrice colet
Maybe you don't want a soundcard but a good multitrack player for 
interpreting Pierre Henry pieces, something like this:


https://audiosex.pro/threads/cymatic-lr-lp-16.23833/

it's about 320€


Le 06/05/2016 à 16:40, Jack a écrit :

Thanks a lot for your answers.

If i understand, i have many solutions to achieve my goal :

- buy 1 soundcard, for exemple :
 - MOTU 24Ao AVB which is class complient : good news for linux users)
 - Presonus VSL1818 with a ADAT 8-channel DAC (Roman, do you have a
link for this with jack connectors ?)

- buy several 'small' soundcards (like 8 Griffin iMic, cheap solution
but lot of sound cards)

- buy 2 soundcards with 8 outputs (in this case, i need 2 usb
controllers on my computer, right ?)

- buy 2 C-media CM6206 soundcards (cheapest solution here, never seen
and tested but looks promising)

By experience, in theatre, i prefer to have an easy setup, PC + 1 or 2
soundcards, on which i can plug jack connectors. The sound will be a
Pierre Henry music.

If someone has other recommandations ?
++

Jack




Le 06/05/2016 14:54, patrice colet a écrit :

  If it's just about having 16 channels DAC, using two C-media CM6206
soundcards should be enough but you might need direct input boxes if the
amplifiers are not just beside the computer, I tried this chipset and it
works good on a pcduino2 and Pd with 8 channels, no glitches, it should
works as well on a Raspberry Pi 3.  So it's possible to cluster the
soundcard+pi on a network and have as much channels as you need.


e 06/05/2016 à 14:32, Simon Iten a écrit :

or get yourself an old rme multiface hdsp card, eight analog outputs
and eight adat… you will need an old laptop with pcmcia or a new one
with express card (or a macbook with thunderbolt and an adatper)

rme cards are good quality and quite cheaply secondhand (200 $)


On 06 May 2016, at 14:08, William Huston
<<mailto:williamahus...@gmail.com>williamahus...@gmail.com> wrote:

The Motu is $1000. The Presonus is $500. What about getting 8x
2-channel USB soundcards? The Griffin iMic is a 2x2 and is $40. So 8x
would be $320.

If you look around, you can find 2ch USB audio adapters for $20/each,
$10/each, even $2/each. For that kind of money you could purchase a
few and evaluate them in terms of quality, or maybe read up on what
chip they use and read reviews.

I'm pretty sure Pd supports multiple audio adapters, but have not
tested this.

Please post your results, as I would like to get into ambisonics as
well and be able to drive 8x or more speakers. But I don't want to
spend $1000!



On Thursday, May 5, 2016, Jack <<mailto:j...@rybn.org>j...@rybn.org>
wrote:

Hello,

With the following configuration :
Ubuntu 16.04
Pd-0.47.0

I need to find a solution to send sounds on 16 different speakers.
What is your advice regarding the purchase of USB sound cards under
Linux with this configuration ? For you, which sound cards are more
willing to do this job ?

Ciao.
++

Jack


___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management ->

<https://lists.puredata.info/listinfo/pd-list>https://lists.puredata.info/listinfo/pd-list
--
--
May you, and all beings
be happy and free from suffering :)
-- ancient Buddhist Prayer (Metta)

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



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



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



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


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


Re: [PD] [netsend] bug?

2016-05-06 Thread patrice colet

Hi,

 attached is some workaround for controlling VLC, one using 
[tcpclient], and another one using dbus-send.


Both uses tcl for scripting with [hc/sys_gui]

patco

Le 06/05/2016 à 15:51, Jack a écrit :

Hello,

Now, with Pd 0.46.7 you have [netsend -b].
It allows you to send a string in 'binary' mode (you don't need anymore
to use the FUDI protocol used by netsend before).

Then, something like :

[list add file.mp4(
|
[l2s] <- from zexy library (there is vanilla solution for this)
|
[list fromsymbol]
|
[list append 10]
|
[list prepend send]
|
[list trim]
|
[netsend -b]

should work.
++

Jack



Le 06/05/2016 14:45, Mario Mey a écrit :

Hi, there. I'm trying to use PureData 0.46.7 to control VLC. Based on a
patch in https://github.com/mxa/AudioVideoPatches, that uses Python code
(pyext) to send TCP messages, I want to use [netsend] to send them,
without Python.

I start VLC with:

vlc -I rc --rc-host=localhost:1234

And, in Pd:

[connect localhost 1234(
|
|  [list add file.mp4(
|  [list prepend send]
|  [list trim]
| /
[netsend]

The connection is well done, but I discovered that the messages arrives
with a ";" at the end of the message. For example, when I click on [list
add file.mp4(, VLC says (sorry for the language):

[0x7f387c0044a8] filesystem access error: cannot open file
/home/mario/file.mp4; (No such file or directory)
[0x7f387c0044a8] main access error: Falló lectura de archivo
[0x7f387c0044a8] main access error: VLC no pudo abrir el archivo
«/home/mario/file.mp4;» (No such file or directory).
[0x7f3888005ac8] main input error: open of
`file:///home/mario/file.mp4%3B' failed
[0x7f3888005ac8] main input error: Su entrada no puede abrirse
[0x7f3888005ac8] main input error: VLC es incapaz de abrir el MRL
«file:///home/mario/file.mp4%3B». Vea el registro para más detalles.

Also, I use a simple Python script (Server code in
https://wiki.python.org/moin/TcpCommunication) to receive this messages
and, when it does, it prints:

received data: b'add file.mp4;\n'

Ssome guys from #dataflow told me that the best workaround is to make a
small program/app/script that strips semicolons. Yes, now I'm writing
it... but I would not need another program to do this.

I've never reported a Pd bug. I'm writing this mail to you to know about
this (maybe it is not necessary to report it)... and maybe someone knows
another workaround.

Thank you.

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


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


#N canvas 767 95 972 377 10;
#X obj 20 267 sys_gui;
#X obj 20 288 print;
#X obj 20 246 r SYS_GUI;
#X obj 16 181 s SYS_GUI;
#X text 16 317 patko2015;
#X text 24 123 launch VLC with GUI;
#X obj 639 118 openpanel;
#X obj 639 101 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 11 228 tcl interpreter;
#X msg 639 139 add \$1;
#X obj 247 210 r vlc-server;
#X obj 227 277 t b a;
#X obj 260 299 s SYS_GUI;
#X msg 194 276 set;
#X obj 227 208 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 28 140 set pid [exec vlc -I rc &] \, pdsend [list vlc-server
$pid], f 31;
#X msg 279 278 puts 'test';
#X msg 723 141 play;
#X msg 756 162 pause;
#N canvas 198 119 565 442 tcpServer 0;
#X obj 48 174 tcpclient;
#X obj 88 200 tgl 15 0 empty empty connected 18 7 0 8 -24198 -13381
-1 1 1;
#X text 119 173 tcpclient opens a tcp socket to send and receive bytes
on;
#X floatatom 223 270 9 0 0 0 - - -, f 9;
#X floatatom 273 244 9 0 0 0 - - -, f 9;
#X text 342 243 Size of the send buffer;
#X obj 223 194 route sent buf blocked;
#X text 293 269 Number of bytes sent;
#X obj 323 220 print sender_blocked!;
#X obj 68 226 unpack 0 0 0 0;
#X floatatom 68 249 3 0 0 0 - - -, f 3;
#X floatatom 99 249 3 0 0 0 - - -, f 3;
#X floatatom 131 249 3 0 0 0 - - -, f 3;
#X floatatom 163 249 3 0 0 0 - - -, f 3;
#X text 28 248 from;
#X text 99 300 Received messages are output as a list of bytes;
#X text 174 329 Attempting to print long messages can hang Pd!;
#X obj 137 99 any2string 0 -1;
#X msg 155 55 disconnect;
#X obj 49 4 inlet;
#X obj 49 26 t a b;
#X obj 128 19 inlet;
#X obj 49 403 outlet;
#X obj 135 120 list append 13 10;
#X obj 49 331 bytes2any 128 32;
#X obj 139 388 spigot;
#X obj 137 411 print >>>;
#X obj 188 384 tgl 15 0 empty empty print 18 7 0 8 -24198 -13381 -1
1 1;
#X obj 131 353 bytes2any 128 0;
#X connect 0 0 24 0;
#X connect 0 0 28 0;
#X connect 0 1 9 0;
#X connect 0 2 1 0;
#X connect 0 3 6 0;
#X connect 6 0 3 0;
#X connect 6 1 4 0;
#X connect 6 2 8 0;
#X connect 9 0 10 0;
#X connect 9 1 11 0;
#X connect 9 2 12 0;
#X connect 9 3 13 0;
#X connect 17 0 23 0;
#X connect 18 0 0 0;
#X connect 19 0 20 0;
#X connect 20 0 17 0;
#X connect 21 0 0 0;
#X connect 23 0 0 0;
#X connect 24 0 22 0;
#X connect 25 0 26 0;
#X connect 27 0 25 1;
#X connect 28 0 25 0;
#

  1   2   >