[fluid-dev] Parallelize rendering using openMP

2018-04-11 Thread Tom M.
I would like to rework fluidsynths parallel audio rendering. The current implementation is not very efficient, the synchronization overhead seems to dominate. At least for me, most of the time only one core is fully active. I would like to get rid of that manual thread handling in rvoice_mixer a

Re: [fluid-dev] Override envelope release time?

2018-04-11 Thread Aere Greenway
On 04/11/2018 04:07 AM, Mark Raynsford wrote: Hello! I'm using the standard FluidR3_GM.sf2 soundfont. I'm curious: Is it possible to override the ADSR envelope R time without editing the soundfont? I'd like to set the R time to 0 globally so that notes immediately cut of when their respective n

Re: [fluid-dev] Override envelope release time?

2018-04-11 Thread Tom M.
> Is that "if you specify 0 in a soundfont, fluidsynth will translate > that to a 16ms release" or is that "fluidsynth is not capable of > producing less than a 16ms release"? Need to correct my previous statement: The minimum release time is defined as 1 ms by the SF2 spec (sect. 8.1.3). Howeve

Re: [fluid-dev] Override envelope release time?

2018-04-11 Thread Mark Raynsford
On 2018-04-11T14:50:40 +0200 "Tom M." wrote: > > I'd like to set the R time to 0 globally so that notes immediately cut > > of when their respective note-off event is received. > > The SF2 spec requires a minimum release time of around 16 ms. That's how > "immediate" you can get. Is that "if

Re: [fluid-dev] Override envelope release time?

2018-04-11 Thread Tom M.
> I'd like to set the R time to 0 globally so that notes immediately cut > of when their respective note-off event is received. The SF2 spec requires a minimum release time of around 16 ms. That's how "immediate" you can get. > Is it possible? Well... yes it should be, but in fact it is not. W

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

[fluid-dev] Override envelope release time?

2018-04-11 Thread Mark Raynsford
Hello! I'm using the standard FluidR3_GM.sf2 soundfont. I'm curious: Is it possible to override the ADSR envelope R time without editing the soundfont? I'd like to set the R time to 0 globally so that notes immediately cut of when their respective note-off event is received. -- Mark Raynsford |

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