Hi again,

> > Ok, so the bug existed already before the last tarball release.
> > 
> > > "I'll be back" when I have news :-).
> > 
> > I probably have some suspicion. Which audio driver are you using? JACK? 
> > ALSA? 
> > CoreAudio?
> 
> I have conducted all tests so far with the JACK driver; I tested just now with
> the ALSA audio driver, but the problem is the same.
> 
> I'll next see if an older laptop I have here (running a 32bit LinuxMint
> distribution) also shows the issue - maybe I have a 64bit problem.

That test again showed no difference from the behaviour on a 64-Bit LinuxMint
system (my regular desktop PC).

However - finally *some* good news for the weekend :-). When I disable the
whole CONFIG_INTERPOLATE_VOLUME block in AbstractVoice.cpp (I simply replaced
line 231,

#ifdef CONFIG_INTERPOLATE_VOLUME

with 

#if 0
)

THEN, the issue is gone and the kick sound comes through correctly each time
(listened for some 2 minutes now).

Furthermore, if I reduce the "if(pSignalUnitRack...)" code in there a little,
the issue also remains gone:

242c242,244
<                 finalVolume = pEngineChannel->MidiVolume * crossfadeVolume * 
pEG1->getLevel();
---
>                 finalVolume = pEngineChannel->MidiVolume * crossfadeVolume ;
> //                finalVolume = pEngineChannel->MidiVolume * crossfadeVolume 
> * pEG1->getLevel();
> 
244c246,248
<                 finalVolume = pEngineChannel->MidiVolume * crossfadeVolume * 
pSignalUnitRack->GetEndpointUnit()->GetVolume();
---
>                 finalVolume = pEngineChannel->MidiVolume * crossfadeVolume ;
> //                finalVolume = pEngineChannel->MidiVolume * crossfadeVolume 
> * pSignalUnitRack->GetEndpointUnit()->GetVolume();
> 

So then, it's somewhere in the pEG1 or pSignalUnitRack handling. A small step 
ahead :-).

Greetings,
Frank

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to