audio-reactive-led-strip icon indicating copy to clipboard operation
audio-reactive-led-strip copied to clipboard

How to set the amplitude range? (adjusting the Y axis)

Open Yuke-hd opened this issue 5 years ago • 4 comments

i noticed that the current setting is quite different from the demo video https://www.youtube.com/watch?v=HNtM7jH5GXg

in the demo video, (espically in scroll effect timestamp: 0:04-0:07) i noticed that low amplitude signal got filted, thus the

....[dot]............[dot]........[dot]|[dot]........[dot]............[dot]....

effect (0:04-0:07)

in my setting, i got

...[continuous].........[continuous]|[continuous].........[continuous]...

is there a way to adjust the Y axis just like we can adjust the X axis for freq range?

Yuke-hd avatar Sep 01 '20 07:09 Yuke-hd

In config.py at the end there is MIN_VOLUME_THRESHOLD: https://github.com/scottlawsonbc/audio-reactive-led-strip/blob/38502b47b482e66fc27981398a538ecefee85ee3/python/config.py#L104

Is this what you are asking for?

joeybab3 avatar Sep 01 '20 15:09 joeybab3

i'm asking if i can turn this link into this link

Yuke-hd avatar Sep 03 '20 12:09 Yuke-hd

@rmit-s3686930-keyu Have you tried adjusting the volume threshold?

joeybab3 avatar Sep 03 '20 16:09 joeybab3

Yes. i noticed that, say i set the threshold is 20%, if the signal is 21%, the signal will be registered, but soon it will be amplified to the "max amplitude", thus the previous signal that below 20% will get registered again I dont want that, i want the threshold to be a absolute value insteads of a realitive value.

Yuke-hd avatar Sep 04 '20 07:09 Yuke-hd