Granular Audio Synthesis
If you want to make a sound shorter, you can play it faster. Doing this also makes it higher pitch unfortunately. If you want to make a sound longer, you can play it more slowly. This also makes it…
Programming, Graphics, Gamedev, Exotic Computation, Audio Synthesis
Visit blog.demofox.org → RSS feedOn Hacker News Jun 2016 – Jul 2026
Games & Graphics 9Math & Algorithms 6Software Engineering 5Science & Space 1Design & UX 1Career & Management 1
If you want to make a sound shorter, you can play it faster. Doing this also makes it higher pitch unfortunately. If you want to make a sound longer, you can play it more slowly. This also makes it…
If you are looking to synthesize the sound of a plucked string, there is an amazingly simple algorithm for doing so called the Karplus-Strong Algorithm. Give it a listen: KarplusStrong.wav Here it …
Floating point numbers have limited precision. If you are a game programmer, you have likely encountered bugs where things start breaking after too much time has elapsed, or after something has mov…
Posts in this series: Basic Camera, Diffuse, Emissive Image Improvement and Glossy Reflections Fresnel, Rough Refraction & Absorption, Orbit Camera Below is a screenshot of the shadertoy that g…
There is an amazing shadertoy called “Tiny Clouds” by stubbe (twitter: @Stubbesaurus) which flies you through nearly photorealistic clouds in only 10 lines of code / 280 characters (2 o…