[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] Re: error in COsc help
- To: sc-dev@xxxxxxxxxxxxxxxx
- Subject: [sc-dev] Re: error in COsc help
- From: Sam Potter <sfp@xxxxxxx>
- Date: Sat, 06 Dec 2014 00:01:07 -0500
- In-reply-to: <m5tf5l$t0a$1@ger.gmane.org>
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- References: <m5t2uo$flo$1@ger.gmane.org> <m5tf5l$t0a$1@ger.gmane.org>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
On 12/05/2014 06:29 PM, Rohan Drape wrote:
"Due to summing, the peak amplitude is twice that of the wavetable."
But this isn't true
?
b = Buffer.alloc(s, 512, 1, {arg n; n.sine1Msg(1)});
{COsc.ar(b, 100, 5)}.plot(0.1);
I think in your example the max over the period is approx. 1.994,
actually, not 2. I didn't check this analytically, but I subdivided one
of the resultant signal's periods into 200 million pieces and took the
max of the abs of the discretized signal in Matlab... So, pretty confident
Please try my original example (in your style):
b = Buffer.alloc(s, 512, 1, { |n| n.sine1Msg(1) });
{ COsc.ar(b, 1, 1) }.plot(2)
There are plenty of other egregious examples
Anyway, the point is that the statement is not true in general, so it
may be misleading for people
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/