Re: [PD] [PD-announce] New versions of [command], [jackpatch], [mp3cast~] on Deken

2023-01-07 Thread jack
Thank you Roman for the work, especially for [mp3cast~] !
++

Jack



Le vendredi 06 janvier 2023 à 20:41 +0100, Roman Haefeli a écrit :
> Hey all
> 
> The following new or updated externals are available on Deken:
> 
>  * command v0.4
>    * add 'env' method to set environment variables
>    * add '-s' flag for synchronous (blocking) mode of operation
> 
>  * jackpatch v0.2
>    * forked from jackx
>    * manages and queries jack connections
> 
>  * mp3cast~ v0.6
>    * add 'timeout' method for limiting connection time
>    * add 'icy-title' method for updating Icecast2 song title
> 
> Supported platforms:
>   * Darwin-amd64-32
>   * Linux-aarch64-32
>   * Linux-amd64-32
>   * Linux-armv7-32
>   * Linux-i386-32
>   * Windows-amd64-32 (not command)
>   * Windows-i386-32  (not command)
> 
> Comes later:
>    * Darwin-arm64-32
>    (when I get access to an M1 MacBook again. If someone else wants
> to
> jump in, feel free)
> 
> 
> Roman
>  
> 
> ___
> 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



signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] mp3cast~ oggcast~ and alternatives

2022-11-28 Thread jack
Hi Roman,

Nice to see that you are involved in maintening [mp3cast~].
I opened the two issues on Github.

Thank you for your icecast_update_song abstraction, i will try it soon.
++

Jack



Le lundi 28 novembre 2022 à 08:29 +0100, Roman Haefeli a écrit :
> On Mon, 2022-11-28 at 00:05 +0100, jack wrote:
> > 
> > 
> > Unfortunately, [mp3cast~] freeze Pd :
> > - start a stream to icecast2 server
> > - cut your network connection
> > => Pd freeze
> 
> Please open an issue at:
> https://github.com/pd-externals/mp3cast/issues
> 
> 
> > and it not allow to inject tags during stream to change the title
> > or
> > artist name during stream.
> 
> +1
> 
> Yeah, I think this would be a nice feature. Please add another issue
> about this. In the meanwhile, you can also use the following
> abstraction based on purest_json:
> 
> https://netpd.org/~roman/tmp/icecast_update_song.zip
> 
> Roman
> 
> 




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


[PD] mp3cast~ oggcast~ and alternatives

2022-11-27 Thread jack
Hello Pd list !

I was wondering if there was alternatives to [mp3cast~] or [oggcast~]
(with opus support) in Pd world ?

I can remember the existence of [pdgst] but it was working only with
Gstreamer 0.10.

Maybe, it is easy to write an external based on FFmpeg for this purpose
? But I've never done this before.

Do you have other suggestions ?

Unfortunately, [mp3cast~] freeze Pd :
- start a stream to icecast2 server
- cut your network connection
=> Pd freeze

and it not allow to inject tags during stream to change the title or
artist name during stream.
++

Jack





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


Re: [PD] a barrel of fun: deken v0.7.1

2021-03-04 Thread Jack
I just test the new deken and it looks good !
It is very nice to upgrade deken by its own with "deken-plugin".
And it is now cool to find an object or/and a library.
Only good !
++

Jack



Le 04/03/2021 à 00:55, Christof Ressi a écrit :
> Hooray! I will test when I upload my next deken packages (= in a couple
> of days).
> 
> On 03.03.2021 22:30, IOhannes m zmölnig wrote:
>> hi
>>
>> i'd like to announce the release of deken-v0.7.1
>>
>>   https://github.com/pure-data/deken/releases/v0.7.1
>>
>> the GUI-plugin can be installed via deken.
>> just go to "Help -> Find externals" and enter
>> "deken-plugin" as the search string.
>>
>> this is the version i'd like to get into the next Pd release as the
>> standard "find externals" implementation.
>> so please test :-)
>>
>>
>> what's new?
>>
>> deken-plugin ("Find externals" within Pd)
>> =
>>
>> - decide whether you want to search of libraries, objects or both
>> - select multiple packages (with right-click) and download/install
>> them at once
>> - install packages from files
>> - library sorting has improved (newer libraries sort before older
>> libraries, rather than reversed-alphabetically)
>> - (optional) drag'n'drop package files onto the dialog to install them
>> - callback to allow Pd to search for uncreatable objects (dekenception)
>> - better support for packages with externals that don't do any number
>> processing
>> - optionally keep package files after downloading them
>> - improve SHA256 verification handling
>>
>> - introduce @PD_PATH@ placeholder for the path the the current
>> Pd-instance, so you can set the installation directory to
>> @PD_PATH@/extra and installations won't interfere with each other.
>> - (optional) SHA256 verification
>> - fix close-window shortcut
>>
>> - lots more of fixes, bugs and laughs
>>
>> the features marked as "(optional)" require additional software to be
>> installed (e.g. the "tcllib" (for SHA256 verification) resp. the
>> "tkdnd" (for drag'n'drop; if you got the dropsuite plugin to work,
>> then this will work as well)
>> some of the features are not really user-visible yet, notably the one
>> labelled "(dekenception)". but this is the deken-part of the recent
>> click-broken-object-to-find-the-library demo i posted on the pd-list.
>>
>>
>> deken cmdline (create and upload packages)
>> ==
>>
>> for those of you who develop libraries and publish them via deken,
>> there's also an updated version of the `deken` cmdline utility.
>>
>>
>> - much improved generation of object lists (using the DESCRIPTION of
>> the object's help-patch)
>> - new flag to override the package name
>> - new flag to skip GPG-signing
>> - settable output dir when creating packages
>> - strip a leading "v" from the version to prevent accidental "vv1.2.3"
>> versions
>> - take dynamic libraries into account when calculating the architecture
>> - new "systemfix" command
>>
>> - new "systeminfo" command (for bugreports)
>> - new "uninstall" command to uninstall packages (or deken itself)
>> - fix password input on MSYS2
>>
>> - switch to hy-0.19/Python3
>> - binaries for macOS & Windows
>> - Docker image (registry.git.iem.at/pd/deken:v0.7.1) for use in
>> CI-systems
>> - lots of fixes, wine and bugs
>>
>>
>> ___
>> 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
> 




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


Re: [PD] Image from shader back to Gem

2021-02-15 Thread Jack
Snap a render scene as a texture, [gemframebuffer] is the way to go (for
me).
You render your scene as usual, just replace the [gemhead] with :

[gemhead]
|
[gemframebuffer]
|
[translateXYZ 0 0 -4]
|
...

hop, you can grap the scene below [translateXYZ 0 0 -4] as a texture
with the right outlet of [gemframebuffer].
++

Jack



Le 15/02/2021 à 08:39, IOhannes m zmoelnig a écrit :
> On 2/14/21 9:52 PM, Miller Puckette via Pd-list wrote:
>> I think the question is - within a shader, can you 'snap' an image to
>> a texture so that it doesn't have to go back and forth between the
>> GPU and CPU?  I'm curious too... I guess there must be a way to do
>> this...
> 
> 
> [pix_snap2tex]
> or, preferably [gemframebuffer].
> 
> gfamsdr
> 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] unicode symbols and Pd

2021-01-17 Thread Jack
Hi,

I would use :

[35(
|
[makefilename %c]
|
[C$1(
|
[;mycanvas label $1(

Don't know if there is a method to do it directly in the setup box.
++

Jack




Le 17/01/2021 à 09:37, Ingo a écrit :
> Not really a unicode thing but if I send [C#( to a canvas I get [C$(.
> How can I get the # to be displayed in the canvas?
> 
> Unicode symbols would be great to have, though.
> This would definitely simplify naming pitches / notes.
> 
> Ingo
> 
> 
> 
> From: Pd-list [mailto:pd-list-boun...@lists.iem.at] On Behalf Of Alexandre 
> Torres Porres
> Sent: Sunday, January 17, 2021 3:19 AM
> To: Pd-List
> Subject: [PD] unicode symbols and Pd
> 
> Hi, I'm working on an abstraction that converts MIDI pitches to note name 
> symbols, such as "C?"
> 
> At first I was using lame symbols like "#" and "b" for sharp/flat, but I then 
> tried the unicode symbols and it works nice on my patch. The thing is I wanna 
> share this abstraction as part of my library and I'm not sure it'll work 
> everywhere. For reference, here's the sharp unicode character 
> compart.com/en/unicode/U+266F - in [list fromsymbol], this character gives me 
> "226 153 175".
> 
> In fact I'm even able to use double sharps (??) and double flast (??). I 
> guess 
> I can use "lame" symbols for these also, like "x" and "bb", but it's nice if 
> we have support for these symbols.
> 
> Now, at this page => https://www.alt-codes.net/music_note_alt_codes.php I see 
> just a few of the music symbols (far from all). The rest are just empty 
> squares... and I wonder then if some of you are seeing those squares here 
> instead of the sharp/flat symbols.
> 
> So, I'm on macOS mojave, I never installed fonts here...
> 
> Anyway, so, I wonder what's the deal with unicode characters in general, how 
> do they show up or not, and if and how we can know if Pd will display them.
> 
> 
> 
> 
> 
> ___
> 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] Gem/[pix_image] not loading images due to umlauts

2020-11-27 Thread Jack
Impossible ! the maintainer of Gem is Austrian :)
++

Jack



Le 27/11/2020 à 18:41, p...@mails.eu a écrit :
> ­­­Hey list!
>
> I was wondering why [pix_image] couldn't find / load my files
> (disregarding size / type).
> It seems this error only occurs when using an umlaut (ä, ö, ü) in the
> folder-structure of the patch-location.
>
> Is this a known issue?
>
> I use the latest pd 0.51.3 and Gem 0.94, on Win10-64bit.
>
>
> Cheers -
> Minion
>
> ___
> 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] help on bash script

2020-11-09 Thread Jack
Here a bash script I used to use. You can adapt it for your needs :

#!/bin/bash
chemin1=$(dirname "$0")/PH.pd
sudo etherwake C8:60:00:2D:48:50
sleep 1
pd -nosleep -noaudio -alsamidi -midiindev 0,1 -midioutdev 0 -open $chemin1 &
sleep 1
KA=$(aconnect -i | grep "Pure Data")
while [ "$KA" = "" ]
do
sleep 1
KA=$(aconnect -i | grep "Pure Data")
done
aconnect 'Pure Data':2 'UM-1':0
sleep 1
aconnect 'UM-1':0 'Pure Data':0
sleep 1
aconnect 'nanoKONTROL':0 'Pure Data':1
echo "//Done.//"

++

Jack


Le 09/11/2020 à 13:25, Roman Haefeli a écrit :
> On Mon, 2020-11-09 at 12:54 +0100, Jakob Laue wrote:
>> Hey friends,
>> i have a raspberry pi that executes a bash script on startup. Inside
>> this bash script I want two things to happen.
>> 1) start my pd patch
>> 2) connect my launchpad mini (connected via usb) to pd using the
>> aconnect-command
>>  
>>  
>> ..i think i have to use aconnect because in pd itself i only see alsa
>> midi as a midi device. 
>>  
>>  
>> At the moment, my bash script only looks like this:
>>  
>> #!/bin/bash
>>
>> sudo /usr/local/bin/pd -nogui -rt -open
>> /home/pi/Documents/RSP/RSP/myPatch.pd
>>
>> aconnect 'Pure Data':1 'Launchpad Mini':0
>>
>> aconnect 'Launchpad Mini':0 'Pure Data':0
>>
>>  
>>
>> The problem is that the aconnect-commands seem to be not executed or
>> executed too early because the virtual midi connections are not made.
>>
>> The aconnect-commands have to be done after pd is started, so how
>> could I change the script to wait until pd is done loading?
> 
> 
> Poor man's solution:
> 
>   put a 'sleep 5' after starting Pd.
> 
> A slightly more advanced way:
> 
>   while ! aconnect --list | grep "Pure Data"; do sleep 0.1;
> 
>   Put that after firing up Pd. It continues only after "Pure Data"
>   appears in the list of available MIDI ports.
> 
> Roman
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] Pass arg to Pd via terminal - Test Suite

2020-06-08 Thread Jack
However, cool to have tests in Pd ;)
For the name : Pure DAT (Pure Data Auto Tests).
Too close to Pure Data ? Sure !
++

Jacj



Le 08/06/2020 à 17:55, Jack a écrit :
> For french people, after "pd", we have "pedant" :D
> I love !
> https://en.wiktionary.org/wiki/p%C3%A9dant
> ++
> 
> Jack
> 
> 
> 
> Le 08/06/2020 à 17:40, Christof Ressi a écrit :
>> Big thumps up for test suits! BTW, IOhannes has already been working on
>> a testing framework for Pd: https://git.iem.at/pd/pedant
>>
>> Christof
>>
>> On 08.06.2020 17:34, Mario Buoninfante wrote:
>>> Yap, in the end I put a [receive] in the patch as a workaround.
>>> I'll open a ticket on github then, I suppose this could be useful.
>>>
>>> Just to give you a bit more context here, the reason why I'm asking
>>> for this is because I'm prototyping a test suite for Pd - ie for
>>> "continuous integration' or simply for testing new features.
>>> I wanted to contribute a bit more to the cause and since this seems to
>>> be something we're missing atm, I thought I could spend some time on this.
>>> It would be great to have some scripts in place that allow us to check
>>> new and old features, to make sure things work fine on different OSs
>>> and machines and that we haven't broken anything while working on a
>>> new feature.
>>> As a starting point we could have Pd users running the suite on their
>>> machine and share the logs/results.
>>> I'm prototyping something simple in Lua simple, that shouldn't require
>>> too much effort in terms of maintenance.
>>>
>>> I'll open a ticket on github and share more details there.
>>>
>>> Please, let me know if you have any thoughts/suggestions/questions.
>>>
>>> Cheers,
>>> Mario
>>>
>>>
>>> ___
>>> 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] Pass arg to Pd via terminal - Test Suite

2020-06-08 Thread Jack
For french people, after "pd", we have "pedant" :D
I love !
https://en.wiktionary.org/wiki/p%C3%A9dant
++

Jack



Le 08/06/2020 à 17:40, Christof Ressi a écrit :
> Big thumps up for test suits! BTW, IOhannes has already been working on
> a testing framework for Pd: https://git.iem.at/pd/pedant
> 
> Christof
> 
> On 08.06.2020 17:34, Mario Buoninfante wrote:
>> Yap, in the end I put a [receive] in the patch as a workaround.
>> I'll open a ticket on github then, I suppose this could be useful.
>>
>> Just to give you a bit more context here, the reason why I'm asking
>> for this is because I'm prototyping a test suite for Pd - ie for
>> "continuous integration' or simply for testing new features.
>> I wanted to contribute a bit more to the cause and since this seems to
>> be something we're missing atm, I thought I could spend some time on this.
>> It would be great to have some scripts in place that allow us to check
>> new and old features, to make sure things work fine on different OSs
>> and machines and that we haven't broken anything while working on a
>> new feature.
>> As a starting point we could have Pd users running the suite on their
>> machine and share the logs/results.
>> I'm prototyping something simple in Lua simple, that shouldn't require
>> too much effort in terms of maintenance.
>>
>> I'll open a ticket on github and share more details there.
>>
>> Please, let me know if you have any thoughts/suggestions/questions.
>>
>> Cheers,
>> Mario
>>
>>
>> ___
>> 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] Pass arg to Pd via terminal

2020-06-08 Thread Jack
Hello Mario,

If you do :
$ pd --help

you should get a line with :
-send "msg..."   -- send a message at startup, after patches are loaded

++

Jack



Le 08/06/2020 à 14:32, Mario Buoninfante a écrit :
> Hi,
> 
> Is it possible to pass arguments to Pd via terminal?
> I know we don't have [stdin], but I was wondering if there is any other way.
> 
> Cheers,
> Mario
> 
> ___
> 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] [PD-announce] Pd 0.51-0 test 1 released

2020-05-29 Thread Jack
Hello list,

Thanks Miller and all other people involved for this new release !
++

Jack



Le 28/05/2020 à 22:08, Miller Puckette via Pd-announce a écrit :
> To Pd-announce:
> 
> Pd version 0.51-0test1 is available on http://msp.ucsd.edu/software.htm
> or (source only) via github: https://github.com/pure-data/pure-data
> 
> The "older machine" compile targets aren't ready yet, just 64-bit ones for
> OSes less than 10 or 15 years old.
> 
> 
> 
> ___
> 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] expression with arctn

2020-02-02 Thread Jack
Hello,

You can look at :
http://yadegari.org/expr/expr.html
++

Jack



Le 02/02/2020 à 20:18, Csaba Láng a écrit :
> Dear list,
> 
> how would you calculate with an expression this formula:
> 
> arctg(y/x)
> 
> 
> looks like tan, sin, cos cannot be in the expression, does it mean I
> have to brake it into parts?
> 
> 
> Best,
> 
> 
> Popesz
> 
> 
> ___
> 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] Symbol delay

2019-11-27 Thread Jack
Hello,

[pipe s 2000] for example ?
++

Jack



Le 27/11/2019 à 22:11, Csaba Láng a écrit :
> Dearest list,
> 
> is there a way to delay a symbol like pipe does with number?
> 
> Best,
> Popesz
> 
> ___
> 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] PD/Gem 4k movie

2019-09-19 Thread Jack
Hello,

Antoine Villeret has developed gem-mvp :



Hi,

I wrote an object based on gemframbuffer that uses libmpv
(https://mpv.io/) to decode a video file and output it directly to a
texture.
This circumvent the bottleneck of uploading the pixes to the GPU and
provides a wide range of codecs to Gem (if MPV can play your video, then
gem-mpv can too).
This have been successfully tested with 4K HAP video on Linux.
It also supports video with alpha channel.

The source code is here : https://github.com/avilleret/gem-mpv
The build system is CMake, there is no binary release.
Follow the Readme to build it.
It has been only tested on Linux for now.

Inside, it's more or less a wrapper around libmpv, that means every
properties and commands should be supported but only few have been
tested yet.
Some are documented in the help file, for the others, please refer to
libmpv help : https://mpv.io/manual/stable/

Best regards

Antoine



++

Jack



Le 19/09/2019 à 13:50, Markus Brandt a écrit :
> Hello!
> 
> Did anybody had sucsess to play back a 4k Video in PD/Gem? I am
> struggeling getting it fluently to run.
> 
> The Maschine I am working with is an eight core Intel Prozessor, 4 GHz
> and nvidia graca GTX 1070 in win10.
> 
> I installed k-lite codec pack and it seems, that either pix_film nor
> pix_movie is using the graca. CPU is at 98% GPU at 0%
> 
> Vlc does work nice. We tried mp4 and mov.
> 
> Any help appreciated. Thanks in advance
> 
> Markus.
> 
> 
> ___
> 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] [PD-announce] 0.50-0 released

2019-08-20 Thread Jack
Hi IOhannes,

Le 20/08/2019 à 15:24, IOhannes m zmölnig a écrit :
> On 8/20/19 3:11 PM, Jack wrote:
>> Hi Miller,
>>
>> The shortcut (CTRL+K) still doesn't work to "Disconnect Selection" (in
>> the menu Edit).
>> Maybe I missed something ?
>>
>> - Selecting 2 connected [t b] => "Disconnect Selection" doesn't work
>> - Selecting the thread of 2 connected [t b] => "Disconnect Selection"
>> doesn't work
> 
> 
> this never worked (that is: 0.50 has the same behaviour as 0.49, so
> there is no regression)
> 
> Currently the Ctrl+k shortcut should disconnect
> all connections of a single selected object. This it does.

OK, i got it !

> 
> Selecting a single patchcord and disconnecting the two objects can be
> simply done with the Del key.

Sure.

> But there is probably little harm done, if Ctrl+k
> would *also* handle this case.

Yes.

> 
> Selecting two connected objects is a bit more tricky: what would you
> expect the shortcut to do?
> 
> something as simple as `[t f] -> [t f]` is *probably* easy: remove
> connection between the two objects. (so you get `[t f]   [t f]`)

Yes, it is what I expected.

> But what if you have:
> `[f]->[t f]->[t f]->[print]` and you select the two `[t f]` objects.
> The current behaviour (when only a single object is selected), would
> suggest to remove any connection going in/out of the selection (rather
> than inside the selection), so you end up with:
> `[f]  [t f]->[t f]  [print]`
> other people might expect `[f]->[t f]  [t f]->[print]`

and you can also expect :
`[f]  [t f]  [t f] [print]`

> 
> and what if you have a loop?
> ~~~
> +>[t f]-+
> |   |
> +-[t f]<+
> ~~~

But yes, these cases are good examples to prove that the usage is not
easy to handle.

> 
> 
> so the current behaviour is intentional.
> unless/until you can come up with a convincingly consistent behaviour,
> that is easy to remember :-)

Maybe, by using 2 shortcuts :
CTRL+K : Connect two objects
CTRL+SHIFT+K : Disconnect object
++

Jack


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




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


Re: [PD] [PD-announce] pd 0.50-0 test1 released

2019-08-09 Thread Jack
One bug found :
=> Edit / Disconnect Selection

Do not disconnect to objects connected (Otherwise "Connect Selection"
works).

Less intelligent patching works fine too.
++

Jack



Le 09/08/2019 à 12:38, Jack a écrit :
> Hello Miller,
> 
> Thank you for this new version !
> Tested on Ubuntu 18.04.3 LTS with Test audio and MIDI and with Gem ver:
> 0.94.git v0.94-29-g01b1861d.
> All seems OK.
> ++
> 
> Jack
> 
> 
> 
> Le 09/08/2019 à 02:09, Miller Puckette a écrit :
>> To Pd-announce:
>>
>> Pd version 0.50-0test1 is available on http://msp.ucsd.edu/software.htm
>> or (source only) via github: https://github.com/pure-data/pure-data
>>
>> I'm hoping to be able to put out a "stable" release in a week.
>>
>> cheers
>> Miller
>>
>>
>>
>> ___
>> 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
> 




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


Re: [PD] [PD-announce] pd 0.50-0 test1 released

2019-08-09 Thread Jack
Hello Miller,

Thank you for this new version !
Tested on Ubuntu 18.04.3 LTS with Test audio and MIDI and with Gem ver:
0.94.git v0.94-29-g01b1861d.
All seems OK.
++

Jack



Le 09/08/2019 à 02:09, Miller Puckette a écrit :
> To Pd-announce:
> 
> Pd version 0.50-0test1 is available on http://msp.ucsd.edu/software.htm
> or (source only) via github: https://github.com/pure-data/pure-data
> 
> I'm hoping to be able to put out a "stable" release in a week.
> 
> cheers
> Miller
> 
> 
> 
> ___
> 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] fish eye camera distortion correction

2019-07-17 Thread Jack
Sure, use a framebuffer with [gemframebuffer] to capture offscreen your
scene.
The problem is to send back your texture produce by [gemframebuffer] in
pix_ domain to use [pix_movement] and [pix_multiblob], fortunately there
is [pix_snap] for this (this process is quite slow, it depends on your
hardware).
Look at :
Help => Gem => examples => 04.pix/ => 26.framebuffer_readback.pd
to see how to use it.

A note, instead off [curve3d] it is also possible to use shaders (on
fragment) to do the correction of the lens distorsion.
++

Jack



Le 17/07/2019 à 20:36, Csaba Láng a écrit :
> Looks good, but now a bigger problem came up.
> 
> My aim is to correct the fish eye distortion for pix_movement and
> pix_multiblob analyses.
> Which means first I have to make the curve3d correction and then use
> those pixels in pix_multiblob.
> Is it possible?
> 
> On Wed, Jul 17, 2019 at 8:16 PM Johnny Mauser
> mailto:joson.andr...@googlemail.com>> wrote:
> 
> Maybe gems [curve3d]? 
> 
> Csaba Láng mailto:langcs...@gmail.com>>
> schrieb am Mi., 17. Juli 2019, 20:10:
> 
> Hi list,
> is there an easy way to correct fish eye camera image distortion?
> I think if a vortex kind of tool.
> Best,
> Popesz
> ___
> Pd-list@lists.iem.at <mailto: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] less intelligent patching for Pd

2019-06-05 Thread Jack
Great job !
I really like the the fan out! ... but not for messages :)
++

Jack



Le 05/06/2019 à 16:08, IOhannes m zmoelnig a écrit :
> an early summer update...
> 
> TL;DR: https://vimeo.com/showcase/5289665/video/340437816
> 
> based on the feedback we got for the "intelligent patching" features
> introduced with Pd-0.49, i've create a new pull-request [575], that
> might make patching even easier.
> 
> the most important part is probably, that the intelligent
> multi-connections we have learned to love in no time, will now only
> happen if you press the -key while doing the connection.
> this basically means, that you can now connect a single object with
> another single object, even if they happen to be in a selection group.
> 
> or put otherwise: hopefully this will prevent "intelligent patching"
> from stepping on your toes.
> 
> 
> there's also a few bugs fixed:
> - no more crashes after triggerizing
> - inserting an object into a "non-leftmost connection" (that is: a
> connection that involves inlets or outlets that are not on the left-hand
> side) now works (in the case of -k) resp. puts the newly created
> object in the right place (in the case of -t, aka triggerize)
> 
> it also fixes a few oddities where "Duplicate" resp. "Saving
> abstractions" would not play well with "Copy" (the "Duplicate"
> resp "Save" actions used to overwrite the "Copy"-buffer; now you can
> duplicate at will, and still recall your old "Copy"-buffer)
> 
> there's a few little cuties, like:
> - pressing  to deselect everything
> - pressing  to cycle the selection of a single object (or line)
> - repeatedly pressing -k to connect a single-outlet signal object
> with a multi-inlet object, will now create a nice fan~out.
> 
> when inserting an object into a connection with -T (triggerize),
> the newly created object is now selected immediately, so you can
> immediately start typing to replace the dummy object (or just press
>  is you don't want to)
> 
> finally, you can now cycle outlets or inlets with the  *while
> connecting*.
> Cycling inlets is only active if you hover over an object to connect to
> (if not, you cycle the outlets of the source).
> Cycling inlets doesn't work on OSX.
> 
> 
> fgsdm,r
> IOhannes
> 
> [575] https://github.com/pure-data/pure-data/pull/575
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread Jack
Good news for Mac users !
++

Jack



Le 06/03/2019 à 16:52, Csaba Láng a écrit :
> Dear Iohannes, dear list,
> 
> I compiled the latest Gem on Mac os X Mojave with success, and wanted to
> confirm, that in the new 64-bit version built-in webcam works again,
> pix_image, pix_video and pix_film renders the image as never before.
> Happy to get all these functions back, and have a new feeling of Gem
> after 14 years!
> 
> Thank you for all your good efforts! 
> 
> Best,
> 
> Popesz
> 
> ___
> 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] Displaying text

2019-02-01 Thread Jack
Hello Martin,

Did you see the help about canvas ?
Insie, there is methods to change text and move this canvas in the patch
: "pos" and "label".
++

Jack



Le 01/02/2019 à 15:05, Martin Dupras a écrit :
> I'll be brief.
> 
> I need to be able to display musical performance instructions to several
> performers at once (each with their own laptop, say) in an easy to
> deploy and reasonably robust way. Text only, or static images only, or
> both would be acceptable. It would be bonus to be able to move the text
> around the screen, too. 
> 
> Any suggestions that do not involve Gem? 
> 
> Thanks,
> 
> - martin
> 
> ___
> 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] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread Jack
Hey Johannes,

I guess you mean [list fromsymbol] to convert symbols to their
byte-representation ? ;)
++

Jack



Le 24/01/2019 à 18:07, IOhannes m zmölnig a écrit :
> On 1/24/19 5:33 PM, RT wrote:
>> I'm trying to turn on and off a device using Pd by sending a URL. At the
>> moment to turn the device on I just type in a url in the browser and to
>> turn it off I type in another one url .
>> To turn the device on I send http://192.168.1.123/relay/0/?turn=on
>> To turn the device off I send http://192.168.1.123/relay/0/?turn=off
>>
>> I can connect to the device using *connect* and *netsend* but I couldn't
>> find an example / correct syntax / format on how to send the required url
>> out of Pd.
>>
>> This is what I'm using below
>>
>> #N canvas 162 516 623 513 10;
>> #X msg 535 750 \; pd dsp 1;
>> #X obj 536 724 loadbang;
>> #X obj 248 207 netsend;
>> #X msg 272 110 disconnect;
>> #X floatatom 218 272 0 0 0 0 - - -;
>> #X obj 280 275 print;
>> #X msg 403 171 send /relay/0/?turn=off;
>> #X msg 404 136 send /relay/0/?turn=on;
> 
> that won't work.
> when using [send ...(, Pd will use FUDI [1] at the application layer.
> but you want to communicate with a webserver, so you need to use HTTP as
> the application layer protocol.
> the *actual* string (in HTTP) you want to send is something like:
> 
> ~~~
> GET /relay/0/?turn=off HTTP/1.0
> 
> ~~~
> 
> you can use [netsend] to send raw bytes (using the "-b" mode).
> you also can use [list totext] to convert symbols to their
> byte-representation (translating the characters to ASCII).
> since [list totext] only takes single symbols (and not entire messages),
> an even easier way would be to use [fudiformat], which will convert a
> message into it's FUDI representation (with trailing semicolon, and
> everything). just strip of the unwanted characters (the trailing
> semicolon), and append proper CRLF terminators and you should be done.
> 
> something like:
> 
> |
> [symbol on]
> |
> [GET /relay/0/?turn=$1 HTTP/1.0(
> |
> [fudiformat]
> |
> [t   ll]
> |  [list length]
> |  [- 2]
> [list split]
> |
> [list append 13 10 13 10]
> |
> [list prepend send]
> |
> [list trim]
> |
> [netsend -b]
> 
> fgmadsr
> IOhannes
> 
> 
> [1] https://en.wikipedia.org/wiki/FUDI
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] webcam to pix_video with VLC plugin on Mac OS X

2018-11-22 Thread Jack
Good to know ! Should be useful for OSX users.
Thanx.
++

Jack



Le 22/11/2018 à 16:27, Csaba Láng a écrit :
> Just to make for others easier in the future, managed to have a video
> input from a webcam into Gem on Mac OS X 10.14 with the VLC plugin,
> which I admire very much :)
> 
> Opened vlc first and added a Capture Device, which opened immediately
> the webcam with a tytle of the window on the
> top: qtcapture://0x1410043e3009.
> So sent a message to pix_vlc: device qtcapture://0x1410043e3009 and
> tadam there is the live input from the webcam.
> 
> What is even better that I can use the same stream twice, once to VLC
> and simultaneously into Pd as well.
> 
> 
> Thanks for all the info you gave,  that is why I love this community!
> 
> Best,
> Popesz
> 
> On Thu, Nov 22, 2018 at 4:17 PM Csaba Láng  <mailto:langcs...@gmail.com>> wrote:
> 
> Perfect, thanks Jack, was looking for this page just could not find
> in the deep noise on the mighty internet!
> 
> 
> 
> On Thu, Nov 22, 2018 at 4:15 PM Jack  <mailto:j...@rybn.org>> wrote:
> 
> To use VLC backend with [pix_video] :
> - send [driver vlc(
> - then send a message [device ...(
> 
> where ... are instructions to use this backend. Explainations
> are here :
> https://wiki.videolan.org/VLC_command-line_help
> 
> For exemple to capture your screen, you can send [device screen://(
> ++
> 
> Jack
> 
> 
> 
> Le 22/11/2018 à 15:51, Csaba Láng a écrit :
> > Dear List,
> >
> > I am still looking for a reasonable solution to have a video
> input to
> > Mac OS X with Gem.
> >
> > I was testing syphon_client, works almost OK, except that
> could not make
> > any motion detector out of it, no pix_background works with
> it, cannot
> > change contrast, threshold, basically nothing.
> >
> > Just came to my mind the VLC plugin, which I have compiled
> luckily, but
> > the documentation is so poor to the VLC plugin that cannot
> find a way to
> > get a video device with one message into it.
> >
> > Can anyone give me a nice hint to use the vlc plugin with a
> USB webcam
> > connected directly to the computer? What is the message to use?
> >
> > Thanks in advance for any help!
> >
> > Popesz 
> >
> > ___
> > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
> > UNSUBSCRIBE and account-management ->
> 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
> 
> 
> ___
> 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] webcam to pix_video with VLC plugin on Mac OS X

2018-11-22 Thread Jack
To use VLC backend with [pix_video] :
- send [driver vlc(
- then send a message [device ...(

where ... are instructions to use this backend. Explainations are here :
https://wiki.videolan.org/VLC_command-line_help

For exemple to capture your screen, you can send [device screen://(
++

Jack



Le 22/11/2018 à 15:51, Csaba Láng a écrit :
> Dear List,
> 
> I am still looking for a reasonable solution to have a video input to
> Mac OS X with Gem.
> 
> I was testing syphon_client, works almost OK, except that could not make
> any motion detector out of it, no pix_background works with it, cannot
> change contrast, threshold, basically nothing.
> 
> Just came to my mind the VLC plugin, which I have compiled luckily, but
> the documentation is so poor to the VLC plugin that cannot find a way to
> get a video device with one message into it.
> 
> Can anyone give me a nice hint to use the vlc plugin with a USB webcam
> connected directly to the computer? What is the message to use?
> 
> Thanks in advance for any help!
> 
> Popesz 
> 
> ___
> 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] [PD-announce] Ofelia 2.0 released!

2018-11-21 Thread Jack
A comment :
closing the patch examples/video/asciiVideoExample/main.pd doesn't close
the camera properly.
++

Jack



Le 21/11/2018 à 14:39, Jack a écrit :
> Hello Zack,
> 
> Congratulation !
> I tested all exemples and they just work fine on my Ubuntu 18.04
> (downloaded through Deken).
> I really like the possibility to use patching and coding in Ofelia, and
> this, directly in Pd.
> I would have preferred Python as programming language, but i understand
> the choice of Lua ! ;)
> Bravo !
> ++
> 
> Jack
> 
> 
> 
> 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 between 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
> 




___
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 Jack
Hello Zack,

Congratulation !
I tested all exemples and they just work fine on my Ubuntu 18.04
(downloaded through Deken).
I really like the possibility to use patching and coding in Ofelia, and
this, directly in Pd.
I would have preferred Python as programming language, but i understand
the choice of Lua ! ;)
Bravo !
++

Jack



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 between 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] gembang couldn't create

2018-11-20 Thread Jack
Maybe, it is an abstraction ?
Regarding the name, it could be something like that :

[gemhead 1]
|
[t b]
|
[outlet]

++

Jack


Le 20/11/2018 à 13:52, Csaba Láng a écrit :
> Yes, had the same feeling. I found it in syphon_client.pd.
> Still looking for a Mac OS workaround on the missing pix_video object,
> and thought a good idea to have a video input to puredata via syphon.
> 
> Popesz
> 
> On Tue, Nov 20, 2018 at 1:48 PM Jack  <mailto:j...@rybn.org>> wrote:
> 
> Hmm, never heard about [gembang].
> I guess it is not from Gem library, so which library does it come from ?
> ++
> 
> Jack
> 
> 
> 
> Le 20/11/2018 à 13:04, Csaba Láng a écrit :
> > Dear list,
> >
> > can someone explain me what is a gembang? I added to gem syphonclient
> > where gembang is added but never managed to find a solution.
> > Is it just a loadbang?
> >
> > Thanks for any hints.
> >
> > Popesz
> >
> > ___
> > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
> > UNSUBSCRIBE and account-management ->
> 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
> 
> 
> ___
> 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] gembang couldn't create

2018-11-20 Thread Jack
Hmm, never heard about [gembang].
I guess it is not from Gem library, so which library does it come from ?
++

Jack



Le 20/11/2018 à 13:04, Csaba Láng a écrit :
> Dear list,
> 
> can someone explain me what is a gembang? I added to gem syphonclient
> where gembang is added but never managed to find a solution.
> Is it just a loadbang?
> 
> Thanks for any hints.
> 
> Popesz
> 
> ___
> 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] Gem, v4l2loopback and Gstreamer 1.0 (was Re: NDI for Gem)

2018-11-14 Thread Jack
I just tested it on Ubuntu 18.04 and the answer is : Yes, v4l2loopback
is working with Gstreamer 1.0 !

In a terminal :
$ sudo modprobe v4l2loopback
$ gst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video0

then, in Pd with Gem, using [pix_video] do the job.
Superb !
++

Jack



Le 13/11/2018 à 19:05, Jack a écrit :
> Le 13/11/2018 à 18:58, IOhannes m zmölnig a écrit :
>> On 11/13/18 6:36 PM, Bastiaan van den Berg wrote:
>>> I'd so much love a faster/better way for video-accross-network-from-PD
>>> (from linux) then pdp_netsend and friends :D
>>
>> i've always been using v4l2loopback and gstreamer for such kind of things.
> 
> A question about this :
> v4l2loopback works with gstreamer 1.0 ?
> ++
> 
> Jack
> 
> 
>>
>> gfmdsar
>> 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
> 




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


Re: [PD] NDI for Gem

2018-11-13 Thread Jack
Le 13/11/2018 à 18:58, IOhannes m zmölnig a écrit :
> On 11/13/18 6:36 PM, Bastiaan van den Berg wrote:
>> I'd so much love a faster/better way for video-accross-network-from-PD
>> (from linux) then pdp_netsend and friends :D
> 
> i've always been using v4l2loopback and gstreamer for such kind of things.

A question about this :
v4l2loopback works with gstreamer 1.0 ?
++

Jack


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




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


Re: [PD] render method

2018-10-19 Thread Jack
Hello,

Take a look at the help patch about "gemwin" object and especially about
"buffering". Sending the message "buffer 1" to [gemwin] and a bang to
[gemhead] to render a chain might interest you.
An other approach is to use 2 [gemframebuffer]s to create feedback.
++

Jack



Le 20/10/2018 à 02:33, ray Y a écrit :
> Hello all:
> Does anybody know if there is a method in gems to render things without
> erasing the previous frame?
> 
> for example lets say i want to have rectangles draw in gemwin, each
> render erases the previous draw,
> 
> how can i keep each instance on screen? i'm trying to make kind of like
> a feedback effect!
> 
> thanks
> r.y
> 
> 
> 
> ___
> 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] [PD-announce] Pd 0.49-0 released

2018-09-26 Thread Jack
Yes ! thanks for everyone involved to bring us this new version of Pd.
++

Jack



Le 26/09/2018 à 13:34, Roman Haefeli a écrit :
> On Mon, 2018-09-24 at 20:56 -0700, Miller Puckette wrote:
>> At long last...
>>
>> Pd version 0.49-0 is available on http://msp.ucsd.edu/software.htm
>> or (source only) via github: https://github.com/pure-data/pure-data
> 
> Cool. A  big 'thank you!' to everyone involved. All the work that went
> into this release is very much appreciated.
> 
> Roman
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] error compiling Gem on ubuntu 17.10

2018-08-06 Thread Jack
Hello,

you can try with (and solve later this issue). I don't if it will help... :
$ ./configure --without-ftgl
++

Jack



Le 06/08/2018 à 19:12, Csaba Láng a écrit :
> Dear list,
> i try to compile on a freshly installed system Gem from
> https://github.com/umlaeute/Gem
> Hopefully this is the latest version what is available online.
> 
> Anyway after congigure I have this output:
> 
>  used optional libraries:
> 
>   font-rendering : FTGL
>  default font    :
> 
>   image-support
>     use ImageMagick  : no
>     use QuickTime    : no
>     use AVFoundation : no
>     use TIFF : no
>     use JPEG : no
>   moviefile-support
>     use PLUGINS  : yes
>     use mpeg : no
>     use mpeg-3   : no
>     use QuickTime    : no
>     use AVFoundation :
>     use aviplay  : no
>     use gmerlin  : no
>   capture-support
>     use PLUGINS  : yes
>     use v4l  : no
>     use v4l2 : no
>     use ieee1394 : no
>     use DV   : no
>     use Unicap   : yes
>     use Video-for-WinDOS : no
>     use QuickTime    : no
>     use AVFoundation : no
> 
> Now run make ...
> 
> I wuld gladly have all the options especially for pix_video to have a
> choice (the real aim is to have videoPYLON get wrked on this system)
> 
> but make stops at this point:
> *TextBase.h:38:12: fatal error: FTFont.h: No such file or directory
>  #  include "FTFont.h"*
>     ^~
> compilation terminated.
> What do I miss?
> 
> installed Gem with aptitude together with puredata cannot even create
> any Gem related objects.
> Best,
> Popesz
> 
> 
> ___
> 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] Gem - how to get a concave/convex plane

2018-08-05 Thread Jack
Hello,

See the new version attached to use a texture.
++

Jack



Le 05/08/2018 à 01:28, oliver a écrit :
> cyrille henry wrote:
>> hello,
>>
>> you can try [curve3d]
> 
> cyrille, jack: thanks a lot for your kind help.
> 
> i tried both your suggestions with some success , but i'm not quite
> there yet.
> 
> 
> 
> i attached an example patch providing both methods and problems.
> 
> 
> basically [curve3d] works well, with a minor issue that can be worked
> around. though i don't understand why it's there.
> 
> the issue is that the applied texture is rotated by 90°. i tried several
> things to correct it ([pix_flip], [pix_coordinate]) but they all messed
> up the texture.
> 
> ====
> 
> the vertex-shader approach of jack produces the shape i was looking for,
> but unfortunately doesn't allow texture mapping. or at least i wasn't
> able to figure out how to do it.
> 
> thanks for any further thoughts ...
> 
> best
> 
> oliver
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 



mesh_deformation.pd
Description: application/extension-pd
uniform sampler2D tex0;

varying vec4 vertColor;

void main() {
  vec4 image = texture2D(tex0, gl_TexCoord[0].st);
  gl_FragColor = image * vertColor;
}#define PI 3.1415926535897932384626433832795

uniform float deformation;

varying vec4 vertColor;

void main() {
  vertColor = gl_Color;
  gl_TexCoord[0] = gl_MultiTexCoord0;
  vec4 pos_vertex = gl_Vertex;
  float add_y = cos(pos_vertex.x * PI * 0.5) * deformation * pos_vertex.y;
  pos_vertex.y += add_y;
  gl_Position = gl_ModelViewProjectionMatrix * pos_vertex;
}___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem - how to get a concave/convex plane

2018-08-04 Thread Jack
Hello Oliver,

Le 04/08/2018 à 11:20, oliver a écrit :
> Jack wrote:
>> For me, the simplest way to achieve this, is to use a mesh square with
>> shaders. Take a look at exemples in Gem and shaders and how to move
>> vertices in model view.
> 
> Hi, Jack ! thanks a lot for your suggestion.
> 
> Unfortunately my my shader/glsl skills are very limited and so is the
> documentation of [mesh_square] or [glsl_vertex]...
> 
> [mesh_square]-help just says:
> "This object is usefull when working with vertex_shader."
> 
> do you (or anybody here) know any example patches that demonstrate the
> approach to creating an arbitrary plane with [mesh_square] ?

Yes, there is an exemple in Gem :
10.glsl/09.vertex_texture_fetching
In this exemple, the Z position of each vertex of a mesh_square depends
on the color of the texture.

> 
> (the GLSL example patches don't really seem to be pointing that out.)

See above.

> 
> i also tried the geometry help patch from GEM examples, but this gives
> me an error:
> 
> [glsl_geometry]: compile Info_log:
> [glsl_geometry]: ERROR: 0:17: 'gl_VerticesIn' : undeclared identifier

Using geometry is possible here with [gemVertexbuffer] but it is more
complicated.
Attached is an exemple (not perfect) with a vertex shader and a fragment
shader with [mesh_square].
++

Jack


> 
> 
> 
> best
> 
> oliver
> 
> 
>> ++
>>
>> Jack
>>
>>
>> Le 03/08/2018 à 17:02, oliver a écrit :
>>> Hi, dear list !
>>>
>>> I am looking for a Geo, that looks like a distorted plane, in particular
>>> a "concave" or "convex" plane as shown in this .jpg:
>>>
>>> https://wolke.klingt.org/index.php/s/QO7Vb5UDNn42CG9
>>>
>>> can anybody hint me to a way that this can be done in Gem ?
>>>
>>> the "convex" version seems easier, it's more or less a scaled cylinder,
>>> but i can't ssem to achieve the "concave" version with this Geo.
>>>
>>> Best
>>>
>>> Oliver
>>>
>>>
>>
>>
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
> 
> 



mesh_deformation.pd
Description: application/extension-pd
#define PI 3.1415926535897932384626433832795

uniform float deformation;

varying vec4 vertColor;

void main() {
  vertColor = gl_Color;
  vec4 pos_vertex = gl_Vertex;
  float sign = sign(pos_vertex.y);
  float add_y = cos(pos_vertex.x * PI * 0.5) * deformation;
  pos_vertex.y += add_y * sign;
  gl_Position = gl_ModelViewProjectionMatrix * pos_vertex;
}varying vec4 vertColor;

void main() {
  gl_FragColor = vertColor;
}___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem - how to get a concave/convex plane

2018-08-03 Thread Jack
For me, the simplest way to achieve this, is to use a mesh square with
shaders. Take a look at exemples in Gem and shaders and how to move
vertices in model view.
++

Jack


Le 03/08/2018 à 17:02, oliver a écrit :
> Hi, dear list !
> 
> I am looking for a Geo, that looks like a distorted plane, in particular
> a "concave" or "convex" plane as shown in this .jpg:
> 
> https://wolke.klingt.org/index.php/s/QO7Vb5UDNn42CG9
> 
> can anybody hint me to a way that this can be done in Gem ?
> 
> the "convex" version seems easier, it's more or less a scaled cylinder,
> but i can't ssem to achieve the "concave" version with this Geo.
> 
> Best
> 
> Oliver
> 
> 


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


Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-15 Thread Jack
Don't know if this could help for your case...
++

Jack



Le 15/05/2018 à 13:15, Derek Kwan a écrit :
> 
> Hello list,
> 
> Perhaps a bit of a long shot and pretty much the exact opposite of the $0
> in messages conversations as of late: Is there a way to NOT resolve
> dollar arguments in messages and/or objects?
> 
> Example case: Lately for a project I've wanted to create vast swaths of
> [array define]s and I've done so with dynamic patching. Since I want
> their bound symbols to be something like "$0-snd0", "$0-snd1"
> $0"-snd2"... "$0-snd50", I DON'T want dollar arguments (particularly the
> $0) to resolve to anything. Similarly, I store filepath + array symbol
> pairs in texts to do a big load at the beginning and for right now and
> can always add the $0-bit via passing that symbol through a
> [makefilename], but I'm wondering if I can pass $0s unresolved into a
> text without having to manually type it in via the popup window.
> 
> Of course I can always edit the patch in emacs/vim and do a
> search/replace, but I'm looking for an in-Pd solutions... Also for the
> array business I suppose I could do that via [clone], but that situation
> doesn't seem ideal either...
> 
> Thanks!
> 
> Derek
> 



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


Re: [PD] watchdog

2018-05-03 Thread Jack
Yes, it is good to add a "sleep 1" at the end of the while loop.
++

Jack


Le 03/05/2018 à 12:59, Roman Haefeli a écrit :
> On Thu, 2018-05-03 at 11:56 +0200, Jack wrote:
>> If you have several instances of Pd, it is also doable to do
>> something
>> like :
>>
>> pd -open yourpatch1.pd &
>> PID1=$!
>> pd -open yourpatch2.pd &
>> PID2=$!
>>
>> while true
>> do
>> if [ ! -d /proc/$PID1 ]
>> then
>> pd -open yourpatch1.pd &
>> PID1=$!
>> fi
>> if [ ! -d /proc/$PID2 ]
>> then
>> pd -open yourpatch2.pd &
>> PID2=$!
>> fi
>> done
> 
> If I'm not mistaken, this hogs the CPU as it will run as many
> iterations per second as possible. I think a 'sleep 1' would already
> help.
> 
> Roman
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] watchdog

2018-05-03 Thread Jack
If you have several instances of Pd, it is also doable to do something
like :

pd -open yourpatch1.pd &
PID1=$!
pd -open yourpatch2.pd &
PID2=$!

while true
do
if [ ! -d /proc/$PID1 ]
then
pd -open yourpatch1.pd &
PID1=$!
fi
if [ ! -d /proc/$PID2 ]
then
pd -open yourpatch2.pd &
PID2=$!
    fi
done


++

Jack



Le 03/05/2018 à 11:46, Jack a écrit :
> Hey list !
> 
> Le 03/05/2018 à 09:42, Roman Haefeli a écrit :
>> On Thu, 2018-05-03 at 06:29 +0200, michael strohmann wrote:
>>> Hello, 
>>> i wonder if it is possible to setup something on raspberry, so that
>>> the puredata-watchdog will restart pd-0.48.0 automatically?
>>> where could i look up the mechanics of this, unfortunatly i am not a
>>> unix crack…
>>
>> Are you referring to the pd-watchdog binary, that comes with puredata-
>> core? Is your Raspberry Pi running Raspbian?
>>
>> From what I understand, the purpose of the pd-watchdog is to pause Pd
>> in regular intervals when running in real-time mode. I think this is
>> measure to prevent Pd from locking up the system. Assume you
>> accidentally trigger an [until] without a stopping mechanism, thanks to
>>  pd-watchdog you're still able to move the mouse and quit Pd.
>>
>> Is your goal to make sure that Pd is running at any time, so that it is
>> started again as soon as it stops?  Maybe you can achieve something
>> like this wit a shell script. I haven't tested this, but it might give
>> you an idea how to make it work:
>>
>> ---
>> #!/bin/sh
>>
>> while true
>> do 
>>   # We start pd and send detach it from the terminal ('&')
>>   /usr/bin/pd -open yourpatch & 
>>
>>   # we catch pd's process id
>>   pdpid=$!
>>
>>   # now let's wait for the process to terminate
>>   wait $pdpid
>>   
>>   # once pd terminates, we start another iteration
>>   # of our while-loop
>> done
> 
> I will do something like :
> 
> while true
> do
> pd -open yourpatch # if pd crash the script continue to "sleep 1"
> and a new loop start
> sleep 1
> done
> 
> ++
> 
> Jack
> 
> 
> 
>> ---
>>
>> 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
> 




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


Re: [PD] watchdog

2018-05-03 Thread Jack
Hey list !

Le 03/05/2018 à 09:42, Roman Haefeli a écrit :
> On Thu, 2018-05-03 at 06:29 +0200, michael strohmann wrote:
>> Hello, 
>> i wonder if it is possible to setup something on raspberry, so that
>> the puredata-watchdog will restart pd-0.48.0 automatically?
>> where could i look up the mechanics of this, unfortunatly i am not a
>> unix crack…
> 
> Are you referring to the pd-watchdog binary, that comes with puredata-
> core? Is your Raspberry Pi running Raspbian?
> 
> From what I understand, the purpose of the pd-watchdog is to pause Pd
> in regular intervals when running in real-time mode. I think this is
> measure to prevent Pd from locking up the system. Assume you
> accidentally trigger an [until] without a stopping mechanism, thanks to
>  pd-watchdog you're still able to move the mouse and quit Pd.
> 
> Is your goal to make sure that Pd is running at any time, so that it is
> started again as soon as it stops?  Maybe you can achieve something
> like this wit a shell script. I haven't tested this, but it might give
> you an idea how to make it work:
> 
> ---
> #!/bin/sh
> 
> while true
> do 
>   # We start pd and send detach it from the terminal ('&')
>   /usr/bin/pd -open yourpatch & 
> 
>   # we catch pd's process id
>   pdpid=$!
> 
>   # now let's wait for the process to terminate
>   wait $pdpid
>   
>   # once pd terminates, we start another iteration
>   # of our while-loop
> done

I will do something like :

while true
do
pd -open yourpatch # if pd crash the script continue to "sleep 1"
and a new loop start
sleep 1
done

++

Jack



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




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


Re: [PD] Pd reduce audio channels from ALSA loopback

2018-04-15 Thread Jack
I don't understand how Pd or ALSA manage in/out.
But I found a (weird or not ?) solution :
I have to use several devices in Pd with 2 outputs each. So to get 6
inputs from ALSA loopback, I need 3 Loopback devices with 2 input
channels in Pd (see small screen capture attached).
Someone can confirm if this is the way to do things with Pd and ALSA
loopback ?

However, if the quality of the sound thru the first stereo input is
good, this is not the case with the second one (lot of glitch/noise).
Sure I made something wrong here. So, if you have some recommandations,
I will be happy to test them.
++

Jack




Le 12/04/2018 à 19:15, Jack a écrit :
> Hello,
> 
> I have a problem to get all usable channels of the ALSA loopback in Pd.
> 
> Here the output of :
> $ aplay -l
>  List of PLAYBACK Hardware Devices 
> card 0: PCH [HDA Intel PCH], device 0: ALC3266 Analog [ALC3266 Analog]
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
>   Subdevices: 7/8
>   Subdevice #0: subdevice #0
>   Subdevice #1: subdevice #1
>   Subdevice #2: subdevice #2
>   Subdevice #3: subdevice #3
>   Subdevice #4: subdevice #4
>   Subdevice #5: subdevice #5
>   Subdevice #6: subdevice #6
>   Subdevice #7: subdevice #7
> card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
>   Subdevices: 7/8
>   Subdevice #0: subdevice #0
>   Subdevice #1: subdevice #1
>   Subdevice #2: subdevice #2
>   Subdevice #3: subdevice #3
>   Subdevice #4: subdevice #4
>   Subdevice #5: subdevice #5
>   Subdevice #6: subdevice #6
>   Subdevice #7: subdevice #7
> 
> and of :
> $ arecord -l
>  List of CAPTURE Hardware Devices 
> card 0: PCH [HDA Intel PCH], device 0: ALC3266 Analog [ALC3266 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
>   Subdevices: 7/8
>   Subdevice #0: subdevice #0
>   Subdevice #1: subdevice #1
>   Subdevice #2: subdevice #2
>   Subdevice #3: subdevice #3
>   Subdevice #4: subdevice #4
>   Subdevice #5: subdevice #5
>   Subdevice #6: subdevice #6
>   Subdevice #7: subdevice #7
> card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
>   Subdevices: 7/8
>   Subdevice #0: subdevice #0
>   Subdevice #1: subdevice #1
>   Subdevice #2: subdevice #2
>   Subdevice #3: subdevice #3
>   Subdevice #4: subdevice #4
>   Subdevice #5: subdevice #5
>   Subdevice #6: subdevice #6
>   Subdevice #7: subdevice #7
> 
> 
> With Pd, if I select Loopback (hardware) with 8 in/out, i get in console :
> ALSA: set input channels to 2
> ALSA: set output channels to 2
> 
> How can I recover the 8 channels of ALSA loopback to get all in/out ?
> Any help would be appreciated.
> ++
> 
> Jack
> 
> 
> ___
> 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] Pd reduce audio channels from ALSA loopback

2018-04-12 Thread Jack
Hello,

I have a problem to get all usable channels of the ALSA loopback in Pd.

Here the output of :
$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC3266 Analog [ALC3266 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 7/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 7/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7

and of :
$ arecord -l
 List of CAPTURE Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC3266 Analog [ALC3266 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 7/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 7/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7


With Pd, if I select Loopback (hardware) with 8 in/out, i get in console :
ALSA: set input channels to 2
ALSA: set output channels to 2

How can I recover the 8 channels of ALSA loopback to get all in/out ?
Any help would be appreciated.
++

Jack


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


Re: [PD] ALSA loopback

2018-04-12 Thread Jack
Le 12/04/2018 à 15:06, Jack a écrit :
> Hello,
> 
> Somme interrogation here with ALSA loopback and Pd.
> 
> I used to use ALSA loopback to route audio on my Linux and it works like
> a charm with ffmpeg : I send the audio to hw:1,0,0 and get it on
> hw:1,1,0. And the sound sounds good (no glitch).
> 
> With Pd, it is not the same. First I need to send the sound on hw:1,1,0
> (for instance with ffmpeg) and get it on the card Loopback (in Pd). The
> sound is noisy.
> 
> So, my three questions :
> 
> Why the sound is noisy using Pd and how to solve this ?

Adding latency solves this problem.
++

Jack


> Why I need to send the sound to hw:1,1,0 (and not hw:1,0,0) to get it
> with Pd ? (not a problem actually)
> How can I get access to the other device of Loopback with Pd ?
> 
> It seems I miss something somewhere...
> 
> ++
> 
> Jack
> 
> 
> 
> ___
> 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] ALSA loopback

2018-04-12 Thread Jack
Hello,

Somme interrogation here with ALSA loopback and Pd.

I used to use ALSA loopback to route audio on my Linux and it works like
a charm with ffmpeg : I send the audio to hw:1,0,0 and get it on
hw:1,1,0. And the sound sounds good (no glitch).

With Pd, it is not the same. First I need to send the sound on hw:1,1,0
(for instance with ffmpeg) and get it on the card Loopback (in Pd). The
sound is noisy.

So, my three questions :

Why the sound is noisy using Pd and how to solve this ?
Why I need to send the sound to hw:1,1,0 (and not hw:1,0,0) to get it
with Pd ? (not a problem actually)
How can I get access to the other device of Loopback with Pd ?

It seems I miss something somewhere...

++

Jack



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


Re: [PD] forcing array size based on text file size

2018-04-06 Thread Jack
OK, thanks.
Nice example using pointer.
On My side, I used to use [text define] (to load the text file) and
[text size] (to query the size with a 'bang' message).
++

Jack



Le 06/04/2018 à 16:36, Fede a écrit :
> Hi Jack, 
> 
> Well, yes, it was something ‘like’ that.
> 
> here it is with the missing [t b p] and [text size -s text t] 
> 
> 
> 
> 
> On Apr 6, 2018, at 4:21 PM, Jack <j...@rybn.org> wrote:
> 
>> Hello,
>>
>> Le 06/04/2018 à 10:55, Fede a écrit :
>>> Hi Jim, 
>>>
>>> Like [soundfiler]’s “-resize” flag, this would be a very useful feature for 
>>> array loading.
>>>
>>>
>>> You can load a text file and then query its size, something like:
>>>
>>> [read -c your_file, bang( 
>>> |
>>> [text] 
>>> |\
>>> [text size]
>>> |
>>> [array size your_array]
>>
>> Hmm, not sure this patch will work fine.
>> Did you try it ?
>>
>> Jim, What do you want to store in the array. That doesn't seem entirely
>> clear to me ? Do you need to store each character ? [array]s, in Pd,
>> only store floats. So you will be able to store each character as its
>> decimal ASCII representation (or maybe better to use Unicode here) in
>> the array. For instance, "A" will be 65.
>> ++
>>
>> Jack
>>
>>
>>
>>>
>>> Best,
>>>
>>> fede
>>>
>>> On Apr 6, 2018, at 10:38 AM, Jim Ruxton <jim.rux...@gmail.com> wrote:
>>>
>>>> I am reading a text file into an array. I would have expected the array 
>>>> size to grow to the same as the number of lines/elements in the text file 
>>>> but it seems to default to a size of 100. Is there a way for the size of 
>>>> the array to take on the size of the text file automatically? If not how 
>>>> do I get the number of lines in the text file so I can resize the array 
>>>> accordingly?
>>>>
>>>> Thanks,
>>>>
>>>> Jim
>>>>
>>>>
>>>> ___
>>>> 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] forcing array size based on text file size

2018-04-06 Thread Jack
Le 06/04/2018 à 16:21, Jack a écrit :
> Hello,
> 
> Le 06/04/2018 à 10:55, Fede a écrit :
>> Hi Jim, 
>>
>> Like [soundfiler]’s “-resize” flag, this would be a very useful feature for 
>> array loading.
>>
>>
>> You can load a text file and then query its size, something like:
>>
>> [read -c your_file, bang( 
>> |
>> [text] 
>> |\
>> [text size]
>> |
>> [array size your_array]
> 
> Hmm, not sure this patch will work fine.
> Did you try it ?
> 
> Jim, What do you want to store in the array. That doesn't seem entirely
> clear to me ? Do you need to store each character ? [array]s, in Pd,
> only store floats. So you will be able to store each character as its
> decimal ASCII representation (or maybe better to use Unicode here) in
> the array. For instance, "A" will be 65.

Even simpler in Pd (instead of unicode), use directly 'UTF8' encodage to
store a character as number in an array. For instance, 'Ɲ' will be store
as '198 157'.
With [list tosymbol], you can get back the right character.
++

Jack


> ++
> 
> Jack
> 
> 
> 
>>
>> Best,
>>
>> fede
>>
>> On Apr 6, 2018, at 10:38 AM, Jim Ruxton <jim.rux...@gmail.com> wrote:
>>
>>> I am reading a text file into an array. I would have expected the array 
>>> size to grow to the same as the number of lines/elements in the text file 
>>> but it seems to default to a size of 100. Is there a way for the size of 
>>> the array to take on the size of the text file automatically? If not how do 
>>> I get the number of lines in the text file so I can resize the array 
>>> accordingly?
>>>
>>> Thanks,
>>>
>>> Jim
>>>
>>>
>>> ___
>>> 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] forcing array size based on text file size

2018-04-06 Thread Jack
Hello,

Le 06/04/2018 à 10:55, Fede a écrit :
> Hi Jim, 
> 
> Like [soundfiler]’s “-resize” flag, this would be a very useful feature for 
> array loading.
> 
> 
> You can load a text file and then query its size, something like:
> 
> [read -c your_file, bang( 
> |
> [text] 
> |\
> [text size]
> |
> [array size your_array]

Hmm, not sure this patch will work fine.
Did you try it ?

Jim, What do you want to store in the array. That doesn't seem entirely
clear to me ? Do you need to store each character ? [array]s, in Pd,
only store floats. So you will be able to store each character as its
decimal ASCII representation (or maybe better to use Unicode here) in
the array. For instance, "A" will be 65.
++

Jack



> 
> Best,
> 
> fede
> 
> On Apr 6, 2018, at 10:38 AM, Jim Ruxton <jim.rux...@gmail.com> wrote:
> 
>> I am reading a text file into an array. I would have expected the array size 
>> to grow to the same as the number of lines/elements in the text file but it 
>> seems to default to a size of 100. Is there a way for the size of the array 
>> to take on the size of the text file automatically? If not how do I get the 
>> number of lines in the text file so I can resize the array accordingly?
>>
>> Thanks,
>>
>> Jim
>>
>>
>> ___
>> 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] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-24 Thread Jack
OK ! The bug seems to exist only on MacOSX and on a french Keyboard. No
probleme here with Ubuntu 17.10 and a french keyboard too.
++

Jack



Le 24/03/2018 à 11:32, Dan Wilcox a écrit :
>> I dont know if this is related, but on my system,
>>
>> Keyup object outputs  its value immediately after key, when I press a
>> key, not when I release it.
> 
> This is known: https://github.com/pure-data/pure-data/issues/213
> 
> It's not directly related but more an issue with the TK Cocoa backend. 
> 
> 
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com>
> robotcowboy.com <http://robotcowboy.com>
> 
> 
> 


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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut

2018-03-23 Thread Jack
The previous JY's message unencrypted :

Hi,

Same trouble

Pd 0.48.1

Osx 10.10.2

I dont know if this is related, but on my system,

Keyup object outputs  its value immediately after key, when I press a
key, not when I release it.



Le 23/03/2018 à 14:24, jean-yves a écrit :
> create two objects on MacOSX (Jack)
> Date: Fri, 23 Mar 2018 14:19:27 +0100 (GMT+01:00)
> Reply-To: jean-yves <j...@gumo.fr>
> MIME-Version: 1.0
> Message-ID: <964950891.5.1521811167720.javamail@gumo.fr>
> In-reply-to: <mailman.2.1521802801.20307.pd-l...@lists.iem.at>
> References: <mailman.2.1521802801.20307.pd-l...@lists.iem.at>
> Content-Type: text/html; charset="utf-8"
> Content-Transfer-Encoding: base64
> X-Provags-ID: V03:K0:SEhoo3Wb/iEaBfEpZ8UOPBWsJLW44OCr77eBqKTYr622YJlgqgJ
>  QoSHBIK/L4ho+z9STvGqTCPpa64bVrD05GDbT3R36NI6KXi8/8f8FXcKhfNPLPaHX6tbUOn
>  CX1xJ9dErAZX0q+PXgdH8s2RfdyMhk84CYQGlteg/8AuC3MoRzftNxzvmSg3mC/pl1iHvQg
>  wZTIw7eZo0lqnu6iXF2OQ==
> X-UI-Out-Filterresults: notjunk:1;V01:K0:Z5MqJsBxwNw=:hBRmctbJPtJQeV49Hapu1R
>  4uJ5jAXLFcTgXCgNIgeIBvzWYetWZuAVDREIVaL2ByeyNsq8xy9EdNoAsEKhlfJcJeTB++gZX
>  ZGtVsNsGyRG0zKXh7N+Rg79xnChj/H7ctx33lUpjfZgCUq5fZ8vHjRO/WeAN/78srSZ5tH4oX
>  bXvWJiJnyYA3547tkVbABP0hFrkDdmdrH+THKKYV+Bj1vX5uFJ8XbaLP8L5V6oJCXtbcZTCYg
>  bkWJSdHDQIbu8+V2JzbvO8UMaunjRKlGZW/sFbwtm2XfYX1Ie8RJIeUZixhrskQFUDgj1DStZ
>  bI0IZEGV70Su8JF5OAAHrhD5ehK6OZWOJabGpVZNxaIrsuET3N3u4Tv74MHX35YY0yjxKVLs3
>  HvkV2lvFhwXvKxYfFFJZX97EQ/epnE3cf5TnivUwjZPRh1mV7HlVsiztEiFulWqXVim25+wEg
>  cJY1syEUn7fAkAR7bjzJNEewTxlHmN1pW9W3ZkMubBWq+7zQEb2mvUH848RArpZOL8poF8SNK
>  knLLUSJJYQedNtn4dMR4al8ec2zPrz7AD5UKcqapbGX7NqywBy+R0An4zwNsmEotIMcoMTy+d
>  EXXDkPOPs3coysTv9v1v+Rg7k87HWKU7gZVuYrpFYi5SUYo1eAyL0fJcslN2U3sA9xasHMpEH
>  fu3ZLp2ZQarExeoh00xi9Jbo2u6fWt4GHZkxGoCxdOpGG9PyAv/cMzRaP3QrRHIoiHOLzHmxM
>  pJfypadwcVTsZwNsBS43DZqDcTNVn5REracKwkURtIjNjLHNKsuFTmJECQc=
> 
> PHA+PHA+SGksPGJyPjwvcD48cD5TYW1lIHRyb3VibGU8YnI+PC9wPjxwPlBkIDAuNDguMTxicj48
> L3A+PHA+T3N4IDEwLjEwLjI8YnI+PC9wPjxwPkkgZG9udCBrbm93IGlmIHRoaXMgaXMgcmVsYXRl
> ZCwgYnV0IG9uIG15IHN5c3RlbSw8YnI+PC9wPjxwPktleXVwIG9iamVjdCBvdXRwdXRzJm5ic3A7
> IGl0cyB2YWx1ZSBpbW1lZGlhdGVseSBhZnRlciBrZXksIHdoZW4gSSBwcmVzcyBhIGtleSwgbm90
> IHdoZW4gSSByZWxlYXNlIGl0Ljxicj48YnI+PGJyPjwvcD48cD5FbnZveSYjMjMzOyBhdmVjIDxm
> b250IGNvbG9yID0iIzQ4OWVmZiI+PGEgaHJlZj0iaHR0cHM6Ly9wbGF5Lmdvb2dsZS5jb20vc3Rv
> cmUvYXBwcy9kZXRhaWxzP2lkPW5ldC5kYXVtLmFuZHJvaWQuc29sbWFpbCI+U29sTWFpbCBBcHA8
> L2E+PC9mb250Pjxicj48YnI+PC9wPjxwPjwvcD48L3A+PGRpdiBjbGFzcz0nZG1fX25lc3RlZCc+
> PGRpdiBjbGFzcz0nZG1fX25lc3RlZF9oZWFkZXInPi0tLS0tLS0tLSBPcmlnaW5hbCBNZXNzYWdl
> IC0tLS0tLS0tLTxicj4KPGI+RnJvbTwvYj46IHBkLWxpc3QtcmVxdWVzdEBsaXN0cy5pZW0uYXQ8
> YnI+CjxiPlRvPC9iPjogcGQtbGlzdEBsaXN0cy5pZW0uYXQ8YnI+CjxiPkRhdGU8L2I+OiBGcmkg
> TWFyIDIzIDEyOjAwOjAxIEdNVCswMTowMCAyMDE4PGJyPgo8Yj5TdWJqZWN0PC9iPjogUGQtbGlz
> dCBEaWdlc3QsIFZvbCAxNTYsIElzc3VlIDExNzxicj4KPC9kaXY+ClNlbmQgUGQtbGlzdCBtYWls
> aW5nIGxpc3Qgc3VibWlzc2lvbnMgdG88YnI+CXBkLWxpc3RAbGlzdHMuaWVtLmF0PGJyPjxicj5U
> byBzdWJzY3JpYmUgb3IgdW5zdWJzY3JpYmUgdmlhIHRoZSBXb3JsZCBXaWRlIFdlYiwgdmlzaXQ8
> YnI+CWh0dHBzOi8vbGlzdHMucHVyZWRhdGEuaW5mby9saXN0aW5mby9wZC1saXN0PGJyPm9yLCB2
> aWEgZW1haWwsIHNlbmQgYSBtZXNzYWdlIHdpdGggc3ViamVjdCBvciBib2R5ICdoZWxwJyB0bzxi
> cj4JcGQtbGlzdC1yZXF1ZXN0QGxpc3RzLmllbS5hdDxicj48YnI+WW91IGNhbiByZWFjaCB0aGUg
> cGVyc29uIG1hbmFnaW5nIHRoZSBsaXN0IGF0PGJyPglwZC1saXN0LW93bmVyQGxpc3RzLmllbS5h
> dDxicj48YnI+V2hlbiByZXBseWluZywgcGxlYXNlIGVkaXQgeW91ciBTdWJqZWN0IGxpbmUgc28g
> aXQgaXMgbW9yZSBzcGVjaWZpYzxicj50aGFuICZxdW90O1JlOiBDb250ZW50cyBvZiBQZC1saXN0
> IGRpZ2VzdC4uLiZxdW90Ozxicj5Ub2RheSdzIFRvcGljczo8YnI+PGJyPiAgIDEuIFJlOiBDcmVh
> dGluZyBhIEdVSSBvYmplY3Qgb24gUGQgMC40OC4xIHdpdGgga2V5Ym9hcmQgc2hvcnRjdXQ8YnI+
> ICAgICAgY3JlYXRlIHR3byBvYmplY3RzIG9uIE1hY09TWCAoSmFjayk8YnI+PGRpdiBjbGFzcz0n
> ZG1fX25lc3RlZCc+PGRpdiBjbGFzcz0nZG1fX25lc3RlZF9oZWFkZXInPi0tLS0tLS0tLSBPcmln
> aW5hbCBNZXNzYWdlIC0tLS0tLS0tLTxicj4KPGI+RnJvbTwvYj46IEphY2sgPGphY2tAcnlibi5v
> cmc+PGJyPgo8Yj5UbzwvYj46IERhbiBXaWxjb3ggPGRhbm9tYXRpa2FAZ21haWwuY29tPixOaWNv
> bGFzIE1vbnRnZXJtb250IDxsaXN0QG5pbW9uLm9yZz48YnI+CjxiPkNDPC9iPjogUGQtTGlzdCA8
> cGQtbGlzdEBsaXN0cy5pZW0uYXQ+PGJyPgo8Yj5EYXRlPC9iPjogRnJpIE1hciAyMyAxMToyODoz
> MSBHTVQrMDE6MDAgMjAxODxicj4KPGI+U3ViamVjdDwvYj46IFJlOiBbUERdIENyZWF0aW5nIGEg
> R1VJIG9iamVjdCBvbiBQZCAwLjQ4LjEgd2l0aCBrZXlib2FyZCBzaG9ydGN1dCBjcmVhdGUgdHdv
> IG9iamVjdHMgb24gTWFjT1NYPGJyPgo8L2Rpdj4KSXQgaXMgd2l0aCA6IFRrIDguNS4xOTxicj4r
> Kzxicj48YnI+SmFjazxicj48YnI+PGJyPjxicj5MZSAyMi8wMy8yMDE4ICZhZ3JhdmU7IDE4OjIx
> LCBEYW4gV2lsY294IGEgJmVhY3V0ZTtjcml0Jm5ic3A7Ojxicj4mZ3Q7IE9rIHRoYW5rcyBmb3Ig
> Y2hlY2tpbmcuPGJyPiZndDsgPGJyPiZndDsgQXQgbGVhc3Qgd2UgY2FuIGNvbmZpcm0gaXQncyBh
> IHN5c3RlbSBsYW5ndWFnZSBpc3N1ZSwgYWx0aG91Z2ggSSdtPGJyPiZndDsgdGhpbmtpbmcgaXQn
> cyBtb3JlIG9mIGEgYnVnIGluIFRrLiBXaGlja

Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-23 Thread Jack
It is with : Tk 8.5.19
++

Jack



Le 22/03/2018 à 18:21, Dan Wilcox a écrit :
> Ok thanks for checking.
> 
> At least we can confirm it's a system language issue, although I'm
> thinking it's more of a bug in Tk. Which version of TK does it display
> when you put the log to all?
> 
> I'm wondering if it's also related to setting the available languages in
> the app bundle. I'll see if I can look into it as it's pretty annoying.
> I ran into the same problem with earlier buggy versions of Tk < 8.5.13.
> 
>> On Mar 22, 2018, at 5:53 PM, pd-list-requ...@lists.iem.at
>> <mailto:pd-list-requ...@lists.iem.at> wrote:
>>
>> From: Jack <j...@rybn.org <mailto:j...@rybn.org>>
>> To: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>
>> Subject: Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
>> shortcut create two objects on MacOSX
>> Message-ID: <163110eb-5078-0c07-8594-da9e350e3...@rybn.org
>> <mailto:163110eb-5078-0c07-8594-da9e350e3...@rybn.org>>
>> Content-Type: text/plain; charset=utf-8
>>
>> Yep, I confirm.
>> I asked to a participant to launch Pd in english, but it doesn't solve
>> the problem.
>> ++
>>
>> Jack
> 
> 
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com>
> robotcowboy.com <http://robotcowboy.com>
> 
> 
> 


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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-22 Thread Jack
Yep, I confirm.
I asked to a participant to launch Pd in english, but it doesn't solve
the problem.
++

Jack



Le 22/03/2018 à 14:04, Nicolas Montgermont a écrit :
> Same problem here, that is not solved by switching to English.
> The interface is in English but the object are still created in double
> (with CMD+SHIFT+B for example)
> osx 10.9.5
> n
> 
> http://nimon.org
> 
> Le 22/03/2018 à 12:37, Dan Wilcox a écrit :
>> If you have a chance, can you also run Pd with the english translation
>> but keep a French system and keyboard? You can do this on the
>> commandline with:
>>
>> LANG=en.UTF8 open /Applications/Pd-0.48-1.app
>>
>> I'd be curious to know if it's related to Pd's language or to the
>> system, etc.
>>
>> At some point, I feel like I/we will need to actually fix the key
>> event issues in TK ourselves...
>>
>>> On Mar 22, 2018, at 12:25 PM, Jack <j...@rybn.org
>>> <mailto:j...@rybn.org>> wrote:
>>>
>>> Hello Dan,
>>>
>>> Thank you for your reply.
>>> The workshop was with french people (with french keyboard), and Pd
>>> interface was in french too.
>>> If switching to english solves the problem, i will ask to particpants to
>>> test this.
>>> ++
>>>
>>> Jack
>>>
>>>
>>>
>>> Le 22/03/2018 à 12:14, Dan Wilcox a écrit :
>>>> Are you using an English keyboard and/or English local aka Pd is in
>>>> English? There seems to be  weird bug that causes this on *some* systems
>>>> and switching Pd to english fixes it. I'm not sure what's going on, but
>>>> it's related to the TK 8.5 cocoa bindings backend which is also causing
>>>> the issues [key].
>>>>
>>>>> On Mar 22, 2018, at 11:34 AM, pd-list-requ...@lists.iem.at
>>>>> <mailto:pd-list-requ...@lists.iem.at>
>>>>> <mailto:pd-list-requ...@lists.iem.at> wrote:
>>>>>
>>>>> Date: Thu, 22 Mar 2018 11:18:34 +0100
>>>>> From: Jack <j...@rybn.org <mailto:j...@rybn.org>
>>>>> <mailto:j...@rybn.org>>
>>>>> To: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>
>>>>> <mailto:pd-list@lists.iem.at>
>>>>> Subject: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
>>>>> shortcut create two objects on MacOSX
>>>>> Message-ID: <1fd3cfb5-f043-f751-4c0d-5cb3542c2...@rybn.org
>>>>> <mailto:1fd3cfb5-f043-f751-4c0d-5cb3542c2...@rybn.org>
>>>>> <mailto:1fd3cfb5-f043-f751-4c0d-5cb3542c2...@rybn.org>>
>>>>> Content-Type: text/plain; charset=windows-1252
>>>>>
>>>>> Hello,
>>>>>
>>>>> Everything is in the title (Pd 0.48.1, MacOSX) : during a workshop some
>>>>> people with this configuration trying to create a GUI object with
>>>>> keyboard shortcut, create two times this object. (I don't know exactly
>>>>> the version of MacOSX).
>>>>> Is it a known bug ?
>>>>> ++
>>>>>
>>>>> Jack
>>>>
>>>> 
>>>> Dan Wilcox
>>>> @danomatika <http://twitter.com/danomatika>
>>>> danomatika.com <http://danomatika.com> <http://danomatika.com>
>>>> robotcowboy.com <http://robotcowboy.com> <http://robotcowboy.com>
>>>>
>>>>
>>>>
>>>
>>
>> 
>> Dan Wilcox
>> @danomatika <http://twitter.com/danomatika>
>> danomatika.com <http://danomatika.com>
>> robotcowboy.com <http://robotcowboy.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
> 


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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-22 Thread Jack
Hello Dan,

Thank you for your reply.
The workshop was with french people (with french keyboard), and Pd
interface was in french too.
If switching to english solves the problem, i will ask to particpants to
test this.
++

Jack



Le 22/03/2018 à 12:14, Dan Wilcox a écrit :
> Are you using an English keyboard and/or English local aka Pd is in
> English? There seems to be  weird bug that causes this on *some* systems
> and switching Pd to english fixes it. I'm not sure what's going on, but
> it's related to the TK 8.5 cocoa bindings backend which is also causing
> the issues [key].
> 
>> On Mar 22, 2018, at 11:34 AM, pd-list-requ...@lists.iem.at
>> <mailto:pd-list-requ...@lists.iem.at> wrote:
>>
>> Date: Thu, 22 Mar 2018 11:18:34 +0100
>> From: Jack <j...@rybn.org <mailto:j...@rybn.org>>
>> To: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>
>> Subject: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
>> shortcut create two objects on MacOSX
>> Message-ID: <1fd3cfb5-f043-f751-4c0d-5cb3542c2...@rybn.org
>> <mailto:1fd3cfb5-f043-f751-4c0d-5cb3542c2...@rybn.org>>
>> Content-Type: text/plain; charset=windows-1252
>>
>> Hello,
>>
>> Everything is in the title (Pd 0.48.1, MacOSX) : during a workshop some
>> people with this configuration trying to create a GUI object with
>> keyboard shortcut, create two times this object. (I don't know exactly
>> the version of MacOSX).
>> Is it a known bug ?
>> ++
>>
>> Jack
> 
> 
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com>
> robotcowboy.com <http://robotcowboy.com>
> 
> 
> 


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


Re: [PD] Makefilename crasher

2018-03-19 Thread Jack
Yep, I can confirm this crash on Pd version 0.48.1, Ubuntu 17.10.
++

Jack



Le 18/03/2018 à 11:26, Chris McCormick a écrit :
> Hi,
> 
> I found a buffer overflow via makefilename which segfaults Pd. Have
> attached a patch which replicates this behaviour. Let me know if more
> info is needed.
> 
> Cheers,
> 
> Chris.
> 
> 
> 
> ___
> 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] text delete doesn't clear a line containing a comma

2018-03-13 Thread Jack
For a regular user of Pd, definitely.
But for beginners using the explicit objet [text] and seeing "text
delete deletes the nth line.", they will think "line of my imported text".
The word 'line' is very ambiguous here.
++

Jack



Le 10/03/2018 à 15:44, Liam Goodacre a écrit :
> [text] interprets commas as end-of-lines, so this would seem like normal
> behavior to me.
> 
> If you want to display a comma in a text file, you can use this unicode
> charater --> ‚ which won't break the line (assuming that it copies
> correctly through this email).
> 
> *From:* Pd-list <pd-list-boun...@lists.iem.at> on behalf of Jack
> <j...@rybn.org>
> *Sent:* 10 March 2018 14:30
> *To:* pd-list@lists.iem.at
> *Subject:* Re: [PD] text delete doesn't clear a line containing a comma
>  
> Idem for [text size].
> ++
> 
> Jack
> 
> 
> 
> Le 10/03/2018 à 15:25, Jack a écrit :
>> I forgot :
>> This is on Pd version 0.48.1 and Ubuntu 17.10.
>> A small patch is attached.
>> ++
>> 
>> Jack
>> 
>> 
>> 
>> Le 10/03/2018 à 15:23, Jack a écrit :
>>> If i load a text file containing commas with the 'read -c ...' message,
>>> using [text delete] doesn't completely delete a line with comma but the
>>> words before it (and the comma).
>>> According to the help, it should delete the whole line although in Pd
>>> commas are used to separate messages.
>>>
>>> Is it a bug or the help file should be updated ?
>>> ++
>>>
>>> Jack
>>>
>>>
>>>
>>> ___
>>> 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] changing raspberry pi IP from within Pd

2018-03-12 Thread Jack
And if you talk about the file /etc/sudoers, it is highly recommended to
use the command :
$ sudo visudo
to modify it. This utility verify if you make a mistake when you save
the file.
This modification is not required on Raspbian.
++

Jack



Le 12/03/2018 à 09:32, IOhannes m zmoelnig a écrit :
> On 2018-03-12 02:14, Jack wrote:
>> It should be doable by default on Raspbian, but i think it is not
>> possible on Ubuntu for instance (if you start Pd as a regular user).
>> On Raspbian, executing command with root privileges do not ask to enter
>> the password.
>> Maybe i am wrong ?
> 
> i don't know.
> but you can configure 'sudo' to not require you to enter your password.
> either for all commands, or for a specific command (or a number thereof).
> 
> this way you don't need to run Pd as root.
> 
> fgamsdr
> 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] changing raspberry pi IP from within Pd

2018-03-11 Thread Jack
It should be doable by default on Raspbian, but i think it is not
possible on Ubuntu for instance (if you start Pd as a regular user).
On Raspbian, executing command with root privileges do not ask to enter
the password.
Maybe i am wrong ?
++

Jack



Le 12/03/2018 à 02:02, Jack a écrit :
> Hi Antoine,
> 
> It needs root privilege ?
> ++
> 
> Jack
> 
> 
> 
> Le 11/03/2018 à 20:37, Antoine Villeret a écrit :
>> hi, 
>>
>> you can access shell, with the ... [shell] object from ggee
>> then you can control your network manager
>>
>> the 'how' depends on the distro you're running on the Pi and the tools
>> it provides
>>
>> +
>> a
>>
>> --
>> do it yourself                      
>> http://antoine.villeret.free.fr
>>
>> 2018-03-11 19:37 GMT+01:00 hi via Pd-list <pd-list@lists.iem.at
>> <mailto:pd-list@lists.iem.at>>:
>>
>> has anyone tried this before? I am quite new to linux system, so the
>> only way i can think of is to hustle with the text object and
>> network coresponding config file. But i imagine problems since
>> whatever the config file is, it won’t be with terminating semicolons..
>> ___
>> 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


Re: [PD] changing raspberry pi IP from within Pd

2018-03-11 Thread Jack
Hi Antoine,

It needs root privilege ?
++

Jack



Le 11/03/2018 à 20:37, Antoine Villeret a écrit :
> hi, 
> 
> you can access shell, with the ... [shell] object from ggee
> then you can control your network manager
> 
> the 'how' depends on the distro you're running on the Pi and the tools
> it provides
> 
> +
> a
> 
> --
> do it yourself                      
> http://antoine.villeret.free.fr
> 
> 2018-03-11 19:37 GMT+01:00 hi via Pd-list <pd-list@lists.iem.at
> <mailto:pd-list@lists.iem.at>>:
> 
> has anyone tried this before? I am quite new to linux system, so the
> only way i can think of is to hustle with the text object and
> network coresponding config file. But i imagine problems since
> whatever the config file is, it won’t be with terminating semicolons..
> ___
> 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] text delete doesn't clear a line containing a comma

2018-03-10 Thread Jack
Idem for [text size].
++

Jack



Le 10/03/2018 à 15:25, Jack a écrit :
> I forgot :
> This is on Pd version 0.48.1 and Ubuntu 17.10.
> A small patch is attached.
> ++
> 
> Jack
> 
> 
> 
> Le 10/03/2018 à 15:23, Jack a écrit :
>> If i load a text file containing commas with the 'read -c ...' message,
>> using [text delete] doesn't completely delete a line with comma but the
>> words before it (and the comma).
>> According to the help, it should delete the whole line although in Pd
>> commas are used to separate messages.
>>
>> Is it a bug or the help file should be updated ?
>> ++
>>
>> Jack
>>
>>
>>
>> ___
>> 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] text delete doesn't clear a line containing a comma

2018-03-10 Thread Jack
I forgot :
This is on Pd version 0.48.1 and Ubuntu 17.10.
A small patch is attached.
++

Jack



Le 10/03/2018 à 15:23, Jack a écrit :
> If i load a text file containing commas with the 'read -c ...' message,
> using [text delete] doesn't completely delete a line with comma but the
> words before it (and the comma).
> According to the help, it should delete the whole line although in Pd
> commas are used to separate messages.
> 
> Is it a bug or the help file should be updated ?
> ++
> 
> Jack
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 



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


[PD] text delete doesn't clear a line containing a comma

2018-03-10 Thread Jack
If i load a text file containing commas with the 'read -c ...' message,
using [text delete] doesn't completely delete a line with comma but the
words before it (and the comma).
According to the help, it should delete the whole line although in Pd
commas are used to separate messages.

Is it a bug or the help file should be updated ?
++

Jack



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


Re: [PD] [PD-announce] deken v0.3.0: new fileformat for library packages

2018-03-09 Thread Jack
Le 09/03/2018 à 20:37, IOhannes m zmölnig a écrit :
> On 03/09/2018 02:46 PM, Jack wrote:
>> Thanx for the people involved in the dev of this plugin. It is cool to
>> have such a plugin to manage externals.
>>
>> A few remark on my configuration (Ubuntu 17.10, Pd version 0.48.1) :
>> - When I click the button "Preferences", the preferences window is to
>> large to be handle by my monitor so i can't see the last lines. I need
>> to move the window by pressing the window key.
> 
> hmm, well.
> either you have a very small screen, or you have many many Pd search
> paths added.

Yep, the last option is good.

> i think the later indicates an issue with your workflow (though i guess
> that this is because deken keeps asking you to add libraries to your
> search path; which is *really* an issue, although it is just a
> workaround for Pd issue)

Maybe, i have to clean my .pdsettings.

> 
> in any case, the paths section should get a vertical scrollbar to
> prevent such issues.

Yes !

> 
>> - If the mouse cursor goes over results, the preferences button
>> disappears. I need to make the window bigger to see the button again.
> 
> you could also just wait.
> the status output (which hides the preferences button) disappears after
> a couple of seconds.

OK, just test it and you are right, but 5 seconds it's very long !

> 
> but yes, this is an issue.
> 
> please file (separate) bug-reports for both issues on
>   https://github.com/pure-data/deken/issues

OK, done.
++


Jack


> 
> gfamrds
> 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] [PD-announce] deken v0.3.0: new fileformat for library packages

2018-03-09 Thread Jack
Thanx for the people involved in the dev of this plugin. It is cool to
have such a plugin to manage externals.

A few remark on my configuration (Ubuntu 17.10, Pd version 0.48.1) :
- When I click the button "Preferences", the preferences window is to
large to be handle by my monitor so i can't see the last lines. I need
to move the window by pressing the window key.
- If the mouse cursor goes over results, the preferences button
disappears. I need to make the window bigger to see the button again.

++

Jack




Le 08/03/2018 à 17:09, IOhannes m zmoelnig a écrit :
> we are proud to announce a major overhaul of the deken fileformat.
> 
> TL;DR to download new deken packages, you will need at least version
> v0.3.0 of the deken-plugin (Pd-0.48-1 includes deken-v0.2.4).
> When searching externals with an old (incompatible) version of the
> plugin, you will always find a suggestion to install the new plugin with
> something like:
> 
>> deken-plugin/0.3.0
>>  (Deken externals downloader - REQUIRED FOR NEW PACKAGES)
> 
> once you have installed the new version (and/or Pd includes a compatible
> version), the nagging will stop :-)
> 
> 
> # fileformat
> 
> the new fileformat fixes a number of issues we had with the existing one.
> things that are better:
> - cool filename extension '.dek'
> - consistent archival options for all platforms (ZIP!)
> - proper detection of the version string for all libraries (even if the
> library has a weird name like "a-v12"
> - support for double-precision externals (once Pd supports that!)
> - extensible
> 
> 
> # Pd-integration
> the updated "deken-plugin" has a number of nifty features, you don't
> want to miss:
> - support for the new fileformat
> - support for the old (legacy) fileformat
> - (optionally) uninstall libraries before re-installing them
> - (optionally) show a README that is included in the package on
> successful installation
> - set installation path (suggesting Pd's default search paths, and
> offering to create those that are missing)
> - (optionally) hides the search-results for incompatible platforms
> - (optionally) overrides the "compatible" Pd-architecture
> - nice preferences
> - bugfixes
> - much more
> 
> 
> # Developer tools
> if you are a developer of libraries, we have also updated our 'deken'
> cmdline tool.
> things you always wanted to have and which are now free:
> - support for the new fileformat (default)
> - support for the old (legacy) fileformat
> - better detection of binary architectures
> - better detection of included sources
> - (experimental) support for double-precision externals
> - pre-compiled & self-contained Windows binaries
> - bugfixes
> - much more
> 
> 
> if you want to know more, see
> - http://puredata.info/downloads/deken/releases/0.3.0/
> - https://lists.puredata.info/pipermail/pd-dev/2018-02/021513.html
> - https://github.com/pure-data/deken/issues/161
> 
> 
> i have submitted also submitted a Pull-Request to include the new
> deken-plugin into Pd proper:
> - https://github.com/pure-data/pure-data/pull/320
> 
> and another Pull-Request for Pd that is required to make the
> double-precision detection work:
> - https://github.com/pure-data/pure-data/pull/300
> 
> 
> happy patching.
> fgm,asdr
> IOhannes
> 
> 
> 
> ___
> 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] [gemframebuffer] and [pix-film] ... weirdness

2018-03-05 Thread Jack
Le 04/03/2018 à 19:47, oliver a écrit :
> Jack wrote:
>> Hello Oliver,
>>
>> I reduce the patch to expose the problem.
>> The different solutions are inside.
>> Hope it helps...
> 
> it does !
> 
> thanks a lot for your explanation,
> your method also works with the chained shaders !
> 
> even though my ambition was to use one gemhead for everything, i see
> that your preferred solution with a second gemhead is much better and
> also looks more logical to me.
> 
> 
> 
> one last question:
> 
> wouldn't the [pix_buf] method be more cpu intensive ?
> 
> because it says in the help file:
> 
> "[pix_buf] is only effective if it is storing a static image. If you are
> continually modifying the buffered pix, then pix_buf is going to be
> spending a lot of time copying pixels."

If i am right, here there is no [pix_image]/[pix_video]/[pix_film]
before [pix_separator] so there is no risk to buffered pix.
The aim of [pix_separator] in your case is to "isolate" [pix_film] to
the rest of the gemchain like [separator] does about transformations
(that's why I prefer to use two gemchain in your case).
++

Jack


> 
> ... which i think i do when i'm feeding a film into it, isn't it ?
> yet i didn't notice any raised cpu power with [pix_buf] even though i
> used a 1280x720 film.
> 
> 
> 
> best
> 
> oliver
> 
> 
> 
> 
> 
>> ++
>>
>> Jack
>>
>>
>>
>> Le 03/03/2018 à 14:58, oliver a écrit :
>>> Jack wrote:
>>>> Hey Oliver,
>>>>
>>>> Do you have a minimal patch with a shader that described your problem
>>>
>>>  ... no minimal approach with chained glsl shaders ;-)
>>>
>>> nonetheless, i managed to pack everything together (it's a zipped folder
>>> with all needed ingredients, just a pd patch and the required shader
>>> files) to demonstrate the problem.
>>>
>>> if you can spare the time to take a look at it,
>>> that would be very nice !
>>>
>>> but as i said, i already got my task working with my little hack, so no
>>> sweat, please (even though it "feels" a little fragile).
>>>
>>> best
>>>
>>> oliver
>>>
>>>
>>>
>>>
>>> ___
>>> 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] [gemframebuffer] and [pix-film] ... weirdness

2018-03-03 Thread Jack
Hey Oliver,

Do you have a minimal patch with a shader that described your problem ?
It should be more easy to find a workaround if it exists but it seems
yours works perfectly.
++

Jack



Le 03/03/2018 à 12:23, oliver a écrit :
> Jack wrote:
>> Hello Oliver,
>>
>> As workaround you can put a [pix_separator] between the [t a a b] and
>> [pix_texture].
>> But yes, the bahavior is weird.
> 
> hi, jack !
> 
> thanks for your suggestion.
> 
> this "sort of" works, meaning that with one [gemframebuffer] this method
> does what you say.
> 
> if i am using more than one glsl shader in a row, each with a
> gemframebuffer, it doesn't work anymore.
> 
> anyway, my strange "[pix_image] after [pix_film]" method still does what
> i want so i will stick with that for the moment.
> 
> best
> 
> oliver
> 
> 
>> ++
>>
>> Jack
>>
>>
>>
>> Le 02/03/2018 à 01:33, oliver a écrit :
>>> hi, list !
>>>
>>> PD 0.48-0
>>> GEM 0.93.3
>>> WINDOWS 7 / 64bit
>>>
>>> i encountered a weird thing in GEM recently:
>>>
>>> when i use [gemframebuffer] with a still image (using [pix_image]) i can
>>> work with glsl shaders like shown in the GEM tutorials.
>>>
>>> however, i recently tried to do the same with a movie (using [pix_film],
>>> but only the first frame of the loaded film showed up ! subsequent
>>> "frame" messages did not work.
>>>
>>> by chance i found out that when i connected an empty [pix_image] object
>>> to [pix_film]'s left outlet, it suddenly DOES work as expected !
>>>
>>> is this the way it's supposed to be ?
>>>
>>> am i missing something ?
>>>
>>> or is this a windows thing again ?
>>>
>>>
>>>
>>> i attached a patch that demonstrates the problem
>>> (btw: using [pix_movie] instead of [pix_film] didn't change anything)
>>>
>>>
>>>
>>> thanks for any help
>>> (or deeper insight into [gemframebuffer]'s mysteries)
>>>
>>>
>>> best
>>>
>>> oliver
>>>
>>>
>>>
>>> ___
>>> 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] Pd's RGB color scheme for Data Structures

2018-03-02 Thread Jack
It is quite simple if i am right :

Put the amount of R, G and B value on a scale between 0 and 9 and join
them. So your number has 3 digits : RGB (for exemple the number 831
represents 8 for red, 3 for green and 1 for blue).
If you want a full red : 900, a full green : 090, a full blue : 009, a
grey : 555.
Of course, for the full green, you will write it 90 and for the full
blue, only 9.
++

Jack



Le 02/03/2018 à 16:48, Alexandre Torres Porres a écrit :
> Hi there, trying to find a RGB color picker online that works with Pd's
> data structure's scheme, but can't figure it out.
> 
> hints?
> 
> 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


Re: [PD] Text projection in real time

2018-02-28 Thread Jack
Hello João,

Le 28/02/2018 à 19:31, João Pais a écrit :
> Hello list,
> 
> I was looking on the best way to display some texts which will be
> produced/improvised in realtime. These will be acessible either as a
> list, OSC, or on a file.
> 
> I tried gem's 2dtext and [flatgui/entry], but they both don't work that
> well, as some or all of the following aren't possible:

You mean [text2d] for the Gem object... In term of performance, I prefer
to use [text3d]... depending of what you need.

> - centered text
> - some texts are long, so the paragraphs have to break at the end of a word
> - black background, white font - font and size will be chosen later
> - fullscreen on a 2nd screen (to be projected)

Everything here is doable with [text2d]/[text3d].

> 
> I imagine the word sliptting and text centering can be calculated in Pd
> so that Gem displays it correctly, but I'm not sure I'll have the time
> for it. So trying another solution such as coordinating with Processing
> or similar would be an option, in case it's easier to implement.

Centering text is by default with [text2d]/[text3d]. You can change this
with the message "justify".
To cut a sentence after a word when a certain amount of letter is
present is not very difficult using [list fromsymbol], [list prepend
10], [list prepend string]/[list trim] (for text2d]/[text3d]).

You can even change line spacing with the message "linedist" on recent Gem.
++

Jack


> 
> Are there any suggestions on how to tackle this?
> 
> Best,
> 
> jmmmp
> 
> ___
> 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] pix_data issue

2018-02-28 Thread Jack
just a little remark : This is [pix_snap] (and not [pix_snapshot]) to
get back pixels buffer from your gfx card to the RAM of your computer ;)
++

Jack



Le 28/02/2018 à 09:54, IOhannes m zmölnig a écrit :
> On 02/27/2018 11:50 PM, Derek Holzer wrote:
>>
>> I can disconnect the Gemlist from the second inlet, so that it is only
>> getting the metro bangs at the first inlet and the X and Y coordinates
>> to analyze at the third and fourth inlet, and still it gives data output.
>>
>> I know that it is still getting the changing video signal and not just
>> reading the last frame that came in the Gemlist, because I use the
>> analysis data to reconstruct the image with audio signals on an external
>> analog vector monitor, and I see that image changing and moving even if
>> the [pix_data] receives no Gemlist.
> 
> what you are seeing is an artifact of the implementation.
> pixel data is handed between objects by means of a pointer into memory
> (which is one of the things stored in the ominous "GemList")
> 
> [pix_data] remembers that pointer so it can access the data whenever you
> "bang" it.
> if you disconnect the 2nd inlet of a [pix_data] object, it will still
> remember the last image you sent it - and you can still access it.
> 
> now the reason why the data is changing, is because Gem does most of
> it's stuff in-place, that is: it doesn't copy each of your 4k video
> frames for every object it goes through. instead all the objects *share*
> the pixel data (which is the reason why you can see "spill over" of
> pix-fx from one branch of your graph to another).
> in your case this means, that the memory where [pix_data] is reading
> from is the same as the memory where [pix_video] is writing to.
> thus [pix_data] sees updated pixels.
> 
> it is somewhat similar to arrays, where a [tabread] sees updated data
> even if you disconnect the "set" message.
> (but probably much less safe - you *might* trigger memory corruption by
> disconnecting [pix_data] and then somehow invalidating the memory it
> reads from - which could be as simple as changing the reslution of
> [pix_video])
> 
>> Also, no scaling transformations I do to the output of [pix_video] or
>> [pix_film] (for example by texturing it on a rectangle with a [scale]
>> object in front of it) have any effect on what is seen by [pix_data].
> 
> hopefully.
> the pix_* space and the openGL space are two entirely different things.
> pixel data resides in the main memory of your computer. [pix_data] gives
> you access to this main memory. [pix_texture] copies the data to your
> gfx card. [scale] and [rotate] and practically all Gem objects (not
> prefixed with pix_) operate directly on te gfx card. whatever is done to
> the image data on the gfx card, has no effect on the contents in main
> memory.
> 
>> Does [pix_data] read the pixel values from some other place than the
>> Gemlist? A buffer of some kind? How can I apply any transformations to
>> what it "sees"?
> 
> 
> the naive way to do that would be using [pix_snapshot] which is the
> inverse of [pix_texture] (it copies image data from the gfx card to the
> main memory).
> (i call it "naive" as it is an execution path not optimized by modern
> gfx cards, so it might be slower than expected.)
> the non-naive solution would be to not require the a transfer from
> gfx-card to main memory and do everything on the gfx card (see also:
> shaders). depending on the task you want to solve, this might be
> feasible or not (in which case go back to [pix_snapshot])
> 
> 
> gfmdasr
> 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] [PD-announce] ofelia v1.0.4: Pd external library written with openFrameworks

2018-02-20 Thread Jack
Thank you for your help.

Just installed Pd-0.48.1 but i still get a segfault.

For info, I try to follow your instructions on :
https://github.com/cuinjune/ofxOfelia

and at section "Running the standalone example", after :
$ cd OF/addons/ofxOfelia/Linux64Example
$ make && make RunRelease

I get :
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0
gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2
fontconfig sndfile openal openssl glfw3 rtaudio gl glu glew gtk+-3.0
Segmentation fault (core dumped)
/home/jack/of_v0.9.8_linux64_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:176:
recipe for target 'RunRelease' failed
make: *** [RunRelease] Error 139

++

Jack

PS : i am working with Ubuntu 17.10



Le 20/02/2018 à 23:10, Zack Lee a écrit :
> Hey Jack. Thanks for your interest.
> 
> I'm not sure if this will fix but could you try again with the latest
> Pd-0.48-1 and not the test version?
> You can download it from here http://msp.ucsd.edu/software.html
> 
> I personally tested ofelia on Ubuntu LTS 16.04, Ubuntu Studio 17.10 and
> Linux Mint 18.3. 
> For me, it worked fine on these distros even without installing
> dependencies.sh
> 
> If the problem still occurs please let me know.
> You can also send me a personal email. cuinj...@gmail.com
> <mailto:cuinj...@gmail.com>
> 
> Thanks.
> 
> Zack
> 
> 
> ___
> 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] linear-cue-system

2018-02-20 Thread Jack
I discovered you have also "ctl" abstraction to conduct a live performance.
What are the main differences between "ctl" and "linear-cue-system" ?
What do you suggest between between these both sets of abstractions to
conduct a dance performance (sounds and videos) ?
++

Jack



Le 20/02/2018 à 18:58, Jack a écrit :
> OK, I got it, thank you.
> ++
> 
> Jack
> 
> 
> 
> Le 20/02/2018 à 18:28, cyrille henry a écrit :
>>
>>
>> Le 20/02/2018 à 16:15, Jack a écrit :
>>> Hello Cyrille,
>>>
>>> Is linear-cue-system the latest version on http://www.chnry.net or you
>>> have something more recent to share ?
>> My website is not always up to date, the most recent stuff is on pd svn,
>> in the nusmuk folder
>>
>> cheers
>> c
>>
>>> Thx.
>>> ++
>>>
>>> Jack
>>>
>>>
>>> ___
>>> 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] [PD-announce] ofelia v1.0.4: Pd external library written with openFrameworks

2018-02-20 Thread Jack
Hello Zack,

Thank you, it seems a very cool library !
But i get a segfault here...

I run the script in ".../ofelia/scripts/ubuntu/install_dependencies.sh".
=> installing all missing packages

Then, i create a new patch in Pd 0.48.1-test3, and create [declare
-stdpath ofelia -stdlib ofelia]

---
ofelia v1.0.4: compiled on 20 Feb 2018
(c) 2018 Zack Lee <cuinj...@gmail.com>
---

I go in the help menu => Browser => ofelia/examples/3d/3dPrimitives.pd
=> Erreur de segmentation (core dumped)

I try to open different patch but each time this segfault.

My conf :
Linux xps 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
Pd 0.48.1-test3

I missed something ?
++

Jack



Le 20/02/2018 à 21:01, Zack Lee a écrit :
> Hi, I'm happy to announce my Pd external library, ofelia. 
> 
> ofelia is an external library written with openFrameworks and influenced
> by GEM for creating cross-platform multimedia applications.
> 
> The library consists of over 400 objects covering most features of
> openFrameworks core API, designed to ease the development of multimedia
> applications such as visual arts, musical apps and interactive games.
> 
> The library includes the following features:
> 
>   * interactive output window
>   * various getters and event listeners
>   * 2d/3d shapes drawing
>   * image and font loading
>   * camera, lighting, material
>   * framebuffer object
>   * various data types (vec3f, color..)
>   * various utilities to speed up development (new expr, counter..)
>   * bandlimited oscillators and resonant filters
> 
> The library is currently available to be used under macOS, Linux(64bit)
> and Windows. It will also be available on Raspberry Pi soon.
> 
> You can download and install it by searching "ofelia" in 'Help -> Find
> externals' then add "ofelia" to 'Preferences -> Startup -> New' in Pd.
> There are some basic example patches you can try inside
> 'ofelia/examples' directory.
> ofelia works with vanilla Pd-0.48-1 and other versions of Pd may not work.
> 
> The patch made with ofelia can be converted to a standalone application
> for macOS, Linux, Windows, iOS and Android without having to write any
> further code. (Thanks to ofxPd) You just need to install some required
> tools to compile it on your desktop.
> For more information, please visit https://github.com/cuinjune/ofxOfelia
> 
> Any feedback is welcomed, hope you like it. :)
> 
> 
> ___
> 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] linear-cue-system

2018-02-20 Thread Jack
OK, I got it, thank you.
++

Jack



Le 20/02/2018 à 18:28, cyrille henry a écrit :
> 
> 
> Le 20/02/2018 à 16:15, Jack a écrit :
>> Hello Cyrille,
>>
>> Is linear-cue-system the latest version on http://www.chnry.net or you
>> have something more recent to share ?
> My website is not always up to date, the most recent stuff is on pd svn,
> in the nusmuk folder
> 
> cheers
> c
> 
>> Thx.
>> ++
>>
>> Jack
>>
>>
>> ___
>> 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] linear-cue-system

2018-02-20 Thread Jack
Kollabs looks very detailed and very interesting !
Thanks for the link.
++

Jack



Le 20/02/2018 à 16:55, baptiste chatel a écrit :
> For what it's worth, this is my go-to cue system :
> https://github.com/m---w/kollabs
> 
> 2018-02-20 16:15 GMT+01:00 Jack <j...@rybn.org <mailto:j...@rybn.org>>:
> 
> Hello Cyrille,
> 
> Is linear-cue-system the latest version on http://www.chnry.net or you
> have something more recent to share ?
> Thx.
> ++
> 
> 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>
> 
> 


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


[PD] linear-cue-system

2018-02-20 Thread Jack
Hello Cyrille,

Is linear-cue-system the latest version on http://www.chnry.net or you
have something more recent to share ?
Thx.
++

Jack


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


[PD] list serializer was Re: absolute values of a list of numbers?

2018-02-16 Thread Jack
Hello,

I have a [range $1 1( message instead of [get $1 1( message in [pd
example3] in the 'list *' help.
It is with Pd version 0.48.1-test3.
Do you have same message in this help file or i make a mistake ?
++

Jack




Le 16/02/2018 à 16:29, IOhannes m zmölnig a écrit :
> On 02/16/2018 02:43 PM, Peter P. wrote:
>> Hi list,
>>
>> I am using William Brent's [cepstrum~] to calculate cepstral
>> coefficients from a section of an audio signal. My object outputs 512
>> the real-valued coefficients as pd message list, which I would like to
>> convert to their absolute value. I can't seem to find an easy way to do
>> this except for possibly sending the list to an array and using tabread
> 
> the [list] help has example implementations of a serializer and an
> accumulator.
> 
> gfadsmf
> 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] absolute values of a list of numbers?

2018-02-16 Thread Jack
[list-abs/list-abs] ?
++

Jack



Le 16/02/2018 à 14:43, Peter P. a écrit :
> Hi list,
> 
> I am using William Brent's [cepstrum~] to calculate cepstral
> coefficients from a section of an audio signal. My object outputs 512
> the real-valued coefficients as pd message list, which I would like to
> convert to their absolute value. I can't seem to find an easy way to do
> this except for possibly sending the list to an array and using tabread
> to serialize, calculate the absolute value for every element and send it
> back to another array, then requesting it as a list again. Has anyone
> got a better idea? 
> 
> thank you!
> P
> 
> ___
> 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] Gem somewhat more adaptive background subtraction?

2018-02-06 Thread Jack
Hello Peter,

It is possible to use shaders for this purpose if you don't have to use
only pix_ objects.
For exemple, get the result of a dot product between the normalized
background color and the normalized texels colors. Then use a threshold
to determine if a pixel need to be transparent or not (you can even
smooth this result if needed for a better result).
++

Jack



Le 06/02/2018 à 17:53, Peter P. a écrit :
> Hi list,
> 
> just wondering if anyone has looked into a way to subtract a background
> in Gem pixes using a hybrid approach between frame difference
> [pix_movement] and difference to a static snapshot [pix_background]. I
> want to be able to detect object in front of a background also during
> slow light condition changes or unsupervised operation in say a gallery
> context.
> I can remember that EyesWeb had an adaptive background subtraction, that
> did possibly time-average a series of images to derive the background
> snapshot. Has anyone done anything more fancy in Gem than the two
> wonderful objects above offer?
> 
> thanks for all ideas!
> Peter
> 
> ___
> 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] Invitation to join study on digital musical instrument design

2018-01-03 Thread Jack Armitage
*Invitation to join study on digital musical instrument design*

*(Apologies for cross-posting)*

You are invited to join a fun study on digital musical instrument design,
run by the Augmented Instruments Lab in London, UK (
http://instrumentslab.org).

In the study you will be asked to collaborate in a small group on the
design of a digital musical instrument, called the Unfinished Instrument.

As its name suggests, the Unfinished Instrument seeks your design
intervention to determine how it should play and sound.

The design session will last for one hour and you will be compensated £10
for your time.

Participants should have experience making or playing digital musical
instruments, and some familiarity with Max/MSP, *PureData*, or equivalent
sound and music computing environment.

Please fill in this form to indicate your availability and experience:
bit.ly/unfinishedinstrument. Sessions will take place at Queen Mary
University of London between Tuesday 9th and Saturday 20th January.

If you have any questions please contact Jack Armitage at
j.d.k.armit...@qmul.ac.uk.

Feel free to share this study invitation with friends and colleagues:
https://twitter.com/jdkarmitage/status/948531555445755905

-- 
Jack Armitage

jackarmitage.com
+44 7989 348 377 <+447989348377>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] pix_film performances question

2017-12-17 Thread Jack
I have a recent Gem version. With the same video loaded with 12
[pix_film], the CPU go from 1% to 5%.
First, it increase to 65% and goes down to 5%.
++

Jack



Le 17/12/2017 à 16:56, Nicola Pandini a écrit :
> woops, forget that, sorry :-)
> 
> I'm using a Debian Stretch with puredata 0.47.1 and Gem 0.93.3
> To test that, you can simply create 10-15 pix_film objects, and load the
> same video to every pix_film. If you just do that, you'll see the cpu
> usage going up.
> 
> Il 17/12/2017 11:36, Jack ha scritto:
>> Hello,
>>
>> Do you have a simple patch ?
>> Which OS, Pd and Gem version ?
>> ++
>>
>> Jack
>>
>>
>>
>> Le 17/12/2017 à 11:16, Nicola Pandini a écrit :
>>> Hi list,
>>>
>>> I've a problem with a patch with a lot of pix_film objects.
>>>
>>> I noticed that pix_film starts consuming cpu when it loads a video, and
>>> it never reduce the consuming, even when playback is stopped, or when
>>> its gemhead is disabled.
>>> Is it a bug? Are there any workarounds?
>>>
>>
>> ___
>> 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] IP address of local machine

2017-12-17 Thread Jack
In Unix, all is a file, did you try to look inside the /proc/net
directory to find your local IP ?
Then, [text] can be used to load a specific file.
++

Jack



Le 17/12/2017 à 14:59, Roman Haefeli a écrit :
> On Son, 2017-12-17 at 10:48 +, Andy Farnell wrote:
> 
>> If the server is brokering the traffic then you never need to know 
>> the private network addresses as NAT will map them to public port
>> numbers and the router will map the returned packets back to local
>> addresses.
>>
>> But I guess you want to use the server to do peer discovery
>> and then having the two clients communicate directly.
> 
> Exactly, that's the idea.
> 
>>
>> Aren't there some more genral network utility objects in Pd?
> 
> Yes, iemnet comes with [tcpclient] and [udpclient], which accept and
> output bytes. They're pretty raw and probably close to your idea of a
> [sock] object. However, they don't output all properties of the current
> socket.
> 
> What I wish to be able to do is done in python like this:
> 
> #!/usr/bin/python
> import socket
> s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
> s.connect(("8.8.8.8", 53))
> print(s.getsockname()[0])
> s.close()
> 
> 
>> In my wishes we would have:
>> [tcpdump] and [hping], one to dump traffic, maybe in hex 
> 
> All networking objects, including the ones from vanilla, are able to
> deal with bytes represented as numbers. I think that's far more
> versatile in Pd to use than hex.
> 
>> to 
>> avoid Pd's fussiness about control characters, and one to 
>> craft any and all packets according to a template sent in 
>> a prior message.
>>
>> And to get really serious about Pd as a network utility
>> how about [sock], an object to be set up as a raw socket?
> 
> I think we're pretty well served with what we have already. What use
> cases do you have in mind that aren't covered yet?
> 
> Roman
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] pix_film performances question

2017-12-17 Thread Jack
Hello,

Do you have a simple patch ?
Which OS, Pd and Gem version ?
++

Jack



Le 17/12/2017 à 11:16, Nicola Pandini a écrit :
> Hi list,
> 
> I've a problem with a patch with a lot of pix_film objects.
> 
> I noticed that pix_film starts consuming cpu when it loads a video, and
> it never reduce the consuming, even when playback is stopped, or when
> its gemhead is disabled.
> Is it a bug? Are there any workarounds?
> 


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


Re: [PD] IP address of local machine

2017-12-17 Thread Jack
Le 17/12/2017 à 01:41, Roman Haefeli a écrit :
> 
> On Sam, 2017-12-16 at 21:26 +0100, Jack wrote:
>> Your router has a public and local IP. So, i guess your local machine
>> has only a local IP. Then, your local machine need to pass through
>> your
>> router to access remote server. Your router has NAT rules to know
>> which
>> local machine to route the content from the remote server.
>> I don't really understand what exactly you are looking for
> 
> Sorry for not being more clear. I try to rephrase. I like to know what
> local IP address a [tcpclient] or [udpclient] connection is using. So,
> if my wifi interface is configured to 192.168.1.50 and this interface
> is used for communicating to the outside world, how can I get that IP
> from within Pd? Your suggestions may work by using [shell], but still
> they show all kinds of interfaces and IP addresses and its not trivial
> to determine the one that is used to talk to the default gateway (or by
> specific connection).

It is.
If you run :
$ route -n

you can see which interface is connected to the gateway (router).
From Pd, i can't see a solution.


> 
> I would like to implement a technique called UDP hole punching[1] in
> Pd. Before two clients talk to each other directly, they exchange some
> information by talking to a server with a public IP address that acts
> as a man-in-the-middle. As a result, the clients know the public IP
> address and the bind port of their peer. This works well so far, even
> in my patch. However, if both clients are in the same local network,
> they can't establish a connection because they try to connect to the
> public IP address of their own router. So, in order to overcome this
> limitation, my idea was to check if my router's public IP address is
> the same as the one of my peer. If they are, it means both clients are
> part of the same local network.

Or not.
Your router can be connected to 3 or more different networks :
1 public for internet
2 local

But it is not a problem to send a packet from a local network to the
other local network, the router should do the job (depending of its
configuration).

In that case, they would use the public
> server to exchange each other's local IP addresses. However,
> [tcpclient] seems to have no notion of the local IP address of an
> established connection. So the patch actually doesn't know what IP
> address it is using and thus cannot tell its peer.

Yes, [tcpclient] only need the IP and the listening port of the server.
And i can't see an object from Pd library doing this job.

> 
> Using [shell] and a script based on 'ip addr show' seems tedious and
> not very reliable, considering the information needed is part of every
> packet sent and received by [tcpclient]. 
> 
> If there's no easy way, I might turn that into a feature request for
> iemnet's [udpclient] and [tcpclient] to print the src IP address and
> src port on the status outlet. Does that make sense?

Maybe an other object (but not [tcpclient] ?) could return the local IP.
Sending this local IP to the public server could help to create a direct
connection between clients on local networks...
I am also interested to know if there is a better solution.
++

Jack


> 
> 
> Roman
> 
> 
> [1] https://en.wikipedia.org/wiki/UDP_hole_punching
> 
> 
>> , but here
>> some possible answer (on linux) :
>>
>> to get your ip address (local)
>> $ ip addr
>> to get the IP address (local) of the router :
>> $ ip route
>> to get the public address of the router :
>> $ curl -s http://whatismyip.akamai.com/
>> or
>> $ netcat -w 5 4.ifcfg.me 23
>> or
>> $ nc -w 5 4.ifcfg.me 23
>>
>> There is also other command lines (ifconfig (instead of ip addr),
>> route
>> -n (instead ip route), etc.).
>> ++
>>
>> Jack
>>
>>
>>
>> Le 16/12/2017 à 17:35, Roman Haefeli a écrit :
>>>
>>> Hey all
>>>
>>> Is there a simple cross-platform way for a patch to know the main
>>> IP
>>> address of the local machine? Assume the patch is connected to a
>>> remote
>>> server and is able to request its public IP address. What I like to
>>> find out is if the local patch is communicating through NAT or
>>> directly
>>> to the remote server. 
>>>
>>> An incoming IP packet from the remote server would contain that
>>> information in the destination IP address field of the IP header,
>>> but
>>> the network objects I'm using ([tcpclient] and [udpclient]) don't
>>> expose that information. 
>>>
>>> Maybe there are other ways?
>>>
>>> Roman
>>>
>&g

Re: [PD] IP address of local machine

2017-12-16 Thread Jack
Hello Roman,

Your router has a public and local IP. So, i guess your local machine
has only a local IP. Then, your local machine need to pass through your
router to access remote server. Your router has NAT rules to know which
local machine to route the content from the remote server.
I don't really understand what exactly you are looking for, but here
some possible answer (on linux) :

to get your ip address (local)
$ ip addr
to get the IP address (local) of the router :
$ ip route
to get the public address of the router :
$ curl -s http://whatismyip.akamai.com/
or
$ netcat -w 5 4.ifcfg.me 23
or
$ nc -w 5 4.ifcfg.me 23

There is also other command lines (ifconfig (instead of ip addr), route
-n (instead ip route), etc.).
++

Jack



Le 16/12/2017 à 17:35, Roman Haefeli a écrit :
> Hey all
> 
> Is there a simple cross-platform way for a patch to know the main IP
> address of the local machine? Assume the patch is connected to a remote
> server and is able to request its public IP address. What I like to
> find out is if the local patch is communicating through NAT or directly
> to the remote server. 
> 
> An incoming IP packet from the remote server would contain that
> information in the destination IP address field of the IP header, but
> the network objects I'm using ([tcpclient] and [udpclient]) don't
> expose that information. 
> 
> Maybe there are other ways?
> 
> Roman
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] pix2sig and back

2017-10-24 Thread Jack
By red I mean a RGB value (0.5, 0, 0).
++

Jack



Le 24/10/2017 à 19:07, Jack a écrit :
> OK, I tested your patch and on my side, i get a solid red square. No
> flicker.
> ++
> 
> Jack
> 
> 
> 
> Le 24/10/2017 à 18:33, Jack a écrit :
>> Hello,
>>
>> Le 24/10/2017 à 11:24, Peter P. a écrit :
>>> * cyrille henry <c...@chnry.net> [2017-10-24 13:32]:
>>>>
>>>>
>>>> Le 24/10/2017 à 13:18, Peter P. a écrit :
>>>>> Hi list,
>>>>>
>>>>> I am trying to convert an audio signal to pixel data using pix_sig2pix~
>>>>> and then back to audio data using pix_pix2sig~ without further
>>>>> manipulations. Please see attached patch.
>>>>>
>>>>> I do scale the audio signal from -1 to 1 to lie in a range compliant
>>>>> to pixel data, which I assume to be 0 to 1.
>>>>>
>>>>> Not having connected an input to the subpatch, this signal will hence be
>>>>> 0.5 and will display in the red color channel.
>>>>>
>>>>> Converting that red channel back to audio signals and doing the opposite
>>>>> scaling operation, I am getting a 51dB constant signal at the output
>>>>> even without having attached a signal to the input of pix_sig2pix~.
>>>>> Checking with a snapshot~ object indicates a constant signal of 0.003921
>>>>>
>>>>> I assume this to be due to limited resolution numbers in the pixel data
>>>>> and wonder what their resolution is?
>>>>
>>>> 8 bits / channels
>>>>
>>>> so resolution is 1/256 = 0.0039...
>>>>
>>>> You can code MSB in Red, and LSB in green is you want 16 bits...
>>>>
>>>>>
>>>>> Then I texture the pixel data onto a rectangle. This rectangle
>>>>> does flicker and flip diagonally from time to time and I wonder if it is
>>>>> an error on my machine only and where it could come from.
>>>>
>>>> I don't see any flicker in your patch. (linux / intel GPU)
>>>
>>> Thank you Cyrille for this helpful information!
>>>
>>> Jack, I am on Debian GNU/Linux with an onboard Intel graphics controller
>>> (i915 variant).
>>
>> OK, i guessed you were on nvidia because if you are not sync to vblank,
>> you often get a line diagonaly separating two pictures. It is called
>> "screen tearing".
>> I didn't test your patch yet...
>> ++
>>
>> Jack
>>
>>
>>>
>>> P
>>>
>>> ___
>>> 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] pix2sig and back

2017-10-24 Thread Jack
OK, I tested your patch and on my side, i get a solid red square. No
flicker.
++

Jack



Le 24/10/2017 à 18:33, Jack a écrit :
> Hello,
> 
> Le 24/10/2017 à 11:24, Peter P. a écrit :
>> * cyrille henry <c...@chnry.net> [2017-10-24 13:32]:
>>>
>>>
>>> Le 24/10/2017 à 13:18, Peter P. a écrit :
>>>> Hi list,
>>>>
>>>> I am trying to convert an audio signal to pixel data using pix_sig2pix~
>>>> and then back to audio data using pix_pix2sig~ without further
>>>> manipulations. Please see attached patch.
>>>>
>>>> I do scale the audio signal from -1 to 1 to lie in a range compliant
>>>> to pixel data, which I assume to be 0 to 1.
>>>>
>>>> Not having connected an input to the subpatch, this signal will hence be
>>>> 0.5 and will display in the red color channel.
>>>>
>>>> Converting that red channel back to audio signals and doing the opposite
>>>> scaling operation, I am getting a 51dB constant signal at the output
>>>> even without having attached a signal to the input of pix_sig2pix~.
>>>> Checking with a snapshot~ object indicates a constant signal of 0.003921
>>>>
>>>> I assume this to be due to limited resolution numbers in the pixel data
>>>> and wonder what their resolution is?
>>>
>>> 8 bits / channels
>>>
>>> so resolution is 1/256 = 0.0039...
>>>
>>> You can code MSB in Red, and LSB in green is you want 16 bits...
>>>
>>>>
>>>> Then I texture the pixel data onto a rectangle. This rectangle
>>>> does flicker and flip diagonally from time to time and I wonder if it is
>>>> an error on my machine only and where it could come from.
>>>
>>> I don't see any flicker in your patch. (linux / intel GPU)
>>
>> Thank you Cyrille for this helpful information!
>>
>> Jack, I am on Debian GNU/Linux with an onboard Intel graphics controller
>> (i915 variant).
> 
> OK, i guessed you were on nvidia because if you are not sync to vblank,
> you often get a line diagonaly separating two pictures. It is called
> "screen tearing".
> I didn't test your patch yet...
> ++
> 
> Jack
> 
> 
>>
>> P
>>
>> ___
>> 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] pix2sig and back

2017-10-24 Thread Jack
Hello,

Le 24/10/2017 à 11:24, Peter P. a écrit :
> * cyrille henry <c...@chnry.net> [2017-10-24 13:32]:
>>
>>
>> Le 24/10/2017 à 13:18, Peter P. a écrit :
>>> Hi list,
>>>
>>> I am trying to convert an audio signal to pixel data using pix_sig2pix~
>>> and then back to audio data using pix_pix2sig~ without further
>>> manipulations. Please see attached patch.
>>>
>>> I do scale the audio signal from -1 to 1 to lie in a range compliant
>>> to pixel data, which I assume to be 0 to 1.
>>>
>>> Not having connected an input to the subpatch, this signal will hence be
>>> 0.5 and will display in the red color channel.
>>>
>>> Converting that red channel back to audio signals and doing the opposite
>>> scaling operation, I am getting a 51dB constant signal at the output
>>> even without having attached a signal to the input of pix_sig2pix~.
>>> Checking with a snapshot~ object indicates a constant signal of 0.003921
>>>
>>> I assume this to be due to limited resolution numbers in the pixel data
>>> and wonder what their resolution is?
>>
>> 8 bits / channels
>>
>> so resolution is 1/256 = 0.0039...
>>
>> You can code MSB in Red, and LSB in green is you want 16 bits...
>>
>>>
>>> Then I texture the pixel data onto a rectangle. This rectangle
>>> does flicker and flip diagonally from time to time and I wonder if it is
>>> an error on my machine only and where it could come from.
>>
>> I don't see any flicker in your patch. (linux / intel GPU)
> 
> Thank you Cyrille for this helpful information!
> 
> Jack, I am on Debian GNU/Linux with an onboard Intel graphics controller
> (i915 variant).

OK, i guessed you were on nvidia because if you are not sync to vblank,
you often get a line diagonaly separating two pictures. It is called
"screen tearing".
I didn't test your patch yet...
++

Jack


> 
> P
> 
> ___
> 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] [PD-announce] PuREST JSON 1.4.2 "Argo in shipyard" released

2017-10-18 Thread Jack
Hello Thomas,

I find a solution (even it is not recommanded. Is it ?). See my last
mail on this list.
I never use debootstrap to compile on Linux, that's why i was looking
for a solution via deken and then with apt.
Thanks for your help and for purest_json.
++

Jack



Le 18/10/2017 à 16:45, Thomas Mayer a écrit :
> Hi,
> 
> IOhannes m zmoelnig schrieb am 18.10.2017 12:36:
> 
>>> Le 17/10/2017 à 23:03, Thomas Mayer a écrit :
>>>>> Oops, yes, that is the source of the problem. The package is
>>>>> called libjson-c2.
>>>>
>>>> And in current distributions it is superseded by libjson-c3.
>>
>> hmm, this is inaccurate, or at least it misses some information.
>>
>> the package has been renamed not because the maintainers thought it was
>> a fun thing to do, but because newer versions of json-c have broken ABI
>> (so you cannot use an application that was linked against libjson-c2
>> with the new libjson-c3, simply because the new one is missing some
>> symbols).
>>
>> this also means that if you have a PuREST JSON linked against the old
>> libjson-c2, it cannot be used with the libjson-c3 package. or vice versa.
> 
> Some additional information: The deken package has been built on Travis, i.e. 
> Ubuntu 14.04:
> 
> https://travis-ci.org/residuum/PuRestJson/jobs/188512698
> 
> Since OP has compiled Pd and Gem himself, maybe compiling PuREST JSON would 
> be the best option, just have a look at the instructions at:
> https://github.com/residuum/PuRestJson/wiki/Compilation
> 
> Hth,
> Thomas
> 
> ___
> 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] [PD-announce] PuREST JSON 1.4.2 "Argo in shipyard" released

2017-10-18 Thread Jack
Thanks a lot Claude, it works fine now !

Here what i did (after installing dependencies for purest_json, except
puredata-core) :
$ sudo apt-get --no-install-recommends install puredata-core
$ sudo apt install pd-purest-json

And then in Pd :
[declare -path /usr/lib/pd/extra/purest_json]
Now, Pd can load properly [json-decode].
++

Jack



Le 18/10/2017 à 16:15, Claude Heiland-Allen a écrit :
> Hi,
> 
> On 18/10/17 14:45, Jack wrote:
>> Or, maybe, i can install puredata-core without deps. In this case, how i
>> can do that ?
> 
> you can't install without deps, but you can install without recommends:
> 
> $ man apt-get
> /recommends
> 
> gives:
> 
>--no-install-recommends
>Do not consider recommended packages as a dependency for
>installing. Configuration Item: APT::Install-Recommends.
> 
> $ man aptitude
> /recommends
> 
> gives:
> 
>-R, --without-recommends
>Do not treat recommendations as dependencies when installing new
>packages (this overrides settings in /etc/apt/apt.conf and
>~/.aptitude/config). Packages previously installed due to
>recommendations will not be removed.
> 
>This corresponds to the pair of configuration options
>APT::Install-Recommends and APT::AutoRemove::RecommendsImportant.
> 
> 
> but unfortunately:
> 
> $ man apt
> /recommends
> 
> gives no results, same in man pages for apt.conf and apt_preferences
> 
> sorry for having suggested the manuals are all helpful,
> 
> 
> Claude
> 


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


Re: [PD] [PD-announce] PuREST JSON 1.4.2 "Argo in shipyard" released

2017-10-18 Thread Jack
Hello Claude,

Thanks for these explanations.
So according to :
$ apt-cache show pd-purest-json | grep -e ^Depends -e ^Recommends

pd-purest-json only depends on :
- libc6
- libcurl3-gnutls
- libjson-c3
- liboauth0
- puredata-core or pd

On my system, pd is in /usr/local and sources are in my home, maybe
there is a possibility to tell to apt to use the source of Pd in my home
to install pd-purest-json. I understand this is not the regular way to
install package but if can do it without to install all dependancies, i
will give it a try.

Or, maybe, i can install puredata-core without deps. In this case, how i
can do that ?

Thanx for help.
++

Jack



Le 18/10/2017 à 13:42, Claude Heiland-Allen a écrit :
> On 18/10/17 12:07, Jack wrote:
>> Le 18/10/2017 à 12:36, IOhannes m zmoelnig a écrit :
>>> deken is not really meant for such use cases at all.
>>>
>>> however, other package management systems do provide means to track ABI
>>> changes in libraries. e.g. "apt", the Debian package manager.
>>> so if you have the option to use the Debian packages, please use them.
>>> all these problems will be gone!
>> Is there a reason that when I try to do :
>> $ sudo apt install pd-purest-json
>>
>> apt tries to download :
>> gem gem-doc gem-extra gem-plugin-gmerlin gem-plugin-lqt
>> gem-plugin-magick gem-plugin-v4l2 pd-libdir pd-purest-json puredata
>> puredata-core puredata-doc puredata-extra puredata-gui puredata-utils
> 
> apt chases dependencies (which it must to keep your system functional),
> and recommendations (though you can turn that off if you want, the
> manual explains how)
> 
> here are the depends and recommends my install finds today:
> 
> $ apt-cache show pd-purest-json | grep -e ^Depends -e ^Recommends
> Depends: libc6 (>= 2.4), libcurl3-gnutls (>= 7.16.2), libjson-c3 (>=
> 0.10), liboauth0 (>= 0.9.1), puredata-core | pd
> Recommends: pd-libdir
> 
> $ apt-cache show puredata-core | grep -e ^Depends -e ^Recommends
> Depends: libasound2 (>= 1.0.16), libc6 (>= 2.14), libportaudio2 (>=
> 19+svn20101113)
> Recommends: puredata-gui
> 
> $ apt-cache show puredata-gui | grep -e ^Depends -e ^Recommends
> Depends: python3:any, tk (>= 8.4), tcl8.5 | tclsh
> Recommends: puredata
> 
> $ apt-cache show puredata | grep -e ^Depends -e ^RecommendsDepends:
> puredata-core, puredata-gui, puredata-doc, puredata-extra,
> puredata-utils, puredata-dev
> Recommends: gem
> 
> $ apt-cache show gem | grep -e ^Depends -e ^Recommends
> Depends: libc6 (>= 2.15), libftgl2 (>= 2.1.3~rc5), libgcc1 (>= 1:3.0),
> libgl1-mesa-glx | libgl1, libglew2.0 (>= 1.12.0), libglu1-mesa |
> libglu1, libice6 (>= 1:1.0.0), libsm6, libstdc++6 (>= 5.2), libxxf86vm1,
> zlib1g (>= 1:1.1.4), puredata-core | pd
> Recommends: gem-doc, gem-extra, gem-plugin-gmerlin | gem-plugin-film,
> gem-plugin-magick | gem-plugin-image, gem-plugin-lqt |
> gem-plugin-record, gem-plugin-v4l2 | gem-plugin-video
> 
>> I still have installed Pd from source (idem for Gem) ?
> 
> apt doesn't know or care about that
> 
> 
> Claude
> 


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


Re: [PD] [PD-announce] PuREST JSON 1.4.2 "Argo in shipyard" released

2017-10-18 Thread Jack
Hello Johannes,

I keep this topic for the list since it is related to purest_json...

Le 18/10/2017 à 12:36, IOhannes m zmoelnig a écrit :
>> Le 17/10/2017 à 23:03, Thomas Mayer a écrit :
>>>> Oops, yes, that is the source of the problem. The package is
>>>> called libjson-c2.
>>>
>>> And in current distributions it is superseded by libjson-c3.
> 
> hmm, this is inaccurate, or at least it misses some information.
> 
> the package has been renamed not because the maintainers thought it was
> a fun thing to do, but because newer versions of json-c have broken ABI
> (so you cannot use an application that was linked against libjson-c2
> with the new libjson-c3, simply because the new one is missing some
> symbols).
> 
> this also means that if you have a PuREST JSON linked against the old
> libjson-c2, it cannot be used with the libjson-c3 package. or vice versa.
> 
> 
> On 2017-10-18 12:07, Jack wrote:
>>
>> Do we need a new version of purest_json on deken ?
> 
> well, yes or no.
> there's no need for a "new version" at all, since there is no need to
> change PuREST JSON (the source code).
> you could however recompile purest-json against the new json-c and
> upload an *alternative* version. this alternative version will not be
> usable on systems that ship libjson-c2.
> so if a new upload replaces the old one, you will see the same problem
> on other machines ("this doesn't necessarily involve "physical
> replacement"; it's enough to lure people into downloading the new one,
> e.g. by bumping the version number)
> 
> deken is not really meant for such use cases at all.
> 
> however, other package management systems do provide means to track ABI
> changes in libraries. e.g. "apt", the Debian package manager.
> so if you have the option to use the Debian packages, please use them.
> all these problems will be gone!
Is there a reason that when I try to do :
$ sudo apt install pd-purest-json

apt tries to download :
gem gem-doc gem-extra gem-plugin-gmerlin gem-plugin-lqt
gem-plugin-magick gem-plugin-v4l2 pd-libdir pd-purest-json puredata
puredata-core puredata-doc puredata-extra puredata-gui puredata-utils

I still have installed Pd from source (idem for Gem) ?
Thank you for your clarification.
++

Jack


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




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


Re: [PD] [PD-announce] PuREST JSON 1.4.2 "Argo in shipyard" released

2017-10-18 Thread Jack
Hello Thomas,

Thanks for the info, libcurl3, liboauth0 and libjson-c3 are now installed.
But, I am still unlucky with deken install, I get nothing after [declare
-stdpath purest_json -stdlib purest_json] and [json-decode] :
 json-decode
... couldn't create

In verbose mode I get :
...
tried /home/jack/.local/lib/pd/extra//purest_json/json-decode.pd_linux
and succeeded
...

Do we need a new version of purest_json on deken ?
++

Jack



Le 17/10/2017 à 23:03, Thomas Mayer a écrit :
> On 17.10.2017 22:55, Thomas Mayer wrote:
>> Hi,
> 
>> On 16.10.2017 22:50, Jack wrote:
>>> Hello Johannes,
> 
>>> Thank you, but even with [declare -stdpath purest_json -stdlib 
>>> purest_json] it doesn't work.
> 
>>> libjson0 doesn't exist anymore on the official repository for 
>>> Ubuntu 17.10 and according to the doc of purest_json, libcurl3 
>>> liboauth0 libjson0 are needed. Maybe the source of the problem ?
>>>  https://ix.residuum.org/pd/purest_json.html
> 
>> Oops, yes, that is the source of the problem. The package is
>> called libjson-c2.
> 
> And in current distributions it is superseded by libjson-c3.
> 
> Hth,
> Thomas
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] [PD-announce] PuREST JSON 1.4.2 "Argo in shipyard" released

2017-10-16 Thread Jack
Hello Johannes,

Thank you, but even with [declare -stdpath purest_json -stdlib
purest_json] it doesn't work.

libjson0 doesn't exist anymore on the official repository for Ubuntu
17.10 and according to the doc of purest_json, libcurl3 liboauth0
libjson0 are needed. Maybe the source of the problem ?
https://ix.residuum.org/pd/purest_json.html
++

Jack



Le 16/10/2017 à 21:40, IOhannes m zmölnig a écrit :
> On 10/16/2017 07:32 PM, Jack wrote:
>> [declare -stdlib purest_json] return nothing in the Pd console.
> 
> if you haven't loaded the "libdir" loader, you might need to add
> [declare -stdpath purest_json] as well.
> 
> 
> dasmr
> IOhannes
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] [PD-announce] PuREST JSON 1.4.2 "Argo in shipyard" released

2017-10-16 Thread Jack
Hello Thomas,

I just installed purest_json via deken but I can't create [json-decode].
[declare -stdlib purest_json] return nothing in the Pd console.

My configuation :
Pd version 0.48.0-test5
Ubuntu 17.10

Any clue ?
Thanx.
++

Jack



Le 03/01/2017 à 14:04, Thomas Mayer a écrit :
> Hello,
> 
> I am happy to announce the release of PuREST JSON 1.4.2, code name:
> Argo in shipyard.
> 
> This release is a minor update and contains changes to the build scripts
> and documentation. This version also has a Mac OS X release available
> via deken.
> 
> PuREST JSON is a library for working with RESTful HTTP webservices, and
> JSON data.
> 
> Authentication and authorization for webservices are available with
> basic HTTP auth, cookie authentication, and OAuth. As an example for
> OAuth authenticated webservices, a Twitter client is included.
> 
> This release is available from deken for Windows, Linux i386, and Linux
> x86_64 with the name "purest_json"
> 
> Changes since 1.4.1:
> - Update of build scripts and documentation
> - Usage of CI for build
> 
> See the full changelog at
> https://github.com/residuum/PuRestJson/blob/master/Changelog.txt
> 
> Github repository:
> https://github.com/residuum/PuRestJson
> 
> Source code packages:
> https://github.com/residuum/PuRestJson/releases
> 
> Full documentation:
> https://github.com/residuum/PuRestJson/wiki
> 
> Build instructions for all platforms:
> https://github.com/residuum/PuRestJson/wiki/Compilation
> 
> Have fun,
> Thomas
> 


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


Re: [PD] object that routes bangs to different outputs like a counter?

2017-10-16 Thread Jack
Le 16/10/2017 à 17:03, cyrille henry a écrit :
> 
> 
> Le 16/10/2017 à 13:49, enrike a écrit :
> 
>> I am doing *very* short introductions to PD to art students who are
>> very far from being technical. In that context I noticed that the less
>> connections the better. I basically provide them with ready to use
>> examples and a basic understanding of how to tweak them.
> 
> 
> I don't blame anyone having trouble to creating box and connecting them,
> but I think pd is not the right tools for someone in this situation.
> there are lot's of tools and programming language available...
> 
> My point of view is that pd is not simple. You should not lie to your
> student saying it's simple. They will drop pd when they realize the
> truth. Teaching the vanilla way is, imo, the best way to teach pd.
> 
> In your situation, i'll made everything as subpatch, and sub sub patch:
> if you look at the surface, you see only the algorithm and few
> connections. If you go deeper, you can understand how things are made,
> and how 2 or 3 object can create a counter.
> 
> Also, since all student will have different version of pd installed on
> there computer, the vanilla way it the only one that will work for all.
> And learning to make clean and well organized code is also very
> important : it's easier to debug, to understand etc.

... and to read your own patch 3 days later ! ;)

With my experience in teaching Pd, I can confirm what Cyrille wrote :

- Pd Vanilla is the best way because you can share the code between all
platforms using compatible version of Pd.
- make a good presentation with comment using subpatch or abstractions
as functions/objects to organize things.
- you have to learn the basics of math and how to write an algorithm.
- etc.

You can find recommandations on the web to write a 'good/nice' code and
what you need for this. Learning a programming language is not easy, I
don't know who proclaims this ?
++

Jack


> 
> cheers
> c
> 
> 
> 
> ___
> 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] preview in Gem ? ...

2017-10-15 Thread Jack
It is also possible to use [pix_share_read] and [pix_share_write] to
share pix_ between two instances of Pd (with Gem).
++

Jack


Le 15/10/2017 à 20:15, IOhannes m zmölnig a écrit :
> On 10/15/2017 08:10 PM, oliver wrote:
>> hi, list !
>>
>> couldn't find anything in the archives that provided a solution, just
>> discussions about it, so here i go again:
>>
>> is it possible to have something like a preview window for Gem output
>> (or even single pixes or textures) ?
>>
>> or are there any workarounds ?
>>
>> i read about a preview made of data structures, but never found a
>> downloadable patch for it ...
>>
>> thanks for any hints !
> 
> the simplest solution is to just create a large window that gets
> displayed both on your secondary "public" screen (in fullscreen) and on
> your primary "control" screen (only a small portion).
> then render everything into a framebuffer, and render *that* as a
> texture on both the public and the control screen.
> 
> also the current git theoretically supports multiple windows (though
> there might be a number of glitches).
> 
> gamdsr
> IOhannes
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] snd

2017-10-10 Thread Jack
Hello Simon,

Have a look at :
/Gem/examples/10.glsl/09.vertex_texture_fetching.pd
That could help you to realize what you are loking for.

To save in high res image you can look at :
Gem/examples/02.advanced/09.SnapshotSaveHD
++

Jack



Le 10/10/2017 à 14:30, Simon Iten a écrit :
> hi list,
> 
> is somebody on this list using snd regularly?
> 
> i was looking at this image:
> 
> https://commons.wikimedia.org/wiki/File:Spectrogram.png
> 
> according to the file description it is done with snd.
> 
> is this hard to do? hard as in: can i do this in a semi automated way to
> 12 files all about 12-15 mins long? (about 150mb each)
> 
> or is there something similar for puredata?
> 
> the end result will have to be exported to vector graphics or high
> resolution image.
> 
> 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] Command line pd --help launches pd

2017-09-27 Thread Jack
To get help it is :
$ pd -help
See :
$ man pd

There is no option with --

But, yes the option -help disappeared on my Pd-0.48.0 ("test5") (Ubuntu
17.04).
And if you start Pd with a wrong option, Pd start and return in the
terminal :
usage: pd [-flags] [file]...
...
with all options available.

++

Jack




Le 27/09/2017 à 05:45, Alexander Connor a écrit :
> I noticed this as well.  Don't remember it happening until 0.48.  Annoying. 
> 
> 
> 
> 
> On Wed, 27 Sep 2017 11:16:00 +0200, Jérôme Abel <abel.jer...@free.fr> wrote:
> 
>> Hi,
>>
>> I don't know if it is a normal behavior, when I type "pd --help" in a 
>> Terminal, Pd is launched.
>>
>> Usually this kind of command just print the help.
>>
>> +
>>
>> j.
>>
>>
>> ___
>> 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] [Gem] changed [ortho] behaviour

2017-09-10 Thread Jack
Just don't forget [GEMglMatrixMode GL_MODELVIEW] after [GEMglOrtho -1 1
-1 1 1 20] to manipulate transformations on model (geos) (and view).
++

Jack



Le 11/09/2017 à 00:32, Roman Haefeli a écrit :
> On Mon, 2017-09-11 at 00:24 +0200, Jack wrote:
>> Here, your patch using what we said before as a workaround... if
>> needed ! :)
> 
> You were faster than me :-)  Yes, this is what I meant to do. Thanks
> for clarifying.
> 
> Roman
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




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


Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Jack
Here, your patch using what we said before as a workaround... if needed ! :)
++

Jack



Le 11/09/2017 à 00:10, Roman Haefeli a écrit :
> On Son, 2017-09-10 at 23:33 +0200, cyrille henry wrote:
>> hello,
>>
>> Le 10/09/2017 à 22:34, Roman Haefeli a écrit :
>>
>>>
>>>>
>>>>>
>>>>> But how can someone use the full window area with the new
>>>>> default
>>>>> mode?
>>>> changing the windows perspective!!!
>>>> (using the perspec message to gemwin, see help file)
>>> Sorry, I don't understand. Maybe I simply don't understand which
>>> question this answers.
>> question : "But how can someone use the full window area with the new
>> default mode?"
>> answer : "changing the windows perspective!!!"
>>
>> if you create a 200x100 windows, the perspective is set to 16 unit
>> wide an 8 unit high
>> you can change that to have 8x8 unit thanks to messages send to
>> gemwin.
> 
> Ah, I see. The old [ortho] made gemwin width always 8 units (not 4 as I
> said before).
> 
> 
>> if you render only a rectangle or any flat primitive, then ortho
>> should have no effect.
>> did you try the help patch, or with a square?
> 
> I get that, I was using the [rectangle] example only to illustrate the
> invisible render window of 500x500px. 
> 
> My initial task that got me into investigating changes in [ortho] is
> rendering a cylinder that fits exactly into a window of a given size.
> It was very easy to do in the last Gem release, but I don't seem able
> to do it with current Gem. 
> 
> See attached patch (it is rendered as intended only in "old" Gem)
> 
>> I used a Gem version from few month ago. I don't thik there is any
>> significant change since.
>>
>> So, all in all :
>> - if you want a square to be redered as a rectangle (to fit the
>> windows dimention), you have to change the perspective. (see gemwin
>> help / [pd more viewing])
>> - ortho used to change the perspective, but that was a bug
>> - ortho does not have any effect on 2d object rendered at Z=0.
>> - ortho do have a new bug : it's perspective is not affected by a
>> windows resizing, so it consider the windows to be 500x500.
> 
> Thanks for clarifying.
> 
> Roman
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 



full_window_cylinder_wa.pd
Description: application/extension-pd


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


Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Jack
Le 10/09/2017 à 23:50, cyrille henry a écrit :
> 
> 
> Le 10/09/2017 à 23:34, Jack a écrit :
> ...
>> Don't forget to use just after your geo (if you want your perspective
>> come back) :
>>
>> [GEMglMatrixMode GL_PROJECTION]
>> |
>> [GEMglLoadIdentity]
>> |
>> [GEMglFrustum -1 1 -1 1 1 20]
> 
> this will only work for square windows : unlike the perspec message,
> frustrum is not affected by the gemwin dimension.

Yes, you need [GEMglFrustum -dimenX/dimenY dimenX/dimenY -1 1 1 20].
> 
> My last patch can be simplified thanks to this message. see attachment
> (change the windows dimension)

Yep, we get a rectangle.
++

Jack


> 
> cheers
> c
> 
> 
> ___
> 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


  1   2   3   >