Android how to convert a midi input to wav file #1097
-
I konw how to convert a midi file to wav, and it's successful but, I can't convert a midi input ,like some note,then convert to wav file please help me, tks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I'm not sure what you're asking for in particular. However, I can tell that currently fluidsynth does not provide a MIDI driver for android. Downstream apps will have to implement their own MIDI handling and dispatch the events to fluidsynth. |
Beta Was this translation helpful? Give feedback.
-
Did you had a look at the sequencer example? https://www.fluidsynth.org/api/Sequencer.html Instead of using |
Beta Was this translation helpful? Give feedback.
Did you had a look at the sequencer example?
https://www.fluidsynth.org/api/Sequencer.html
Instead of using
new_fluid_audio_driver()
you would use thenew_fluid_file_renderer()
as you already did. And instead ofsleep(100000);
your main function would constantly callfluid_file_renderer_process_block(renderer)
until you think you've rendered enough audio.