Re: [ecasound] lossless conversion broken?

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Sun Oct 31 2010 - 22:20:03 EET


On Sat, 30 Oct 2010, Dan Muresan wrote:

>>      Before processing, Ecasound converts all input data to its internal
>> format (defaults to 32bit-float/44100Hz). This is not optimal if you want to
> Sorry to come back to this, but does this int -> float conversion also
> apply to recording directly to a file? Because for low-amplitude
> signals, that could add significant distorsion. What exactly triggers
> the conversion?

yes, ecasound always converts to 32bit float internally, even if no
processing is applied. Basicly float is used in all the internal APIs, so
it's the only way to pass buffers around in ecasound.

Idea of adding a fixed-point passthrough has crossed my mind many times,
and I'm not certainly opposed to it (especially if it's limited to cases
where input and output share the same format).

Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store

Ecasound-list mailing list
Received on Mon Nov 1 00:15:02 2010

This archive was generated by hypermail 2.1.8 : Mon Nov 01 2010 - 00:15:02 EET