Vangelis: Linuxsampler in chain overlays new and old preset sound when loading new snapshot

Hi @jofemodo and @riban

Here is a weird bug that I was not sure about for quite some time. I now have (simple) steps to reproduce. Maybe it is known so I’m not opening a bug on issue tracker once again.

Issue: When loading a new snapshot, chains containing linuxsampler in current and new loaded snapshot will produce both preset sounds from current and new snapshot

Steps to reproduce:

From scratch create an Instrument chain with linuxsampler. Select Drums preset

Save new snapshot (e.g. test1)

Change preset for this linuxsampler instance to Piano

Save new snapshot (e.g. test2)

Load snapshot test1

Play linuxsampler chain.

Expected: hear drums

Actual: hear drums AND piano overlaid. Edit: Maybe I should add that both samples I tested are stereo samples.

Comments:

  • Despite two sounds only one process found with name linuxsampler in ps -ef
  • When removing the chain before loading the new snapshot, no overlay happens

Best and keep up the amazing work you guys do!