Re: [PD] Implementing compressor as a patch?

2019-04-08 Thread Roman Haefeli
On Mon, 2019-04-08 at 13:18 +0200, IOhannes m zmoelnig wrote: > On 08.04.19 12:23, Roman Haefeli wrote: > > On Mon, 2019-04-08 at 10:13 +0200, IOhannes m zmoelnig wrote: > > > On 08.04.19 05:22, Alexandre Torres Porres wrote: > > > > hi, you responded to my &qu

Re: [PD] Implementing compressor as a patch?

2019-04-08 Thread Roman Haefeli
On Sun, 2019-04-07 at 23:45 -0300, Alexandre Torres Porres wrote: > Howdy, I'm giving a try at how to implement a compressor as a Pd > patch. This is what I came up with, it needs cyclone 0.3! Here's a > screenshot. I'm using rms average to detect the gain level and > rampsmooth~ to perform

Re: [PD] Getting 32 bit floating point number from 4 sequential bytes

2019-04-07 Thread Roman Haefeli
Hi Arda On Fri, 2019-04-05 at 16:00 +0300, Arda Eden wrote: > > I am reading the udp data with [netreceive] succesfully and able to > reach any value I need. Now trying to find a way to combine these > (big endian) sequential 4 bytes in order to get the resulting 32 bit > floating point number.

Re: [PD] Getting 32 bit floating point number from 4 sequential bytes

2019-04-06 Thread Roman Haefeli
On Sat, 2019-04-06 at 11:28 +0200, cyrille henry wrote: > > > An other solution is to use bitwise operator : > > my_float = (byte1 << 24) & (byte2 << 16) & (byte3 << 8) & byte4; From what I understand, the result is not a 32 bit floating point number, but a 32 bit unsigned int (assuming that

Re: [PD] ggee/shell makes pd+gem crash

2019-03-20 Thread Roman Haefeli
On Wed, 2019-03-20 at 13:42 +0100, IOhannes m zmoelnig wrote: > > > Personally, I'd prefer if the > > library was hosted at a central place and I don't actually need my > > personal fork. > > +1 Glad we agree. > > I don't have access to the pd-externals group, so unless someone > > makes > >

Re: [PD] ggee/shell makes pd+gem crash

2019-03-20 Thread Roman Haefeli
Hi Jean-Yves On Tue, 2019-03-19 at 18:26 +0100, Jean-Yves Gratius wrote: > Well, I'd like to do a pull request for ggee/shell external. > Which repository should I refer to ? > https://github.com/pd-externals/ggee ? > https://github.com/reduzent/pd-ggee ? The latter is mine and I

Re: [PD] hanging

2019-02-15 Thread Roman Haefeli
On Fri, 2019-02-15 at 13:28 +0100, michael strohmann wrote: > i know its kind of a stupid question, but > what causes a program (or pd in particular) to become unresponsive ? Typically, a program hangs when it is waiting for some kind of resource. This might be a system resource (allocating

Re: [PD] trying to set up OSC between Unity and PD via [netreceive] or [iemnet/udpreceive]

2019-02-10 Thread Roman Haefeli
The equivalent to [iemnet/udpreceive] is [netreceive -u -b]. Roman On Sat, 2019-02-09 at 23:40 -0800, Scott R. Looney wrote: > hey folks, i'm trying to set up a OSC communication between Unity and > PD. the eventual goal is that an iOS app will be sending data to PD > to control various

Re: [PD] [soundfiler] - too many open files / bad file descriptor error (meaning?)

2019-02-09 Thread Roman Haefeli
On Fri, 2019-02-08 at 21:57 -0200, Alexandre Torres Porres wrote: > Thanks Dan, I'll keep thinking about it. For now I made a quick fix > so I could release an update of my library and tutorial (already > out!) I don't see any leaking file handles anymore. Cool! Thanks for fixing. Roman

Re: [PD] [soundfiler] - too many open files / bad file descriptor error (meaning?)

2019-02-09 Thread Roman Haefeli
On Fri, 2019-02-08 at 16:09 -0200, Alexandre Torres Porres wrote: > Anyway, this means the only way for me to deal with this is to close > the directory EVERY time right after I open it. But it's not ideal > for the design of this object, where I wanted it to leave the > directory open so we could

Re: [PD] [soundfiler] - too many open files / bad file descriptor error (meaning?)

2019-02-08 Thread Roman Haefeli
Hi Alex I see that your version of [conv~] uses [else/dir] internally and this external of yours is still leaking file handles. I think I already reported this, but can't find an open issue about it. Maybe you closed them, despite them not being fixed. Anyway, last time I checked, each instance

Re: [PD] aconnect midi devices with identical client and port numbers

2019-02-05 Thread Roman Haefeli
On Tue, 2019-02-05 at 16:53 +0100, Ingo wrote: > I know it's easy to install but I have a "closed" operating system > that cannot > be changed that easily anymore. > It's a "hardware" style device that's out with quite a few people > already. > Updating the operating system is not an option for

Re: [PD] aconnect midi devices with identical client and port numbers

2019-02-05 Thread Roman Haefeli
On Tue, 2019-02-05 at 14:47 +0100, Roman Haefeli wrote: > On Tue, 2019-02-05 at 13:57 +0100, Ingo wrote: > > > > does qjackctl show both devices? > > > if so, you could try to use that for the connection management. > > > > Unfortunately I don't have qjackctl

Re: [PD] aconnect midi devices with identical client and port numbers

2019-02-05 Thread Roman Haefeli
On Tue, 2019-02-05 at 13:57 +0100, Ingo wrote: > > does qjackctl show both devices? > > if so, you could try to use that for the connection management. > > Unfortunately I don't have qjackctl installed ... :-( Fortunately, it's free software and can be installed with 'apt installed qjackctl'

Re: [PD] Advantages of using [timer] over [realtime]

2019-01-31 Thread Roman Haefeli
On Thu, 2019-01-31 at 15:13 +, Mario Buoninfante wrote: > What would be the pros and cons in using [timer] instead of > [realtime]. Do you expect some salesman's answer? I'm not good in that. Asking for pros and cons sounds like they have similar features where one is "shining" in one

Re: [PD] TCP weirdness ? ...

2019-01-30 Thread Roman Haefeli
On Wed, 2019-01-30 at 01:02 +0100, Christof Ressi wrote: > > situation and try to avoid to connect to ports, that aren't open ;- > > ) > > or ping them first in the command line :-D ping doesn't help much with testing for open ports. nc (netcat) can be used, but it behaves the same: If it

Re: [PD] batch processing and event execution

2019-01-29 Thread Roman Haefeli
On Tue, 2019-01-29 at 14:50 +0100, Federico Camara Halac wrote: > So, 'deterministic' here would mean that, no matter what, it does > what it is asked for in the given order, waiting every time until > each step is done? Exactly. > I guess that if I ask for a 'list' of all events, I mean the

Re: [PD] batch processing and event execution

2019-01-29 Thread Roman Haefeli
On Tue, 2019-01-29 at 13:55 +0100, Fede Camara Halac wrote: > Thanks Christof and Claude for your replies. > > My question need some clarification, namely that I am not using any > object calling clocks (delay, metro, pipe, etc) or dsp objects. I am > only interested in 0-time ordering, for

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
On Fri, 2019-01-25 at 22:44 +0100, Christof Ressi wrote: > > From reading a bit more about protocols, particularly about ICMP > > [1], I > > think what happens is that the receiving host sends a ICMP error > > packet > > to the sending host, telling that the destination port is > > unreachable. >

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
On Fri, 2019-01-25 at 21:09 +0100, Christof Ressi wrote: > > the sender socket is in some cases > > notified about the termination of the receiving socket. > > this what happens in Pd with [netsend -u], but it's *not* what one > would expect from UDP. on all the socket libraries I've used, >

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
what kind of software is opening the listening socket on the phone? Roman On Fri, 2019-01-25 at 15:14 +0100, Roman Haefeli wrote: > On Fri, 2019-01-25 at 15:01 +0100, michael strohmann wrote: > > thanks for the answer! > > but, > > in order to show that there is a connection

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
On Fri, 2019-01-25 at 15:01 +0100, michael strohmann wrote: > thanks for the answer! > but, > in order to show that there is a connection betwenn the app to pd i > do: > > [metro 1000] > > > > [toggle( > > > > [oscformat BlinkingButton/value] > > > >

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
On Fri, 2019-01-25 at 11:31 +0100, michael strohmann wrote: > > i need to send OSC messages to a number of smartphones via UDP. > the phones are used as remote controls for the patch, so i send the > status of the patch to the phones every second. > since the phones are sometimes out of WLAN

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread Roman Haefeli
On Thu, 2019-01-24 at 18:24 +0100, Jack wrote: > I guess you mean [list fromsymbol] to convert symbols to their > byte-representation ? ;) Have you tried [fudiformat]? I think IOhannes actually meant it. Roman signature.asc Description: This is a digitally signed message part

Re: [PD] Adjusting swept / chirp signal logarithmically or exponentially

2019-01-24 Thread Roman Haefeli
On Thu, 2019-01-24 at 07:04 -0500, RT wrote: > I know we can create a swept / chirp signal with the code below but > how does one adjusting the signal logarithmically or exponentially [69, 81 1000( | [line~] | [mtof~] | [osc~] | \ [dac~] Roman signature.asc Description: This is a digitally

Re: [PD] hid

2019-01-24 Thread Roman Haefeli
On Thu, 2019-01-24 at 11:00 +0100, IOhannes m zmoelnig wrote: > On 24.01.19 10:46, Raphael Isdant wrote: > > I didn't tried it yet, but you can find a compiled version > > you could also just try to compile [hid] (and upload it to deken). > i don't think it's super hard. I tried with hid-0.7

Re: [PD] [text] issue reading SysEx files

2019-01-22 Thread Roman Haefeli
On Mon, 2019-01-21 at 13:34 +0100, IOhannes m zmoelnig wrote: > On 21.01.19 12:48, Roman Haefeli wrote: > > On Mon, 2019-01-21 at 10:03 +0100, Antoine Rousseau wrote: > > > > make an addition to soundfiler to read binary characters into > > > > an > > > &g

Re: [PD] [text] issue reading SysEx files

2019-01-21 Thread Roman Haefeli
On Mon, 2019-01-21 at 10:03 +0100, Antoine Rousseau wrote: > > make an addition to soundfiler to read binary characters into an > > array. > > wouldn't "read -raw 0 1 1 n" work? It would be cool if -raw would allow 1 byte per sample. But even if it worked this way, the result would be scaled to

Re: [PD] open [openpanel] window in the patch folder

2019-01-15 Thread Roman Haefeli
On Tue, 2019-01-15 at 14:08 -0200, Alexandre Torres Porres wrote: > > > Em ter, 15 de jan de 2019 às 13:56, Roman Haefeli > escreveu: > > > > I can currently only test on Linux, but yes it works. However, when > > banging [openpanel] initially, it doesn't o

Re: [PD] open [openpanel] window in the patch folder

2019-01-15 Thread Roman Haefeli
On Tue, 2019-01-15 at 13:28 -0200, Alexandre Torres Porres wrote: > > > Em ter, 15 de jan de 2019 às 12:30, Roman Haefeli > escreveu: > > On Tue, 2019-01-15 at 13:35 +, Mario Buoninfante wrote: > > > > > Would it be possible to use something like t

Re: [PD] open [openpanel] window in the patch folder

2019-01-15 Thread Roman Haefeli
On Tue, 2019-01-15 at 13:35 +, Mario Buoninfante wrote: > Would it be possible to use something like the following > > [symbol ./( > | > | > [openfolder] > > to open the dialog window in the current patch folder? > > This syntax works when you save or load files (ie with [textfile]), > but

Re: [PD] vanilla partitioned convolution abstraction

2019-01-13 Thread Roman Haefeli
On Sat, 2019-01-12 at 22:56 -0200, Alexandre Torres Porres wrote: > Em sex, 11 de jan de 2019 às 19:25, Alexandre Torres Porres < > por...@gmail.com> escreveu: > > So it seems this delay scheme needs to be revised, and maybe that's > > why the minimum window size of 64 gives us some weird

Re: [PD] speed

2019-01-13 Thread Roman Haefeli
On Sat, 2019-01-12 at 20:44 +, Jonathan Wilkes wrote: > >On Friday, January 11, 2019, 8:12:46 AM EST, Roman Haefeli < > reduz...@gmail.com> wrote: > > >> so, what is the actually algotithm the [line] object is using? > > > Check the help of line. I can

Re: [PD] speed

2019-01-11 Thread Roman Haefeli
On Fri, 2019-01-11 at 13:20 +0100, michael strohmann wrote: > ok, then there might be the problem. > i was thinking that [line] runs thru ALL the numbers in different > speeds. No. > which, come to think of it, might be a problem if i ask it to run > from 0 to 10 in 10 ms. That's not the

Re: [PD] vanilla partitioned convolution abstraction

2019-01-09 Thread Roman Haefeli
On Wed, 2019-01-09 at 13:44 -0200, Alexandre Torres Porres wrote: > hmm, weird, I don't seem to find problems... Aha? Even with attached test3.pd patch saved along the original test.pd patch? You can compare 64 to 128 and I get a glitchy tone with a frequency of 690 Hz (which seems to come from

Re: [PD] vanilla partitioned convolution abstraction

2019-01-09 Thread Roman Haefeli
On Wed, 2019-01-09 at 11:27 -0200, Alexandre Torres Porres wrote: > yeah, I also get lots of glitches and artifacts with a 64 minimum > window. I have to increase the delay up to 50ms so I get rid of them, > which is kinda bad, even though it seems incredibly efficient. Just to clear: I'm not

Re: [PD] vanilla partitioned convolution abstraction

2019-01-09 Thread Roman Haefeli
Hi It performs even better than William Brent's [convolve~] external, even with small delays. When both set to 256, I get 9% load vs. 26%. However, I get artefacts with a setting of 64 samples. When loading the various IRs, the result sometimes sounds glitchy. Setting of 128 or higher are always

Re: [PD] ugly font edges on non-black background

2019-01-08 Thread Roman Haefeli
I can't reproduce with the help of [text3d]. Have you tried using a TrueType font? Gruss Roman On Tue, 2019-01-08 at 16:32 +0100, Csaba Láng wrote: > Dear list, > > I would like to use [text3d] texts on yellow background but the edge > of the texts are so ugly that I am concerning to use

Re: [PD] name of latency measurement algorithm

2018-12-13 Thread Roman Haefeli
On Thu, 2018-12-13 at 15:09 +0100, Peter P. wrote: > * Roman Haefeli [2018-12-13 13:52]: > > On Thu, 2018-12-13 at 13:21 +0100, Peter P. wrote: > > > * Roman Haefeli [2018-12-13 11:58]: > > > > Hey all > > > > > > > > I once

Re: [PD] name of latency measurement algorithm

2018-12-13 Thread Roman Haefeli
On Thu, 2018-12-13 at 13:21 +0100, Peter P. wrote: > * Roman Haefeli [2018-12-13 11:58]: > > Hey all > > > > I once read about a simple and robust way to perform latency > > measurements with an audio signal. > > > > Explained in a few words, the test

[PD] name of latency measurement algorithm

2018-12-13 Thread Roman Haefeli
Hey all I once read about a simple and robust way to perform latency measurements with an audio signal. Explained in a few words, the test signal consists of a sweeping sine tone. The return signal ring-modulates the source signal and the resulting signal consists of two frequencies, the sum (

Re: [PD] Deken - question / feature request

2018-12-09 Thread Roman Haefeli
Hi On Sun, 2018-12-09 at 14:17 +0100, João Pais wrote: > I need to distribute a patch, which has to be programmed in Pd > Vanilla but > with some external libraries. Since the patch will be downloaded by > unexperienced persons, > it would be good that the externals would be >

Re: [PD] vanilla OSC message format

2018-11-23 Thread Roman Haefeli
On Fri, 2018-11-23 at 22:37 +0100, Max wrote: > > [symbol vector( > | > [oscformat -f s subscribe @ blender Root] Try this: [bang( | [oscformat subscribe @ blender Root vector] It should give you the byte-identical result as [packOSC] output. > [netreceive {port} 1] That's ok if you

Re: [PD] case-sensitivity for filenames of abstractions on different OSes?

2018-11-20 Thread Roman Haefeli
On Tue, 2018-11-20 at 15:26 +0100, Peter P. wrote: > Hi, > > is it possible that an abstraction loads as [myabs] when only a > myAbs.pd file is present under OS X? Yes, I believe so. > I thought that filenames on Unix Systems are case sensitive and that > they are not so on Windows. Depends

Re: [PD] time/date objects in zexy

2018-11-19 Thread Roman Haefeli
On Mon, 2018-11-19 at 13:30 -0200, Alexandre Torres Porres wrote: > > > Em seg, 19 de nov de 2018 às 12:43, IOhannes m zmoelnig < > zmoel...@iem.at> escreveu: > > better yet: use [declare -path zexy -lib zexy] > > doesn't just [declare -lib zexy] work? No, some objects like [rad2deg] are

Re: [PD] time/date objects in zexy

2018-11-18 Thread Roman Haefeli
On Sun, 2018-11-18 at 11:08 -0600, Rick Snow wrote: > The time and date objects in the current zexy are not loading on > macOS High Sierra. When I pull the .pd_darwin files from an old pd- > extended resources/extra/zexy folder they do load. Make sure to load the library. Only adding the path is

Re: [PD] No current Gem for OS X?

2018-11-13 Thread Roman Haefeli
On Tue, 2018-11-13 at 12:10 +0100, Jean-Marie Adrien wrote: > does it mean that GEM will not work on mac OsX mojave ?? > gasp ! > :( If that is the first time you gasp while using a Mac, then call yourself lucky! Roman signature.asc Description: This is a digitally signed message part

Re: [PD] German translation of Pd

2018-11-09 Thread Roman Haefeli
On Fri, 2018-11-09 at 12:09 +0100, Max wrote: > On 09.11.18 01:16, Simon Iten wrote: > > > > > On 8 Nov 2018, at 15:58, IOhannes m zmoelnig > > > wrote: > > > > > > none of them ring with me. > > > both "knopf" and "schalter" evoke quite specific images in my > > > head,

Re: [PD] monitoring function REC-Play for looper

2018-11-08 Thread Roman Haefeli
On Thu, 2018-11-08 at 13:23 +0100, Clemens wrote: > But what do you mean with "fan-outs"? A fan-out in Pd usually means that a single outlet is connected to two or more inlets. IOhannes strongly advises you to get rid of them, because the order the many inlets receive the message from the outlet

Re: [PD] send~ and receive~ with blocksize different than Pd's?

2018-11-01 Thread Roman Haefeli
On Thu, 2018-11-01 at 14:46 +0100, Peter P. wrote: > Hi, > > I am trying to use a [block~ 1024 1 16] object in a subpatch to > oversample 16 times. If this subpatch uses send~ and receive~ > objects, > or throw~ and catch~ Pd reports the error that: > receive~ foo: vector size mismatch >

Re: [PD] trouble enabling Jack on Ubuntu compile

2018-10-05 Thread Roman Haefeli
On Fri, 2018-10-05 at 08:58 +0200, Max wrote: > On 04.10.2018 23:58, Antoine Rousseau wrote: > > maybe there is a way that the configure gives a better hint at > > what's missing? > > > > > > there is (at least) one: > > https://github.com/pure-data/pure-data/pull/507 > > ;-) > >

Re: [PD] talk to php-website with netsend

2018-10-02 Thread Roman Haefeli
On Tue, 2018-10-02 at 10:29 +0200, Christof Ressi wrote: > or you could just use [mrpeach/httpreq] :-) Or [purest_json/rest] Roman > > Gesendet: Dienstag, 02. Oktober 2018 um 10:02 Uhr > > Von: "IOhannes m zmoelnig" > > An: pd-list@lists.iem.at > > Betreff: Re: [PD] talk to php-website with

Re: [PD] metro 1000 is 3 times faster than a second

2018-10-01 Thread Roman Haefeli
On Mon, 2018-10-01 at 12:15 +0200, Csaba Láng wrote: > Thanks for the hints, probably the best idea is to turn off dsp every > time it is not needed. However playing a video and audio with metro > control (sending the bangs according to the frame rate) and using > cameras in the same time makes pd

Re: [PD] metro 1000 is 3 times faster than a second

2018-09-30 Thread Roman Haefeli
Hey On Sun, 2018-09-30 at 20:55 +0200, Csaba Láng wrote: > how is it possible that measuring a metro 1000 with realtime object i > get 333.3 as a result? I get same when running pd with -r 14700 while my soundcard is configured to run at 44100Hz. Interestingly, this mismatch only has an effect

Re: [PD] [PD-announce] Pd 0.49-0 released

2018-09-26 Thread Roman Haefeli
On Wed, 2018-09-26 at 08:06 -0700, Miller Puckette wrote: > I think that's only true in the 32-bit version Ah, you're right. > which uses the old compilation scheme in which it's possible to edit > the > source code and recompile in place. The ".o" files are there so that > only > the code you

Re: [PD] [PD-announce] Pd 0.49-0 released

2018-09-26 Thread Roman Haefeli
On Wed, 2018-09-26 at 13:34 +0200, Roman Haefeli wrote: > 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/pur

Re: [PD] [PD-announce] Pd 0.49-0 released

2018-09-26 Thread Roman Haefeli
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

Re: [PD] Some patches broken in 0.49test3

2018-09-24 Thread Roman Haefeli
Hi 0.49test4 fixed the regression for me. I don't see any 'INVALID COMMAND NAME' errors anymore. Claude told me in #dataflow, though, that he's still able to trigger such errors. Thanks, Roman On Sun, 2018-09-23 at 09:40 +0200, Roman Haefeli wrote: > Hey Claude > > It seems you al

Re: [PD] Unnecessary scrollbars since 0.49

2018-09-23 Thread Roman Haefeli
(forgot to send to the list) On Sun, 2018-09-23 at 03:12 +0200, Dan Wilcox wrote: > Try this as a small test: add a new line with "return" after the > "update idle tasks" on line 302 of tcl/pd_bindings.tcl. I can't see a difference at first glance. Without having done an actual measurement, it

[PD] Some patches broken in 0.49test3

2018-09-22 Thread Roman Haefeli
Hi Sorry, need to report something probably more serious. Some of my patches trigger messages like the following: (Tcl) INVALID COMMAND NAME: invalid command name ".x558795b0c400.c" while executing ".x558795b0c400.c itemconfigure 558795b682c0LABEL -font {{DejaVu Sans Mono} -11 bold}"

Re: [PD] Unnecessary scrollbars since 0.49

2018-09-22 Thread Roman Haefeli
On Sun, 2018-09-23 at 00:06 +0200, Dan Wilcox wrote: > *sigh* This is really a constant battle. I added a rather > overcomplicated method to fix this in 0.48 and found a much simpler > way to do it later on, or so I thought. The problem always comes down > to the scrollbar logic being triggered

[PD] moving windows in 0.49

2018-09-22 Thread Roman Haefeli
Hi Another regression I just observed: When sending 'vis 0, vis 1' to a canvas repeatedly, the window keeps moving to the top left of the screen. The offset is only a few pixels in each dimension. . I observe this with 0.49test3 (updated and compiled just now) on Ubuntu 18.04 (Gnome). This

Re: [PD] multiple instances of a patch forbidden in 0.49, why?

2018-09-22 Thread Roman Haefeli
On Sat, 2018-09-22 at 23:29 +0200, Antoine Rousseau wrote: > Of course [once] would be much better than [lock] [once] is taken by iemlib. Not that I think every library in existence should be considered regarding name conflicts when introducing new objects to Pd, but I feel that [once] is in

[PD] Unnecessary scrollbars since 0.49

2018-09-22 Thread Roman Haefeli
Hi It seems there is a slight regression in the logic that decides whether to show the scrollbars or not. According to my experience, the behaviour in 0.48 was quite good and now sometimes when opening a canvas, scrollbars are drawn when none are needed, even for empty windows. When editing the

Re: [PD] multiple instances of a patch forbidden in 0.49, why?

2018-09-22 Thread Roman Haefeli
On Sat, 2018-09-22 at 23:11 +0200, Christof Ressi wrote: > OTOH, I kind of agree with the others that I never thought it was a > problem that you can open the same patch several times... Me neither. I do think it should be allowed one way or the other. Having to use a flag for it (probably the

Re: [PD] type size of a commentary

2018-09-22 Thread Roman Haefeli
On Fri, 2018-09-21 at 16:37 +, Liam Goodacre wrote: > There are 3 options that I can think of: > > 1. Use regular comments and change the font size in the Edit menu > (but this will change the text size of all objects as well). 1a. Use regular comment inside a GOP'd abstraction where you

Re: [PD] table reverse lookup

2018-09-05 Thread Roman Haefeli
curious, though, if it's possible to implement a lookup and reverse lookup in a way that does not require a scan. Roman > On Tue, Sep 4, 2018, 5:19 PM Roman Haefeli > wrote: > > Hi > > > > I'm using a couple of same-size tables to store tuples of numbers > >

Re: [PD] feature request: [array search]

2018-09-05 Thread Roman Haefeli
On Tue, 2018-09-04 at 17:29 -0400, Martin Peach wrote: > On Tue, Sep 4, 2018 at 5:22 PM Roman Haefeli > wrote: > > Hi again > > > > While we are at it: Wouldn't an [array search] be an immensely > > useful > > object? > > > > There is [t

[PD] feature request: [array search]

2018-09-04 Thread Roman Haefeli
Hi again While we are at it: Wouldn't an [array search] be an immensely useful object? Roman signature.asc Description: This is a digitally signed message part ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->

[PD] table reverse lookup

2018-09-04 Thread Roman Haefeli
Hi I'm using a couple of same-size tables to store tuples of numbers so that their index is there ID. When (tab)reading all tables at the given index, I get back the hole tuple. Mostly I have an ID and I need to look up some value which is obviously an inexpensive task. But sometimes I know two

Re: [PD] [else/dir] leaks file handles (was: "too many open files" error in 0.48.1)

2018-07-25 Thread Roman Haefeli
On Tue, 2018-07-24 at 12:44 -0300, Alexandre Torres Porres wrote: > Sorry, I thought I had fixed this in the last update. I swear it was > working for me, but then... that reported bug came back :) The object > still works fine for me in my use cases. Anyway, I'll give it another > go in the next

Re: [PD] [else/dir] leaks file handles (was: "too many open files" error in 0.48.1)

2018-07-25 Thread Roman Haefeli
Hey Alex On Tue, 2018-07-24 at 12:44 -0300, Alexandre Torres Porres wrote: > Sorry, I thought I had fixed this in the last update. I swear it was > working for me, but then... that reported bug came back :) No need to be sorry. I'm not complaining, but simply reporting. > The object still

[PD] [else/dir] leaks file handles (was: "too many open files" error in 0.48.1)

2018-07-23 Thread Roman Haefeli
Hey all Not only by creating 1020 instances of [else/dir] you can crash Pd, but also by sending it a 337 'reset, open .' messages. I guess the reason is the same: [else/dir] is leaking file handles. It appears I tried [else/dir] for the similar reasons as you, Liam. I am also using

Re: [PD] standard paths for externals

2018-07-14 Thread Roman Haefeli
On Fri, 2018-07-13 at 14:27 -0300, Alexandre Torres Porres wrote: > > > 2018-07-13 11:12 GMT-03:00 Roman Haefeli : > > So, does that mean the [declare]-flags -stdlib and -stdpath are > > obsolete now? Oops, bad wording on my part. I should have said 'in the declare-path br

Re: [PD] standard paths for externals

2018-07-13 Thread Roman Haefeli
On Thu, 2018-06-14 at 16:32 -0300, Alexandre Torres Porres wrote: > 2018-06-14 15:35 GMT-03:00 Roman Haefeli : > > Is this the idea? > > Yes! And it's working like that in my tests. Ok, it's working for me, too. I see significant progress in that (after having cleared all prefer

Re: [PD] iemlib fails to load SOME objects OSX 10.10

2018-07-13 Thread Roman Haefeli
On Fri, 2018-07-13 at 11:37 +0200, IOhannes m zmölnig wrote: > (since 1.21, the objects are now > included in a single binary "iemlib.pd_darwin", so you need to load > that > instead of the traditional iemlib1 resp. iemlib2) That sounds like some progress. I only see a package for Windows in

Re: [PD] comments in [text]

2018-07-12 Thread Roman Haefeli
On Thu, 2018-07-12 at 10:34 +0200, Martin Hiendl wrote: > I was wondering whether there is a comment function for the [text] > object that I'm not aware of, or if not, whether that would be a > useful feature (for handling and navigating large cue-lists for > example). How about this: Mark

Re: [PD] Glitch

2018-07-04 Thread Roman Haefeli
On Wed, 2018-07-04 at 10:53 +0200, michael strohmann wrote: > > Hello! > from time to time my patch produces this beautiful, but unwanted > glitch. (audiofile attached) Sounds like I'm doing doing music. I wouldn't know how to identify the glitch aspect of it. How does it sound without the

[PD] [PD-announce] Release of tpf-client / tpf-server

2018-07-02 Thread Roman Haefeli
Hey all Let me a announce a by product that was created while working in a research group exploring formats for telematic performances. tpf-client[1] is a graphical multi-instance jacktrip clone built in Pure Data. It establishes low-latency multi-channel audio connections between two or more

Re: [PD] standard paths for externals

2018-06-14 Thread Roman Haefeli
On Thu, 2018-06-14 at 14:18 -0300, Alexandre Torres Porres wrote: > > Now, I'm going to load mylib with [declare -{std}path mylib] in my > > patch which fails. What am I missing here? > > Yes, there's the declare issue we know and are addressing, but I'd > also like to highlight that Deken also

Re: [PD] intelligent patching

2018-06-07 Thread Roman Haefeli
Hi IOhannes I think those additions are immensely useful. Thanks a lot for porting them and thanks to Jonathan and Ivica for implementing them (I hope I thanked all persons involved, and would like to include those that I didn't know about). On Wed, 2018-06-06 at 15:37 +0200, IOhannes m

Re: [PD] Random

2018-05-30 Thread Roman Haefeli
On Wed, 2018-05-30 at 11:30 -0300, José de Abreu wrote: > if you can use adc~ (assuming that your mic can capture some noise) > you can sum some snapshots~ with high gain and then voilà, random > number each time Attached is a method that doesn't require audio to be on (and thus also no real

Re: [PD] [soundfiler] - get rid of the arbitrary default value for "-maxsize"

2018-05-28 Thread Roman Haefeli
On Sat, 2018-05-26 at 16:37 +0200, Christof Ressi wrote: > https://github.com/pure-data/pure-data/pull/366 > > I guess that arbitrary 16MB default maxsize is a relict of past > times... let's get rid of it :-) You make it sound like the reason for the limit was precious memory. I agree that

Re: [PD] Trigger/Gate

2018-05-25 Thread Roman Haefeli
Hi Rainer On Fri, 2018-05-25 at 18:55 +0200, Rabbit ́s . wrote: > Hi there, > > I´m doing a sequencer in pd for my modular rig starting with a > trigger/gate abstraction that should bang the analog envelopes & > friends. A very simple approach starting as trigger and ends up in > variable

Re: [PD] Data structures - delete specific scalar?

2018-05-21 Thread Roman Haefeli
On Sun, 2018-05-20 at 15:31 +0200, Christof Ressi wrote: > this has been on my wish list for a while and I want to do a PR. do > you guys have suggestions which kind of interface you would prefer? > these come to my mind: > * [delete] object: send it a pointer and it will delete the scalar I

Re: [PD] Data structures - delete specific scalar?

2018-05-21 Thread Roman Haefeli
On Sun, 2018-05-20 at 05:40 -0700, Derek Kwan wrote: > Roman Haefeli <reduz...@gmail.com> writes: > > > Hey all > > > > Following up a thread from 2011: > > https://lists.puredata.info/pipermail/pd-list/2011-04/088306.html > If I'm not mistaken, this re

Re: [PD] Data structures - delete specific scalar?

2018-05-19 Thread Roman Haefeli
On Sat, 2018-05-19 at 17:00 +0200, Ingo Stock wrote: > On 05/19/2018 11:56 AM, Roman Haefeli wrote: > > Yeah. It's not very elegant and gets expensive pretty quickly. I > > was > > wondering about alternative strategies, like moving non-used > > scalars > > out

[PD] Data structures - delete specific scalar?

2018-05-18 Thread Roman Haefeli
Hey all Following up a thread from 2011: https://lists.puredata.info/pipermail/pd-list/2011-04/088306.html I would like to know whether it is impossible to delete a specific scalar, by pointer. If so, why is that? Does it use a design that makes it difficult to allow this? To my untrained eye

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

2018-05-15 Thread Roman Haefeli
On Tue, 2018-05-15 at 14:09 +0200, Christof Ressi wrote: > > [obj 20 20 array define $$1-snd0] > > this only works as long as you don't save and reopen the patch, where > "$$1" will become "$\$1" (which is resolved to "$\\$1" instead of > "\\$1"). I see. Thanks for pointing it out. Roman

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

2018-05-15 Thread Roman Haefeli
On Tue, 2018-05-15 at 04:15 -0700, Derek Kwan wrote: > 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? I think you cannot dynamically

Re: [PD] static array/text

2018-05-07 Thread Roman Haefeli
On Mon, 2018-05-07 at 00:02 +0200, Dan Wilcox wrote: > Is there one way to define a "static" table or text data that can be > shared among abstractions? I have a few abstractions which use lookup > tables and I realize now that they are basically creating a copy with > each instance when they

Re: [PD] PD won't run on Ubuntu 18.04

2018-05-04 Thread Roman Haefeli
On Fri, 2018-05-04 at 04:15 +, Liam Goodacre wrote: > I can't get PD 0.48.1 to run on a fresh installation of 18.04 LTS. It > compiled fine, but when I try to run PD I get: > > sh: 1: wish: not found > > I've tried "sudo apt-get install tcl" but this didn't help. > > It looks like others

Re: [PD] watchdog

2018-05-03 Thread Roman Haefeli
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

Re: [PD] watchdog

2018-05-03 Thread Roman Haefeli
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

Re: [PD] Piano roll sequence display

2018-04-30 Thread Roman Haefeli
On Mon, 2018-04-30 at 11:20 -0400, William Brent wrote: > Has anyone done something like this using [struct]/[polygon], even > just for sequence display purposes and not editable via mouse > clicking/dragging? I did a quick search of the archives but haven't > found anything. There is unstep[1]

Re: [PD] purest_json: how to specify root CA or CA bundle when using SSL?

2018-04-25 Thread Roman Haefeli
On Mit, 2018-04-25 at 14:11 +0200, Thomas Mayer wrote: >  > Maybe you could replace libcurl4-nss-dev with libcurl4-gnutls-dev or > libcurl4-openssl-dev for compiling purest_json. Ah, i see. When only libcurl4-openssl-dev is installed and the others removed, the resulting [rest] successfully

Re: [PD] purest_json: how to specify root CA or CA bundle when using SSL?

2018-04-25 Thread Roman Haefeli
On Mit, 2018-04-25 at 13:08 +0200, Roman Haefeli wrote: > On Mit, 2018-04-25 at 11:04 +0200, IOhannes m zmoelnig wrote: > > > > On 2018-04-25 10:59, Roman Haefeli wrote: > > > > > > > > > Somehow using HTTPS with purest_json just worked(tm) in

Re: [PD] purest_json: how to specify root CA or CA bundle when using SSL?

2018-04-25 Thread Roman Haefeli
On Mit, 2018-04-25 at 11:04 +0200, IOhannes m zmoelnig wrote: > On 2018-04-25 10:59, Roman Haefeli wrote: > > > > Somehow using HTTPS with purest_json just worked(tm) in Debian > > Jessie. > > Now, that I had to compile purest_json myself, > btw, what is wrong

[PD] purest_json: how to specify root CA or CA bundle when using SSL?

2018-04-25 Thread Roman Haefeli
Hey all Somehow using HTTPS with purest_json just worked(tm) in Debian Jessie. Now, that I had to compile purest_json myself, I'm having troubles verifying the server. I'm getting:     77 Problem with the SSL CA cert (path? access rights?) when accessing a resource through HTTPS with [rest]. 

Re: [PD] suggestion: $0 in messages

2018-04-06 Thread Roman Haefeli
On Don, 2018-04-05 at 21:17 +0200, Dan Wilcox wrote: > test? https://github.com/pure-data/pure-data/pull/346 Better do than talk, hey? ;-) Works fine and is definitely convenient. Can't see any disadvantage or problem with compatibility, though it challenges my notion of how things are supposed

<    1   2   3   4   5   6   7   8   9   10   >