Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jun 28, 2008
  1. @samaaron

    added another example app - this time illustrating that it's possible…

    samaaron authored
    … to specify which keys loop_on_button_sustain will respond to (in this case any key on row 0)
  2. @samaaron

    added the ability to light rows and columns with arrays of patterns (…

    samaaron authored
    …correctly deals with the 128, and therefore hopefully the 256)
  3. @samaaron
  4. @samaaron

    remove debugging output

    samaaron authored
  5. @samaaron
  6. @samaaron

    New feature - the ability to specify particular buttons to listen to …

    samaaron authored
    …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.
  7. @samaaron

    refactored midi messages into their own files and fixed but in the mi…

    samaaron authored
    …di_out class which was stopping the midi from being turned off correctly
  8. @samaaron
  9. @samaaron

    renamed key_up and key_down methods to any_button_release and any_but…

    samaaron authored
    …ton_press respectively. Also fixed minor bug in rebound where the lights weren't turned off when the led stops bouncing
Commits on Jun 27, 2008
  1. @samaaron
  2. @samaaron
  3. @samaaron
  4. @samaaron
Commits on Jun 26, 2008
  1. @samaaron

    converting midi messages to java objects in the preparation phase to …

    samaaron authored
    …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 :-)
  2. @samaaron

    added the ability to prepare notes in the midi object for flushing on…

    samaaron authored
    … 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.
  3. @samaaron

    remove unnecessary comments

    samaaron authored
  4. @samaaron
  5. @samaaron

    further optimised the timing algorithm and added it as Monomer::Core:…

    samaaron authored
    …: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).
Commits on Jun 25, 2008
  1. @samaaron
  2. @samaaron

    remove unecessary @sleep variable

    samaaron authored
  3. @samaaron

    moved method into the configure block to stop sinatra whining that it…

    samaaron authored
    …'s constantly redifining the same method
  4. @samaaron

    sorted apps into directories

    samaaron authored
  5. @samaaron

    added timing results to test file, and also reverted some changes to …

    samaaron authored
    …the listener that were made to facilitate the test
  6. @samaaron

    did a bunch of timing tests on press coffee, and discovered that slee…

    samaaron authored
    …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}
  7. @samaaron
  8. @samaaron
  9. @samaaron

    allow iterations to 'warm-up' before issuing warnings, and reducing s…

    samaaron authored
    …leep ratio - this is to give JRuby enough time to kick in the JIT optimisations
  10. @samaaron

    more accurate time management than using sleep. Now to work out how t…

    samaaron authored
    …o integrate this into monomer...
Commits on Jun 24, 2008
  1. @samaaron

    press coffee lights go up :-)

    samaaron authored
  2. @samaaron

    modified press coffee to be monome type agnostic. Just need to add mo…

    samaaron authored
    …dify the patterns for a 256
  3. @samaaron

    updated press coffee to play rhythms in sync with each other. This se…

    samaaron authored
    …ems like a lot of hard work with monomer - I must be missing a trick here...
Commits on Jun 23, 2008
  1. @samaaron

    added very basic (read unsynchronised) version of press cafe by stret…

    samaaron authored
    …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.
  2. @samaaron

    refreshed TODO list

    samaaron authored
  3. @samaaron

    renamed internal methods params to reflect that the thread name is be…

    samaaron authored
    …ing passed, not the thread itself
  4. @samaaron

    rename LED internal variable to indicate that it represents the threa…

    samaaron authored
    …d's name, not the actual thread itself
Something went wrong with that request. Please try again.