[PD] Experiencing a higher CPU load with 0.47-0 and 0.47-1.

2016-06-26 Thread Dario Sanfilippo
Hi, list. I'm loading the same patch with 0.46-7, 0.47-0 and 0.47-1 - all 64bit. The last two have a significantly higher CPU load. I'm on OSX 10.11.5. Has any of you experienced anything similar? I haven't changed my [vd~] objects into [delread4~], are they calling the same piece of code? The

[PD] lop~ and hip~ difference equations

2016-02-18 Thread Dario Sanfilippo
Hello, list. Do you know what the difference equations of [lop~] and [hip~] are? Just hoping that one of you has a quick answer, otherwise I'll try figuring it out by looking at the code. Anyway, they don't seem to be the same as [rpole~] as the impulse response is different. Thanks, Dario

Re: [PD] lop~ and hip~ difference equations

2016-02-19 Thread Dario Sanfilippo
]. >> >> [hip~] is an [rpole~] and [rzero~] in series. You can find the >> coefficients in the source code. >> >> Cheers, >> Joe >> >> On 18 February 2016 at 14:59, Dario Sanfilippo < >> sanfilippo.da...@gmail.com> wrote: >> >>&g

Re: [PD] Experiencing a higher CPU load with 0.47-0 and 0.47-1.

2016-08-03 Thread Dario Sanfilippo
eers > > Miller > > > > On Mon, Jun 27, 2016 at 12:14:56PM +0200, cyrille henry wrote: > > > > > > > > > Le 27/06/2016 11:58, Dario Sanfilippo a écrit : > > > >Hi, Christof. > > > > > > > >It is a rather large proje

Re: [PD] Experiencing a higher CPU load with 0.47-0 and 0.47-1.

2016-06-27 Thread Dario Sanfilippo
Do you want to share your patch? I could test it on my machine with 0.46 >> and 0.47 >> >> -Ursprüngliche Nachricht- >> Gesendet: Sonntag, 26 Juni 2016 um 13:27:23 Uhr >> Von: "Dario Sanfilippo" <sanfilippo.da...@gmail.com> >> An: pd-lis

Re: [PD] detect silence

2016-09-09 Thread Dario Sanfilippo
If you want to work in the audio domain, consider calculating the RMS by simply squaring, low-passing, and taking the sqrt of the signal. The cutoff determines your averaging window. You can implement relational operators in the audio domain by using [/~], as the same signal connected to both of

[PD] Is PD using CPU optimisation?

2017-03-08 Thread Dario Sanfilippo
Hello, list. Would it be sensible to, for example, start using multiplications over divisions when possible or will the compiler take care of that? Cheers, Dario ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->

Re: [PD] tanh~ (core dumped)

2017-08-15 Thread Dario Sanfilippo
Hi, Kosmas. I'm using (1 - e^-2x)/(1 + e^-2x) and it seems to work fine though you wouldn't have the parameters you mentioned. Cheers, D On 15 August 2017 at 13:41, Kosmas Giannoutakis < giannoutakiskos...@hotmail.com> wrote: > Hi, i want to implement the tanh function in PD Vanilla. I use the

[PD] test5, problem with special characters in patches' filenames

2017-07-24 Thread Dario Sanfilippo
There seems to be a problem with special characters in filenames, namely round parentheses (I haven't tested the other ones). I'm on OSX 10.11.6 and, if PD is closed and I open the attached patch, I get the following error (below) on the PD window. If PD is open and I drag the on to the PD icon I

Re: [PD] [PD-announce] Pd 0.48-1 test version released

2017-12-05 Thread Dario Sanfilippo
Hi, Miller. At a first glance, I'm experiencing that my abstractions which used to cause the tcl problem/gui freeze when opened/closed are now making PD crash when deleted. I'll see if I can create a patch which shows the crash. Cheers, Dario On 4 December 2017 at 20:28, Miller Puckette

Re: [PD] Bandlimited oscils (was Re: anti-aliasing filtering)

2017-10-30 Thread Dario Sanfilippo
​Thanks for sharing this, Orm. Is there no bibliography at all about this implementation? Cheers, Dario​ On 29 October 2017 at 05:21, Orm Finnendahl < orm.finnend...@selma.hfmdk-frankfurt.de> wrote: > Hi, > > concerning avoiding aliasing in the first place, here are > abstractions for

Re: [PD] max value of last n samples

2018-02-02 Thread Dario Sanfilippo
There's an implementation of a peak holder in this blog post: http://dariosanfilippo.tumblr.com/post/162523174771/lookahead-limiting-in-pure-data. I remember testing it but please let me know if you find a bug. The current peak is replaced to whatever the input is after a desired time, and the

Re: [PD] max value of last n samples

2018-02-02 Thread Dario Sanfilippo
Thanks, Roman. On 2 February 2018 at 21:28, Roman Haefeli <reduz...@gmail.com> wrote: > On Fre, 2018-02-02 at 18:31 +0000, Dario Sanfilippo wrote: > > There's an implementation of a peak holder in this blog post: http:// > > dariosanfilippo.tumblr.com/post/1625231747

Re: [PD] max value of last n samples

2018-02-03 Thread Dario Sanfilippo
in the input. Maybe I'll try something later. Cheers, Dario On 3 February 2018 at 09:33, Roman Haefeli <reduz...@gmail.com> wrote: > On Sam, 2018-02-03 at 02:47 +0000, Dario Sanfilippo wrote: > > Thanks, Roman. > > > > On 2 February 2018 at 21:28, Roman Haefeli <reduz...@gmai

Re: [PD] max value of last n samples

2018-02-04 Thread Dario Sanfilippo
<reduz...@gmail.com> wrote: > On Fre, 2018-02-02 at 18:31 +0000, Dario Sanfilippo wrote: > > There's an implementation of a peak holder in this blog post: http:// > > dariosanfilippo.tumblr.com/post/162523174771/lookahead-limiting-in- > > pure-data. > > BTW: the

Re: [PD] max value of last n samples

2018-02-04 Thread Dario Sanfilippo
> to use an external. > > > On Sunday, February 4, 2018, Dario Sanfilippo <sanfilippo.da...@gmail.com> > wrote: > >> Hi, Roman. I guess that fexpr~ implies block 1 but probably a few other >> things too: 256 instantiations of the feedback loop in my abstractions a

[PD] PD .48.1 GUI freezing when resizing windows with arrays whose content is being updated.

2018-02-23 Thread Dario Sanfilippo
Hello. Just to let you know about this behaviour which I noticed recently: if I have three or four arrays which I'm using to display signals in a window, when resizing that window PD freezes for a good couple of minutes. It eventually comes back but it really struggles. I'm aware that that kind

Re: [PD] PD .49 crashing when saving patches

2018-10-11 Thread Dario Sanfilippo
not when I overwrite an > existing file. > > On 11 Oct 2018, at 12:44, Dario Sanfilippo > wrote: > > I also get a seg fault: > > Segmentation fault: 11 > gui socket 3 - > closing audio... > > <http://dariosanfilippo.tumblr.com/> > > On Thu, 11 Oct 2018

Re: [PD] PD .49 crashing when saving patches

2018-10-12 Thread Dario Sanfilippo
gt; Message-ID: e1543228-34a5-464f-89a5-f4c932011...@evdh.net>> > > >> Content-Type: text/plain; charset="utf-8" > > >> > > >> For me PD crashes when I create a new file, not when I overwrite an > existing file. > > >> > > >&

[PD] PD .49 crashing when saving patches

2018-10-11 Thread Dario Sanfilippo
Hello. I just wanted to let you know that PD .49 crashes almost regularly after saving a patch. I've just tested opening PD, saving a simple patch with an inlet~ and another with an inlet, either with the DSP on or off, and it crashes immediately after saving the patch. It does manage to write

Re: [PD] PD .49 crashing when saving patches

2018-10-11 Thread Dario Sanfilippo
dylib 0x7fff57d7fbe9 start_wqthread > + 13 > > Thread 0 crashed with X86 Thread State (64-bit): > rax: 0x7ffeefbff720 rbx: 0x7ffeefbff720 rcx: > 0x0020 rdx: 0xffe0 > rdi: 0x7ffeefbff7c0 rsi: 0x rbp: > 0

[PD] Exporting a patch as a zip file

2018-11-16 Thread Dario Sanfilippo
Hello, list. Do you have a workaround for exporting a patch as a zip file containing all abstractions and externals in the patch? It would be amazing to be able to do that because manually locating all the necessary abstractions and externals from a supposedly large folder is a bit tricky and

[PD] Status of PD double precision

2018-12-16 Thread Dario Sanfilippo
Hello, list. I'm just curious to know if anybody is actively working on a double precision version of PD. Please let me know if I can help in any way. Best, Dario ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->

Re: [PD] Status of PD double precision

2018-12-16 Thread Dario Sanfilippo
16 December 2018, 11:29:25 GMT, Dario Sanfilippo < > sanfilippo.da...@gmail.com> wrote: > > Hello, list. > > I'm just curious to know if anybody is actively working on a double > precision version of PD. Please let me know if I can help in any way. > > Best, > Da

Re: [PD] Tcl/Tk error

2019-04-02 Thread Dario Sanfilippo
Hi, Christof. I haven't been using PD much lately but I used to have that a lot. As far as I remember, it also used to happen when closing a window, specifically, an abstraction that I used to inspect signals by plotting them on arrays. When closing those windows, PD GUI would all freeze but it

Re: [PD] How can I weave multiple signals together?

2019-03-25 Thread Dario Sanfilippo
What comes to my mind is to write the three signals on three new arrays which are three times the size of the original ones. These arrays would have each sample from the original signal zero-padded by two samples. That can be done by reading the original signals with tabread~ at a rate which is

Re: [PD] filters with audio rate cutoff frequency

2019-03-13 Thread Dario Sanfilippo
For time-variant one-pole LP and HP, I use these coefficients with rpole~: http://www.earlevel.com/main/2012/12/15/a-one-pole-filter/. They have a fairly accurate response for basically the whole spectrum. Below .01Hz or so, you need double precision. Dario On Wed, 13 Mar 2019 at 19:13,

Re: [PD] filters with audio rate cutoff frequency

2019-03-12 Thread Dario Sanfilippo
According to the author of the book below, the zero-delay feedback design is particularly good for time-variant applications. So have a look at the filters here: https://www.discodsp.net/VAFilterDesign_2.1.0.pdf. D On Tue, 12 Mar 2019 at 10:31, Kosmas

Re: [PD] Help with reverb design and vanilla's abstractions ([rev1~]/[rev2~]/[rev3~])

2019-02-07 Thread Dario Sanfilippo
Hi, Alexandre. On Thu, 7 Feb 2019 at 02:26, Alexandre Torres Porres wrote: > Hi, I've read miller's book and I've always wanted to know a bit more > about reverbs. I also want to better explain these examples to my students. > One thing I wonder is about the choice of delay lengths for the

Re: [PD] env~ argument confusion

2020-02-07 Thread Dario Sanfilippo
> > > so you get the same number of values, but they use different time-frames > > for doing the averaging. > > Wow, crazy! Thanks for this explanation! Would be interesting to know > for what different applications this (eg a long window with short > period) can be useful. Anyway, it's very good

Re: [PD] bandpass makeup gain formula?

2020-03-11 Thread Dario Sanfilippo
Hi, Peter. If useful, Zavalishin has a normalised BP in a 2p2z state-variable filter based on the bilinear transform integrator (zero-delay feedback) and the output seems to be consistent. See 4.4: https://www.native-instruments.com/fileadmin/ni_media/downloads/pdf/VAFilterDesign_2.0.0a.pdf .

Re: [PD] Pd and sounds are running but windows are blank

2021-01-10 Thread Dario Sanfilippo
My apologies, Christof, I forgot. :-) That's right, I'm on 10.15.7. My Tclsh version is 8.5. Thanks, Dario On Sun, 10 Jan 2021 at 16:26, Christof Ressi wrote: > Hi, > > it always helps to mention the OS ;-) I assume you're on macOS? > > Christof > On 10.01.2021 15:27, Dari

[PD] Pd and sounds are running but windows are blank

2021-01-10 Thread Dario Sanfilippo
be? Thanks for your help. -- Dr Dario Sanfilippo http://dariosanfilippo.com ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

Re: [PD] Pd and sounds are running but windows are blank

2021-01-26 Thread Dario Sanfilippo
S in > the future. Note: It is still shipped with macOS 11 but is unfortunately > the broken 8.5.9 version. > > On Jan 11, 2021, at 12:00 PM, pd-list-requ...@lists.iem.at wrote: > > Message: 3 > Date: Sun, 10 Jan 2021 17:18:24 +0100 > From: Dario Sanfilippo > To: Chris

Re: [PD] pause writing to delay line / hybrid of array and delay

2021-02-26 Thread Dario Sanfilippo
Hi, Max. You could have a looper feeding into a variable delay line whose delay is modulated appropriately. A looper would be an N-sample feedback loop with some input feeding into it, where the input gain and the feedback gain are mutually exclusive. That would prevent new elements from being