Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firequalizer15.lua: Add a function to turn the equalizer + Smoother equalizer text, minor changes #31

Open
DaMaNic2022 opened this issue Nov 29, 2023 · 0 comments

Comments

@DaMaNic2022
Copy link

  1. Add a function to turn the equalizer on and off, similar to https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/acompressor.lua
  2. Smoother equalizer text, minor changes:
    local freq_label = {
    eq0 = "# 0 Hz: ",
    eq1 = "# 65 Hz: ",
    eq2 = "# 157 Hz: ",
    eq3 = "# 288 Hz: ",
    eq4 = "# 472 Hz: ",
    eq5 = "# 733 Hz: ",
    eq6 = "# 1.1k Hz: ",
    eq7 = "# 1.6k Hz: ",
    eq8 = "# 2.4k Hz: ",
    eq9 = "# 3.4k Hz: ",
    eq10 = "# 4.9k Hz: ",
    eq11 = "# 7k Hz: ",
    eq12 = "# 10k Hz: ",
    eq13 = "# 14k Hz: ",
    eq14 = "# 20k Hz: "
    }
    ...
    local fontfamily = "monospace"
    ...
    local function gain_line(x)
    ...
    x = x + 10
    ...
    local function show_osd_ass()
    ...
    str = str .. pval .. freq_label[eq(x)] .. string.format("%+05.1f", gain_table[eq(x)]*0.1) .. " dB |" .. gain_line(x) .. "\n"
    Буфер обмена01
@DaMaNic2022 DaMaNic2022 changed the title Add a function to turn the equalizer + Smoother equalizer text, minor changes firequalizer15.lua: Add a function to turn the equalizer + Smoother equalizer text, minor changes Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant