Stable: 2.5.2
Development: 2.6-alpha3
I would really like to keep using MOC as my main player, however I need to get my music processed by brutefir which applies DRC (room corrections).
This seems to be very "fishy" from the configuration point of view. As far as I know, not many players support further processing by brutefir (mplayer via jack e.g.)
I would like to stay with OSS as my soundcard (lynx l22) is not supported by ALSA yet.
It's easy to use brutefir when the player has ability to play music on stdout, in this case just adding pipe to brutefir is sufficient, but this is not the case of MOC.
I wish I had this functionality: MOC(playing flac) -> brutefir -> OSS (dig. out device) -> external DAC - etc etc
Do you think this could be achieved?
Any help/suggestions highly appreciated.
hiben
Fri, 2008-02-29 08:31
Permalink
I took a quick look at
I took a quick look at brutefir.
MOC supports Jack as output device; this seems to be sufficient to be used with brutefir (?)
Maybe I did not fully understand the problem...
coques
Fri, 2008-02-29 09:03
Permalink
Well, let's say JACK would
Well, let's say JACK would do the job. However,I have no idea what to put into MOC config in order to forward the data into brutefir input.
Any idea? thanks
hiben
Fri, 2008-02-29 10:21
Permalink
Well, according to the
Well, according to the website, brutefir registers input- and output-slots at the Jack-Daemon.
The only thing left to do is to tell MOC to use these slots as output-slots (via mocs config-file).
I have not worked with brutefir and have only a passing knowledge on Jack but it sounds very easy to do.
p.s.
Do you need more than stereo-data for the bruteFIR processing ? MOC can - AFAIK - only support stereo.
coques
Fri, 2008-02-29 10:52
Permalink
Finally, I got it! Thanks
Finally, I got it! Thanks hiben for quick responses.
For those who are interested:
MOC settings:
SoundDriver = JACK
# Jack output settings
JackOutLeft = "brutefir:input-0"
JackOutRight = "brutefir:input-1"
brutefir settings:
## INPUT DEFAULTS ##
input "l_input","r_input" {
device: "jack" { ports: "moc:output0", "moc:output1"; }; # module and parameters to get audio
sample: "AUTO"; # sample format
channels: 2/0,1; # number of open channels / which to use
delay: 0,0; # delay in samples for each channel
maxdelay: -1; # max delay for variable delays
mute: false,false; # mute active on startup for each channel
};
## OUTPUT DEFAULTS ##
output "l_output","r_output" {
device: "jack" { ports: "alsa_pcm:playback_1", "alsa_pcm:playback_2"; }; # module and parameters to put audio
sample: "AUTO"; # sample format
channels: 2/0,1; # number of open channels / which to use
delay: 0,0; # delay in samples for each channel
maxdelay: -1; # max delay for variable delays
mute: false,false; # mute active on startup for each channel
dither: false; # apply dither
};
coques
Tue, 2008-11-25 08:22
Permalink
Does, or will MOC support
Does, or will MOC support FIFO (like mpd) for the output? I can imagine, that it could be used to feed brutefir without using jackd.