################################################################################################## # Engine Core Configuration # ################################################################################################## [general] ################################################################################################## # Engine ID ; engine_id="1" # File Socket to control engine-core by engine ; socket_dir="../socket" # Log directory absolute or relative from the "src" dir ; log_dir="../logs" # Possible values are from "1" (INFO) to "5" (DEBUG) ; log_level="3" # Allow Liquidsoap to run as root (required for Docker) ; liquidsoap_as_root="false" # API endpoint to POST playlogs to api_url_playlog="http://127.0.0.1:8008/api/v1/playlog" # This is the folder where fallback playlists are read from (optional) ; audio_playlist_folder="../audio/playlist" [server] ################################################################################################## # server_timeout="16380" # telnet_server_enable="true" # telnet_server_host="127.0.0.1" # telnet_server_port="1234" [fallback] ################################################################################################## # Fallback audio played in scenarios where all other channels are silent. Fallback channels are # activated using a silence detector. You can use a fallback folder or playlist to feed audio # into the fallback player. # # A folder holding music for Station Fallbacks (optional) ; fallback_music_folder="../audio/fallback" # Fallback Show Settings ; fallback_show_name="Station Fallback" ; fallback_show_id="-1" # Fallback type: "folder", "playlist" or "none" ; fallback_type="folder" # A playlist holding music for Station Fallbacks (optional) ; fallback_music_playlist= "station-fallback-playlist.m3u" # The time in seconds how often the folder should be re-scanned # Do not reload too often when using large folders ; fallback_music_folder_reload="300" # Maximum time of blank from source (defaults to 20., seconds, float) ; fallback_max_blank="15." # Minimum duration of noise on source to switch back over (defaults to 0, seconds, float) ; fallback_min_noise="0." # Power in dB under which the stream is considered silent (defaults to -40., float) ; fallback_threshold="-80." [audio] ################################################################################################## # Sound Server # # Choose your weapon: "alsa" (1 input/output), "pulseaudio" (multi input/output) # or "jack" (multi input/output) soundsystem="jack" ################################################################################################## # Input / Output # # With 'alsa' you have to write the device names like 'default' to use the system default # or 'hw:0' to use the 1st audio device directly. With Pulse Audio and Jack => an non empty value # means it is used. Devices with empty string are ignored and not used # output_device_0="default" ; output_device_1="" ; input_device_0="" ; input_device_1="" ################################################################################################## # Frame Settings # # Sample rate in Hz ; frame_audio_sample_rate="44100" # Frame Size ("frame.audio.size") is provided by ALSA and is specific to your Audio Device. Needs # to be manually obtained and set correctly. ; frame_audio_size="1764" ; frame_audio_size="7056" # Tentative frame duration in seconds, defaults to "0.04" (Float). This setting is used as a hint # for the duration, when frame_audio_size is not provided. It's required for getting things in # sync, but it's actually tricky to set correctly. ; frame_duration="" ################################################################################################## # Advanced ALSA Settings # # Defaults are recommended, but you might need to tweak these values if you're # hearing jitter, cracklings or other artifacts or having generally bad latency # # Buffered audio is quite simple to setup but has some latency; Unbuffered provides low latency but # requires a valid frame size. ; alsa_buffered_input="true" ; alsa_buffered_output="true" # # Set to 0 to use the ALSA default. If using hardware directly (hw:0) start with 8192. Higher values # give higher latency and lower CPU usage. ; alsa_buffer="8192" # # Only used for buffered ALSA I/O, and affects latency. Probably not wanted for live audio. # Defaults to "1". ; alsa_buffer_length="10" # # Set to 0 or leave empty to use the ALSA default. ; alsa_periods="" ################################################################################################## # ReplayGain Track Gain Normalization # # Audio files are automatically normalized as soon ReplayGain metadata is provided. If your audio # files do not provide such metadata, it's possible to compute it on the fly for all files # automatically. Keep in mind this is a computation costly task. ;enable_replaygain_resolver=true [stream] ################################################################################################## # Icecast output # # Repeat this section for additional outgoing streams, like "stream_1", "stream_2" and so on. # Allowed values are "true" or "false" ; stream_0="false" # Possible values: flac, mp3, ogg, opus # (depending on the installed Liquidsoap) ; stream_0_encoding="ogg" ; stream_0_bitrate="128" # Stereo (2) or Mono (any other value) ; stream_0_channels="2" # Icecast host details ; stream_0_host="localhost" ; stream_0_port="8888" ; stream_0_mountpoint="aura-radio.ogg" ; stream_0_user="source" ; stream_0_password="source" ; stream_0_url="https://aura.radio" # Stream Metadata ; stream_0_name="AURA Radio" ; stream_0_genre="music" ; stream_0_description="Music from the community radio software suite"