About bug #252 Note pool empty

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.

About bug #252 Note pool empty

Postby fujitets » Wed Mar 29, 2017 2:41 pm

Hi,

I'm facing the same bug now.
I gave it some try, and finally found what leads the 'empty pool', and it's workround (at least on my case).

I'm using multiple sfz file on same channel.
(It means, LOAD INSTRUMENT * N times to same channel)

And these sfz files have adjacent note number as shown below.
--
sfz#1 : includes key=36
sfz#2 : includes key=37, key=38
sfz#3 : includes key=42

dmesg output of fillMapArr() is shown blow.
0 36 37 128
0 37 38 39 128
0 42 43 128
--

This setting always generate 'empty pool', and number of the dmsg output 'Engine: Note on received' (and 'off') is much greater than MIDI file's Note on/off events number.


When I spell-missed wav file's path (so, resulting specify NON-EXISTENT FILE) in the sfz file, LS does not report error, and continue processing.
If I play .mid file on this state, Note is only allocated more and more, but not freed.
So, I doubt that the cause of this bug is something like 'to play non-existent sound, and wait forever'.
(On the above case, note #37 maybe try to play sfz#1's instrumental (which only defines note #36))

Workround #1 : do not use separate sfz files on same channel.
Workround #2 : use separate sfz file on *each* channel.

Both workround fix the bug on above case.
I hope this workround works for original bug reporter...
fujitets
Newbie
 
Posts: 1
Joined: Wed Mar 29, 2017 2:26 pm

Re: About bug #252 Note pool empty

Postby plusminus » Fri Jun 23, 2017 4:14 am

Correction,This bug only affects the Sfz engine. My workaround was to roll back back to svn-2789.
Drawback is no database support on debian stretch and ubuntu 16.04.
Last edited by plusminus on Sun Jul 02, 2017 7:38 pm, edited 1 time in total.
plusminus
Newbie
 
Posts: 22
Joined: Tue Jun 21, 2016 3:32 am

Re: About bug #252 Note pool empty

Postby plusminus » Fri Jun 23, 2017 4:15 pm

Just for kicks i compiled from svn-3290.
Using qtractor,
Load linuxsampler (plugin only, no instrument or GUI) on a midi track.
Using jack keyboard, running the mouse across and back on the keys i get:

Engine: Could not launch new note; Note pool empty!
plusminus
Newbie
 
Posts: 22
Joined: Tue Jun 21, 2016 3:32 am

Re: About bug #252 Note pool empty

Postby plusminus » Mon Jun 26, 2017 11:05 pm

Earlier today i compiled from svn-3292.
Load a Linuxsampler plugin on a midi track in qtractor.
Startup qsampler or jsampler and add 3 more sampler channels with midi channel 1.
Using Sonatina Symphonic Orchestra library, assign (any) instruments to all sampler channels.
A few seconds of playing:

Engine: Could not launch new note; Note pool empty!

This will also happen with just 1 sampler channel , but will quickly show itself with more sampler channels.
This behavior is present on ubuntu 16.04 and debian stretch.
Can anyone other than fujitets confirm this?
plusminus
Newbie
 
Posts: 22
Joined: Tue Jun 21, 2016 3:32 am

Re: About bug #252 Note pool empty

Postby cuse » Tue Jul 11, 2017 12:17 pm

Nicola sent me a simple sfz and MIDI file which allowed me to reproduce this bug. I am currently investigating what the problem is.
User avatar
cuse
Developer
 
Posts: 291
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: About bug #252 Note pool empty

Postby cuse » Tue Jul 11, 2017 5:07 pm

Just committed a fix. It should now behave correctly. See bug #252 for details.

If anybody is still encountering an issue with this one, then just let me know.
User avatar
cuse
Developer
 
Posts: 291
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: About bug #252 Note pool empty

Postby plusminus » Thu Jul 13, 2017 11:21 pm

off to compile.... :arrow:
will report soon :mrgreen:
plusminus
Newbie
 
Posts: 22
Joined: Tue Jun 21, 2016 3:32 am

Re: About bug #252 Note pool empty

Postby plusminus » Fri Jul 14, 2017 1:19 am

So far so good. I've been stressing linuxsampler the last few hours without a hiccup.
I commend you on your hard work and dedication. :)
I also stumbled upon another bug..... :mrgreen:
plusminus
Newbie
 
Posts: 22
Joined: Tue Jun 21, 2016 3:32 am

Re: About bug #252 Note pool empty

Postby Ohern » Tue Aug 15, 2017 8:41 am

plusminus wrote:So far so good. I've been stressing linuxsampler the last few hours without a hiccup.
I commend you on your hard work and dedication. :)
I also stumbled upon another bug..... :mrgreen:


What other bug did you find?
Ohern
Newbie
 
Posts: 1
Joined: Tue Aug 08, 2017 2:28 pm

Re: About bug #252 Note pool empty

Postby plusminus » Mon Aug 21, 2017 2:03 am

look for "Gigedit bug:DimRgn change event debounce" in Newbies & Support.
or
viewtopic.php?f=6&t=3369
plusminus
Newbie
 
Posts: 22
Joined: Tue Jun 21, 2016 3:32 am


Return to Newbies & Support

Who is online

Users browsing this forum: No registered users and 6 guests

cron