Re: [fluid-dev] Query regarding FluidSynth

2018-04-11 Thread Tom M.
There is no problem with your JNI code, it works absolutely fine against upstream recent git. However it seems that you are using VolcanoMobile's custom fork? This fork seems to have stripped some of fluidsynth components away. Dont know if that matters... anyway I cant support you any further h

Re: [fluid-dev] Query regarding FluidSynth

2018-04-11 Thread Swapnil Gupta
Okay .. thanks for your reply. I tried running this from a JNI file in my Java code. The JNI function is paster here: https://pastebin.com/zU29PQck. The problem I am facing is that it keeps on running inside *while(fluid_player_get_status(player) == FLUID_PLAYER_PLAYING) *indefinitely. Even after w

Re: [fluid-dev] Query regarding FluidSynth

2018-04-11 Thread Tom M.
It is as fast as using the fast rendering via command line. That's why this section is entitled "*Fast* file renderer for *non-realtime* rendering" and the short description below points out that this "is the *fastest* way to synthesize MIDI files." :) Tom

Re: [fluid-dev] Query regarding FluidSynth

2018-04-11 Thread Swapnil Gupta
Hi Tom, I went over the code that you mentioned at http://www.fluidsynth.org/api/index.html#FileRenderer and had a question regarding this; when we are looping over while (fluid_player_get_status (player) == FLUID_PLAYER

Re: [fluid-dev] Query regarding FluidSynth

2018-04-06 Thread Tom M.
I cannot really help you to integrate fluidsynth to android. It has been discussed several times on the mailing list (just search the fluid-dev archive) but there was no real conlusion how to do it, much less a definite guide. I am convinced that fluidsynth can be run on android, by cross compli

Re: [fluid-dev] Query regarding FluidSynth

2018-04-05 Thread Swapnil Gupta
Tom, Thanks a lot for that :). I want to use this in my android app using JNI/NDK. Do you know of any definitive guide that helps me integrate fluidsynth with android. I have come across a github project https://github.com/VolcanoMobile/fluidsynth-android and it seems that I can use this in my and

Re: [fluid-dev] Query regarding FluidSynth

2018-04-04 Thread Tom M.
Just added example code for the file renderer: http://www.fluidsynth.org/api/index.html#FileRenderer (changes should be pulic on 5th April approx. 10 AM UTC... unless Element reads this and triggers the cron job) Tom 2018-04-04 16:26 GMT+02:00 Marcus Weseloh : > Hi Swapnil, > > yes, it's possib

Re: [fluid-dev] Query regarding FluidSynth

2018-04-04 Thread Marcus Weseloh
Hi Swapnil, yes, it's possible via the API as well. Should work with something along these lines (untested code, just for demonstration): fluid_player_t* player; fluid_file_renderer_t* renderer; player = new_fluid_player(synth); fluid_player_add(player, "/path/to/midifile.mid"); fluid_settings_

Re: [fluid-dev] Query regarding FluidSynth

2018-04-04 Thread Mark Knoop
At 18:03 on 04 Apr 2018, Swapnil Gupta wrote: >I guess everyone id doing great. I am Swapnil and I work with a startup >named MusicMuni Labs Pvt Ltd . I have been >exploring softwares that can help me get a wav file generated using a >MIDI file and soundfonts. I came across

Re: [fluid-dev] Query regarding FluidSynth

2018-04-04 Thread Swapnil Gupta
Hi Marcus, Thank you for your response. I want to integrate fluidsynth in my android application. So, does the api also allows to do something like this ? Thank you. Regards. Swapnil. On Wed, Apr 4, 2018 at 6:52 PM, Marcus Weseloh wrote: > Hi Swapnil, > > Fluidsynth can do what you ask. You ca

Re: [fluid-dev] Query regarding FluidSynth

2018-04-04 Thread Aaron Laws
On Wed, Apr 4, 2018 at 9:22 AM, Marcus Weseloh wrote: > Hi Swapnil, > > Fluidsynth can do what you ask. You can use the following command line: > > fluidsynth /path/to/soundfont.sf2 /path/to/midifile.mid > --fast-render=/path/to/output.wav > > You can also specify the audio format with --audio-fi

Re: [fluid-dev] Query regarding FluidSynth

2018-04-04 Thread Marcus Weseloh
Hi Swapnil, Fluidsynth can do what you ask. You can use the following command line: fluidsynth /path/to/soundfont.sf2 /path/to/midifile.mid --fast-render=/path/to/output.wav You can also specify the audio format with --audio-file-format if Fluidsynth has been compiled with libsndfile support. F

Re: [fluid-dev] Query regarding FluidSynth

2018-04-04 Thread Aaron Laws
On Wed, Apr 4, 2018 at 8:50 AM, Swapnil Gupta wrote: > Hi Aron, > > Thanks for the response. I might be a little unclear in my query. What I > want is given a MIDI file and a soundfont, I want to get a wav file out of > that. Not sure if this is what you answered in your last email. Thank you. >

Re: [fluid-dev] Query regarding FluidSynth

2018-04-04 Thread Swapnil Gupta
Hi Aron, Thanks for the response. I might be a little unclear in my query. What I want is given a MIDI file and a soundfont, I want to get a wav file out of that. Not sure if this is what you answered in your last email. Thank you. Regards. Swapnil. On Wed, Apr 4, 2018 at 6:18 PM, Aaron Laws wr

Re: [fluid-dev] Query regarding FluidSynth

2018-04-04 Thread Aaron Laws
On Wed, Apr 4, 2018 at 8:33 AM, Swapnil Gupta wrote: > Hey guys, > > I guess everyone id doing great. I am Swapnil and I work with a startup > named MusicMuni Labs Pvt Ltd . I have been > exploring softwares that can help me get a wav file generated using a MIDI > file and