diff options
author | Andrew Cady <d@jerkface.net> | 2015-12-04 09:22:28 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2015-12-04 09:22:28 -0500 |
commit | a65931fd13a4c7f50b3bc5f99a8d80aacd3503d0 (patch) | |
tree | 1cdea21df2dde5db7ad4fbfc361930017f13c84d | |
parent | f15f60496ca7a726934cd0983d8b114c3fbb85b0 (diff) |
whitespace
-rw-r--r-- | midi-dump.hs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/midi-dump.hs b/midi-dump.hs index 6227c31..e950653 100644 --- a/midi-dump.hs +++ b/midi-dump.hs | |||
@@ -36,7 +36,7 @@ main = main' `AlsaExc.catch` handler | |||
36 | type RecordedEvents = [(TimeSpec, Event.T)] | 36 | type RecordedEvents = [(TimeSpec, Event.T)] |
37 | 37 | ||
38 | data Recording = Recording { | 38 | data Recording = Recording { |
39 | _recordingStart :: TimeSpec, -- from initial silence | 39 | _recordingStart :: TimeSpec, -- from initial silence |
40 | _recordingEvents :: RecordedEvents | 40 | _recordingEvents :: RecordedEvents |
41 | } | 41 | } |
42 | 42 | ||
@@ -44,10 +44,10 @@ recordEvents :: Recording -> RecordedEvents -> Recording | |||
44 | recordEvents (Recording s orig) new = Recording s (new ++ orig) | 44 | recordEvents (Recording s orig) new = Recording s (new ++ orig) |
45 | 45 | ||
46 | data LoopState = LoopState { | 46 | data LoopState = LoopState { |
47 | _wantExit :: Bool, | 47 | _wantExit :: Bool, |
48 | keysDown :: MidiPitchSet, | 48 | keysDown :: MidiPitchSet, |
49 | _recording :: Recording, | 49 | _recording :: Recording, |
50 | lastTick :: TimeSpec | 50 | lastTick :: TimeSpec |
51 | } | 51 | } |
52 | 52 | ||
53 | initializeState now = LoopState False Set.empty (emptyRecording now) now | 53 | initializeState now = LoopState False Set.empty (emptyRecording now) now |