Nieuws:

Ubuntu-NL weer online!

Na een periode van technische problemen en een overbelaste server zijn we eindelijk weer bereikbaar.
Samen met Hobbynet, onze sponsor en hostingpartner, hebben we een oplossing gevonden zodat alles weer soepel draait.

Bedankt voor jullie geduld en begrip. We hopen nu weer verder te gaan waar we gebleven waren.

Het team van Ubuntu-NL

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Sonata  (gelezen 1926 keer)

Offline SVW

  • Lid
Sonata
« Gepost op: 2009/03/03, 14:17:11 »
Ik heb de laatste tijd (sinds overschakeling van Ubuntu 8.04 naar 8.1) wat problemen met Sonata. Sonata laadt wel mijn audiobestanden maar als ik ze probeer af te spelen dan stopt ie automatisch. Ik heb de volgende versies:
root@helium:/home/swl# sonata --version
Versie: Sonata 1.5.1
Website: http://sonata.berlios.de/
root@helium:/home/swl# mpd --version
mpd (MPD: Music Player Daemon) 0.13.2


iemand een idee waar het aan kan liggen en hoe opgelost kan worden?

Offline vanadium

  • Lid
Re: Sonata
« Reactie #1 Gepost op: 2009/03/03, 15:23:56 »
Is dat de sonata versie die met Ubuntu 8.10 meekomt? Als je audio getoond wordt, dan maakt hij wel degelijk verbinding en denk ik niet dat Sonata het probleem is.

Het klinkt alsof je muziekdirectory niet meer correct is. Indien het een USB schijf is, is de USB schijf nog op dezelfde plaats gemount waar mpd deze verwacht?

Om uit te sluiten dat het een mpd probleem is, kan je eens een song afspelen via een andere client, bijvoorbeeld mpc aan de commandolijn:
mpc add Albums/Pink_Floyd/1973_-_The_Dark_Side_Of_The_Moon/01_-_Speak_To_Me_-_Breathe_In_The_Air.ogg
mpc play



Offline SVW

  • Lid
Re: Sonata
« Reactie #2 Gepost op: 2009/03/03, 15:46:21 »
ik denk dat dit de versie is die met 8.10 meekwam. Ik heb Sonata daarna nog een keer via Synaptic geherinstalleerd maar het probleem bleef. Gekke is dat er een nieuwere versie beschikbaar is die volgens Synaptic wel geïnstalleerd is maar volgens de terminal dus niet.
De muziek directory staat op de harde schijf van mijn computer en die is niet veranderd.
De mpc via de commandolijn werkt prima dus is het misschien iets met de verbinding dan?

Offline SVW

  • Lid
Re: Sonata
« Reactie #3 Gepost op: 2009/03/25, 12:38:58 »
Sonata deed het een tijdje weer maar nu krijg ik hem niet meer aan de praat.
Als ik de commandlijn gebruik dan stopt ie ook:

swl@helium:~$ mpc play
Amy MacDonald - Run
[playing] #39/2334   0:00/3:47 (0%)
volume: 81%   repeat: on    random: on 


Iemand een oplossing?

Offline vanadium

  • Lid
Re: Sonata
« Reactie #4 Gepost op: 2009/03/25, 13:06:29 »
Dan is het niet sonata, noch de verbinding met mpd, maar mpd zelf. Misschien een probleem in het configuratiebestand /etc/mpd.conf (of ~/.mpd.conf bij een per gebruiker installatie), of misschien de algemene geluidsinstellingen. Bij mij staat in mpd.conf als audio output niets gespecifieerd: mpd zoekt het dus zelf uit. In System - Preferences - Sound staan alle instellingen voor "Sound playback", op "Autodetect".

Wat bedoel je precies met "dan stopt ie"?

Offline SVW

  • Lid
Re: Sonata
« Reactie #5 Gepost op: 2009/03/25, 13:12:17 »
daarme bedoel ik dat je op "play" drukt in de interface. Vervolgens zie je dat en nummer geleden wordt en dan stopt het gelijk weer. In mijn etc/mpd.conf staat het volgende:

# 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      "/home/swl/Muziek"
playlist_directory   "/var/lib/mpd/playlists"
db_file         "/var/lib/mpd/tag_cache"
log_file      "/var/log/mpd/mpd.log"
error_file      "/var/log/mpd/errors.log"
pid_file      "/var/run/mpd/pid"
################################################################


######################## 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/state"
#
################################################################


######################## 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                            "mpd"
#
# The address and port to listen on.
#
bind_to_address                 "localhost"
#port                            "6600"
#
# Controls the amount of information that is logged.  Can be
# "default", "secure", or "verbose".
#
#log_level                       "default"
#
################################################################


########################## 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
#}
#
# 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                   "Headphone"
#
# 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            "no"
#
################################################################


########################### 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%"
#
################################################################


########################### 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"
#
################################################################

Offline vanadium

  • Lid
Re: Sonata
« Reactie #6 Gepost op: 2009/03/25, 13:32:45 »
Het enige wat jij anders hebt dan ik zijn Mixer instellingen. Bij mij zijn die allemaal voorzien van een commentaarteken. Bij jou is dat op alsa gezet. Ik zou in de sectie Mixer eens alles wegdoen (= zorg dat er voor elke lijn een commentaarteken # staat), dan eens volledig herstarten en zien of dat de toestand niet verbetert.

Als je dan toch handmatig moet proberen, kan deze pagina uitsluitsel geven over hoe mpd te configureren voor pulseaudio: http://mpd.wikia.com/wiki/PulseAudio

Offline SVW

  • Lid
Re: Sonata
« Reactie #7 Gepost op: 2009/03/26, 11:53:17 »
voorlopig doet ie het weer.

Offline SVW

  • Lid
Re: Sonata
« Reactie #8 Gepost op: 2009/03/30, 09:42:22 »
Nu ik trouwens die hekjes er weer voor gezet hebt betekend dit wel weer dat mijn volumeregeling binnen Sonata zelf het niet doet. Ik herinner me nu weer dat daarom dat config file zou was aangepast.

Re: Sonata
« Reactie #9 Gepost op: 2009/03/30, 20:37:25 »
Het onderstaande uncommenten werkte bij mij om de gui van sonata gebruiken voor volumeregeling:

mixer_type         "software"

Offline SVW

  • Lid
Re: Sonata
« Reactie #10 Gepost op: 2009/03/30, 20:41:01 »
bij mijn computer schijnt dat nooit echt te werken. Mijn echte volume controle blijft de Fn toets met F7 of F8.
Welke schuifjes ik op de computer ook gebruik; die hebben niet echt invloed.

Offline SVW

  • Lid
Re: Sonata
« Reactie #11 Gepost op: 2009/04/07, 14:09:05 »
Ik heb trouwens het probleem dat als ik dat laatste doe dat ik dan in Firefox geen geluid meer heb bv bij filmpjes van YouTube.