#
#  Discord Configuration File
#
#  Anything after two hash marks (#) will be printed to stderr, if you want to watch parse progress
#
#  Options
#
#      case 'a':  // audio device to set as hardware through which to route playback.
#                     Discord will use only hardware frame rates, so no resampling will occur, though
#                     the sound format will be converted by alsa to match that of the card.
#                     If this is not specified, discord will open the default audio device as a plughw plugin.
#                     At a command line run the command "aplay -lLv" to find out more information about
#                     your sound card(s) and their devices.  That is not a 1, but a lowercase L.
#                     See "man aplay" or "pinfo aplay".
#--audio_device=plughw:0,0  # first card, first device, usually analog out
#-a plughw:0,1  # first card, second device, usually digital out, IEC958
#
#      case 'b':  // bit accuracy of sound generated, 16i, 24i, 32i, 32f, 64f, int and float
#                     Relevant only when sending output to a file.  All internal processing is 
#                     done using doubles regardless.
#--bit_accuracy=16i
#-b 16i
#
#      case 'c':  // Compensate for human hearing, low and high freqs need to be louder
#                    to have the same subjective loudness to the human ear.
#                    If this is set correctly, a sound at the compensated frequency
#                    sounds the same loudness as any other sound at its
#                    compensated frequency.  i.e. It linearizes the range
#                    This is individual, depends on your hearing, so the below is only a starting
#                    point for you to play with and tweak.  It has a max of 32 points.
#                    There is some dispute whether sounds outside the range of hearing
#                    have any effect.  Of course, that is dependent on
#                    whether those sounds even get to your ears through the system.  This
#                    applies to the internally generated sounds: binaural, chronaural, bell, noise.
#                    If you use compensation, set all amplitudes to a fixed value.
#                    Or whatever ratio between the loudness you want them to have, as if linear.
#                    The stochastic, sample, repeat and once voices are not compensated so should be
#                    set at the amplitude you want.
#--compensate=5=9''10=6.2''20=4.6''30=3.4''40=2.4''50=1.6''60=1.4
#--compensate=80=1.3''100=1.2''200=1.2''300=1.2'''400:1.1''500:1
#--compensate=600:1''700=1''800=1''900=1''1000=1''2000=1''3000=1
#--compensate=5000=1.0''7000=1.1'',,,9000:1.3,,10000:1.5,,12000:1.5
#--compensate=13000=3,,16000=5.0,,17000=6.5,,18000=7.5,,19000=8.0,,20000=9.0
-c 5=9
-c 10=6.2
-c 20=4.6
-c 30=3.4
-c 40=2.4
-c 50=1.6
-c 60=1.4
-c 80=1.3
-c 100=1.2
-c 200=1.2
-c 300=1.2
-c 400:1.1
-c 500:1
-c 600:1
-c 700=1
-c 800=1
-c 900=1
-c 1000=1
-c 2000=1
-c 3000=1
-c 5000=1.0
-c 7000=1.1
-c 9000:1.3
-c 10000:1.5
-c 12000:1.5
-c 13000=3
-c 16000=5.0
-c 17000=6.5
-c 18000=7.5
-c 19000=8.0
-c 20000=9.0
#
#
#      case 'd':  // display only
#--display_only
#-d
#
#      case 'e':  // every, display status every x seconds, decimal > 0.
#--every=10
-e 5
#
#      case 'f':  // fast, move through at multiple of time, 60 ==> 1min becomes 1 sec
#                    so a 1 hour play sequence will play in 1 minute
#--fast=60
#-f 60
#
#      case 'h':  // help
#--help
#-h
#
#      case 'k':  // keep generated resampled sound files if any
#--keep
#-k
#
#      case 'm':  // modify carrier and beat from script file within a percentage band
#--modify=2
#-m 1
#
#      case 'o':  // output file format, w:wav, f:flac, r:raw, no point to lossy
#--out_format=w
#-o w
#
#      case 'q':                // quiet, don't display status while running
#--quiet
#-q
#
#      case 'r':  // frame rate per second, whatever your card can do, 44100 is CD quality
#                    At a command line run the command "amixer [-c cardnumber] | less" to 
#                    find out more information about your sound card(s) and the 
#                    hardware frequencies they support.  See "man amixer" or "pinfo amixer".
#                    Discord will use the nearest hardware supported frequency to the frequency you 
#                    set here.
--rate=44100
#-r 48000
#-r 96000
#-r 192000
#
#      case 't':                // thread, use thread to play sound instead of a blocking function call
#                                  This allows slightly more throughput but is more susceptible to 
#                                  sound breakage under heavy cpu use.  Applies to file write
#                                  but not status display.
#--thread
#-t
#
#      case 'v':                // verbose output, use long form while playing
#--verbose
#-v
#      case 'w':  // write to file instead of the default, playing via the sound card
#--write=mindblowing.wav  # same as ./mindblowing.wav, will write in current directory
#-w  /home/clover/discord/mindbending.flac
