[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] SoundFont Memory Sharing between fluidsynth instances
From: |
Dave Serls |
Subject: |
Re: [fluid-dev] SoundFont Memory Sharing between fluidsynth instances |
Date: |
Fri, 8 Aug 2008 08:19:15 -0600 |
On Fri, 8 Aug 2008 15:58:58 +0200
Lutz Morelater <address@hidden> wrote:
> Hi,
>
> I am planning to run several (at least three) instances of fluidsynth
> (without
> qsynth) at the same time.
>
> Do these share memory space so that I can save memory space when loading
> large
> soundfont files?
>
> So, let's say, when I load "Mymusic.SF2" into instance #1 of fluidsynth,
> would
> instance #2 and #3 use the very same memory area of this soundfont, if I want
> to use the same sounds as in #1 in #2 and #3? So that all three instances
> would use the same soundfont in memory?
>
No.
If you use qsynth, built for soundfont sharing, the memory will be shared.
That's because the executable fluidsynth has no way of locating other
fluidsynth processes (it's basically a front end for the fluidsynth API).
Always wanted to patch the front-end (fluidsynth.c) to support this,
--
************************************************************************
* Dave Serls Littleton, CO, USA *
* dashs.denver.co.us dashs.com *
************************************************************************