logo       

Re: .aiff wrapping?: msg#00259

audio.supercollider.devel

Subject: Re: .aiff wrapping?

Hi James,

I'm guessing that turning on the clipping flag for writing floats would not be a
good idea because you will lose all data above magnitude 1 in the written file.
That would defeat the purpose of writing as floats, wouldn't it?

I can just record as int32. The loss of data due to clipping isn't a problem
for me. I prefer WYHIWYG. ;)

Thanks,
Lance

Quoting James McCartney <asynth-Xhj3G7Rj6JI@xxxxxxxxxxxxxxxx>:

>
> You're right. It appears that 32 bit gets saturated, but 16 bit wraps.
> I had assumed that libsndfile does clipping, but you have to set a flag
> SFC_SET_CLIPPING. I write in floating point format, so I didn't notice
> this.
>
> On Aug 26, 2004, at 5:49 PM, Lance Putnam wrote:
>
> > Try recording this using 'int32' and then 'float32' and tell me if you
> > hear a
> > difference in Finder.
>
> _______________________________________________
> sc-dev mailing list
> sc-dev-Ayv8T2snMLBt9CRQqspbbg@xxxxxxxxxxxxxxxx
> http://www.create.ucsb.edu/mailman/listinfo/sc-dev
>


--
Lance Putnam
Graduate Student
Media Arts and Technology / UCSB
ljputnam-YszBOzCFqnGCCSEA9G1mgw@xxxxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise