summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2015-12-04 09:22:28 -0500
committerAndrew Cady <d@jerkface.net>2015-12-04 09:22:28 -0500
commita65931fd13a4c7f50b3bc5f99a8d80aacd3503d0 (patch)
tree1cdea21df2dde5db7ad4fbfc361930017f13c84d
parentf15f60496ca7a726934cd0983d8b114c3fbb85b0 (diff)
whitespace
-rw-r--r--midi-dump.hs10
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
36type RecordedEvents = [(TimeSpec, Event.T)] 36type RecordedEvents = [(TimeSpec, Event.T)]
37 37
38data Recording = Recording { 38data 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
44recordEvents (Recording s orig) new = Recording s (new ++ orig) 44recordEvents (Recording s orig) new = Recording s (new ++ orig)
45 45
46data LoopState = LoopState { 46data 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
53initializeState now = LoopState False Set.empty (emptyRecording now) now 53initializeState now = LoopState False Set.empty (emptyRecording now) now