Re: [PD] how does env~ work?

2017-03-24 Thread Orm Finnendahl
Am Donnerstag, den 23. März 2017 um 17:00:14 Uhr (-0300) schrieb Alexandre Torres Porres: > > the hanning envelope itself actually goes from 0 to "2" and not from 0 to > > 1, so I assume the compensation is done right there... > > > > tested with an envelope going from 0 to 1 and lost about

Re: [PD] how does env~ work?

2017-03-23 Thread Alexandre Torres Porres
easy, I do at least know that much about what squaring is ;) 2017-03-23 19:27 GMT-03:00 Christof Ressi : > > F(1) (= the sum after a full period) is 0.5. That's the reason why the > Hanning window in this case is twice as large to bring the sum to 1. > weighting a

Re: [PD] how does env~ work?

2017-03-23 Thread Christof Ressi
m> An: "pd-list@lists.iem.at" <pd-list@lists.iem.at> Betreff: Re: [PD] how does env~ work? actually, also, the envelope is applied to the squares of the amplitudes... and this gets me completely lost now on what it means mathematically   2017-03-23 17:00 GMT-03:00 Alexandre Torres Porres

Re: [PD] how does env~ work?

2017-03-23 Thread Martin Peach
On Thu, Mar 23, 2017 at 4:11 PM, Alexandre Torres Porres wrote: > actually, also, the envelope is applied to the squares of the > amplitudes... and this gets me completely lost now on what it means > mathematically > > It means that negative signals will count the same as

Re: [PD] how does env~ work?

2017-03-23 Thread Alexandre Torres Porres
actually, also, the envelope is applied to the squares of the amplitudes... and this gets me completely lost now on what it means mathematically 2017-03-23 17:00 GMT-03:00 Alexandre Torres Porres : > > > 2017-03-23 16:53 GMT-03:00 Alexandre Torres Porres : >

Re: [PD] how does env~ work?

2017-03-23 Thread Alexandre Torres Porres
2017-03-23 16:53 GMT-03:00 Alexandre Torres Porres : > > > 2017-03-23 16:45 GMT-03:00 Alexandre Torres Porres : > >> >> and as I see it, it's just applying a hanning envelope into the input and >> NOTHING more, right? >> > > the hanning envelope itself actually

Re: [PD] how does env~ work?

2017-03-23 Thread Alexandre Torres Porres
2017-03-23 16:45 GMT-03:00 Alexandre Torres Porres : > > and as I see it, it's just applying a hanning envelope into the input and > NOTHING more, right? > the hanning envelope itself actually goes from 0 to "2" and not from 0 to 1, so I assume the compensation is done right

Re: [PD] how does env~ work?

2017-03-23 Thread Alexandre Torres Porres
2017-03-23 6:54 GMT-03:00 Orm Finnendahl > > In the object's new method, the object allocates a buffer ("buf") and > writes the Hanning function with RMS compensation (the two nested > divisions by npoints) into it. > ok, I get "buf" is a hann window with very small values (which depend on

Re: [PD] how does env~ work?

2017-03-23 Thread Christof Ressi
...@gmx.at> > Cc: "pd-list@lists.iem.at" <pd-list@lists.iem.at> > Betreff: Re: Re: [PD] how does env~ work? > > I do realize the windowing makes the result more accurate and stable, > somehow... (and feel like the overlap affects only the output rate) > > 2017-0

Re: [PD] how does env~ work?

2017-03-23 Thread Orm Finnendahl
Am Donnerstag, den 23. März 2017 um 10:59:16 Uhr (-0300) schrieb Alexandre Torres Porres: > > the input is a sinusoid That's the problem: If the size of the analysis window is sufficiently large compared to the frequency of a static sinusoid You can't really expect any difference in the rms

Re: [PD] how does env~ work?

2017-03-23 Thread Alexandre Torres Porres
I do realize the windowing makes the result more accurate and stable, somehow... (and feel like the overlap affects only the output rate) 2017-03-23 10:59 GMT-03:00 Alexandre Torres Porres : > > > 2017-03-23 10:58 GMT-03:00 Alexandre Torres Porres : > >> how

Re: [PD] how does env~ work?

2017-03-23 Thread Alexandre Torres Porres
2017-03-23 10:58 GMT-03:00 Alexandre Torres Porres : > how does overlap affect the rms value? If I use an overlap of 32 I see no > difference, except the output rate. > this is comparing an overlap of 32 to an overlap of "1" (no overlaps), and a window size of 8192 (256 being

Re: [PD] how does env~ work?

2017-03-23 Thread Alexandre Torres Porres
frequent updates while > maintaining a larger window size but with more CPU cost. > > this is at least how I understood the code. > > > Gesendet: Donnerstag, 23. März 2017 um 10:54 Uhr > > Von: "Orm Finnendahl" <orm.finnend...@selma.hfmdk-frankfurt.de> >

Re: [PD] how does env~ work?

2017-03-23 Thread Christof Ressi
st@lists.iem.at > Betreff: Re: [PD] how does env~ work? > > Am Donnerstag, den 23. März 2017 um 01:34:58 Uhr (-0300) schrieb > Alexandre Torres Porres: > > howdy, help file says "The analysis is "Hanning" (raised cosine) windowed." > >

Re: [PD] how does env~ work?

2017-03-23 Thread Orm Finnendahl
Am Donnerstag, den 23. März 2017 um 01:34:58 Uhr (-0300) schrieb Alexandre Torres Porres: > howdy, help file says "The analysis is "Hanning" (raised cosine) windowed." > > how does that work? I tried looking at the code and got no clue... In the object's new method, the object allocates a buffer

[PD] how does env~ work?

2017-03-22 Thread Alexandre Torres Porres
howdy, help file says "The analysis is "Hanning" (raised cosine) windowed." how does that work? I tried looking at the code and got no clue... I assume it's not just passing the input through a hanning window, and one way or another, it's gotta compensate it, right? But how? cheers