:set -fno-warn-orphans :set -XMultiParamTypeClasses :set -XOverloadedStrings :set prompt "" -- Import all the boot functions and aliases. import Sound.Tidal.Boot default (Rational, Integer, Double, Pattern String) -- Create a Tidal Stream with the default settings. -- Use 'mkTidalWith' to customize these settings. tidalInst <- mkTidal -- tidalInst <- mkTidalWith [(superdirtTarget { oLatency = 0.01 }, [superdirtShape])] (setFrameTimespan (1/50) $ setProcessAhead (1/20) defaultConfig) -- This orphan instance makes the boot aliases work! -- It has to go after you define 'tidalInst'. instance Tidally where tidal = tidalInst -- `enableLink` and `disableLink` can be used to toggle synchronisation using the Link protocol. -- Uncomment the next line to enable Link on startup. -- enableLink -- You can also add your own aliases in this file. For example: -- fastsquizzed pat = fast 2 $ pat # squiz 1.5 :set -fwarn-orphans -Wno-type-defaults :set prompt "tidal> " :set prompt-cont ""