hallo nils oder an alle, die es zum laufen gebracht haben, also irgendwie will das bei mir nicht richtig in kombination mit dem ladspa funktionieren. kannst du nils oder jemand anderes vielleicht einmal die
kompletten config-dateien hier zur verfügung stellen ? krieg halt mit der config von nils immer folgenden fehler:
Apr 29 16:10 : Cannot connect to server in PulseAudio output "ElternEQ" (attempt 2): No such entity
Apr 29 16:10 : problems opening audio device while playing "Michel Tel- Ai Se Eu Te Pego CDM - Ai Se Eu Te Pego.mp3"
Bei mir siehts folgendermassen aus:
cat /etc/asound.conf
cat /etc/pulse default.pa
Also grundsätzlich krieg ich Ton raus, wenn ich in der default.pa anstatt
folgendes setze
und anstatt in der mpd3.conf:
folgendes setze:
Naja, der Sound ist ohne Equalizer kaum zu ertragen, von daher würde ich natürlich gerne ladspa integrieren.
Was ich auch nocht nicht richtig verstanden habe, warum nils in der mpd.conf mehrer audio_outputs definiert, ich dachte, das wird jeweils in der mpd.conf, mpd2.conf , mpd3.conf etc. eingetragen:
kompletten config-dateien hier zur verfügung stellen ? krieg halt mit der config von nils immer folgenden fehler:
Apr 29 16:10 : Cannot connect to server in PulseAudio output "ElternEQ" (attempt 2): No such entity
Apr 29 16:10 : problems opening audio device while playing "Michel Tel- Ai Se Eu Te Pego CDM - Ai Se Eu Te Pego.mp3"
Bei mir siehts folgendermassen aus:
cat /etc/asound.conf
Code:
CommunityGate:/etc/pulse# ##interne soundkarte pcm_slave.onboard { pcm "hw:0,0" # or "hw:0,0" for the first card channels 6 rate 44100 # format "S16_LE" } pcm.dmixer { type plug slave.pcm { type dshare ipc_key 1024 ipc_key_add_uid false ipc_gid audio ipc_perm 0660 slave onboard bindings [ 0 ] # rate 44100 # channels 2 } } pcm.dmixerbad { type plug slave.pcm { type dshare ipc_key 1024 ipc_key_add_uid false ipc_gid audio ipc_perm 0660 slave onboard bindings [ 1 ] # rate 44100 # channels 2 } } #####neue usb soundkarte pcm_slave.logilink1 { pcm "hw:1,0" # or "hw:1,0" for the second card channels 8 rate 44100 format "S16_LE" } pcm.front_green { type plug; slave.pcm { type dshare; ipc_key 8788221; ipc_key_add_uid false; ipc_gid audio; ipc_perm 0660; slave logilink1; bindings [ 0 1 ]; } } pcm.surround_black { type plug slave.pcm { type dshare ipc_key 8788221 ipc_key_add_uid false ipc_gid audio ipc_perm 0660 slave logilink1 bindings [ 2 3 ] } } pcm.center_lfe_orange { type plug slave.pcm { type dshare ipc_key 8788221 ipc_key_add_uid false ipc_gid audio ipc_perm 0660 slave logilink1 bindings [ 4 5 ] } } pcm.side_white { type plug slave.pcm { type dshare ipc_key 8788221 ipc_key_add_uid false ipc_gid audio ipc_perm 0660 slave logilink1 bindings [ 6 7 ] } } ## Mix von Center und LFE pcm.orange { type softvol slave.pcm center_lfe_orange control { name "Orange" card 0 } } ###ende neues usb soundkarte pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse }
Code:
CommunityGate: #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. # This startup script is used only if PulseAudio is started in system # mode. .nofail #.fail ### Esound bei Bedarf laden .ifexists module-esound-protocol-unix.so load-module module-esound-protocol-unix .endif ## Network Audio ## Die IP's anpassen fü Rechner die keine Pulse-Cookie verwenden sollen #load-module module-native-protocol-unix load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.2.0/24; ## CLI load-module module-cli-protocol-tcp listen=127.0.0.1 port=4712 #load-module module-cli-protocol-tcp ### Automatically restore the volume of streams and devices load-module module-stream-restore load-module module-device-restore ### Automatically restore the default sink/source when changed by the user during runtime load-module module-default-device-restore ### Automatically move streams to the default sink if the sink they are ### connected to dies, similar for sources load-module module-rescue-streams ### Make sure we always have a sink around, even if it is a null sink. load-module module-always-sink ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle ### Enable positioned event sounds #load-module module-position-event-sounds ## Default NULL Sink load-module module-null-sink ## ALSA Sinks load-module module-alsa-sink device=dmixer sink_name=pakueche load-module module-alsa-sink device=dmixerbad sink_name=pabad #funktioniert so alleine fuer elternschlafzimmer: load-module module-alsa-sink sink_name=pa_eltern device=surround_black #load-module module-alsa-sink name=Galerie sink_name=Galerie device=front_green channels=2 rate=44100 sink_properties=device.description=PA_Galerie #load-module module-alsa-sink name=Zimmer3 sink_name=Zimmer3 device=orange channels=2 rate=44100 sink_properties=device.description=PA_Zimmer3 load-module module-alsa-sink name=Eltern sink_name=Eltern device=surround_black channels=2 rate=44100 sink_properties=device.description=PA_Eltern #load-module module-alsa-sink name=Bad sink_name=Elternbad device=side_white channels=2 rate=44100 sink_properties=device.description=PA_Elternbad ## Combines #load-module module-combine sink_name=oben slaves=Zimmer3,Eltern adjust_time=0 #load-module module-combine sink_name=unten slaves=Galerie,Elternbad adjust_time=0 #load-module module-combine sink_name=alle slaves=Galerie,Zimmer3,Eltern,Elternbad adjust_time=0 ## Equalizer #load-module module-ladspa-sink sink_name=GalerieEQ sink_properties=device.description=PA_GalerieEQ master=Galerie plugin=mbeq_1197 label=mbeq control=11.621622,10,4.594594,2.702703,0,0,-1.621622,-0.270270,-5.405406,-3.513514,-8.648648,-5.675676,-4.054054,1.351351,9.189189 #load-module module-ladspa-sink sink_name=Zimmer3EQ sink_properties=device.description=PA_Zimmer3EQ master=Zimmer3 plugin=mbeq_1197 label=mbeq control=11.621622,10,4.594594,2.702703,0,0,-1.621622,-0.270270,-5.405406,-3.513514,-8.648648,-5.675676,-4.054054,1.351351,9.189189 load-module module-ladspa-sink sink_name=ElternEQ sink_properties=device.description=PA_ElternEQ master=Eltern plugin=mbeq_1197 label=mbeq control=11.621622,10,4.594594,2.702703,0,0,-1.621622,-0.270270,-5.405406,-3.513514,-8.648648,-5.675676,-4.054054,1.351351,9.189189 #load-module module-ladspa-sink sink_name=ElternbadEQ sink_properties=device.description=PA_ElternbadEQ master=Elternbad plugin=mbeq_1197 label=mbeq control=11.621622,10,4.594594,2.702703,0,0,-1.621622,-0.270270,-5.405406,-3.513514,-8.648648,-5.675676,-4.054054,1.351351,9.189189 ## per AVAHI veröntlichen load-module module-zeroconf-publish #load-module module-zeroconf-discover ## Default auf NULL set-default-sink null CommunityGate:/etc/pulse#
Code:
# An example configuration file for MPD # See the mpd.conf man page for a more detailed description of each parameter. ######################## REQUIRED PATHS ######################## # You can put symlinks in here, if you like. Make sure that # the user that mpd runs as (see the 'user' config parameter) # can read the files in this directory. music_directory "/var/lib/mpd/music" playlist_directory "/var/lib/mpd/playlists" db_file "/var/lib/mpd/tag_cache3" log_file "/var/log/mpd/mpd3.log" error_file "/var/log/mpd/errors3.log" pid_file "/var/run/mpd/pid3" ################################################################ ######################## OPTIONAL PATHS ######################## # # If specified, MPD will save its current state (playlist, # current song, playing/paused, etc.) at exit. This will be # used to restore the session the next time it is run. # state_file "/var/lib/mpd/state3" # ################################################################ ######################## DAEMON OPTIONS ######################## # # If started as root, MPD will drop root privileges and run as # this user instead. Otherwise, MPD will run as the user it was # started by. If left unspecified, MPD will not drop root # privileges at all (not recommended). # user "root" # # The address and port to listen on. # # For privacy, we default to the loopback interface. In Debian, "localhost" # may resolve to both an IPv4 and an IPv6 address. For MPD 0.13 or earlier, # it is recommended to only use one or the other. # bind_to_address "127.0.0.1" bind_to_address "192.168.2.106" port "6603" # # Controls the amount of information that is logged. Can be # "default", "secure", or "verbose". # #log_level "default" # audio_output_format "44100:16:2" samplerate_converter "Fastest Sinc Interpolator" ################################################################ ########################## PERMISSIONS ######################### # # MPD can require that users specify a password before using it. # You may specify one ore more here, along with what users who # log in with that password are allowed to do. # #password "password@read,add,control,admin" # # Specifies what permissions a user who has not logged in with a # password has. By default, all users have full access to MPD # if no password is specified above, or no access if one or # more passwords are specified. # #default_permissions "read,add,control,admin" # ################################################################ ########################## AUDIO OUTPUT ######################## # # MPD supports many audio output types, as well as playing # through multiple audio outputs at the same time. You can # specify one or more here. If you don't specify any, MPD will # automatically scan for a usable audio output. # # See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs> # for examples of other audio outputs. # # An example of an ALSA output: # #audio_output { # type "alsa" # name "My ALSA Device" # device "hw:0,0" # optional # format "44100:16:2" # optional #} # # An example of an OSS output: # #audio_output { # type "oss" # name "My OSS Device" # device "/dev/dsp" # optional # format "44100:16:2" # optional #} # # An example of a shout output (for streaming to Icecast): # #audio_output { # type "shout" # name "My Shout Stream" # host "localhost" # port "8000" # mount "/mpd.ogg" # password "hackme" # quality "5.0" # bitrate "128" # format "44100:16:1" # user "source" # optional # description "My Stream Description" # optional # genre "jazz" # optional # public "no" # optional #} audio_output { type "pulse" name "ElternEQ" ## immer TCP nutzen, darum 127.0.0.1 server "127.0.0.1" sink "ElternEQ" } # #sink "alsa_output.pci_1274_1371_alsa_playback_0" # # Force all decoded audio to be converted to this format before # being passed to the audio outputs. # #audio_output_format "44100:16:2" # ################################################################ ############################# MIXER ############################ # # MPD needs to know what mixer settings to change when you # adjust the volume. If you don't specify one here, MPD will # pick one based on which ones it was compiled with support for. # # An example for controlling an ALSA mixer: # #mixer_type "alsa" #mixer_device "default" #mixer_control "PCM" mixer_type "software" # # An example for controlling an OSS mixer: # #mixer_type "oss" #mixer_device "/dev/mixer" #mixer_control "PCM" # # If you want MPD to adjust the volume of audio sent to the # audio outputs, you can tell it to use the software mixer: # #mixer_type "software" # ################################################################ ######################### NORMALIZATION ######################## # # Specifies the type of ReplayGain to use. Can be "album" or # "track". ReplayGain will not be used if not specified. See # <http://www.replaygain.org> for more details. # #replaygain "album" # # Sets the pre-amp used for files that have ReplayGain tags. # #replaygain_preamp "0" # # Enable on the fly volume normalization. This will cause the # volume of all songs played to be adjusted so that they sound # as though they are of equal loudness. # volume_normalization "yes" # ################################################################ ########################### BUFFERING ########################## # # The size of the buffer containing decoded audio. You probably # shouldn't change this. # #audio_buffer_size "2048" # # How much of the buffer to fill before beginning to play. # #buffer_before_play "0%" # # Similar options for the HTTP stream buffer. If you hear # skipping while playing HTTP streams, you may wish to increase # these. # #http_buffer_size "128" #http_prebuffer_size "25%" # #audio_buffer_size "3060" #buffer_before_play "10%" #http_buffer_size "2048" #http_prebuffer_size "200" ################################################################ ########################### HTTP PROXY ######################### # # Specifies the HTTP proxy to use for playing HTTP streams. # #http_proxy_host "proxy.isp.com" #http_proxy_port "8080" #http_proxy_user "user" #http_proxy_password "password" # ################################################################ ############################# LIMITS ########################### # # These are various limits to prevent MPD from using too many # resources. You should only change them if they start # restricting your usage of MPD. # #connection_timeout "60" #max_connections "5" #max_playlist_length "16384" #max_command_list_size "2048" #max_output_buffer_size "8192" # ################################################################ ###################### CHARACTER ENCODINGS ##################### # # If file or directory names do not display correctly, then you # may need to change this. In most cases it should be either # "ISO-8859-1" or "UTF-8". You must recreate your database # after changing this (use mpd --create-db). # filesystem_charset "UTF-8" # # The encoding that ID3v1 tags should be converted from. # id3v1_encoding "UTF-8" # ################################################################ ######################### OTHER OPTIONS ######################## # # The metadata types MPD will recognize. # #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc" # # Enable this if you wish to use your MPD created playlists in # other music players. # #save_absolute_paths_in_playlists "no" # ################################################################
Code:
load-module module-alsa-sink name=Eltern sink_name=Eltern device=surround_black channels=2 rate=44100 sink_properties=device.description=PA_Eltern load-module module-ladspa-sink sink_name=ElternEQ sink_properties=device.description=PA_ElternEQ master=Eltern plugin=mbeq_1197 label=mbeq control=11.621622,10,4.594594,2.702703,0,0,-1.621622,-0.270270,-5.405406,-3.513514,-8.648648,-5.675676,-4.054054,1.351351,9.189189
Code:
load-module module-alsa-sink sink_name=pa_eltern device=surround_black
Code:
audio_output { type "pulse" name "ElternEQ" ## immer TCP nutzen, darum 127.0.0.1 server "127.0.0.1" sink "ElternEQ" }
Code:
audio_output { type "pulse" name "Eltern" ## immer TCP nutzen, darum 127.0.0.1 server "127.0.0.1" sink "pa_eltern" }
Was ich auch nocht nicht richtig verstanden habe, warum nils in der mpd.conf mehrer audio_outputs definiert, ich dachte, das wird jeweils in der mpd.conf, mpd2.conf , mpd3.conf etc. eingetragen:
Code:
audio_output { type "null" name "null" } audio_output { type "alsa" name "Schlafzimmer" device "front_green" # optional # format "44100:16:2" # optional mixer_device "hw:0" # optional mixer_control "Front" # optional } audio_output { type "alsa" name "Küche" device "usbfront" # optional # format "44100:16:2" # optional mixer_device "hw:1" # optional mixer_control "Front" # optional } audio_output { type "alsa" name "Bad" device "usbrear" # optional # format "44100:16:2" # optional mixer_device "hw:1" # optional mixer_control "Rear" # optional }
Kommentar