mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-25 23:44:13 +02:00
Extensive changes to improve NoteTrack display and (some) editing, NoteTrack playback via MIDI, and Midi-to-Audio alignment.
This commit is contained in:
@@ -2,5 +2,10 @@
|
||||
|
||||
bool is_midi_file(char *filename);
|
||||
|
||||
#define AREF2(chrom_energy, row, column) \
|
||||
(chrom_energy[row * (CHROMA_BIN_COUNT + 1) + column])
|
||||
// index into matrix to extract chroma vector
|
||||
#define AREF1(chrom_energy, row) \
|
||||
((chrom_energy) + (row) * (CHROMA_BIN_COUNT + 1))
|
||||
|
||||
// index into matrix to extract element of chroma vector
|
||||
#define AREF2(chrom_energy, row, column) AREF1(chrom_energy, row)[column]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user