Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/nova-video-player/aos-audiocompress


https://github.com/nova-video-player/aos-audiocompress

basic readme

47cdc373f32f6125867bbd55ac68e461b99953e6 authored over 7 years ago
make clang happy

f5703a4127420e4b916327d88ae0c4173fdcc3b9 authored over 9 years ago
Audio stream does not have the same sample count, so a history of N does not mean the same time regarding stream. Let process packets of 512 samples per history slot

81d118fe74efdd3dd57cf2ab5e8f8d0b754730b8 authored about 10 years ago
We need to clamp the noise in fact. But it is better to use the peakMax value since once the limit has been reache, it will not be cleared

7fdea7eba7ab7be52f52378d7186efac9a54ef30 authored about 10 years ago
A bit more simple

6d4bc09af18e90dac2154734680b64a5b49e8b02 authored about 10 years ago
Take care that smooth value can now be changed to 0 if packets are bigger than 512 - to make it a bit more precise, let's use the ramp time

a73ceca660b8bd22430a1376ffdc2004474a923a authored about 10 years ago
Let's take care of the current position to not mess the peak history

b91f6ec5ac607466ea2ccb5b3f25618552224c19 authored about 10 years ago
There is no need of the gain history unless for debug. Let save some RAM and make the code a bit easier

6f93dcc32473335bcd187dc796ba83dd5f0f5c3a authored about 10 years ago
curGain must be called lastGain since it is used to record the last gain applied

b5e85c7fb69c5961f9fcc70753eef91364ff3007 authored about 10 years ago
Number of sample per video can be different between two different files, so smooth will not have the same duration. Let's normalize on 512 elements audio packets

b7ddd61b09a1749134ee61ff499972c988316f9f authored about 10 years ago
Let's initialize curGain asap

6baf0fdac76bfbd3375618fc58cefc395c77d19c authored about 10 years ago
Clipped is useless

69242cdd8b83656e44534f9f65b5faa5ecd08c4a authored about 10 years ago
audiocompress: silence a warning

Signed-off-by: Vladimir Pantelic <[email protected]>

c7bb11fde9cc3a8c7482f71006879f09afed1722 authored about 10 years ago
Remove the noise clamping, each movie has its own noise level. Just be sure that we do not amplify too much the noise

133b5749bf7d2f69f3eb2d9066ab7a75cc607760 authored about 10 years ago
Simplify a bit the smoothness usage

af6857a0a1194f90b5dfc694ab64fd72b82a1abb authored about 10 years ago
Be sure computation is ok

a3f80c56ed76962400e451a188faa3d8829b2db4 authored about 10 years ago
Be sure computation is ok

b6c73a527ffe30e2c1c31890a0d8211ab62d8e38 authored about 10 years ago
Remove useless traces

b564fcb15ca73c24bc409ceddd4c430c097650e8 authored about 10 years ago
50 is bit too high for noise limit, let use 20

a2e0f8bff59a10135415293d6e1fae3ab6cf4e61 authored about 10 years ago
Do not override the maxPeak of the current packet with the max peak of the full stream. The gol here is to compute the gain for the current packet

d68f8d1b27aab6b75ff14042e5357e8524f5ad69 authored about 10 years ago
Smooth can also be null, it means no smooth and direct volume change

6ed20122d6e236b35d116a9996244c063c0f1aed authored about 10 years ago
Target can be null, it just means that gain will always be clipped to one

26e8aa81f975032b1e7c4efe8b356ee9d566cd83 authored about 10 years ago
Sound track always start with white noise, do not amplify the noise

ed63deb187340b03eb17de2454aafcabde12a83d authored about 10 years ago
MaxGain of 0 is now supported since it is now relative

b4e760b0785f0a254db2dfcab5ced4745d97a891 authored about 10 years ago
A bit more helpful help

4ff478fa6dfa182a41777558e705e89632baaa6a authored about 10 years ago
Let's clip the max gain before the smooth because smoothing

4fac4addb22f467bdb18329879792591f8cfbae6 authored about 10 years ago
Fix code layout

6b1684c9a71452f747f60ca7c11ca8cc5b806f18 authored about 10 years ago
Save the gain applied for the maximum peak. Use this as a reference for the max delta gain accepted

a5933b4b3e3a80f001c41ae32770ba97a51202f9 authored about 10 years ago
When the new buffer is smaller, the buffer is totally cleared unless it is specified - It is the case for peak, we want to keep peak history

8f5addb91925f5f762be3e75b852e73adf1aff16 authored about 10 years ago
adding AudioCompress

http://beesbuzz.biz/code/audiocompress.php

d1af000626e41e922b080d8a9a605cda0f63303f authored almost 12 years ago