how to play a vector as sounds

Hi,

I want to play sounds, which are a vector of cosine functons with different frequencies. for example, I have a cosine vector cos(2*pi*x), where x=[100,200,300,...1000], in Matlab there is a sound command that can play the sounds of vector, but how to do it in J2ME?

Thanks,

foreveryoung

[315 byte] By [foreveryounga] at [2007-10-2 22:47:56]
# 1
check out what sound format is supported by the mmapi, and then convert your vector data to the correct sound format and let the mmapi play the data.
deepspacea at 2007-7-14 6:02:17 > top of Java-index,Java Mobility Forums,Java ME Technologies...