Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

  1. #1
    Join Date
    Feb 2008
    Location
    TX
    Beans
    316
    Distro
    Hardy Heron (Ubuntu Development)

    Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    does this exist in linux, or what?

    Since switching from the dark side there's only one thing that I have given up, and that is effective DSP for headphones. For those of us that listen exclusively to headphones and have picky tastes, some kind of stereo-collapsing signal processing is almost mandatory for a satisfactory listening experience.

    In windows I used foobar2000 which had several different plugins, for 'crossfeed' as it's called. There is also the Baur Stereo-to-binaural DSP on sourceforge and the 4Front plugin. There is also Dolby headphone, which is very effective.

    I usually use Amarok, or rhythmbox; I have yet to find any way to implement any of these very available DSPs in linux. Please help. It's almost worth booting back into windows in order to listen to music, but I don't want to.

  2. #2
    Join Date
    Apr 2008
    Location
    UK
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    I use Foobar2000 under Wine.

    The Bauer DSP seems to work fine for me (last time I checked).

  3. #3
    Join Date
    Feb 2008
    Location
    TX
    Beans
    316
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    Any suggestions other than using foobar under Wine? Last I tried that, it kept crashing on me. I'd rather use native linux applications.

  4. #4
    Join Date
    Apr 2008
    Location
    UK
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    I believe MPlayer has some kind of crossfeed option. Not the ideal interface of course.

  5. #5
    Join Date
    Feb 2008
    Location
    TX
    Beans
    316
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    I have no problem with mplayer. Is it in the man page?

  6. #6
    Join Date
    Apr 2008
    Location
    UK
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    I don't know if it's in the man page.

    I don't use MPlayer myself but I remember searching for Linux apps supporting crossfeed in the past and only coming up with MPlayer. Something like 'mplayer -af pan:2:1:.5:.5:1' maybe?

  7. #7
    Join Date
    Feb 2008
    Location
    TX
    Beans
    316
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    Imagine my joy upon reading in the mplayer man page that mplayer has a 'hrtf' option that supposedly 'Converts multichannel audio to 2 channel output for headphones, preserving the spatiality of the sound'. At first I tried it, but it error'd saying it wasn't 48kHz, so I resampled it and tried it, but it didn't work. It sounded bad and crackled and other bad stuff.

    Code:
    chaz@brutus:~/Music/Lossless albums/Hot Water Music/Forever and Counting$ mplayer -af resample=48000:0:2,hrtf=s  10\ Western\ Grace.flac
    MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
    CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5400+ (Family: 15, Model: 107, Stepping: 2)
    CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    
    Playing 10 Western Grace.flac.
    Audio file file format detected.
    ==========================================================================
    Forced audio codec: mad
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 44100 Hz, 2 ch, s16le, 979.8 kbit/69.43% (ratio: 122477->176400)
    Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio decoder)
    ==========================================================================
    AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
    Video: no video
    Starting playback...
    [hrtf] Using active matrix to decode 2 channel input, HRTF to mix 3/2 matrix surround into L, R channels
    A:  20.7 (20.6) of 257.0 (04:17.0) 18.7%
    Exiting... (Quit)
    chaz@brutus:~/Music/Lossless albums/Hot Water Music/Forever and Counting$

  8. #8
    Join Date
    Apr 2008
    Location
    UK
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    I guess '-af pan' is rather unsophisticated. I don't think you can specify frequencies to mix etc, which is a shame.

    I'd be interested if you get any good results from hrtf, although it sounds like it's for multichannel files.

  9. #9
    Join Date
    Feb 2008
    Location
    TX
    Beans
    316
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    I think -af pan is worthwhile, that is, better than nothing. I've been using it like you suggested

    Code:
    mplayer -af pan=2:1:x:x:1 musicfile.flac
    It takes the edge off nicely. This is just like the 'stereo width' option on the Behringer feedback destroyer, which can work as a primitive crossfeed. I've experimented with the value of x, and I think between .05 and 1.5 is where the best results are obtained. This seems to work nicely.

    I've been having trouble with mplayer failing to play things. I don't know what exactly it is but I have a feeling it's from my config file, because when I pound out all the options so far it hasn't done it. But I wanted to put

    Code:
    af=pan=2:1:x:x:1 musicfile.flac
    so that it always did it, and it worked, but I think my config file in general might be causing my freezage problems. Sometimes with video too, it will act like it's going to play, but then the % counter doesn't take off; you can still page up and down through the video but it won't play. I have video options in my config file such as subtitle position and stuff.

  10. #10
    Join Date
    May 2007
    Beans
    601

    Re: Headphone signal processing...crossfeed, Dolby Headphone, stereo-to-binaural

    Sox might be a good choice since it has some built-in audio processing including 'earwax' designed for headphones and can apply various ladspa plugins.

Page 1 of 2 12 LastLast

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
  •