module Sound.Tidal.Config where
import Data.Int(Int64)
import Foreign.C.Types (CDouble)
data Config = Config {Config -> Bool
cCtrlListen :: Bool,
Config -> String
cCtrlAddr :: String,
Config -> Int
cCtrlPort :: Int,
Config -> Bool
cCtrlBroadcast :: Bool,
Config -> Double
cFrameTimespan :: Double,
Config -> Bool
cEnableLink :: Bool,
Config -> Double
cProcessAhead :: Double,
Config -> String
cTempoAddr :: String,
Config -> Int
cTempoPort :: Int,
Config -> Int
cTempoClientPort :: Int,
Config -> Int64
cSkipTicks :: Int64,
Config -> Bool
cVerbose :: Bool,
Config -> CDouble
cQuantum :: CDouble,
Config -> CDouble
cBeatsPerCycle :: CDouble
}
defaultConfig :: Config
defaultConfig :: Config
defaultConfig = Config {cCtrlListen :: Bool
cCtrlListen = Bool
True,
cCtrlAddr :: String
cCtrlAddr =String
"127.0.0.1",
cCtrlPort :: Int
cCtrlPort = Int
6010,
cCtrlBroadcast :: Bool
cCtrlBroadcast = Bool
False,
cFrameTimespan :: Double
cFrameTimespan = Double
1forall a. Fractional a => a -> a -> a
/Double
20,
cEnableLink :: Bool
cEnableLink = Bool
True,
cProcessAhead :: Double
cProcessAhead = Double
3forall a. Fractional a => a -> a -> a
/Double
10,
cTempoAddr :: String
cTempoAddr = String
"127.0.0.1",
cTempoPort :: Int
cTempoPort = Int
9160,
cTempoClientPort :: Int
cTempoClientPort = Int
0,
cSkipTicks :: Int64
cSkipTicks = Int64
10,
cVerbose :: Bool
cVerbose = Bool
True,
cQuantum :: CDouble
cQuantum = CDouble
4,
cBeatsPerCycle :: CDouble
cBeatsPerCycle = CDouble
4
}