## loris-announce — Announcements for devoted Loris users and other interested parties.

You can subscribe to this list here.

 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec (2) Jan Feb Mar (1) Apr May Jun Jul Aug Sep Oct (3) Nov Dec (1) Jan Feb (1) Mar Apr (2) May Jun (1) Jul (2) Aug (2) Sep Oct Nov Dec Jan (1) Feb Mar (1) Apr May Jun Jul Aug Sep Oct (1) Nov Dec Jan Feb (2) Mar (2) Apr May Jun Jul Aug (1) Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov (1) Dec (2) Jan Feb Mar Apr (4) May Jun Jul (3) Aug (2) Sep Oct Nov Dec (5) Jan (2) Feb Mar Apr May Jun (1) Jul Aug Sep (1) Oct (3) Nov Dec Jan (1) Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar (2) Apr May Jun Jul Aug Sep (1) Oct Nov Dec Jan (2) Feb (1) Mar (1) Apr May Jun Jul Aug (1) Sep Oct Nov Dec
S M T W T F S

1

2

3

4

5

6

7

8

9

10

11
(1)
12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

Showing 1 results of 1

 [Loris-announce] Amplitude of Spectrum at a given time From: edu - 2007-06-11 17:49:47 ```I am having trouble trying to calculate the envelope of the resynthesized spectrum out of the data in the partials. The objective is to know, at each time t which will the peak amplitude be of the resynthesized sound. Of course one could just resynthesize a small portion surrounding the time given and get the maximum, but that seems very inefficient. The formula I have found to come nearer to the result is: peak_amp_at_t = sqrt(sum(partial.sineampAt(t) ** 2 for partial in partial_list.partialsBetween(t-0.1, t+0.1)) / average_abs_cos where average_abs_cos = 0.636619850991583913213389678276143968105316162109375 Is there a proper way to calculate it? The use of it is to be able to perform a spectral normalization, clipping filtering, etc. I'm using Loris 1.4 in python. cheers, Eduardo Moguillansky PS: If you are interested, I have implemented an optimization table for the PartialList in order to efficiently seek partials at a given time. Two new methods where implemented: partialsAt and partialsBetween. For that, quite a few new classes where implemented, a PartialPointerList (which is a std::list) in order to reference the original partials. And the optimization list is a std::vector< PartialPtrList >, so at each time one can access the partials present in a given time frame just by indexing the vector. Everything is also implemented in Python. ```

Showing 1 results of 1