mirror of
https://github.com/cnlohr/lolra.git
synced 2026-06-17 00:09:31 +00:00
eh different printf
This commit is contained in:
@@ -139,13 +139,13 @@ async function toggleAudio()
|
|||||||
this.iirphase = this.iirphase * 0.999 + diffphase * 0.001; \
|
this.iirphase = this.iirphase * 0.999 + diffphase * 0.001; \
|
||||||
diffphase -= this.iirphase; \
|
diffphase -= this.iirphase; \
|
||||||
var po = this.phaseout = this.phaseout * 0.993 + diffphase; \
|
var po = this.phaseout = this.phaseout * 0.993 + diffphase; \
|
||||||
console.log( po ); \
|
|
||||||
if( po < 0.0 ) po += 1.0; \
|
if( po < 0.0 ) po += 1.0; \
|
||||||
if( po > 1.0 ) po -= 1.0; \
|
if( po > 1.0 ) po -= 1.0; \
|
||||||
this.rbuffer[this.rbufferhead] = po; \
|
this.rbuffer[this.rbufferhead] = po; \
|
||||||
} \
|
} \
|
||||||
this.rbufferhead = n; \
|
this.rbufferhead = n; \
|
||||||
} \
|
} \
|
||||||
|
console.log( this.iirphase ); \
|
||||||
}; \
|
}; \
|
||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
|
|||||||
Reference in New Issue
Block a user