Skip to content

Android how to convert a midi input to wav file #1097

Answered by derselbst
nijian141893 asked this question in Q&A
Discussion options

You must be logged in to vote

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 the new_fluid_file_renderer() as you already did. And instead of sleep(100000); your main function would constantly call fluid_file_renderer_process_block(renderer) until you think you've rendered enough audio.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@nijian141893
Comment options

Comment options

You must be logged in to vote
5 replies
@nijian141893
Comment options

@derselbst
Comment options

@nijian141893
Comment options

@derselbst
Comment options

@nijian141893
Comment options

Answer selected by nijian141893
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants