Monthly Archives: April 2011

Processing.js - Interactive data visualization

El Sombrero 3D (the Mexican Hat equation)

This 3D surface was created with the Processing Language (processing.js). The image is calculated by the browser in real time and you can interact with the mouse, edit equations and view other … Continue reading

Posted in Processing Art | Leave a comment

Creating sound waves with JavaScript

Sound waves can be generated using math equations. For example, the frequency of 440 Hz produces the musical note known as "A4". This can be created by a sine wave that vibrates the audio output 440 times in one second. … Continue reading
Posted in Javascript Audio | Tagged | 9 Comments

HTML5 Audio Element

Javascript Audio Synthesis - How to use HTML5 audio tag to create sounds

This method generates a raw binary wave (wav) file with a simple frequency (sine wave) and writes it directly to the audio tag output. It is … Continue reading

Posted in Javascript Audio | Tagged , | 2 Comments