Mark, I have just wrote a simple oscillator that generates the data and it plays fine. But as you know, it is a long way to synthesizing an instrument sound. I would appreciate any references on the sound synthesis and most of all code examples. Any libraries with a small footprint maybe.
Thanks On Dec 21, 12:34 pm, Business Talk <[email protected]> wrote: > Mark, > > Yours is a golden tip. In a long run using files is out of the > question, considering the size of the application it would generate. > Your approach is definitely the way to go. I just have no experience > in the sound synthesis, Specifically synthesizing instrument sounds. > Do you have any documentation (links) to point me to. I will have to > look into a simple synthesizer running on android. Any code examples > you could share? > > I appreciate your advice, > Roman > > On Dec 15, 6:01 pm, MarkNZ <[email protected]> wrote: > > > > > Do you need to use files? > > I have been generating audio at run time using the java math sine > > function to create an array of short, then playing it with audio > > track. Perfomance has been fine, I have been testing on an HTC tattoo. > > The only problem I have found is when I record the the data being > > played, write it to SD card and plot it in MATLAB, There is a large DC > > offset that decays quickly at the start of playback. I'm still trying > > to figure out the cause of it however this may not bother you.- Hide quoted > > text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

