feat: added an option to let user choose the vertical resolution of the spectrogram, also fixed a bug that peak of pitch in the spectrogram has been mapped to the start of the note bin instead of the center
This commit is contained in:
@@ -71,6 +71,7 @@ interface AppConfig {
|
||||
};
|
||||
editor: {
|
||||
playhead_update_frequency: number;
|
||||
spectrogram_height_resolution: 1 | 3 | 5;
|
||||
};
|
||||
chatbox: {
|
||||
default_open: boolean;
|
||||
@@ -243,7 +244,8 @@ export class ConfigManager {
|
||||
},
|
||||
},
|
||||
editor: {
|
||||
playhead_update_frequency: 10
|
||||
playhead_update_frequency: 10,
|
||||
spectrogram_height_resolution: 3
|
||||
},
|
||||
chatbox: {
|
||||
default_open: true
|
||||
@@ -607,4 +609,4 @@ export class ConfigManager {
|
||||
console.error('Error disposing ConfigManager:', error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user