Comments (3)
Thank for these observations.
Note that the bandwidth is limited to 20 KHz.
I have generated a mono linear sweep 20 Hz to 20 KHz.
And done the encoding/decoding loop :
./bin/elc3 /tmp/sweep.wav -b 64000 | ./bin/dlc3 > /tmp/sweep_64k.wav
./bin/elc3 /tmp/sweep.wav -b 128000 | ./bin/dlc3 > /tmp/sweep_128k.wav
./bin/elc3 /tmp/sweep.wav -b 256000 | ./bin/dlc3 > /tmp/sweep_256k.wav
The first track is the linear spectrogram of source sweep, next it's 64k, 128k and 256k ones.
It seems you're completely right. I will look in following days.
Thanks.
from liblc3.
@asoulier
I check with your fixed patch, the issue is fixed;
Thanks for your help.
from liblc3.
@WenzhengQ, can you double check with the fix 67f2231.
That looks ok on my side.
For the background: there is 2 quantization steps. The second step, slightly adjust the quantizer (global gain).
This gain should be limited to avoid saturation of the spectral coefficients, fixed to 16 bits by the bitstream.
This was not properly done, on the adjustment step, and select sometimes a quantizer one step too high.
And will occurs more often, when the compression ratio decrease (or bitrate increase).
from liblc3.
Related Issues (20)
- LC3 decoding is slow HOT 5
- build failed with MSVC HOT 1
- lc3_decode: Query on leading and trailing extra samples in the decoded output HOT 1
- Integrate with google/oss-fuzz for continuous fuzz-testing HOT 3
- LC3 encode 0db sweep sine signal and decode bitstream, the output sine signal is clipped; HOT 4
- [Question] ffmpeg support HOT 1
- Volume adjustment HOT 1
- [Feature Request] Additional frame sizes HOT 3
- [feature request] manipulate mono channel enc/dec from tool HOT 3
- dlc3 usage text is wrong HOT 1
- Add options to parse a lc3 bitstream without the custom header in dlc3 HOT 1
- Conformance test problem HOT 1
- LC3_EXPORT macro breaks compilation with MSVC HOT 1
- Next release
- extra . in URL HOT 1
- FFmpeg liblc3 build failure HOT 1
- test/decoder.py:84:34: F821 Undefined name `data` HOT 1
- Questions for 16bits/24bits resolution, and also the 5ms frame HOT 3
- Warning of INFINITY used in -ffast-math mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liblc3.