Skip to content

Commit

Permalink
more params....
Browse files Browse the repository at this point in the history
  • Loading branch information
blechdom committed Dec 2, 2023
1 parent 981f57a commit 094b39b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/components/ThreeOhThree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const KnobParamLabel = dynamic(() => import("el-vis-audio").then((mod) => mod.Kn

const chunkDurationSeconds = 0.15;
const numChannels = 2; // currently only two channels allowed (shader uses vec2)
const workgroupSize = 256;
const workgroupSize = 16;
const maxBufferedChunks = 1;

const ThreeOhThree = () => {
Expand Down Expand Up @@ -190,7 +190,9 @@ const ThreeOhThree = () => {

return (
<>
<button onClick={() => setPlaying(!playing)}>{playing ? "STOP" : "PLAY"} 303 EMULATOR FROM WEBGPU</button>
<h3>This synth requires <a href="chrome://flags/#enable-webgpu-developer-features">chrome://flags/#enable-webgpu-developer-features</a> flag to be enabled</h3>
You may need to copy/paste the URL into the searchbar and restart chrome, the return to this page.<br /><br />
<button onClick={() => setPlaying(!playing)}><h2>{playing ? "STOP" : "PLAY"} 303 EMULATOR FROM WEBGPU</h2></button>
<KnobsFlexBox>
<KnobParamLabel
label={"gain"}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Home() {
<li><Link href={"./conwayGameAudio"}>Conway Game Audio</Link></li>
<li><Link href={"./threeOhThree"}>303 acid jam ported from shadertoy sound</Link></li>
</ul>
<h2>Recursive Sounds, WebAudio Experiments, and other Works-In-Progress...</h2>
<h2>Recursive Sounds, WebGPU Audio, WebAudio Experiments, and other Works-In-Progress...</h2>
<ul>
<li><Link href={"./recursiveFM"}>Recursive FM</Link></li>
<li><Link href={"./recursivePM"}>Recursive PM</Link></li>
Expand Down

0 comments on commit 094b39b

Please sign in to comment.