0
0

I’m curious about FMOD’s lack of support for the WAV writer output type on the iPhone.

Could one write an output callback to create a WAV file output from the FMOD mixer? It seems like it would be straightforward, or am I missing something? Would it be possible to support non-realtime output?

  • You must to post comments
0
0

Currently the iPhone version doesn’t have a wave writer output mode, the reason for this was simply it didn’t seem relevant. Normally wave writer is used to do some kind of processing with FMOD to produce output files, like converting some compressed file format to wav.

Since this is running on the iPhone you have no way of getting the output file off the device (well not as readily as on your Mac that is).

If you can explain what you are trying to achieve maybe I can help out, or if you have a reason I didn’t think of, we can enable those output modes. Most likely you want to create a custom DSP, insert it somewhere in the FMOD DSP network so you can get access to the mix at that point. You can look at the dsp_custom example for details on that [except that example appears to be incomplete… 😳 This will be fixed for our next release].

  • You must to post comments
0
0

[quote="mathew":147301ka]Currently the iPhone version doesn’t have a wave writer output mode, the reason for this was simply it didn’t seem relevant. Normally wave writer is used to do some kind of processing with FMOD to produce output files, like converting some compressed file format to wav.

Since this is running on the iPhone you have no way of getting the output file off the device (well not as readily as on your Mac that is).

If you can explain what you are trying to achieve maybe I can help out, or if you have a reason I didn’t think of, we can enable those output modes. Most likely you want to create a custom DSP, insert it somewhere in the FMOD DSP network so you can get access to the mix at that point. You can look at the dsp_custom example for details on that [except that example appears to be incomplete… 😳 This will be fixed for our next release].[/quote:147301ka]

Thanks Matthew.

My app isn’t a traditional game. But it is an interactive entertainment product that relies heavily on audio.

I would like to have the option to allow the user to record the output from the FMOD mixer. Sure it would be better to record it in a compressed format, but that gets into other problems that go beyond the tools provided by FMOD.

There are certainly ways to get files off the iPhone/iPod Touch: HTTP, FTP etc. And they are not that hard to use to move files off the phone as we can see in many apps on the App Store such as AirSharing, 4Track etc.

As long as I can get to the raw PCM audio data coming from the mixer I can make WAVs or other audio files (of course within the constraints of storage and CPU). It seems like that is possible with the output plugin part of the API. I will try to build a test of that.

  • You must to post comments
0
0

Ok, thats fair enough. I will try to get the missing standard output modes (and non realtime versions) into one of our next couple of releases.

You will probably want to pass in a path to temporary storage to put the output wav via extra driver data otherwise the (potentially large) wav files will get backed up to iTunes.

  • You must to post comments
0
0

Thanks for your attention to this detail.

That’s a good point about the backups.

  • Richard Lawler
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.