mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-15 04:38:00 +00:00
Fix updateSampleVolume and nav drawer
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</v-app-bar>
|
||||
<v-navigation-drawer
|
||||
v-model="drawyer"
|
||||
absolute
|
||||
fixed
|
||||
temporary
|
||||
>
|
||||
<v-list
|
||||
|
||||
@@ -105,10 +105,10 @@ export default {
|
||||
this.noise = new Noise({ volume: this.volume, type: this.noiseColor }).connect(this.filter)
|
||||
}
|
||||
|
||||
if (this.isLFOFilterCutoffEnabled) {
|
||||
this.lfo = new LFO({ frequency: this.lfoFilterCutoffFrequency, min: this.lfoFilterCutoffRange[0], max: this.lfoFilterCutoffRange[1] })
|
||||
this.lfo.connect(this.filter.frequency).start()
|
||||
}
|
||||
// if (this.isLFOFilterCutoffEnabled) {
|
||||
// this.lfo = new LFO({ frequency: this.lfoFilterCutoffFrequency, min: this.lfoFilterCutoffRange[0], max: this.lfoFilterCutoffRange[1] })
|
||||
// this.lfo.connect(this.filter.frequency).start()
|
||||
// }
|
||||
|
||||
if (this.isTimerEnabled) {
|
||||
this.duration = parseInt((this.hours * 3600)) + parseInt((this.minutes * 60)) + parseInt(this.seconds)
|
||||
@@ -393,6 +393,7 @@ export default {
|
||||
},
|
||||
updateSampleVolume (id, index) {
|
||||
this.players.player(id).volume.value = this.loadedSamples[index].volume
|
||||
this.$forceUpdate()
|
||||
},
|
||||
removeSample (index) {
|
||||
this.loadedSamples.splice(index, 1)
|
||||
|
||||
Reference in New Issue
Block a user