Ignore:
Timestamp:
2015-08-04T13:50:35+12:00 (9 years ago)
Author:
davidb
Message:

Development work done in at JCDL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/respooled/collect/popup-video-respooled/js/jam-guitar.js

    r29942 r30093  
    239239    this._strumDuration = 100;
    240240    if (this._midiPitch>=0) {
    241       MIDI.noteOn(0, this._midiPitch, 40);
     241      MIDI.noteOn(guitar_midi_inst_num, this._midiPitch, 40);
    242242      console.log("*** Setting Jam guitar strumForce = 5");
    243243    }
     
    265265    if (this._midiPitch>=0) {
    266266        console.log("*** setting strumDuration = 0");
    267         MIDI.noteOff(0, this._midiPitch, 0);
     267        MIDI.noteOff(guitar_midi_inst_num, this._midiPitch, 0);
    268268    }
    269269    }
Note: See TracChangeset for help on using the changeset viewer.