0
0

loadfrommemory example uses mp3 file.

What I want is to use data array not a file.

For example, I made a buffer containing pure-tone.

double[] data = new double[48000];
for (int i = 0; i < 48000; i++)
data[i] = Math.Sin(2Math.PI(double)i/480);

I want to play sound with this data array.

Is it possible?

Have a nice work with FMOD~~

  • You must to post comments
0
0

yeah, you could do something like that with custom created streams, there is an example included with fmod for something like this.

  • You must to post comments
0
0

Thank you for your comments, but I can not access the file.

Please check it.

  • You must to post comments
0
0

The example is included in the FMOD installer… :)

I guess you tried to click the link in my signiture, it is down for the moment. That is just a link to my new media player, that is not the example.

  • You must to post comments
0
0

Do you mean that such an example was included in fmod examples?

Now, I understood it.

I can find the example – usercreatedsound.

I had to search original examples before writing a post.

Thank you and your player is good to use.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.