Csound Csound-dev Csound-tekno Search About

[Csnd] AW: Re: 24 bits and tablesize?

Date2008-08-07 07:37
FromMarco Stroppa
Subject[Csnd] AW: Re: 24 bits and tablesize?
Thank you very much for the explanation. It's always a bit puzzling to think that 512=513...:-)! Concerning csound, is there a version with 64bit floats running for Mac Intel? On the site, I did not find any information about this.

Thanks again.


Marco


----- Ursprüngliche Mail ----
> Von: victor 
> An: csound@lists.bath.ac.uk
> Gesendet: Mittwoch, den 6. August 2008, 18:47:06 Uhr
> Betreff: [Csnd] Re: 24 bits and tablesize?
> 
> Pow-two tables are always pow-two-size+1. So 512 is always 513 points.
> 
> I suppose the best way to deal with 24bit audio is to defer the length and
> set the 'type' to be read from sf header and leave libsndfile to deal with 
> it.
> Samples will always be converted to  floats (32 or 64bit depending on
> version of csound).
> 
> Victor
> ----- Original Message ----- 
> From: "Marco Stroppa" 
> To: 
> Sent: Wednesday, August 06, 2008 5:30 PM
> Subject: [Csnd] 24 bits and tablesize?
> 
> 
> Hello!
> 
> I have a (probably stupid) question concerning the table size with using 
> interpolating oscillators. If the table is used for an amplitude envelope 
> and is, say, 513 points long, the right instruction for a triangle is "f1 0 
> 513 7 0 256 1 256 0" or "f1 0 513 7 0 256 1 257 0"? In other terms, which of 
> the two instructions generate 513 points? I guess it is the first one, but 
> I'm not sure.
> Also, what should I use if I want to load a 96 KHz, 24bit file onto a GEN01? 
> There is not format for 24bit-files. Should I use 5 (32-bits long integers)? 
> And bite-shift the file or not?
> 
> Thank you very much for any help.
> 
> 
> Marco
> 
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
> gegen Massenmails.
> http://mail.yahoo.com
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"= 
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com