djfun / audio-visualizer-python

a little GUI tool to render visualization videos of audio files
Other
242 stars 58 forks source link

Extra sound options #46

Closed tassaron closed 7 years ago

tassaron commented 7 years ago

Sound components can now apply any filter usable by ffmpeg and all filters will be chained together and mixed into the final output. The new code adds something like:

-filter_complex [2:a] volume=3.0:replaygain_noclip=0 [2tmp0]; [3:a] chorus=0.5:0.9:50|60|40:0.4|0.32|0.3:0.25|0.4|0.3:2|2.3|1.3 [3tmp0]; [3tmp0] adelay=10000 [3tmp1]; [3tmp1] volume=0.8:replaygain_noclip=0 [3tmp2]; [1:a][2tmp0][3tmp2] amix=inputs=3:duration=first [a] -map 0:v -map [a]

to the ffmpeg command, and also has the option to apply an arbitrary number of filters globally too. Global filters just need a UI design to actually apply them (currently they must be hardcoded in by changing two variables). So the Sound component is now a bit less basic! And could theoretically be expanded on a lot just be giving it widgets to control more filters that ffmpeg provides