1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-15 10:55:20 +01:00

Extensive changes to improve NoteTrack display and (some) editing, NoteTrack playback via MIDI, and Midi-to-Audio alignment.

This commit is contained in:
rbdannenberg
2010-09-18 21:02:36 +00:00
parent f6327602e8
commit a1f0e5ed5b
96 changed files with 5679 additions and 3566 deletions

View File

@@ -544,7 +544,7 @@ void ControlToolBar::PlayPlayRegion(double t0, double t1,
mCutPreviewTracks->GetWaveTrackArray(false),
WaveTrackArray(),
#ifdef EXPERIMENTAL_MIDI_OUT
&NoteTrackArray(),
NoteTrackArray(),
#endif
NULL, p->GetRate(), tcp0, tcp1, p, false,
t0, t1-t0);
@@ -563,7 +563,7 @@ void ControlToolBar::PlayPlayRegion(double t0, double t1,
token = gAudioIO->StartStream(t->GetWaveTrackArray(false),
WaveTrackArray(),
#ifdef EXPERIMENTAL_MIDI_OUT
&(t->GetNoteTrackArray(false)),
t->GetNoteTrackArray(false),
#endif
timetrack,
p->GetRate(), t0, t1, p, looped);
@@ -900,7 +900,7 @@ void ControlToolBar::OnRecord(wxCommandEvent &evt)
int token = gAudioIO->StartStream(playbackTracks,
newRecordingTracks,
#ifdef EXPERIMENTAL_MIDI_OUT
&midiTracks,
midiTracks,
#endif
t->GetTimeTrack(),
p->GetRate(), t0, t1, p);