I'm trying to get to grips with FLAC, but I can't get the example project to compile. I'm getting the error:
Code: Select all
libFLAC_static.lib(stream_encoder.obj) : error LNK2001: unresolved external symbol _fopen_utf8
Matt
Code: Select all
libFLAC_static.lib(stream_encoder.obj) : error LNK2001: unresolved external symbol _fopen_utf8
Now fixed.Samples must be stored in 32-bit longs in the native endian format of the executing processor
very interesting idea. how about this variant: use a leaky integrator (lowpass) filter on the input, use linear prediction on the lowpass signal, and during reconstruction use the inverse of the leaky integrator ("leaky differentiator"?) as last step. one could even experiment with cascades of (stably invertible) lowpasses (using a cascade of inverse filters in the reconstruction). every lowpass should reduce the variance of the prediction error - possibly up to some point of diminishing returns - and you would also have to take into account finite precision arithmetic considerations.mystran wrote:Some thoughts:
- I'd probably try to split the signal using [1,1] and [1,-1] as simple filters, then fit a linear prediction to each (flipping the sign of every other sample in the "high frequencies" band), then combine these to get an estimate and encode the error from there; that should improve the behavior for signals with significant high-frequency content, with very little overhead.
© KVR Audio, Inc. 2000-2024
Submit: News, Plugins, Hosts & Apps | Advertise @ KVR | Developer Account | About KVR / Contact Us | Privacy Statement