Csound Csound-dev Csound-tekno Search About

Re: Mathematics problem or Csound caveat?

Date2017-05-11 05:26
FromPartev Barr Sarkissian
SubjectRe: Mathematics problem or Csound caveat?
Some window functions have what could be described as 
a horn at each end of the window function. I forget 
which kind of window. 

A friend of mine was using a window function on a 
continuous data stream. The horn peaks were somehow 
related to overlap between the previous window L-1 and 
the next window L+1. Left him with horns on either end. 

Not sure if or how it relates here, but if it's helpful,...  
 

-PBS 

===========================================


--- julien@MAIL.UPB.DE wrote:

From:         "Jeanette C." 
To:           CSOUND@LISTSERV.HEANET.IE
Subject: Re: [Csnd] Mathematics problem or Csound caveat?
Date:         Thu, 4 May 2017 13:35:31 +0200

May 3 2017, Oeyvind Brandtsegg has written:

> In m_risset_int.udo,
> replace
> kphasor wrap ((kphs * kdirfac) + (iphs_shift * iiter)), 0, 1
> kfm table3 kphasor*(ioctave/10), irise, 1, 0, 0
> with
> kphasor wrap (kphs  + (iphs_shift * iiter)), 0, 1
> kfm table3 kphasor*kdirfac*(ioctave/10), irise, 1, 0, 1
Hey hey Oeyvind,
thank you for that. I amended it slightly, I removed the wraparound
parameter from the table3 opcode to create kfm and instead created a
second phasor signal from the first with:
kfphasor wrap (kphasor *kdirfac)
That way the frequencies stay where they should be. Otherwise the
example with three octaves sounds very surprising. :)

I also found the error, that probably beat me all along: the parameter
to the wndow function. I set it to 1.8, which sounded good in my trials,
but caused the small peak of the high frequencies, when going down
somehow.

Thanks again, now I can finish and upload. :)


Best wishes,

Jeanette
...

--------
When you need someone, you just turn around and I will be there <3

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here




_____________________________________________________________
Netscape.  Just the Net You Need.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-05-11 12:55
From"Jeanette C."
SubjectRe: Mathematics problem or Csound caveat?
May 11 2017, Partev Barr Sarkissian has written:

> Some window functions have what could be described as
> a horn at each end of the window function.
...
Hi,
I think this might exactly be what happened, due to the wrong optional
parameter to the Gaussian window function. I should have researched what
this parameter does, before experimenting wildly.

Best wishes,

Jeanette

--------
When you need someone, you just turn around and I will be there <3

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here