Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

App.StaticConfig

Contents

Synopsis

static config

data StaticConfig Source #

Constructors

StaticConfig 

Fields

data Midi Source #

Constructors

Midi 

Fields

  • rdev_map :: Map Midi.ReadDevice Midi.ReadDevice

    Reroute the hardware level read and write devices. This way, instruments and saved scores can use symbolic names which are then mapped to the devices exported by the MIDI driver.

    Because input devices are likely to be relatively static, the read device map is only configured here.

  • wdev_map :: Map Midi.WriteDevice Midi.WriteDevice

    WriteDevices may vary per score, e.g. softsynths may listen at any number of virtual devices. This map is taken as a default, but may be overridden by the score loaded.

  • read_devices :: Set Midi.ReadDevice

    Open the given devices on startup. Even if they aren't plugged in, they'll be added to the read list so they're automatically connected if they are plugged in. If you open a virtual device for both reading and writing you'll get a loop, so don't do that.

    There's no corresponding write_devices because if you don't want to write to a device, just don't write to it!

Instances

Show Midi # 

Methods

showsPrec :: Int -> Midi -> ShowS #

show :: Midi -> String #

showList :: [Midi] -> ShowS #