Permalink
Switch branches/tags
Nothing to show
Commits on Jun 28, 2008
  1. added another example app - this time illustrating that it's possible…

    … to specify which keys loop_on_button_sustain will respond to (in this case any key on row 0)
    samaaron committed Jun 28, 2008
  2. added the ability to light rows and columns with arrays of patterns (…

    …correctly deals with the 128, and therefore hopefully the 256)
    samaaron committed Jun 28, 2008
  3. remove debugging output

    samaaron committed Jun 28, 2008
  4. further internal method renames

    samaaron committed Jun 28, 2008
  5. New feature - the ability to specify particular buttons to listen to …

    …as a parameter to the methods. For example, on_button_press(0,1) will only call the block when button x=0, y=1 is pressed. It's also possible to use :any instead of a specific integer to indicate a whole row or column. Also, many internal method renames, and new useful coord class.
    samaaron committed Jun 28, 2008
  6. refactored midi messages into their own files and fixed but in the mi…

    …di_out class which was stopping the midi from being turned off correctly
    samaaron committed Jun 28, 2008
  7. renamed key_up and key_down methods to any_button_release and any_but…

    …ton_press respectively. Also fixed minor bug in rebound where the lights weren't turned off when the led stops bouncing
    samaaron committed Jun 28, 2008
Commits on Jun 27, 2008
  1. slightly alter present patterns

    samaaron committed Jun 27, 2008
Commits on Jun 26, 2008
  1. converting midi messages to java objects in the preparation phase to …

    …reduce computation needed on flush! This code seriously needs a lot of refactoring - particularly in tandom with the javamidi.rb file. Also, not all notes seem to be turned off - so need to look into that too. However, big strides are being made with the timeliness which is great news :-)
    samaaron committed Jun 26, 2008
  2. added the ability to prepare notes in the midi object for flushing on…

    … the beat later. Updated press coffee and rebound to use this new feature. Things are getting timelier still :-) Also changed timing keys to bpm (beats per minute) prepare and on_tick to emphasise how the blocks should be used.
    samaaron committed Jun 26, 2008
  3. remove unnecessary comments

    samaaron committed Jun 26, 2008
  4. further optimised the timing algorithm and added it as Monomer::Core:…

    …:Timer refactored the apps around this new addition, and also added a few tweaks to the midi out class to allow for periods of notes to be played (rather than having to explicitly send on/off messages).
    samaaron committed Jun 26, 2008
Commits on Jun 25, 2008
  1. remove unecessary @sleep variable

    samaaron committed Jun 25, 2008
  2. moved method into the configure block to stop sinatra whining that it…

    …'s constantly redifining the same method
    samaaron committed Jun 25, 2008
  3. sorted apps into directories

    samaaron committed Jun 25, 2008
  4. added timing results to test file, and also reverted some changes to …

    …the listener that were made to facilitate the test
    samaaron committed Jun 25, 2008
  5. did a bunch of timing tests on press coffee, and discovered that slee…

    …p isn't too bad after all, but timely_repeat is more accurate. The results are as follows:
    
    with sleep
    {:sum=>156.65100000000018,
     :mean=>0.15665100000000018,
     :stddev=>0.00917842265546986,
     :min=>0.145,
     :max=>0.334,
     :median=>0.155,
     :count=>1000}
    timely block with just update patterns
    {:sum=>166.29400000000027,
     :mean=>0.16629400000000027,
     :stddev=>0.025912565002813286,
     :min=>0.14200000000000002,
     :max=>0.406,
     :median=>0.158,
     :count=>1000}
    all in one timely block
    {:sum=>141.85500000000025,
     :mean=>0.14185500000000026,
     :stddev=>0.029510283492908546,
     :min=>0.02,
     :max=>0.312,
     :median=>0.14100000000000001,
     :count=>1000}
    timely repeat
    {:sum=>144.28400000000033,
     :mean=>0.14428400000000033,
     :stddev=>0.007895675125388952,
     :min=>0.124,
     :max=>0.246,
     :median=>0.14300000000000002,
     :count=>1000}
    samaaron committed Jun 25, 2008
  6. allow iterations to 'warm-up' before issuing warnings, and reducing s…

    …leep ratio - this is to give JRuby enough time to kick in the JIT optimisations
    samaaron committed Jun 25, 2008
  7. more accurate time management than using sleep. Now to work out how t…

    …o integrate this into monomer...
    samaaron committed Jun 25, 2008
Commits on Jun 24, 2008
  1. press coffee lights go up :-)

    samaaron committed Jun 24, 2008
  2. modified press coffee to be monome type agnostic. Just need to add mo…

    …dify the patterns for a 256
    samaaron committed Jun 24, 2008
  3. updated press coffee to play rhythms in sync with each other. This se…

    …ems like a lot of hard work with monomer - I must be missing a trick here...
    samaaron committed Jun 24, 2008
Commits on Jun 23, 2008
  1. added very basic (read unsynchronised) version of press cafe by stret…

    …ta. Needs polishing, as do the modifications added to monomer for lighting columns. Also, started hitting issues with multiple threads accessing a shared array - need to be more careful, and think of a decent solution.
    samaaron committed Jun 23, 2008
  2. refreshed TODO list

    samaaron committed Jun 23, 2008
  3. renamed internal methods params to reflect that the thread name is be…

    …ing passed, not the thread itself
    samaaron committed Jun 23, 2008
  4. rename LED internal variable to indicate that it represents the threa…

    …d's name, not the actual thread itself
    samaaron committed Jun 23, 2008