summaryrefslogtreecommitdiff
path: root/axis.hs
AgeCommit message (Collapse)Author
2015-12-17axis.hs: convert remaining mainloop parameters to use RWSTAndrew Cady
2015-12-17axis.hs: start to move mainloop into RWSTAndrew Cady
2015-12-17Clean up axis.hs lint errors, formatting, etc.Andrew Cady
(No semantic changes.)
2015-12-03store midi event history in a simple listAndrew Cady
2015-12-03compile with stackAndrew Cady
Got rid of dependency on netwire since it wasn't used for anything except to get a time delta from the previous frame. (That time delta still needs to be reimplemented, though.)
2015-12-03filter out channel 9Andrew Cady
This is a very old change, I'm committing now to start working on this again. I don't actually understand how the code could have worked without this patch. The variable "actions" is created here, but used in code that's already committed. Oh well.
2014-04-05don't use smartDrawKeys to erase keysAndrew Cady
2014-04-05change default to 2 keyboards; minor reorgAndrew Cady
2014-04-04allow up to 9 visual repetitions of the keyboardAndrew Cady
why not? nothing else to bind those keys to yet
2014-04-04allow live-toggle of axis display sizeAndrew Cady
press 2 for the mirrored version, 1 for unmirrored
2014-04-03move state into data structureAndrew Cady
2014-01-22switch to SDL HWSurfaceAndrew Cady
2014-01-21fix: use correct resolution when resizingAndrew Cady
2014-01-21Fix bug where three keys were not drawn by allKeysOFFAndrew Cady
Not sure how I missed this! Also, changed some colors slightly.
2014-01-20Implement window resizing.Andrew Cady
This made the code uglier. Need to introduce the state monad or else actually use netwire.
2014-01-20fix note labelsAndrew Cady
2014-01-20correctly implement multi-channel displayAndrew Cady
2014-01-20change smartDrawKeys interfaceAndrew Cady
2014-01-19fix forgotten term in trig equationAndrew Cady
2014-01-19displaying multiple channels on one key simultaneouslyAndrew Cady
it does not look great (yet), but it makes the multi-channel midi files much less confusing to watch.
2014-01-18color the keyboard axis-styleAndrew Cady
the borders on keys have been disabled
2014-01-18add "octave squash" functionality but disable itAndrew Cady
it looks terrible because the squashing is into a horizontal band.
2014-01-18whitespace; enable hexagons and color-by-channelAndrew Cady
2014-01-17keys have different colors depending on channelAndrew Cady
this is disabled by a constant, but it does work
2014-01-17get ready to recognize midi channelsAndrew Cady
2014-01-17minor (format some commented-out code)Andrew Cady
2014-01-17press 'c' to erase all key borders; they come back after notes are playedAndrew Cady
2014-01-17implement unique-keys "mode"Andrew Cady
actually it's not a "mode" yet. It's a hard-coded constant.
2014-01-17use smaller circles in circle modeAndrew Cady
2014-01-17backspace = all keys offAndrew Cady
2014-01-17increase number of rows to 7+4Andrew Cady
2014-01-17live playback works! connect via aplaymidi to play midi filesAndrew Cady
2014-01-17pretty close to live key displayAndrew Cady
2014-01-17moving toward hilighting axis keysAndrew Cady
2014-01-16count the hexagonsAndrew Cady
2014-01-16fix the pixel edgesAndrew Cady
2014-01-16add sdl-gfx hexgaonal gridAndrew Cady
2014-01-16remove text output of eventsAndrew Cady
2014-01-16fix cabal buildAndrew Cady
2014-01-16output sdl keys being pressedAndrew Cady
changed type of keysDown in response to bug discovered in ocharles's code: pressing keys with modifiers resulted in "stuck keys" (because e.g. 'shift-a' would go into the same Set as 'a'). Now we're using just Keysym.symkey instead of the entire Keysym.
2014-01-15grabInput True; showCursor False; display mouse buttonsAndrew Cady
2014-01-15add mouse warp and show mouse movement in displayAndrew Cady
2014-01-15factor out textBand function to draw text over full width of screenAndrew Cady
2014-01-15show currently-playing midi notes in real-time through sdl!Andrew Cady
2014-01-15render netwire hooray text in SDLAndrew Cady
2014-01-15add fullscreen SDL graphics (empty black window)Andrew Cady
2014-01-15add alsa initialization to axis.hsAndrew Cady
2014-01-13Initial commit.Andrew Cady