Category: Uncategorized

Synthesizing Musical Sounds with Web Audio API – Part 2

Web Audio API is a system for creating, controlling, and manipulating audio in a Web browser using JavaScript. This series of articles is intended to demonstrate the basic concepts needed to synthesize musical sounds using Web Audio API. In part 1 of this series, we created a Web page and JavaScript code to start and… Read more »

Synthesizing Musical Sounds with Web Audio API – Part 1

Web Audio API is a system for creating, controlling, and manipulating audio in a Web browser using JavaScript. This series of articles is intended to demonstrate the basic concepts needed to synthesize musical sounds using Web Audio API. Let’s start out by simply starting and stopping the sounding of a tone.

If you… Read more »

Making Music with The WebAudio API Part 4

This series of articles is being rewritten. See http://techblog.stevej.name/2017/11/26/synthesizing-musical-sounds-with-web-audio-api-part-1/

Making Music with The WebAudio API Part 3

This series of articles is being rewritten. See http://techblog.stevej.name/2017/11/26/synthesizing-musical-sounds-with-web-audio-api-part-1/

Making Music with The WebAudio API Part 2

This series of articles is being rewritten. See http://techblog.stevej.name/2017/11/26/synthesizing-musical-sounds-with-web-audio-api-part-1/

Making Music with The WebAudio API Part 1

This series of articles is being rewritten. See http://techblog.stevej.name/2017/11/26/synthesizing-musical-sounds-with-web-audio-api-part-1/

How To Compute 1+2+…+n and How to Remember How

I was recently writing a test for an object containing a map of currency amounts for months by month number. I needed to verify that each value was exposed through a month-specific attribute and that it exposed the sum of values across all the months through another attribute. For test data, I chose the following… Read more »

Curious Effects of Different Ruby Class & Module Nesting Styles

Typically, in Ruby, we see modules and classes nested by having one declaration inside of the the other.

When the outer class or module has previously been declared, however, we can also declare the nested one directly using its fully qualified name, and it is not uncommon to see that done.

On the… Read more »