From c41e4599989803cc0659cbcc5d4c72e097e4dfc9 Mon Sep 17 00:00:00 2001 From: Joshua Dye Date: Mon, 10 Sep 2018 14:32:44 -0400 Subject: [PATCH] committing changes in /etc after apt run Package changes: +freepats 20060219-1 all +libadplug-2.2.1-0v5 2.2.1+dfsg3-0.4 armhf +libao-common 1.2.2+20180113-1 all +libao4 1.2.2+20180113-1 armhf +libaudiofile1 0.3.6-4 armhf +libavcodec58 7:4.0.2-1+b2 armhf +libavformat58 7:4.0.2-1+b2 armhf +libavutil56 7:4.0.2-1+b2 armhf +libbinio1v5 1.4+dfsg1-6 armhf +libcdio-cdda2 10.2+0.94+2-4 armhf +libcdio-paranoia2 10.2+0.94+2-4 armhf +libcdio18 2.0.0-2 armhf +libcodec2-0.8.1 0.8.1-1 armhf +libfaad2 2.8.8-1 armhf +libfluidsynth1 1.1.11-1 armhf +libid3tag0 0.15.1b-13 armhf +libiso9660-11 2.0.0-2 armhf +libjack-jackd2-0 1.9.12~dfsg-2 armhf +libjansson4 2.11-1 armhf +libldb1 2:1.4.0+really1.3.6-1 armhf +libmad0 0.15.1b-9 armhf +libmikmod3 3.3.11.1-4 armhf +libmms0 0.6.4-3 armhf +libmodplug1 1:0.8.9.0-2 armhf +libmpcdec6 2:0.1~r495-1+b1 armhf +libmpdclient2 2.13-1 armhf +libnfs11 2.0.0-1~exp1 armhf +libopenal-data 1:1.18.2-3 all +libopenal1 1:1.18.2-3+b1 armhf +libroar2 1.0~beta11-10 armhf +libsdl2-2.0-0 2.0.8+dfsg1-1+b1 armhf +libshout3 2.4.1-2 armhf +libsidplayfp4 1.8.8-1 armhf +libsmbclient 2:4.8.5+dfsg-1 armhf +libsndio7.0 1.5.0-2 armhf +libspeexdsp1 1.2~rc1.2-1 armhf -libssh-gcrypt-4 0.8.0~20170825.94fa1e38-1 armhf +libssh-gcrypt-4 0.8.1-1 armhf +libswresample3 7:4.0.2-1+b2 armhf +libtdb1 1.3.15-4 armhf +libtevent0 0.9.36-2 armhf +libupnp6 1:1.6.24-4 armhf -libwbclient0 2:4.8.2+dfsg-2 armhf +libwayland-client0 1.15.0-2 armhf +libwayland-cursor0 1.15.0-2 armhf +libwayland-egl1 1.15.0-2 armhf +libwbclient0 2:4.8.5+dfsg-1 armhf +libwildmidi-config 0.4.2-1 all +libwildmidi2 0.4.2-1 armhf +libxkbcommon0 0.8.2-1 armhf +libyajl2 2.1.0-2 armhf +libzzip-0-13 0.13.62-3.1 armhf +mpc 0.30-1 armhf +mpd 0.20.21-1 armhf +python-talloc 2.1.14-1 armhf +samba-libs 2:4.8.5+dfsg-1 armhf --- .etckeeper | 14 + default/mpd | 9 + init.d/mpd | 108 ++++ libao.conf | 2 + logrotate.d/mpd | 10 + mpd.conf | 390 ++++++++++++++ openal/alsoft.conf | 487 ++++++++++++++++++ passwd | 1 + passwd- | 2 + rc0.d/K01mpd | 1 + rc1.d/K01mpd | 1 + rc2.d/S01mpd | 1 + rc3.d/S01mpd | 1 + rc4.d/S01mpd | 1 + rc5.d/S01mpd | 1 + rc6.d/K01mpd | 1 + shadow | 1 + shadow- | 2 + .../multi-user.target.wants/mpd.service | 1 + .../system/sockets.target.wants/mpd.socket | 1 + timidity/freepats.cfg | 139 +++++ wildmidi/wildmidi.cfg | 139 +++++ xdg/autostart/mpd.desktop | 12 + 23 files changed, 1325 insertions(+) create mode 100644 default/mpd create mode 100755 init.d/mpd create mode 100644 libao.conf create mode 100644 logrotate.d/mpd create mode 100644 mpd.conf create mode 100644 openal/alsoft.conf create mode 120000 rc0.d/K01mpd create mode 120000 rc1.d/K01mpd create mode 120000 rc2.d/S01mpd create mode 120000 rc3.d/S01mpd create mode 120000 rc4.d/S01mpd create mode 120000 rc5.d/S01mpd create mode 120000 rc6.d/K01mpd create mode 120000 systemd/system/multi-user.target.wants/mpd.service create mode 120000 systemd/system/sockets.target.wants/mpd.socket create mode 100644 timidity/freepats.cfg create mode 100644 wildmidi/wildmidi.cfg create mode 100644 xdg/autostart/mpd.desktop diff --git a/.etckeeper b/.etckeeper index 73eeb9f4..a328d079 100755 --- a/.etckeeper +++ b/.etckeeper @@ -266,6 +266,7 @@ maybe chmod 0644 'default/hwclock' maybe chmod 0644 'default/isc-dhcp-server' maybe chmod 0644 'default/keyboard' maybe chmod 0644 'default/locale' +maybe chmod 0644 'default/mpd' maybe chmod 0644 'default/networking' maybe chmod 0644 'default/nfs-common' maybe chmod 0644 'default/nginx' @@ -762,6 +763,7 @@ maybe chmod 0755 'init.d/hwclock.sh' maybe chmod 0755 'init.d/isc-dhcp-server' maybe chmod 0755 'init.d/keyboard-setup.sh' maybe chmod 0755 'init.d/kmod' +maybe chmod 0755 'init.d/mpd' maybe chmod 0755 'init.d/networking' maybe chmod 0755 'init.d/nfs-common' maybe chmod 0755 'init.d/nginx' @@ -1479,6 +1481,7 @@ maybe chmod 0644 'letsencrypt/renewal/rss.natalieandjoshua.com.conf' maybe chmod 0644 'letsencrypt/renewal/vpn.ovalwonder.com.conf' maybe chmod 0644 'letsencrypt/renewal/wifi.natalieandjoshua.com.conf' maybe chmod 0644 'letsencrypt/renewal/wifi2.natalieandjoshua.com.conf' +maybe chmod 0644 'libao.conf' maybe chmod 0644 'libaudit.conf' maybe chmod 0755 'libnl-3' maybe chmod 0644 'libnl-3/classid' @@ -1506,6 +1509,7 @@ maybe chmod 0644 'logrotate.d/dpkg' maybe chmod 0644 'logrotate.d/exim4-base' maybe chmod 0644 'logrotate.d/exim4-paniclog' maybe chmod 0644 'logrotate.d/fail2ban' +maybe chmod 0644 'logrotate.d/mpd' maybe chmod 0644 'logrotate.d/nginx' maybe chmod 0644 'logrotate.d/rsyslog' maybe chmod 0444 'machine-id' @@ -1530,6 +1534,9 @@ maybe chmod 0755 'monit/conf-available' maybe chmod 0755 'monit/monitrc.d' maybe chmod 0644 'monit/monitrc.d/fail2ban' maybe chmod 0644 'motd' +maybe chown 'mpd' 'mpd.conf' +maybe chgrp 'audio' 'mpd.conf' +maybe chmod 0640 'mpd.conf' maybe chmod 0644 'nanorc' maybe chmod 0644 'netconfig' maybe chmod 0755 'network' @@ -1579,6 +1586,8 @@ maybe chmod 0644 'nginx/win-utf' maybe chmod 0644 'nsswitch.conf' maybe chmod 0755 'ofono' maybe chmod 0644 'ofono/phonesim.conf' +maybe chmod 0755 'openal' +maybe chmod 0644 'openal/alsoft.conf' maybe chmod 0755 'opt' maybe chmod 0644 'pam.conf' maybe chmod 0755 'pam.d' @@ -1767,6 +1776,8 @@ maybe chmod 0644 'systemd/user.conf' maybe chmod 0755 'terminfo' maybe chmod 0644 'terminfo/README' maybe chmod 0644 'timezone' +maybe chmod 0755 'timidity' +maybe chmod 0644 'timidity/freepats.cfg' maybe chmod 0755 'tmpfiles.d' maybe chmod 0644 'tmpfiles.d/screen-cleanup.conf' maybe chmod 0755 'triggerhappy' @@ -1794,6 +1805,8 @@ maybe chmod 0644 'vim/vimrc.tiny' maybe chgrp 'vnstat' 'vnstat.conf' maybe chmod 0644 'vnstat.conf' maybe chmod 0644 'wgetrc' +maybe chmod 0755 'wildmidi' +maybe chmod 0644 'wildmidi/wildmidi.cfg' maybe chmod 0755 'wpa_supplicant' maybe chmod 0755 'wpa_supplicant/action_wpa.sh' maybe chmod 0755 'wpa_supplicant/functions.sh' @@ -1802,6 +1815,7 @@ maybe chmod 0600 'wpa_supplicant/wpa_supplicant.conf' maybe chmod 0755 'xdg' maybe chmod 0755 'xdg/autostart' maybe chmod 0644 'xdg/autostart/at-spi-dbus-bus.desktop' +maybe chmod 0644 'xdg/autostart/mpd.desktop' maybe chmod 0644 'xdg/autostart/xdg-user-dirs.desktop' maybe chmod 0755 'xdg/systemd' maybe chmod 0644 'xdg/user-dirs.conf' diff --git a/default/mpd b/default/mpd new file mode 100644 index 00000000..f3ebf745 --- /dev/null +++ b/default/mpd @@ -0,0 +1,9 @@ +## Defaults for the MPD init script, sourced by /etc/init.d/mpd on Debian +## systems. Uncomment (remove the leading '#') and change values as needed. + +## If you don't want MPD to be started as a system service (for example, if +## you want to run it from a regular user account), disable it using the +## command 'update-rc.d mpd disable' (or 'systemctl disable mpd' for systemd). + +## The configuration file location for mpd: +# MPDCONF=/etc/mpd.conf diff --git a/init.d/mpd b/init.d/mpd new file mode 100755 index 00000000..ecef9734 --- /dev/null +++ b/init.d/mpd @@ -0,0 +1,108 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: mpd +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: autofs $network $named alsa-utils pulseaudio avahi-daemon +# Should-Stop: autofs $network $named alsa-utils pulseaudio avahi-daemon +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Music Player Daemon +# Description: Start the Music Player Daemon (MPD) service +# for network access to the local audio queue. +### END INIT INFO + +. /lib/lsb/init-functions + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +NAME=mpd +DESC="Music Player Daemon" +DAEMON=/usr/bin/mpd +MPDCONF=/etc/mpd.conf + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +if [ -n "$MPD_DEBUG" ]; then + set -x + MPD_OPTS=--verbose +fi + +PIDFILE=$(sed -n 's/^[[:space:]]*pid_file[[:space:]]*"\?\([^"]*\)\"\?/\1/p' $MPDCONF) + +mpd_start () { + log_daemon_msg "Starting $DESC" "$NAME" + + if [ -z "$PIDFILE" ]; then + log_failure_msg \ + "$MPDCONF must have pid_file set; cannot start daemon." + exit 1 + fi + + PIDDIR=$(dirname "$PIDFILE") + if [ ! -d "$PIDDIR" ]; then + mkdir -m 0755 $PIDDIR + if dpkg-statoverride --list --quiet /run/mpd > /dev/null; then + # if dpkg-statoverride is used update it with permissions there + dpkg-statoverride --force --quiet --update --add $( dpkg-statoverride --list --quiet /run/mpd ) 2> /dev/null + else + # use defaults + chown mpd:audio $PIDDIR + fi + fi + + start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" \ + --exec "$DAEMON" -- $MPD_OPTS "$MPDCONF" + log_end_msg $? +} + +mpd_stop () { + if [ -z "$PIDFILE" ]; then + log_failure_msg \ + "$MPDCONF must have pid_file set; cannot stop daemon." + exit 1 + fi + + log_daemon_msg "Stopping $DESC" "$NAME" + start-stop-daemon --stop --quiet --oknodo --retry 5 --pidfile "$PIDFILE" \ + --exec $DAEMON + log_end_msg $? +} + +# note to self: don't call the non-standard args for this in +# {post,pre}{inst,rm} scripts since users are not forced to upgrade +# /etc/init.d/mpd when mpd is updated +case "$1" in + start) + mpd_start + ;; + stop) + mpd_stop + ;; + status) + status_of_proc -p $PIDFILE $DAEMON $NAME + ;; + restart|force-reload) + mpd_stop + mpd_start + ;; + force-start) + mpd_start + ;; + force-restart) + mpd_stop + mpd_start + ;; + force-reload) + mpd_stop + mpd_start + ;; + *) + echo "Usage: $0 {start|stop|restart|force-reload}" + exit 2 + ;; +esac diff --git a/libao.conf b/libao.conf new file mode 100644 index 00000000..ef209b32 --- /dev/null +++ b/libao.conf @@ -0,0 +1,2 @@ +default_driver=alsa +quiet diff --git a/logrotate.d/mpd b/logrotate.d/mpd new file mode 100644 index 00000000..2b966f4f --- /dev/null +++ b/logrotate.d/mpd @@ -0,0 +1,10 @@ +/var/log/mpd/*.log { + weekly + missingok + rotate 7 + compress + notifempty + copytruncate + create 600 +} + diff --git a/mpd.conf b/mpd.conf new file mode 100644 index 00000000..ff5bbe83 --- /dev/null +++ b/mpd.conf @@ -0,0 +1,390 @@ +# An example configuration file for MPD. +# Read the user manual for documentation: http://www.musicpd.org/doc/user/ +# or /usr/share/doc/mpd/user-manual.html + + +# Files and directories ####################################################### +# +# This setting controls the top directory which MPD will search to discover the +# available audio files and add them to the daemon's online database. This +# setting defaults to the XDG directory, otherwise the music directory will be +# be disabled and audio files will only be accepted over ipc socket (using +# file:// protocol) or streaming files over an accepted protocol. +# +music_directory "/var/lib/mpd/music" +# +# This setting sets the MPD internal playlist directory. The purpose of this +# directory is storage for playlists created by MPD. The server will use +# playlist files not created by the server but only if they are in the MPD +# format. This setting defaults to playlist saving being disabled. +# +playlist_directory "/var/lib/mpd/playlists" +# +# This setting sets the location of the MPD database. This file is used to +# load the database at server start up and store the database while the +# server is not up. This setting defaults to disabled which will allow +# MPD to accept files over ipc socket (using file:// protocol) or streaming +# files over an accepted protocol. +# +db_file "/var/lib/mpd/tag_cache" +# +# These settings are the locations for the daemon log files for the daemon. +# These logs are great for troubleshooting, depending on your log_level +# settings. +# +# The special value "syslog" makes MPD use the local syslog daemon. This +# setting defaults to logging to syslog, otherwise logging is disabled. +# +log_file "/var/log/mpd/mpd.log" +# +# This setting sets the location of the file which stores the process ID +# for use of mpd --kill and some init scripts. This setting is disabled by +# default and the pid file will not be stored. +# +pid_file "/run/mpd/pid" +# +# This setting sets the location of the file which contains information about +# most variables to get MPD back into the same general shape it was in before +# it was brought down. This setting is disabled by default and the server +# state will be reset on server start up. +# +state_file "/var/lib/mpd/state" +# +# The location of the sticker database. This is a database which +# manages dynamic information attached to songs. +# +sticker_file "/var/lib/mpd/sticker.sql" +# +############################################################################### + + +# General music daemon options ################################################ +# +# This setting specifies the user that MPD will run as. MPD should never run as +# root and you may use this setting to make MPD change its user ID after +# initialization. This setting is disabled by default and MPD is run as the +# current user. +# +user "mpd" +# +# This setting specifies the group that MPD will run as. If not specified +# primary group of user specified with "user" setting will be used (if set). +# This is useful if MPD needs to be a member of group such as "audio" to +# have permission to use sound card. +# +#group "nogroup" +# +# This setting sets the address for the daemon to listen on. Careful attention +# should be paid if this is assigned to anything other then the default, any. +# This setting can deny access to control of the daemon. Choose any if you want +# to have mpd listen on every address. Not effective if systemd socket +# activation is in use. +# +# For network +bind_to_address "localhost" +# +# And for Unix Socket +#bind_to_address "/run/mpd/socket" +# +# This setting is the TCP port that is desired for the daemon to get assigned +# to. +# +#port "6600" +# +# This setting controls the type of information which is logged. Available +# setting arguments are "default", "secure" or "verbose". The "verbose" setting +# argument is recommended for troubleshooting, though can quickly stretch +# available resources on limited hardware storage. +# +#log_level "default" +# +# If you have a problem with your MP3s ending abruptly it is recommended that +# you set this argument to "no" to attempt to fix the problem. If this solves +# the problem, it is highly recommended to fix the MP3 files with vbrfix +# (available as vbrfix in the debian archive), at which +# point gapless MP3 playback can be enabled. +# +#gapless_mp3_playback "yes" +# +# Setting "restore_paused" to "yes" puts MPD into pause mode instead +# of starting playback after startup. +# +#restore_paused "no" +# +# This setting enables MPD to create playlists in a format usable by other +# music players. +# +#save_absolute_paths_in_playlists "no" +# +# This setting defines a list of tag types that will be extracted during the +# audio file discovery process. The complete list of possible values can be +# found in the mpd.conf man page. +#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc" +# +# This setting enables automatic update of MPD's database when files in +# music_directory are changed. +# +#auto_update "yes" +# +# Limit the depth of the directories being watched, 0 means only watch +# the music directory itself. There is no limit by default. +# +#auto_update_depth "3" +# +############################################################################### + + +# Symbolic link behavior ###################################################### +# +# If this setting is set to "yes", MPD will discover audio files by following +# symbolic links outside of the configured music_directory. +# +#follow_outside_symlinks "yes" +# +# If this setting is set to "yes", MPD will discover audio files by following +# symbolic links inside of the configured music_directory. +# +#follow_inside_symlinks "yes" +# +############################################################################### + + +# Zeroconf / Avahi Service Discovery ########################################## +# +# If this setting is set to "yes", service information will be published with +# Zeroconf / Avahi. +# +#zeroconf_enabled "yes" +# +# The argument to this setting will be the Zeroconf / Avahi unique name for +# this MPD server on the network. +# +#zeroconf_name "Music Player" +# +############################################################################### + + +# Permissions ################################################################# +# +# If this setting is set, MPD will require password authorization. The password +# can setting can be specified multiple times for different password profiles. +# +#password "password@read,add,control,admin" +# +# This setting specifies the permissions a user has who has not yet logged in. +# +#default_permissions "read,add,control,admin" +# +############################################################################### + + +# Database ####################################################################### +# + +#database { +# plugin "proxy" +# host "other.mpd.host" +# port "6600" +#} + +# Input ####################################################################### +# + +input { + plugin "curl" +# proxy "proxy.isp.com:8080" +# proxy_user "user" +# proxy_password "password" +} + +# +############################################################################### + +# Audio Output ################################################################ +# +# MPD supports various audio output types, as well as playing through multiple +# audio outputs at the same time, through multiple audio_output settings +# blocks. Setting this block is optional, though the server will only attempt +# autodetection for one sound card. +# +# An example of an ALSA output: +# +audio_output { + type "alsa" + name "My ALSA Device" +# device "hw:0,0" # optional +# mixer_type "hardware" # optional +# mixer_device "default" # optional +# mixer_control "PCM" # optional +# mixer_index "0" # optional +} +# +# An example of an OSS output: +# +#audio_output { +# type "oss" +# name "My OSS Device" +# device "/dev/dsp" # optional +# mixer_type "hardware" # optional +# mixer_device "/dev/mixer" # optional +# mixer_control "PCM" # optional +#} +# +# An example of a shout output (for streaming to Icecast): +# +#audio_output { +# type "shout" +# encoder "vorbis" # optional +# name "My Shout Stream" +# host "localhost" +# port "8000" +# mount "/mpd.ogg" +# password "hackme" +# quality "5.0" +# bitrate "128" +# format "44100:16:1" +# protocol "icecast2" # optional +# user "source" # optional +# description "My Stream Description" # optional +# url "http://example.com" # optional +# genre "jazz" # optional +# public "no" # optional +# timeout "2" # optional +# mixer_type "software" # optional +#} +# +# An example of a recorder output: +# +#audio_output { +# type "recorder" +# name "My recorder" +# encoder "vorbis" # optional, vorbis or lame +# path "/var/lib/mpd/recorder/mpd.ogg" +## quality "5.0" # do not define if bitrate is defined +# bitrate "128" # do not define if quality is defined +# format "44100:16:1" +#} +# +# An example of a httpd output (built-in HTTP streaming server): +# +#audio_output { +# type "httpd" +# name "My HTTP Stream" +# encoder "vorbis" # optional, vorbis or lame +# port "8000" +# bind_to_address "0.0.0.0" # optional, IPv4 or IPv6 +# quality "5.0" # do not define if bitrate is defined +# bitrate "128" # do not define if quality is defined +# format "44100:16:1" +# max_clients "0" # optional 0=no limit +#} +# +# An example of a pulseaudio output (streaming to a remote pulseaudio server) +# Please see README.Debian if you want mpd to play through the pulseaudio +# daemon started as part of your graphical desktop session! +# +#audio_output { +# type "pulse" +# name "My Pulse Output" +# server "remote_server" # optional +# sink "remote_server_sink" # optional +#} +# +# An example of a winmm output (Windows multimedia API). +# +#audio_output { +# type "winmm" +# name "My WinMM output" +# device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional +# or +# device "0" # optional +# mixer_type "hardware" # optional +#} +# +# An example of an openal output. +# +#audio_output { +# type "openal" +# name "My OpenAL output" +# device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional +#} +# +# An example of an sndio output. +# +#audio_output { +# type "sndio" +# name "sndio output" +# mixer_type "software" +#} +# +## Example "pipe" output: +# +#audio_output { +# type "pipe" +# name "my pipe" +# command "aplay -f cd 2>/dev/null" +## Or if you're want to use AudioCompress +# command "AudioCompress -m | aplay -f cd 2>/dev/null" +## Or to send raw PCM stream through PCM: +# command "nc example.org 8765" +# format "44100:16:2" +#} +# +## An example of a null output (for no audio output): +# +#audio_output { +# type "null" +# name "My Null Output" +# mixer_type "none" # optional +#} +# +############################################################################### + + +# Normalization automatic volume adjustments ################################## +# +# This setting specifies the type of ReplayGain to use. This setting can have +# the argument "off", "album", "track" or "auto". "auto" is a special mode that +# chooses between "track" and "album" depending on the current state of +# random playback. If random playback is enabled then "track" mode is used. +# See for more details about ReplayGain. +# This setting is off by default. +# +#replaygain "album" +# +# This setting sets the pre-amp used for files that have ReplayGain tags. By +# default this setting is disabled. +# +#replaygain_preamp "0" +# +# This setting sets the pre-amp used for files that do NOT have ReplayGain tags. +# By default this setting is disabled. +# +#replaygain_missing_preamp "0" +# +# This setting enables or disables ReplayGain limiting. +# MPD calculates actual amplification based on the ReplayGain tags +# and replaygain_preamp / replaygain_missing_preamp setting. +# If replaygain_limit is enabled MPD will never amplify audio signal +# above its original level. If replaygain_limit is disabled such amplification +# might occur. By default this setting is enabled. +# +#replaygain_limit "yes" +# +# This setting enables on-the-fly normalization volume adjustment. This will +# result in the volume of all playing audio to be adjusted so the output has +# equal "loudness". This setting is disabled by default. +# +#volume_normalization "no" +# +############################################################################### + + +# Character Encoding ########################################################## +# +# If file or directory names do not display correctly for your locale then you +# may need to modify this setting. +# +filesystem_charset "UTF-8" +# +############################################################################### diff --git a/openal/alsoft.conf b/openal/alsoft.conf new file mode 100644 index 00000000..3e7d0eec --- /dev/null +++ b/openal/alsoft.conf @@ -0,0 +1,487 @@ +# OpenAL config file. +# +# Option blocks may appear multiple times, and duplicated options will take the +# last value specified. Environment variables may be specified within option +# values, and are automatically substituted when the config file is loaded. +# Environment variable names may only contain alpha-numeric characters (a-z, +# A-Z, 0-9) and underscores (_), and are prefixed with $. For example, +# specifying "$HOME/file.ext" would typically result in something like +# "/home/user/file.ext". To specify an actual "$" character, use "$$". +# +# Device-specific values may be specified by including the device name in the +# block name, with "general" replaced by the device name. That is, general +# options for the device "Name of Device" would be in the [Name of Device] +# block, while ALSA options would be in the [alsa/Name of Device] block. +# Options marked as "(global)" are not influenced by the device. +# +# The system-wide settings can be put in /etc/openal/alsoft.conf and user- +# specific override settings in $HOME/.alsoftrc. +# For Windows, these settings should go into $AppData\alsoft.ini +# +# Option and block names are case-senstive. The supplied values are only hints +# and may not be honored (though generally it'll try to get as close as +# possible). Note: options that are left unset may default to app- or system- +# specified values. These are the current available settings: + +## +## General stuff +## +[general] + +## disable-cpu-exts: (global) +# Disables use of specialized methods that use specific CPU intrinsics. +# Certain methods may utilize CPU extensions for improved performance, and +# this option is useful for preventing some or all of those methods from being +# used. The available extensions are: sse, sse2, sse3, sse4.1, and neon. +# Specifying 'all' disables use of all such specialized methods. +#disable-cpu-exts = + +## drivers: (global) +# Sets the backend driver list order, comma-seperated. Unknown backends and +# duplicated names are ignored. Unlisted backends won't be considered for use +# unless the list is ended with a comma (e.g. 'oss,' will try OSS first before +# other backends, while 'oss' will try OSS only). Backends prepended with - +# won't be considered for use (e.g. '-oss,' will try all available backends +# except OSS). An empty list means to try all backends. +#drivers = + +## channels: +# Sets the output channel configuration. If left unspecified, one will try to +# be detected from the system, and defaulting to stereo. The available values +# are: mono, stereo, quad, surround51, surround51rear, surround61, surround71, +# ambi1, ambi2, ambi3. Note that the ambi* configurations provide ambisonic +# channels of the given order (using ACN ordering and SN3D normalization by +# default), which need to be decoded to play correctly on speakers. +#channels = + +## sample-type: +# Sets the output sample type. Currently, all mixing is done with 32-bit float +# and converted to the output sample type as needed. Available values are: +# int8 - signed 8-bit int +# uint8 - unsigned 8-bit int +# int16 - signed 16-bit int +# uint16 - unsigned 16-bit int +# int32 - signed 32-bit int +# uint32 - unsigned 32-bit int +# float32 - 32-bit float +#sample-type = float32 + +## frequency: +# Sets the output frequency. If left unspecified it will try to detect a +# default from the system, otherwise it will default to 44100. +#frequency = + +## period_size: +# Sets the update period size, in frames. This is the number of frames needed +# for each mixing update. Acceptable values range between 64 and 8192. +#period_size = 1024 + +## periods: +# Sets the number of update periods. Higher values create a larger mix ahead, +# which helps protect against skips when the CPU is under load, but increases +# the delay between a sound getting mixed and being heard. Acceptable values +# range between 2 and 16. +#periods = 3 + +## stereo-mode: +# Specifies if stereo output is treated as being headphones or speakers. With +# headphones, HRTF or crossfeed filters may be used for better audio quality. +# Valid settings are auto, speakers, and headphones. +#stereo-mode = auto + +## stereo-encoding: +# Specifies the encoding method for non-HRTF stereo output. 'panpot' (default) +# uses standard amplitude panning (aka pair-wise, stereo pair, etc) between +# -30 and +30 degrees, while 'uhj' creates stereo-compatible two-channel UHJ +# output, which encodes some surround sound information into stereo output +# that can be decoded with a surround sound receiver. If crossfeed filters are +# used, UHJ is disabled. +#stereo-encoding = panpot + +## ambi-format: +# Specifies the channel order and normalization for the "ambi*" set of channel +# configurations. Valid settings are: fuma, acn+sn3d, acn+n3d +#ambi-format = acn+sn3d + +## hrtf: +# Controls HRTF processing. These filters provide better spatialization of +# sounds while using headphones, but do require a bit more CPU power. The +# default filters will only work with 44100hz or 48000hz stereo output. While +# HRTF is used, the cf_level option is ignored. Setting this to auto (default) +# will allow HRTF to be used when headphones are detected or the app requests +# it, while setting true or false will forcefully enable or disable HRTF +# respectively. +#hrtf = auto + +## default-hrtf: +# Specifies the default HRTF to use. When multiple HRTFs are available, this +# determines the preferred one to use if none are specifically requested. Note +# that this is the enumerated HRTF name, not necessarily the filename. +#default-hrtf = + +## hrtf-paths: +# Specifies a comma-separated list of paths containing HRTF data sets. The +# format of the files are described in docs/hrtf.txt. The files within the +# directories must have the .mhr file extension to be recognized. By default, +# OS-dependent data paths will be used. They will also be used if the list +# ends with a comma. On Windows this is: +# $AppData\openal\hrtf +# And on other systems, it's (in order): +# $XDG_DATA_HOME/openal/hrtf (defaults to $HOME/.local/share/openal/hrtf) +# $XDG_DATA_DIRS/openal/hrtf (defaults to /usr/local/share/openal/hrtf and +# /usr/share/openal/hrtf) +#hrtf-paths = + +## cf_level: +# Sets the crossfeed level for stereo output. Valid values are: +# 0 - No crossfeed +# 1 - Low crossfeed +# 2 - Middle crossfeed +# 3 - High crossfeed (virtual speakers are closer to itself) +# 4 - Low easy crossfeed +# 5 - Middle easy crossfeed +# 6 - High easy crossfeed +# Users of headphones may want to try various settings. Has no effect on non- +# stereo modes. +#cf_level = 0 + +## resampler: (global) +# Selects the resampler used when mixing sources. Valid values are: +# point - nearest sample, no interpolation +# linear - extrapolates samples using a linear slope between samples +# sinc4 - extrapolates samples using a 4-point Sinc filter +# bsinc - extrapolates samples using a band-limited Sinc filter (varying +# between 12 and 24 points, with anti-aliasing) +# Specifying other values will result in using the default (linear). +#resampler = linear + +## rt-prio: (global) +# Sets real-time priority for the mixing thread. Not all drivers may use this +# (eg. PortAudio) as they already control the priority of the mixing thread. +# 0 and negative values will disable it. Note that this may constitute a +# security risk since a real-time priority thread can indefinitely block +# normal-priority threads if it fails to wait. As such, the default is +# disabled. +#rt-prio = 0 + +## sources: +# Sets the maximum number of allocatable sources. Lower values may help for +# systems with apps that try to play more sounds than the CPU can handle. +#sources = 256 + +## slots: +# Sets the maximum number of Auxiliary Effect Slots an app can create. A slot +# can use a non-negligible amount of CPU time if an effect is set on it even +# if no sources are feeding it, so this may help when apps use more than the +# system can handle. +#slots = 64 + +## sends: +# Limits the number of auxiliary sends allowed per source. Setting this higher +# than the default has no effect. +#sends = 16 + +## output-limiter: +# Applies a gain limiter on the final mixed output. This reduces the volume +# when the output samples would otherwise clamp, avoiding excessive clipping +# noise. +#output-limiter = true + +## dither: +# Applies dithering on the final mix, for 8- and 16-bit output by default. +# This replaces the distortion created by nearest-value quantization with low- +# level whitenoise. +#dither = true + +## dither-depth: +# Quantization bit-depth for dithered output. A value of 0 (or less) will +# match the output sample depth. For int32, uint32, and float32 output, 0 will +# disable dithering because they're at or beyond the rendered precision. The +# maximum dither depth is 24. +#dither-depth = 0 + +## volume-adjust: +# A global volume adjustment for source output, expressed in decibels. The +# value is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will +# be a scale of 4x, etc. Similarly, -6 will be x1/2, and -12 is about x1/4. A +# value of 0 means no change. +#volume-adjust = 0 + +## excludefx: (global) +# Sets which effects to exclude, preventing apps from using them. This can +# help for apps that try to use effects which are too CPU intensive for the +# system to handle. Available effects are: eaxreverb,reverb,chorus,compressor, +# distortion,echo,equalizer,flanger,modulator,dedicated +#excludefx = + +## default-reverb: (global) +# A reverb preset that applies by default to all sources on send 0 +# (applications that set their own slots on send 0 will override this). +# Available presets are: None, Generic, PaddedCell, Room, Bathroom, +# Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar, +# CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains, +# Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic. +#default-reverb = + +## trap-alc-error: (global) +# Generates a SIGTRAP signal when an ALC device error is generated, on systems +# that support it. This helps when debugging, while trying to find the cause +# of a device error. On Windows, a breakpoint exception is generated. +#trap-alc-error = false + +## trap-al-error: (global) +# Generates a SIGTRAP signal when an AL context error is generated, on systems +# that support it. This helps when debugging, while trying to find the cause +# of a context error. On Windows, a breakpoint exception is generated. +#trap-al-error = false + +## +## Ambisonic decoder stuff +## +[decoder] + +## hq-mode: +# Enables a high-quality ambisonic decoder. This mode is capable of frequency- +# dependent processing, creating a better reproduction of 3D sound rendering +# over surround sound speakers. Enabling this also requires specifying decoder +# configuration files for the appropriate speaker configuration you intend to +# use (see the quad, surround51, etc options below). Currently, up to third- +# order decoding is supported. +hq-mode = false + +## distance-comp: +# Enables compensation for the speakers' relative distances to the listener. +# This applies the necessary delays and attenuation to make the speakers +# behave as though they are all equidistant, which is important for proper +# playback of 3D sound rendering. Requires the proper distances to be +# specified in the decoder configuration file. +distance-comp = true + +## nfc: +# Enables near-field control filters. This simulates and compensates for low- +# frequency effects caused by the curvature of nearby sound-waves, which +# creates a more realistic perception of sound distance. Note that the effect +# may be stronger or weaker than intended if the application doesn't use or +# specify an appropriate unit scale, or if incorrect speaker distances are set +# in the decoder configuration file. Requires hq-mode to be enabled. +nfc = true + +## nfc-ref-delay +# Specifies the reference delay value for ambisonic output. When channels is +# set to one of the ambi* formats, this option enables NFC-HOA output with the +# specified Reference Delay parameter. The specified value can then be shared +# with an appropriate NFC-HOA decoder to reproduce correct near-field effects. +# Keep in mind that despite being designed for higher-order ambisonics, this +# applies to first-order output all the same. When left unset, normal output +# is created with no near-field simulation. +nfc-ref-delay = + +## quad: +# Decoder configuration file for Quadrophonic channel output. See +# docs/ambdec.txt for a description of the file format. +quad = + +## surround51: +# Decoder configuration file for 5.1 Surround (Side and Rear) channel output. +# See docs/ambdec.txt for a description of the file format. +surround51 = + +## surround61: +# Decoder configuration file for 6.1 Surround channel output. See +# docs/ambdec.txt for a description of the file format. +surround61 = + +## surround71: +# Decoder configuration file for 7.1 Surround channel output. See +# docs/ambdec.txt for a description of the file format. Note: This can be used +# to enable 3D7.1 with the appropriate configuration and speaker placement, +# see docs/3D7.1.txt. +surround71 = + +## +## Reverb effect stuff (includes EAX reverb) +## +[reverb] + +## boost: (global) +# A global amplification for reverb output, expressed in decibels. The value +# is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a +# scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A +# value of 0 means no change. +#boost = 0 + +## emulate-eax: (global) +# Allows the standard reverb effect to be used in place of EAX reverb. EAX +# reverb processing is a bit more CPU intensive than standard, so this option +# allows a simpler effect to be used at the loss of some quality. +#emulate-eax = false + +## +## PulseAudio backend stuff +## +[pulse] + +## spawn-server: (global) +# Attempts to autospawn a PulseAudio server whenever needed (initializing the +# backend, enumerating devices, etc). Setting autospawn to false in Pulse's +# client.conf will still prevent autospawning even if this is set to true. +#spawn-server = true + +## allow-moves: (global) +# Allows PulseAudio to move active streams to different devices. Note that the +# device specifier (seen by applications) will not be updated when this +# occurs, and neither will the AL device configuration (sample rate, format, +# etc). +#allow-moves = false + +## fix-rate: +# Specifies whether to match the playback stream's sample rate to the device's +# sample rate. Enabling this forces OpenAL Soft to mix sources and effects +# directly to the actual output rate, avoiding a second resample pass by the +# PulseAudio server. +#fix-rate = false + +## +## ALSA backend stuff +## +[alsa] + +## device: (global) +# Sets the device name for the default playback device. +#device = default + +## device-prefix: (global) +# Sets the prefix used by the discovered (non-default) playback devices. This +# will be appended with "CARD=c,DEV=d", where c is the card id and d is the +# device index for the requested device name. +#device-prefix = plughw: + +## device-prefix-*: (global) +# Card- and device-specific prefixes may be used to override the device-prefix +# option. The option may specify the card id (eg, device-prefix-NVidia), or +# the card id and device index (eg, device-prefix-NVidia-0). The card id is +# case-sensitive. +#device-prefix- = + +## capture: (global) +# Sets the device name for the default capture device. +#capture = default + +## capture-prefix: (global) +# Sets the prefix used by the discovered (non-default) capture devices. This +# will be appended with "CARD=c,DEV=d", where c is the card id and d is the +# device number for the requested device name. +#capture-prefix = plughw: + +## capture-prefix-*: (global) +# Card- and device-specific prefixes may be used to override the +# capture-prefix option. The option may specify the card id (eg, +# capture-prefix-NVidia), or the card id and device index (eg, +# capture-prefix-NVidia-0). The card id is case-sensitive. +#capture-prefix- = + +## mmap: +# Sets whether to try using mmap mode (helps reduce latencies and CPU +# consumption). If mmap isn't available, it will automatically fall back to +# non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0 +# and anything else will force mmap off. +#mmap = true + +## allow-resampler: +# Specifies whether to allow ALSA's built-in resampler. Enabling this will +# allow the playback device to be set to a different sample rate than the +# actual output, causing ALSA to apply its own resampling pass after OpenAL +# Soft resamples and mixes the sources and effects for output. +#allow-resampler = false + +## +## OSS backend stuff +## +[oss] + +## device: (global) +# Sets the device name for OSS output. +#device = /dev/dsp + +## capture: (global) +# Sets the device name for OSS capture. +#capture = /dev/dsp + +## +## Solaris backend stuff +## +[solaris] + +## device: (global) +# Sets the device name for Solaris output. +#device = /dev/audio + +## +## QSA backend stuff +## +[qsa] + +## +## JACK backend stuff +## +[jack] + +## spawn-server: (global) +# Attempts to autospawn a JACK server whenever needed (initializing the +# backend, opening devices, etc). +#spawn-server = false + +## buffer-size: +# Sets the update buffer size, in samples, that the backend will keep buffered +# to handle the server's real-time processing requests. This value must be a +# power of 2, or else it will be rounded up to the next power of 2. If it is +# less than JACK's buffer update size, it will be clamped. This option may +# be useful in case the server's update size is too small and doesn't give the +# mixer time to keep enough audio available for the processing requests. +#buffer-size = 0 + +## +## MMDevApi backend stuff +## +[mmdevapi] + +## +## DirectSound backend stuff +## +[dsound] + +## +## Windows Multimedia backend stuff +## +[winmm] + +## +## PortAudio backend stuff +## +[port] + +## device: (global) +# Sets the device index for output. Negative values will use the default as +# given by PortAudio itself. +#device = -1 + +## capture: (global) +# Sets the device index for capture. Negative values will use the default as +# given by PortAudio itself. +#capture = -1 + +## +## Wave File Writer stuff +## +[wave] + +## file: (global) +# Sets the filename of the wave file to write to. An empty name prevents the +# backend from opening, even when explicitly requested. +# THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION! +#file = + +## bformat: (global) +# Creates AMB format files using first-order ambisonics instead of a standard +# single- or multi-channel .wav file. +#bformat = false diff --git a/passwd b/passwd index f68c2727..2154a166 100644 --- a/passwd +++ b/passwd @@ -31,3 +31,4 @@ Debian-exim:x:110:114::/var/spool/exim4:/usr/sbin/nologin duck:x:111:115::/home/duck:/usr/sbin/nologin vnstat:x:112:116::/var/lib/vnstat:/usr/sbin/nologin systemd-coredump:x:995:995:systemd Core Dumper:/:/sbin/nologin +mpd:x:103:29::/var/lib/mpd:/usr/sbin/nologin diff --git a/passwd- b/passwd- index 5c1ad6e5..2154a166 100644 --- a/passwd- +++ b/passwd- @@ -30,3 +30,5 @@ bind:x:109:113::/var/cache/bind:/usr/sbin/nologin Debian-exim:x:110:114::/var/spool/exim4:/usr/sbin/nologin duck:x:111:115::/home/duck:/usr/sbin/nologin vnstat:x:112:116::/var/lib/vnstat:/usr/sbin/nologin +systemd-coredump:x:995:995:systemd Core Dumper:/:/sbin/nologin +mpd:x:103:29::/var/lib/mpd:/usr/sbin/nologin diff --git a/rc0.d/K01mpd b/rc0.d/K01mpd new file mode 120000 index 00000000..4f123fac --- /dev/null +++ b/rc0.d/K01mpd @@ -0,0 +1 @@ +../init.d/mpd \ No newline at end of file diff --git a/rc1.d/K01mpd b/rc1.d/K01mpd new file mode 120000 index 00000000..4f123fac --- /dev/null +++ b/rc1.d/K01mpd @@ -0,0 +1 @@ +../init.d/mpd \ No newline at end of file diff --git a/rc2.d/S01mpd b/rc2.d/S01mpd new file mode 120000 index 00000000..4f123fac --- /dev/null +++ b/rc2.d/S01mpd @@ -0,0 +1 @@ +../init.d/mpd \ No newline at end of file diff --git a/rc3.d/S01mpd b/rc3.d/S01mpd new file mode 120000 index 00000000..4f123fac --- /dev/null +++ b/rc3.d/S01mpd @@ -0,0 +1 @@ +../init.d/mpd \ No newline at end of file diff --git a/rc4.d/S01mpd b/rc4.d/S01mpd new file mode 120000 index 00000000..4f123fac --- /dev/null +++ b/rc4.d/S01mpd @@ -0,0 +1 @@ +../init.d/mpd \ No newline at end of file diff --git a/rc5.d/S01mpd b/rc5.d/S01mpd new file mode 120000 index 00000000..4f123fac --- /dev/null +++ b/rc5.d/S01mpd @@ -0,0 +1 @@ +../init.d/mpd \ No newline at end of file diff --git a/rc6.d/K01mpd b/rc6.d/K01mpd new file mode 120000 index 00000000..4f123fac --- /dev/null +++ b/rc6.d/K01mpd @@ -0,0 +1 @@ +../init.d/mpd \ No newline at end of file diff --git a/shadow b/shadow index 52e6aa29..25630776 100644 --- a/shadow +++ b/shadow @@ -31,3 +31,4 @@ Debian-exim:!:17452:0:99999:7::: duck:*:17452:0:99999:7::: vnstat:*:17455:0:99999:7::: systemd-coredump:!!:17669:::::: +mpd:*:17784:0:99999:7::: diff --git a/shadow- b/shadow- index c9ecc0d8..25630776 100644 --- a/shadow- +++ b/shadow- @@ -30,3 +30,5 @@ bind:*:17452:0:99999:7::: Debian-exim:!:17452:0:99999:7::: duck:*:17452:0:99999:7::: vnstat:*:17455:0:99999:7::: +systemd-coredump:!!:17669:::::: +mpd:*:17784:0:99999:7::: diff --git a/systemd/system/multi-user.target.wants/mpd.service b/systemd/system/multi-user.target.wants/mpd.service new file mode 120000 index 00000000..48a5a2e4 --- /dev/null +++ b/systemd/system/multi-user.target.wants/mpd.service @@ -0,0 +1 @@ +/lib/systemd/system/mpd.service \ No newline at end of file diff --git a/systemd/system/sockets.target.wants/mpd.socket b/systemd/system/sockets.target.wants/mpd.socket new file mode 120000 index 00000000..0013c2f1 --- /dev/null +++ b/systemd/system/sockets.target.wants/mpd.socket @@ -0,0 +1 @@ +/lib/systemd/system/mpd.socket \ No newline at end of file diff --git a/timidity/freepats.cfg b/timidity/freepats.cfg new file mode 100644 index 00000000..c21b030c --- /dev/null +++ b/timidity/freepats.cfg @@ -0,0 +1,139 @@ +dir /usr/share/midi/freepats + +# Automatically generated on Sun Feb 19 19:22:39 EST 2006 +# by http://freepats.opensrc.org/mkcfg.sh.txt + +drumset 0 + + 25 Drum_000/025_Snare_Roll.pat + 26 Drum_000/026_Snap.pat + 27 Drum_000/027_High_Q.pat + 31 Drum_000/031_Sticks.pat + 32 Drum_000/032_Square_Click.pat + 33 Drum_000/033_Metronome_Click.pat + 34 Drum_000/034_Metronome_Bell.pat + 35 Drum_000/035_Kick_1.pat amp=100 + 36 Drum_000/036_Kick_2.pat amp=100 + 37 Drum_000/037_Stick_Rim.pat + 38 Drum_000/038_Snare_1.pat + 39 Drum_000/039_Clap_Hand.pat amp=100 + 40 Drum_000/040_Snare_2.pat + 41 Drum_000/041_Tom_Low_2.pat amp=100 + 42 Drum_000/042_Hi-Hat_Closed.pat + 43 Drum_000/043_Tom_Low_1.pat amp=100 + 44 Drum_000/044_Hi-Hat_Pedal.pat + 45 Drum_000/045_Tom_Mid_2.pat amp=100 + 46 Drum_000/046_Hi-Hat_Open.pat + 47 Drum_000/047_Tom_Mid_1.pat amp=100 + 48 Drum_000/048_Tom_High_2.pat amp=100 + 49 Drum_000/049_Cymbal_Crash_1.pat + 50 Drum_000/050_Tom_High_1.pat amp=100 + 51 Drum_000/051_Cymbal_Ride_1.pat + 52 Drum_000/052_Cymbal_Chinese.pat + 53 Drum_000/053_Cymbal_Ride_Bell.pat amp=100 + 54 Drum_000/054_Tombourine.pat + 55 Drum_000/055_Cymbal_Splash.pat + 56 Drum_000/056_Cow_Bell.pat + 57 Drum_000/057_Cymbal_Crash_2.pat + 58 Drum_000/058_Vibra-Slap.pat + 59 Drum_000/059_Cymbal_Ride_2.pat + 60 Drum_000/060_Bongo_High.pat + 61 Drum_000/061_Bongo_Low.pat + 62 Drum_000/062_Conga_High_1_Mute.pat + 63 Drum_000/063_Conga_High_2_Open.pat + 64 Drum_000/064_Conga_Low.pat + 65 Drum_000/065_Timbale_High.pat + 66 Drum_000/066_Timbale_Low.pat + 67 Drum_000/067_Agogo_High.pat + 68 Drum_000/068_Agogo_Low.pat + 69 Drum_000/069_Cabasa.pat amp=100 + 70 Drum_000/070_Maracas.pat + 71 Drum_000/071_Whistle_1_High_Short.pat + 72 Drum_000/072_Whistle_2_Low_Long.pat + 73 Drum_000/073_Guiro_1_Short.pat + 74 Drum_000/074_Guiro_2_Long.pat + 75 Drum_000/075_Claves.pat amp=100 + 76 Drum_000/076_Wood_Block_1_High.pat + 77 Drum_000/077_Wood_Block_2_Low.pat + 78 Drum_000/078_Cuica_1_Mute.pat amp=100 + 79 Drum_000/079_Cuica_2_Open.pat amp=100 + 80 Drum_000/080_Triangle_1_Mute.pat + 81 Drum_000/081_Triangle_2_Open.pat + 82 Drum_000/082_Shaker.pat + 84 Drum_000/084_Belltree.pat + +bank 0 + + 0 Tone_000/000_Acoustic_Grand_Piano.pat amp=120 pan=center + 1 Tone_000/001_Acoustic_Brite_Piano.pat + 2 Tone_000/002_Electric_Grand_Piano.pat + 4 Tone_000/004_Electric_Piano_1_Rhodes.pat + 5 Tone_000/005_Electric_Piano_2_Chorused_Yamaha_DX.pat + 6 Tone_000/006_Harpsichord.pat + 7 Tone_000/007_Clavinet.pat + 8 Tone_000/008_Celesta.pat + 9 Tone_000/009_Glockenspiel.pat + 13 Tone_000/013_Xylophone.pat + 14 Tone_000/014_Tubular_Bells.pat + 15 Tone_000/015_Dulcimer.pat + 16 Tone_000/016_Hammond_Organ.pat + 19 Tone_000/019_Church_Organ.pat + 21 Tone_000/021_Accordion.pat + 23 Tone_000/023_Tango_Accordion.pat + 24 Tone_000/024_Nylon_Guitar.pat + 25 Tone_000/025_Steel_Guitar.pat + 26 Tone_000/026_Jazz_Guitar.pat + 27 Tone_000/027_Clean_Electric_Guitar.pat + 28 Tone_000/028_Muted_Electric_Guitar.pat + 29 Tone_000/029_Overdriven_Guitar.pat + 30 Tone_000/030_Distortion_Guitar.pat + 32 Tone_000/032_Acoustic_Bass.pat + 33 Tone_000/033_Finger_Bass.pat + 34 Tone_000/034_Pick_Bass.pat + 35 Tone_000/035_Fretless_Bass.pat + 36 Tone_000/036_Slap_Bass_1.pat + 37 Tone_000/037_Slap_Bass_2.pat + 38 Tone_000/038_Synth_Bass_1.pat + 40 Tone_000/040_Violin.pat + 42 Tone_000/042_Cello.pat + 44 Tone_000/044_Tremolo_Strings.pat + 45 Tone_000/045_Pizzicato_Strings.pat + 46 Tone_000/046_Harp.pat + 47 Tone_000/047_Timpani.pat + 48 Tone_000/048_String_Ensemble_1_Marcato.pat + 53 Tone_000/053_Voice_Oohs.pat + 56 Tone_000/056_Trumpet.pat + 57 Tone_000/057_Trombone.pat + 58 Tone_000/058_Tuba.pat + 59 Tone_000/059_Muted_Trumpet.pat + 60 Tone_000/060_French_Horn.pat + 61 Tone_000/061_Brass_Section.pat + 64 Tone_000/064_Soprano_Sax.pat + 65 Tone_000/065_Alto_Sax.pat + 66 Tone_000/066_Tenor_Sax.pat + 67 Tone_000/067_Baritone_Sax.pat + 68 Tone_000/068_Oboe.pat + 69 Tone_000/069_English_Horn.pat + 70 Tone_000/070_Bassoon.pat + 71 Tone_000/071_Clarinet.pat + 72 Tone_000/072_Piccolo.pat + 73 Tone_000/073_Flute.pat + 74 Tone_000/074_Recorder.pat + 75 Tone_000/075_Pan_Flute.pat + 76 Tone_000/076_Bottle_Blow.pat + 79 Tone_000/079_Ocarina.pat + 80 Tone_000/080_Square_Wave.pat + 84 Tone_000/084_Charang.pat + 88 Tone_000/088_New_Age.pat + 94 Tone_000/094_Halo_Pad.pat + 95 Tone_000/095_Sweep_Pad.pat + 98 Tone_000/098_Crystal.pat + 101 Tone_000/101_Goblins--Unicorn.pat + 102 Tone_000/102_Echo_Voice.pat + 104 Tone_000/104_Sitar.pat + 114 Tone_000/114_Steel_Drums.pat + 115 Tone_000/115_Wood_Block.pat + 120 Tone_000/120_Guitar_Fret_Noise.pat + 122 Tone_000/122_Seashore.pat + 125 Tone_000/125_Helicopter.pat + diff --git a/wildmidi/wildmidi.cfg b/wildmidi/wildmidi.cfg new file mode 100644 index 00000000..33b222ba --- /dev/null +++ b/wildmidi/wildmidi.cfg @@ -0,0 +1,139 @@ +dir /usr/share/midi/freepats + +# Automatically generated on Sun Feb 19 19:22:39 EST 2006 +# by http://freepats.opensrc.org/mkcfg.sh.txt + +drumset 0 + + 25 Drum_000/025_Snare_Roll.pat + 26 Drum_000/026_Snap.pat + 27 Drum_000/027_High_Q.pat + 31 Drum_000/031_Sticks.pat + 32 Drum_000/032_Square_Click.pat + 33 Drum_000/033_Metronome_Click.pat + 34 Drum_000/034_Metronome_Bell.pat + 35 Drum_000/035_Kick_1.pat amp=100 + 36 Drum_000/036_Kick_2.pat amp=100 + 37 Drum_000/037_Stick_Rim.pat + 38 Drum_000/038_Snare_1.pat + 39 Drum_000/039_Clap_Hand.pat amp=100 + 40 Drum_000/040_Snare_2.pat + 41 Drum_000/041_Tom_Low_2.pat amp=100 + 42 Drum_000/042_Hi-Hat_Closed.pat + 43 Drum_000/043_Tom_Low_1.pat amp=100 + 44 Drum_000/044_Hi-Hat_Pedal.pat + 45 Drum_000/045_Tom_Mid_2.pat amp=100 + 46 Drum_000/046_Hi-Hat_Open.pat + 47 Drum_000/047_Tom_Mid_1.pat amp=100 + 48 Drum_000/048_Tom_High_2.pat amp=100 + 49 Drum_000/049_Cymbal_Crash_1.pat + 50 Drum_000/050_Tom_High_1.pat amp=100 + 51 Drum_000/051_Cymbal_Ride_1.pat + 52 Drum_000/052_Cymbal_Chinese.pat + 53 Drum_000/053_Cymbal_Ride_Bell.pat amp=100 + 54 Drum_000/054_Tombourine.pat + 55 Drum_000/055_Cymbal_Splash.pat + 56 Drum_000/056_Cow_Bell.pat + 57 Drum_000/057_Cymbal_Crash_2.pat + 58 Drum_000/058_Vibra-Slap.pat + 59 Drum_000/059_Cymbal_Ride_2.pat + 60 Drum_000/060_Bongo_High.pat + 61 Drum_000/061_Bongo_Low.pat + 62 Drum_000/062_Conga_High_1_Mute.pat + 63 Drum_000/063_Conga_High_2_Open.pat + 64 Drum_000/064_Conga_Low.pat + 65 Drum_000/065_Timbale_High.pat + 66 Drum_000/066_Timbale_Low.pat + 67 Drum_000/067_Agogo_High.pat + 68 Drum_000/068_Agogo_Low.pat + 69 Drum_000/069_Cabasa.pat amp=100 + 70 Drum_000/070_Maracas.pat + 71 Drum_000/071_Whistle_1_High_Short.pat + 72 Drum_000/072_Whistle_2_Low_Long.pat + 73 Drum_000/073_Guiro_1_Short.pat + 74 Drum_000/074_Guiro_2_Long.pat + 75 Drum_000/075_Claves.pat amp=100 + 76 Drum_000/076_Wood_Block_1_High.pat + 77 Drum_000/077_Wood_Block_2_Low.pat + 78 Drum_000/078_Cuica_1_Mute.pat amp=100 + 79 Drum_000/079_Cuica_2_Open.pat amp=100 + 80 Drum_000/080_Triangle_1_Mute.pat + 81 Drum_000/081_Triangle_2_Open.pat + 82 Drum_000/082_Shaker.pat + 84 Drum_000/084_Belltree.pat + +bank 0 + + 0 Tone_000/000_Acoustic_Grand_Piano.pat amp=120 pan=center + 1 Tone_000/001_Acoustic_Brite_Piano.pat + 2 Tone_000/002_Electric_Grand_Piano.pat + 4 Tone_000/004_Electric_Piano_1_Rhodes.pat + 5 Tone_000/005_Electric_Piano_2_Chorused_Yamaha_DX.pat + 6 Tone_000/006_Harpsichord.pat + 7 Tone_000/007_Clavinet.pat + 8 Tone_000/008_Celesta.pat + 9 Tone_000/009_Glockenspiel.pat + 13 Tone_000/013_Xylophone.pat + 14 Tone_000/014_Tubular_Bells.pat + 15 Tone_000/015_Dulcimer.pat + 16 Tone_000/016_Hammond_Organ.pat + 19 Tone_000/019_Church_Organ.pat + 21 Tone_000/021_Accordion.pat + 23 Tone_000/023_Tango_Accordion.pat + 24 Tone_000/024_Nylon_Guitar.pat + 25 Tone_000/025_Steel_Guitar.pat + 26 Tone_000/026_Jazz_Guitar.pat + 27 Tone_000/027_Clean_Electric_Guitar.pat + 28 Tone_000/028_Muted_Electric_Guitar.pat + 29 Tone_000/029_Overdriven_Guitar.pat + 30 Tone_000/030_Distortion_Guitar.pat + 32 Tone_000/032_Acoustic_Bass.pat + 33 Tone_000/033_Finger_Bass.pat + 34 Tone_000/034_Pick_Bass.pat + 35 Tone_000/035_Fretless_Bass.pat + 36 Tone_000/036_Slap_Bass_1.pat + 37 Tone_000/037_Slap_Bass_2.pat + 38 Tone_000/038_Synth_Bass_1.pat + 40 Tone_000/040_Violin.pat + 42 Tone_000/042_Cello.pat + 44 Tone_000/044_Tremolo_Strings.pat + 45 Tone_000/045_Pizzicato_Strings.pat + 46 Tone_000/046_Harp.pat + 47 Tone_000/047_Timpani.pat + 48 Tone_000/048_String_Ensemble_1_Marcato.pat + 53 Tone_000/053_Voice_Oohs.pat + 56 Tone_000/056_Trumpet.pat + 57 Tone_000/057_Trombone.pat + 58 Tone_000/058_Tuba.pat + 59 Tone_000/059_Muted_Trumpet.pat + 60 Tone_000/060_French_Horn.pat + 61 Tone_000/061_Brass_Section.pat + 64 Tone_000/064_Soprano_Sax.pat + 65 Tone_000/065_Alto_Sax.pat + 66 Tone_000/066_Tenor_Sax.pat + 67 Tone_000/067_Baritone_Sax.pat + 68 Tone_000/068_Oboe.pat + 69 Tone_000/069_English_Horn.pat + 70 Tone_000/070_Bassoon.pat + 71 Tone_000/071_Clarinet.pat + 72 Tone_000/072_Piccolo.pat + 73 Tone_000/073_Flute.pat + 74 Tone_000/074_Recorder.pat + 75 Tone_000/075_Pan_Flute.pat + 76 Tone_000/076_Bottle_Blow.pat + 79 Tone_000/079_Ocarina.pat + 80 Tone_000/080_Square_Wave.pat + 84 Tone_000/084_Charang.pat + 88 Tone_000/088_New_Age.pat + 94 Tone_000/094_Halo_Pad.pat + 95 Tone_000/095_Sweep_Pad.pat + 98 Tone_000/098_Crystal.pat + 101 Tone_000/101_Goblins--Unicorn.pat + 102 Tone_000/102_Echo_Voice.pat + 104 Tone_000/104_Sitar.pat + 114 Tone_000/114_Steel_Drums.pat + 115 Tone_000/115_Wood_Block.pat + 120 Tone_000/120_Guitar_Fret_Noise.pat + 122 Tone_000/122_Seashore.pat + 125 Tone_000/125_Helicopter.pat + diff --git a/xdg/autostart/mpd.desktop b/xdg/autostart/mpd.desktop new file mode 100644 index 00000000..13a86f7e --- /dev/null +++ b/xdg/autostart/mpd.desktop @@ -0,0 +1,12 @@ +# This will automatically start MPD as your user when you log into GNOME/KDE, +# provided that the system-wide MPD has been disabled. +# Make sure to create your own ~/.mpdconf containing the path to your music, +# and adjust the other paths such that MPD can write to its log and databases. +[Desktop Entry] +Type=Application +Exec=mpd +Terminal=false +Hidden=false +X-GNOME-Autostart-enabled=true +Name=MPD Music Player Daemon +Comment=start MPD as user when you log in