Re: [fluid-dev] Building fluid synth on MACOS

2024-03-20 Thread Hamish Moffatt
I build it with the default generator and I have no issues, though I haven't tried the very latest versions. You can also get vcpkg to build it and the dependencies for you. Or brew (but you may have trouble reusing that build on other systems, if you need that). Hamish Sent from Nine

Re: [fluid-dev] Fluidsynth error on MacOSX 11.2.1

2021-02-14 Thread Hamish Moffatt
On 14/2/21 6:04 pm, Maker Shiva wrote: Hi, I'm seeing the following error when I try to run fluidsynth on my Macbook. Couldn't find any information via web searching. If anyone can help I'll be very grateful. Thanks, MakerC :~$ fluidsynth -i ./sounds/soundfonts/FluidR3_GM.sf2 Downloads/exam

Re: [fluid-dev] parallel loading of soundfont samples

2020-10-31 Thread Hamish Moffatt
On 30/10/20 10:57 pm, Tom M. via fluid-dev wrote: I would need to compile with Visual Studio Pls, why do you *need* to compile with that ancient Microsoft product? Couldn't you use MinGW, CygWin, Clang or ICC? To be precise I need to compile my app with MSVC, but I can compile Fluidsynth to

Re: [fluid-dev] parallel loading of soundfont samples

2020-10-29 Thread Hamish Moffatt
On 30/10/20 11:12 am, Hamish Moffatt wrote: So now I have #3 it's not really important for me to speed up the loading any further, but I posted this just for interest's sake and I'm glad it's generated some discussion, and I think other applications can benefit too. In o

Re: [fluid-dev] parallel loading of soundfont samples

2020-10-29 Thread Hamish Moffatt
On 30/10/20 5:42 am, Marcus Weseloh wrote: Hi, for anybody who wants to try the OpenMP parallel loading, I've just pushed the fix for the vorbis load to use separate file pointers to Toms branch here: https://github.com/FluidSynth/fluidsynth/tree/parallelize-sf3-loading Hamish, would be great t

[fluid-dev] can't exit shell with EOF in 2.1.5

2020-10-29 Thread Hamish Moffatt
In 2.1.1, you can exit the interactive shell with end-of-file (control-D on UNIX). In 2.1.5 (or master), this no longer works and it seems you have to type "quit". Exit on EOF is a very standard UNIX paradigm, so can this be restored? Hamish ___ f

Re: [fluid-dev] parallel loading of soundfont samples

2020-10-28 Thread Hamish Moffatt
On 29/10/20 12:50 am, Marcus Weseloh wrote: Hi, Am Mi., 28. Okt. 2020 um 13:10 Uhr schrieb Ceresa Jean-Jacques : Now we should try the suggested test to run 2 fluidsynth console applications (a1, a2) at the same time (not sequencially) and measure the total time. That's a really good idea to

Re: [fluid-dev] parallel loading of soundfont samples

2020-10-27 Thread Hamish Moffatt
On 27/10/20 8:37 pm, Marcus Weseloh wrote: Hi again, Am Di., 27. Okt. 2020 um 10:13 Uhr schrieb Hamish Moffatt : I could convert to SF2 on first load, if I had for that. Using a regular compressor like zip on the SF2 is not very effective. Have a look at this pull-request for the MuseScore

Re: [fluid-dev] parallel loading of soundfont samples

2020-10-27 Thread Hamish Moffatt
On 28/10/20 2:53 am, Ceresa Jean-Jacques wrote: Hi, >I did look through the sfloader code and I can see it's not easy to restructure it to use multiple threads. >Still, I think parallel loading of the soundfonts would be a good optimization that would benefit every application using Fluidsyn

Re: [fluid-dev] parallel loading of soundfont samples

2020-10-27 Thread Hamish Moffatt
On 27/10/20 6:27 pm, Marcus Weseloh wrote: Thinking about this some more... If I interpret your question as "What is the fastest way to load a whole Soundfont on app startup?", then my answer would be: simply load an SF2 file. Hi Marcus, thanks for considering my idea. As you guessed, I'm usin

[fluid-dev] parallel loading of soundfont samples

2020-10-26 Thread Hamish Moffatt
While we're on the topic of soundfont loading, is there any possibility of speeding it up by using multiple cores? I'm loading two soundfonts in SF3 (vorbis) format, and they take a few seconds each to load. This is now the majority of my app's startup time. Two things would help; either allo

Re: [fluid-dev] What is the recommended way to build in windows right now?

2017-09-27 Thread Hamish Moffatt
On 28/09/17 07:59, Hugo Estrada wrote: Hi, there, So I tried following the instructions for CMake, both the visual studio one and the MinGW. I can't advance that much in either one. So the current status that I have is. For visual studio -- even though I installed pck-config following the i

[fluid-dev] changing audio.period-size

2016-07-01 Thread Hamish Moffatt
Is there any harm in reducing audio.period-size on Windows? It's a lot bigger by default on Windows than Mac/Linux. Should I increase audio.periods to compensate? Background: I have my own timing loops and I'm outputting events by calling fluid_synth_noteon/noteoff() just in time (or with flu

[fluid-dev] static library build with Visual Studio

2015-11-18 Thread Hamish Moffatt
Hi, I would like to build a static library of fluidsynth using Visual Studio, including all of the GTK+ dependencies. Is this possible? Does anyone have a recipe for this? I've tried the following cmake -DBUILD_SHARED_LIBS=FALSE ..\fluidsynth msbuild fluidsynth.sln This results in a libflui