CCC - A code pattern for Web Audio
===================================
The CCC-pattern for Web Audio
------------------------------
In software unit testing we have the AAA-pattern (Arrange, Act, Assert).
Now I want to introduce the CCC-pattern for Web Audio .
- Create
- Configure
- Connect
- Command
An example
-----------
Also note the method chaining for connecting audio nodes . Supported in modern browsers.
What can be improved?
----------------------
A functional approach can prevent leakage between the three phases.
See developers.mews.com/aaa-pattern-a-functional-approach .
(HTM) developers.mews.com/aaa-pattern-a-functional-approach
Next up?
---------
The Arrange-Act-Animate (AAA) pattern for animations. Lights, Camera, Action!
(DIR) previous Vibrato vs. tremolo
Related
--------
(DIR) DOM ≠ SOLID
(TXT) /img/fallback.svg (.svg)
(DIR) Creating SVG from JavaScript
(TXT) W3 SVG Logo (.svg)
(DIR) FLAC player
(IMG) FLAC Player for Hifistreams (.jpeg)
(DIR) Fast! Fast. Fast?
(TXT) /img/fallback.svg (.svg)