Page 38 of 39 FirstFirst ... 2836373839 LastLast
Results 371 to 380 of 385

Thread: PulseAudio Equalizer Script

  1. #371
    Join Date
    Nov 2009
    Beans
    79
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: PulseAudio Equalizer Script

    Quote Originally Posted by nightfever View Post
    I get an error when installing

    Code:
    Fetched 4,767 B in 3s (1,222 B/s)
    W: Failed to fetch http://ppa.launchpad.net/psyke83/ppa/ubuntu/dists/natty/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/psyke83/ppa/ubuntu/dists/natty/main/binary-i386/Packages  404  Not Found
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package pulseaudio-equalizer
    I think that's the old PPA.

  2. #372
    ivanovnegro is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    May 2010
    Location
    Valencia (Spain)
    Beans
    855
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: PulseAudio Equalizer Script

    Quote Originally Posted by Lancelot59 View Post
    I think that's the old PPA.
    Right. Webupd8 is the way to go, it was mentioned some posts before.

  3. #373
    Join Date
    Feb 2007
    Beans
    Hidden!

    Re: PulseAudio Equalizer Script

    Quote Originally Posted by ivanovnegro View Post
    Right. Webupd8 is the way to go, it was mentioned some posts before.
    Another thing: can you edit the frequencies or add a custom frequency by editing the configuration file?

  4. #374
    ivanovnegro is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    May 2010
    Location
    Valencia (Spain)
    Beans
    855
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: PulseAudio Equalizer Script

    Quote Originally Posted by nightfever View Post
    Another thing: can you edit the frequencies or add a custom frequency by editing the configuration file?
    Eh, not sure, also I dont use the script anymore.

  5. #375
    Join Date
    Nov 2009
    Beans
    79
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: PulseAudio Equalizer Script

    Quote Originally Posted by ivanovnegro View Post
    Eh, not sure, also I dont use the script anymore.
    Have you found a better substitute? I think you should be able to, but I think you'd have to modify the script directly.

  6. #376
    ivanovnegro is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    May 2010
    Location
    Valencia (Spain)
    Beans
    855
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: PulseAudio Equalizer Script

    Quote Originally Posted by Lancelot59 View Post
    Have you found a better substitute? I think you should be able to, but I think you'd have to modify the script directly.
    No, did not find any substitute but the players I use now have a decent equalizer.

  7. #377
    Join Date
    Nov 2009
    Beans
    79
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: PulseAudio Equalizer Script

    Quote Originally Posted by ivanovnegro View Post
    No, did not find any substitute but the players I use now have a decent equalizer.
    Bummer. I was hoping this would've been implemented.

  8. #378
    Join Date
    Feb 2007
    Beans
    Hidden!

    Re: PulseAudio Equalizer Script

    Ok I got it.
    All you have to do is edit a preset file and add custom frequencies.
    Just search for a folder called "presets" and you'll have all the .preset files there.

  9. #379
    Join Date
    Jan 2008
    Beans
    22

    Re: PulseAudio Equalizer Script

    Thank you for the script! Works nicely.

    I'm experiencing the following issue: upon enabling the equalizer the system volume goes to maximum value regardless of what it was before (incl. even muted). The volume value is not affected upon disabling the equalizer. Is this a known issue? (sorry if this was mentioned here -- I couldn't quickly figure out how to search through one thread on Ubuntu Forms). EDIT: Yes, search is right there, sorry. So, I found references to this, but no conclusive resolution (problem just "went away" in one case). It's happening in Natty for me. What's the verdict on this volume-to-maximum-on-eq-enable issue? Thanks.
    Last edited by alexei.colin; August 14th, 2011 at 01:06 AM. Reason: Found search.

  10. #380
    Join Date
    Feb 2012
    Beans
    1

    Smile Re: PulseAudio Equalizer Script

    Quote Originally Posted by psyke83 View Post
    ......
    The fil-plugins LADSPA plugin is more complicated:

    Code:
    conn@dimension:~$ analyseplugin filters.so
    
    Plugin Name: "4-band parametric filter"
    Plugin Label: "Parametric1"
    Plugin Unique ID: 1970
    Maker: "Fons Adriaensen <fons@kokkinizita.net>"
    Copyright: "GPL"
    Must Run Real-Time: Yes
    Has activate() Function: Yes
    Has deativate() Function: Yes
    Has run_adding() Function: No
    Environment: Normal or Hard Real-Time
    Ports:    "Input" input, audio
        "Output" output, audio
        "Filter" input, control, toggled, default 0
        "Gain" input, control, -20 to 20, default 0
        "Section 1" input, control, toggled, default 0
        "Frequency 1" input, control, 20 to 2000, default 200, logarithmic
        "Bandwidth 1" input, control, 0.125 to 8, default 1, logarithmic
        "Gain 1" input, control, -20 to 20, default 0
        "Section 2" input, control, toggled, default 0
        "Frequency 2" input, control, 40 to 4000, default 400, logarithmic
        "Bandwidth 2" input, control, 0.125 to 8, default 1, logarithmic
        "Gain 2" input, control, -20 to 20, default 0
        "Section 3" input, control, toggled, default 0
        "Frequency 3" input, control, 100 to 10000, default 1000,  logarithmic
        "Bandwidth 3" input, control, 0.125 to 8, default 1, logarithmic
        "Gain 3" input, control, -20 to 20, default 0
        "Section 4" input, control, toggled, default 0
        "Frequency 4" input, control, 200 to 20000, default 2000,  logarithmic
        "Bandwidth 4" input, control, 0.125 to 8, default 1, logarithmic
        "Gain 4" input, control, -20 to 20, default 0
    The interface could be modified to support the fil-plugins plugin properly, but I'm not sure if it's worthwhile (and I don't think that a regular screen would fit all the details onto the interface without scrolling).
    .....
    For those who are not awared from command line and find that 4-band parametric filter (LADSPA plugin filters.so -package fil-plugins) can do better job for them as classical 15-band mbeq (e.g. do not have ideal acoustic room treatment and exactly know what frequencies by which amount to equalize) here is simple command using pulseaudio module-ladspa-sink module:

    Code:
    pacmd load-module module-ladspa-sink sink_name=ladspa_out master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=filters label=Parametric1 control=1,0,1,98,0.125,8,1,113,0.125,-13,0,600,0.125,-20,0,3300,0.125,0
    You can read more about the loading the module here:
    http://www.pulseaudio.org/wiki/Modul...le-ladspa-sink
    The master name you can find by running the command :
    Code:
    pacmd list-sinks|grep 'name:'
    The control section takes 18 parameters for the filters plugin (because the first two listed in plugin overview are not of type "input control" and are not involved in the control section), so we start from filter parameter which enables the plugin (IMHO), than we have gain set to zero. Then follow 4 sections of four numbers - on/off toggle for the section, frequency, bandwidth and wanted gain for the section.

    What I wanted to do was make very narrow 8dB bump on 98Hz (bandwidth 0.125), than really supress (again very narrowly - bandwidth 0.125) frequencies around 113Hz by -13dB (here my room resonates). I am not using the last two sections (leading zeros in their toggle control) at the moment. Just to notice - bandwith control is not in "Q units" (the higher the Q the narrower the band) but the highest value 8 means the widest frequency band affected and vice versa.

    So we have crated a pulseaudio sink called ladspa_out (you can check it in the Manager Devices tab) but now we want to play through it. It seems to me there is not optimal synchronization between the set-default-sink command and GUI tool "padevchooser". I advise you to use the padevchooser and set there default sink to "Other.." and write "ladspa_out" string. Although the pulseaudio manager still shows the old default sink in the "server information tab" you can try to start any new stream and in the "Devices" tab of the Manager you should see that new stream is played through our created LADSPA sink.

    For experimenting you can create another instance of the equalizer with different controls - it only gets different ID and you route streams between the sinks without stopping them with the command
    Code:
    pacmd move-sink-input streamIndex wantedSinkIndex
    You can obtain all the IDs from the devices tab of the manager.

    Unwanted sink can be deleted by the commmand:
    Code:
    pacmd unload-module moduleID
    The moduleID is different to wantedSinkIndex from previous command and can be found in "Owner Module" line in the properties of the sink.

    Hope I helped some of you and you can now enjoy your music better with Pulseaudio!

Page 38 of 39 FirstFirst ... 2836373839 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •