Skip to content

Commit

Permalink
Add note for future work
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlohr committed Jul 11, 2024
1 parent 0379e7c commit 8cf6fa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ch32v/lib/webhidcontrol.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ async function sendLoop()
let lastIntensityParam = playingAudioProcessor.parameters.get("lastIntensity");
lastIntensityParam.setValueAtTime( lastIntensity, audioContext.currentTime);

// TODO: Use crystalmhz
let sampleAdvance = (144000000.0/sample_divisor) / audioContext.sampleRate;
let sampleAdvanceParam = playingAudioProcessor.parameters.get("sampleAdvance");
sampleAdvanceParam.setValueAtTime( sampleAdvance, audioContext.currentTime);
Expand Down

0 comments on commit 8cf6fa5

Please sign in to comment.