Ignore:
Timestamp:
2015-05-14T13:56:53+12:00 (9 years ago)
Author:
davidb
Message:

Work developing a guitar to play, and recording notes on piano when played (with the radio button set to record)

File:
1 edited

Legend:

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

    r29867 r29877  
    378378
    379379        mediaPlayedNotes[String(mediaStartPlayTime)].push(
    380         { 'midiPitch': playedMidiPitch,
     380        { 'midiPitch'   : playedMidiPitch,
    381381          'midiNoteOn'  : relativePlayedNoteStartTime,
    382382          'midiNoteOff' : relativePlayedNoteEndTime,
    383           'duration': playedDuration,
     383          'duration    ': playedDuration,
    384384          'humanReadble': playedNotePitch }
    385385        );
     
    402402
    403403            MIDI.noteOff(0, playedMidiPitch, 0);
    404             calcMidiNoteInfo();
     404            if (mediaPlaybackMode == "record") {
     405            calcMidiNoteInfo();
     406            }
    405407
    406408            visualKeyboard[keyboard[e.keyCode]].style.backgroundColor = '';
Note: See TracChangeset for help on using the changeset viewer.