Nana: Experimental synthesizer
What is it?
Nana aims to be a direct port of the audio sub-system of Euterpea.
Euterpea utilizes CCA, which requires template haskell, a luxury the current GHC iphone port can not afford. In particular, TH needs GHCi to bootstrap and the iphone port does not compile the GHCi component.
It seems that by not taking the benefit of CCA, performance can be lower to a factor of 20x, in other words, most synth won't work. Yet it still has to be done since I could not find another way.
Make a noise
# turn your speaker's volumne down ! runghc -isrc src/Main.hs open test.wav