Tonfall is an opensource audio framework for Actionscript I have written for the Audio Code Clash Workshop at Flash on the beach to provide an entry point for the attendees on that subject.
Tonfall is not meant to be a fully implemented audio engine but you may learn a lot about signal processing and sequencing in common. It covers most questions I am receiving by email and is not that far away from the audio engine we use in Audiotool.
Features
- Holding a list of processors and time information
- SignalProcessor for audio generation taking TimeEvents (like notes) into account
- Design Pattern to process polyphonic audio generation (e.g. synthesizer)
- Static Delay as a template for other effects
- Note to frequency mapping
- WavFile Encoder
- Samples of the Casio RZ1 drumcomputer
- AmenBreak sample
- Super Mario playing Sequencer
- Fully launchable Metronome (Hello World of Audio DSP)
- Simple implementation of ToneMatrix
Tonfall is built with FDT 4.0, which I highly recommended. I checked-in the project files as well to let you compile right away.
I also highly recommend to check out Justin Windle‘s AS3 Particle Node Sequencer, which is based on Tonfall and a very nice implementation of what you can do with it. Thanks again Justin!