Skip to content

Commit

Permalink
- Fix deselect scale
Browse files Browse the repository at this point in the history
  • Loading branch information
hardiesoft committed Feb 9, 2025
1 parent a8ddc8b commit c03daf3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions browse-next/src/components/SpectrogramViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,10 @@ watch(
if (spectastiqEl.value) {
if (!nextTrack && prevTrack) {
// Deselected track
spectastiqEl.value.selectRegionOfInterest(
0,
1,
audioSampleRate.value / 2,
0
);
console.log("Deselected track", audioSampleRate.value);
spectastiqEl.value.selectRegionOfInterest(0, 1, 0, 1);
spectastiqEl.value.removePlaybackFrequencyBandPass();
if (audioIsPlaying.value) {
spectastiqEl.value
Expand Down

0 comments on commit c03daf3

Please sign in to comment.