module Sound.Tidal.Config where
data Config = Config {Config -> Bool
cCtrlListen :: Bool,
Config -> String
cCtrlAddr :: String,
Config -> Int
cCtrlPort :: Int,
Config -> Double
cFrameTimespan :: Double,
Config -> String
cTempoAddr :: String,
Config -> Int
cTempoPort :: Int,
Config -> Int
cTempoClientPort :: Int,
Config -> Int
cSkipTicks :: Int,
Config -> Bool
cVerbose :: Bool
}
defaultConfig :: Config
defaultConfig :: Config
defaultConfig = Config :: Bool
-> String
-> Int
-> Double
-> String
-> Int
-> Int
-> Int
-> Bool
-> Config
Config {cCtrlListen :: Bool
cCtrlListen = Bool
True,
cCtrlAddr :: String
cCtrlAddr =String
"127.0.0.1",
cCtrlPort :: Int
cCtrlPort = Int
6010,
cFrameTimespan :: Double
cFrameTimespan = Double
1Double -> Double -> Double
forall a. Fractional a => a -> a -> a
/Double
20,
cTempoAddr :: String
cTempoAddr = String
"127.0.0.1",
cTempoPort :: Int
cTempoPort = Int
9160,
cTempoClientPort :: Int
cTempoClientPort = Int
0,
cSkipTicks :: Int
cSkipTicks = Int
10,
cVerbose :: Bool
cVerbose = Bool
True
}