Csound Csound-dev Csound-tekno Search About

table always normalises

Date2006-02-25 21:54
From"Isaac Wallis"
Subjecttable always normalises
Hi Csounders-
 
  Why does this patch return ".667"?
 
<CsInstruments>

     instr 1
iprint tablei 1, 1, 0, 0
print iprint
     endin

</CsInstruments>
<CsScore>

f 1 0 16 2 3 2

i  1 0 1

</CsScore>
 
The manual says that if ixmode == 0 (or is left out) table should treat xndx as a raw data location with no normalisation.  But this is clearly normalising, and all table objects such as tablei, tableikt, etc. have the same behavior.
 
Is there a different way to get a raw value from a GEN 02 function table?  I am trying to do vocal formant synthesis by plugging the formant frequencies, amplitudes, and bandwidths into function tables.  Any ideas at all would be welcome.
 
Isaac


Get MSN Messenger with FREE Video Conversation - the next best thing to being there!

Date2006-02-25 22:03
FromAdam Chennells
SubjectRe: table always normalises
AttachmentsNone  

Date2006-02-25 22:03
FromIstvan Varga
SubjectRe: table always normalises
AttachmentsNone  

Date2006-02-25 22:05
FromRichard M. Otero
SubjectRe: table always normalises
"If p4 is positive, the table will be post-normalized (rescaled to a 
maximum absolute value of 1 after generation). A negative p4 will cause 
rescaling to be skipped."

http://www.csounds.com/manual/html/GEN02.html

-Rich

On Feb 25, 2006, at 4:54 PM, Isaac Wallis wrote:

> Hi Csounders-
>  
>   Why does this patch return ".667"?
>  
> 
>
>      instr 1
> iprint tablei 1, 1, 0, 0
> print iprint
>      endin
>
> 
> 
>
> f 1 0 16 2 3 2
>
> i  1 0 1
>
> 
>  
> The manual says that if ixmode == 0 (or is left out) table should 
> treat xndx as a raw data location with no normalisation.  But this is 
> clearly normalising, and all table objects such as tablei, tableikt, 
> etc. have the same behavior.
>  
> Is there a different way to get a raw value from a GEN 02 function 
> table?  I am trying to do vocal formant synthesis by plugging the 
> formant frequencies, amplitudes, and bandwidths into function tables.  
> Any ideas at all would be welcome.
>  
> Isaac
>
> Get MSN Messenger with FREE Video Conversation - the next best thing 
> to being there!  -- Send bugs reports to this list. To unsubscribe, 
> send email to csound-unsubscribe@lists.bath.ac.uk

Date2006-02-25 22:07
FromOeyvind Brandtsegg
SubjectSV: [Csnd] table always normalises
try 
f 1 0 16 -2 3 2

Oeyvind





> From: Isaac Wallis [wallyri@hotmail.com]
> Sent: 2006-02-25 22:54:57 CET
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] table always normalises
> 
> 
> 
> Hi Csounders-
> 
> Why does this patch return ".667"?
> 
> CsInstruments 
> 
> instr 1
> iprint tablei 1, 1, 0, 0
> print iprint
>      endin
> 
> /CsInstruments 
>  CsScore 
> 
> f 1 0 16 2 3 2
> 
> i  1 0 1
> 
> /CsScore 
> 
> The manual says that if ixmode == 0 (or is left out) table should treat xndx as a raw data location with no normalisation.  But this is clearly normalising, and all table objects such as tablei, tableikt, etc. have the same behavior.
> 
> Is there a different way to get a raw value from a GEN 02 function table?  I am trying to do vocal formant synthesis by plugging the formant frequencies, amplitudes, and bandwidths into function tables.  Any ideas at all would be welcome.
> 
> Isaac
>  Get MSN Messenger with FREE Video Conversation - the next best thing to being there!  
> 
> -- 
>  Send bugs reports to this list.
>  To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>