Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Noisy buzz output when kr != sr

Date2008-11-06 05:11
From" Partev Barr Sarkissian"
Subject[Csnd] Re: Noisy buzz output when kr != sr
I don't see a "ksamp = xx" ratio in the header, is that a legal synntax in your application?

-Partev

----------------------------------------------------------------------------------------

--- carlosjosepita@gmail.com wrote:

From: "Carlos Pita" 
To: csound@lists.bath.ac.uk
Subject: [Csnd] Noisy buzz output when kr != sr
Date: Wed, 5 Nov 2008 14:08:30 -0200

Hi again,

sorry for buzzing like this but I'm having a bad headache with buzz
and friends (again, with 5.09).

I discovered that for kr != sr, even when kr is as high as sr/2, some
abrupt signal changes to zero occur at the peak of the main lobes from
time to time, introducing audible artifacts. I'm using very large
tables (65536 samples) and sr is 48000. I've attached a short sound
that illustrates the issue (look at it with reasonable zoom, it's too
short to be heard).

Is this expected or is it a bug?

The instrument in question is:







	
sr      = 48000
kr      = 24000
nchnls  = 2

instr 1	

idur    =       p3
iamp    =       p4
ifrq    =       p5

asig1  	buzz  	iamp, ifrq, 10, 2

        outs     asig1,asig1

endin






f 2  0 65536 10   1

i1 0 30 10000 100 10






Regards
-Carlos

Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



_____________________________________________________________
Netscape.  Just the Net You Need.

Date2008-11-06 05:28
FromCarlosJP
Subject[Csnd] Re: Noisy buzz output when kr != sr


Partev Barr Sarkissian wrote:
> 
> I don't see a "ksamp = xx" ratio in the header, is that a legal synntax in
> your application?
> 

>From the user guide:

"""
Beginning with Csound version 3.46, either ksmps may be omitted. Csound will
attempt to calculate the omitted value from the specified sr and krvalues,
but it should evaluate to an integer. 
"""

Regards
-Carlos

-- 
View this message in context: http://www.nabble.com/Noisy-buzz-output-when-kr-%21%3D-sr-tp20344906p20355395.html
Sent from the Csound - General mailing list archive at Nabble.com.