diff --git a/src/shaders/render43.fs b/src/shaders/render43.fs index aea1ba491225ce26a5f2d969416e6c705571d494..e7d5d17d8b9179303612567b1635ee36d969d4ec 100644 --- a/src/shaders/render43.fs +++ b/src/shaders/render43.fs @@ -111,8 +111,7 @@ out vec4 color; void additiveSynth(vec4 color) { float freq=0.0; - float note = 20 + color.x * 80;//color.x * 127; - //float note = 69.0; + float note = 20 + color.x * 80; int ind=0; int octave = int(note/12); @@ -164,7 +163,6 @@ void additiveSynth(vec4 color) { //remove audioMixSize steps and write phase to output outputPhase=mod(outputPhase+phaseStep*(audioBufSize-audioMixSize), samplesPerPeriod); - //outputPhase=mod(outputPhase+phaseStep*(audioBufSize), 1.0); imageStore(audioTex, ivec2(2, ind), ivec4(int(outputPhase))); } }