]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
More comprhensive saving and restoring of hardware and software level when a session...
authorMike Brady <mikebrady@eircom.net>
Mon, 11 Dec 2017 16:35:11 +0000 (16:35 +0000)
committerMike Brady <mikebrady@eircom.net>
Mon, 11 Dec 2017 16:35:11 +0000 (16:35 +0000)
scripts/shairport-sync.conf

index 62cd9df1a495d0d7d8163317e0d9ca7f7f6ada08..7cafd84126db58ee929060a280eb9176856ebbe6 100644 (file)
@@ -48,48 +48,6 @@ general =
 //    as "org.gnome.ShairportSync" on the whichever bus you specify here: "system" (default) or "session".
 };
 
-
-dsp =
-{
-
-//////////////////////////////////////////
-//  This convolution filter can be used to apply almost any correction to the audio signal, like frequency and phase correction.
-//  For example you could measure (with a good microphone and a sweep-sine) the frequency response of your speakers + room,
-//  and apply a correction to get a flat response curve.
-//////////////////////////////////////////
-//
-//  convolution = "yes";                  // Activate the convolution filter.
-//  convolution_ir_file = "impulse.wav";  // Impulse Response file to be convolved to the audio stream
-//  convolution_gain = -4.0;              // Static gain applied to prevent clipping during the convolution process
-//  convolution_max_length = 44100;       // Truncate the input file to this length in order to save CPU.
-
-
-//////////////////////////////////////////
-//  This loudness filter is used to compensate for human ear non linearity.
-//  When the volume decreases, our ears loose more sentisitivity in the low range frequencies than in the mid range ones.
-//  This filter aims at compensating for this loss, applying a variable gain to low frequencies depending on the volume.
-//  More info can be found here: https://en.wikipedia.org/wiki/Equal-loudness_contour
-//  For this filter to work properly, you should disable (or set to a fix value) all other volume control and only let shairport-sync control your volume.
-//  The setting "loudness_reference_volume_db" should be set at the volume reported by shairport-sync when listening to music at a normal listening volume.
-//////////////////////////////////////////
-//
-//  loudness = "yes";                     // Activate the filter
-//  loudness_reference_volume_db = -20.0; // Above this level the filter will have no effect anymore. Below this level it will gradually boost the low frequencies.
-
-};
-
-// How to deal with metadata, including artwork
-metadata =
-{
-//     enabled = "no"; // set this to yes to get Shairport Sync to solicit metadata from the source and to pass it on via a pipe
-//     include_cover_art = "no"; // set to "yes" to get Shairport Sync to solicit cover art from the source and pass it via the pipe. You must also set "enabled" to "yes".
-//     pipe_name = "/tmp/shairport-sync-metadata";
-//     pipe_timeout = 5000; // wait for this number of milliseconds for a blocked pipe to unblock before giving up
-//     socket_address = "226.0.0.1"; // if set to a host name or IP address, UDP packets containing metadata will be sent to this address. May be a multicast address. "socket-port" must be non-zero and "enabled" must be set to yes"
-//     socket_port = 5555; // if socket_address is set, the port to send UDP packets to
-//     socket_msglength = 65000; // the maximum packet size for any UDP metadata. This will be clipped to be between 500 or 65000. The default is 500.
-};
-
 // Advanced parameters for controlling how a Shairport Sync runs
 sessioncontrol = 
 {
@@ -145,3 +103,44 @@ pipe =
 
 // Static latency settings are deprecated and the settings have been removed. 
 
+dsp =
+{
+
+//////////////////////////////////////////
+//  This convolution filter can be used to apply almost any correction to the audio signal, like frequency and phase correction.
+//  For example you could measure (with a good microphone and a sweep-sine) the frequency response of your speakers + room,
+//  and apply a correction to get a flat response curve.
+//////////////////////////////////////////
+//
+//  convolution = "yes";                  // Activate the convolution filter.
+//  convolution_ir_file = "impulse.wav";  // Impulse Response file to be convolved to the audio stream
+//  convolution_gain = -4.0;              // Static gain applied to prevent clipping during the convolution process
+//  convolution_max_length = 44100;       // Truncate the input file to this length in order to save CPU.
+
+
+//////////////////////////////////////////
+//  This loudness filter is used to compensate for human ear non linearity.
+//  When the volume decreases, our ears loose more sentisitivity in the low range frequencies than in the mid range ones.
+//  This filter aims at compensating for this loss, applying a variable gain to low frequencies depending on the volume.
+//  More info can be found here: https://en.wikipedia.org/wiki/Equal-loudness_contour
+//  For this filter to work properly, you should disable (or set to a fix value) all other volume control and only let shairport-sync control your volume.
+//  The setting "loudness_reference_volume_db" should be set at the volume reported by shairport-sync when listening to music at a normal listening volume.
+//////////////////////////////////////////
+//
+//  loudness = "yes";                     // Activate the filter
+//  loudness_reference_volume_db = -20.0; // Above this level the filter will have no effect anymore. Below this level it will gradually boost the low frequencies.
+
+};
+
+// How to deal with metadata, including artwork
+metadata =
+{
+//     enabled = "no"; // set this to yes to get Shairport Sync to solicit metadata from the source and to pass it on via a pipe
+//     include_cover_art = "no"; // set to "yes" to get Shairport Sync to solicit cover art from the source and pass it via the pipe. You must also set "enabled" to "yes".
+//     pipe_name = "/tmp/shairport-sync-metadata";
+//     pipe_timeout = 5000; // wait for this number of milliseconds for a blocked pipe to unblock before giving up
+//     socket_address = "226.0.0.1"; // if set to a host name or IP address, UDP packets containing metadata will be sent to this address. May be a multicast address. "socket-port" must be non-zero and "enabled" must be set to yes"
+//     socket_port = 5555; // if socket_address is set, the port to send UDP packets to
+//     socket_msglength = 65000; // the maximum packet size for any UDP metadata. This will be clipped to be between 500 or 65000. The default is 500.
+};
+