Sometimes notes don't play when playing live

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.
alvin_a_garcia
Newbie
Posts: 12
Joined: Mon Mar 17, 2008 5:40 am

Sometimes notes don't play when playing live

Post by alvin_a_garcia » Mon Mar 17, 2008 5:54 am

Hello,

I noticed some strange behavior today while playing the GigaPianoII sample that ships with GIgaStudio3 Ensemble. I noticed that sometimes when I play a key on my keyboard controller (Roland A70), I do not hear a corresponding sound come from LinuxSampler. This happens intermittently, and if I strike the same key again, I usually will hear the corresponding note play. I've observed this using both ALSA MIDI and JACK MIDI. I've also confirmed that I don't get this kind of behavior when playing a different sample, such as the "masetro concert grand" sample available from this site. Interestingly, I didn't observe this behavior until playing the bass line in the introduction to "Linus and Lucy" by the Vince Guaraldi Trio (simplified version, in C major). When playing this bass line, which consists of alternating between 2 repititions each of an arpeggiated 3-note chord in the left hand, often times one of the notes in the arpeggiated chord will not sound in the second arpeggio of the chord, even though it sounded just a second before when I played the first arpeggio.

I first observed this using the latest release versions of libgig, liblscp and linuxsampler. I also was able to reproduce this behavior using the latest CVS versions of these packages.

Any suggestions would be greatly appreciated. Thanks.

User avatar
cuse
Developer
Posts: 366
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: Sometimes notes don't play when playing live

Post by cuse » Mon Mar 17, 2008 11:38 am

First I would suggest to check whether the respective note on actually arrives. Latest CVS version of liblscp & QSampler supports a green MIDI indicator LED for each channel strip which will flash up on note on / note off events.

If the note on really arrives, you may want to investigate the gig instrument with gigedit. If there's really a bug in LS regarding the playback accuracy to the gig format, then you could modify the respective part of the instrument with gigedit to find out what the problem exactly is. Just don't forget to backup your gig file before doing so. ;)

alvin_a_garcia
Newbie
Posts: 12
Joined: Mon Mar 17, 2008 5:40 am

Re: Sometimes notes don't play when playing live

Post by alvin_a_garcia » Mon Mar 17, 2008 11:56 pm

cuse wrote:First I would suggest to check whether the respective note on actually arrives. Latest CVS version of liblscp & QSampler supports a green MIDI indicator LED for each channel strip which will flash up on note on / note off events.
Hello,
Thanks for the suggestion. I just built qsampler from CVS and I built liblscp from CVS yesterday. I see the green MIDI indicator LED, but it doesn't light up at all, even when I know it's receiving MIDI data since I can hear the output of linuxsampler. Is there some option I need to enable this LED monitor?

Thanks!

User avatar
cuse
Developer
Posts: 366
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: Sometimes notes don't play when playing live

Post by cuse » Tue Mar 18, 2008 9:34 pm

Not really. If you see the following in qsamplers configure output:

LSCP channel MIDI event support . . . . . . . . .: yes
LSCP device MIDI event support . . . . . . . . . .: yes

it should be fine. Maybe you don't use latest linuxsampler CVS version? What version does LS print out on the console?

alvin_a_garcia
Newbie
Posts: 12
Joined: Mon Mar 17, 2008 5:40 am

Re: Sometimes notes don't play when playing live

Post by alvin_a_garcia » Tue Mar 18, 2008 11:23 pm

cuse wrote:Not really. If you see the following in qsamplers configure output:

LSCP channel MIDI event support . . . . . . . . .: yes
LSCP device MIDI event support . . . . . . . . . .: yes

it should be fine. Maybe you don't use latest linuxsampler CVS version? What version does LS print out on the console?
Thanks for your response. It turns out that QSampler was linking to a different libscp library than the one I had built from CVS; I had set LD_LIBRARY_PATH appropriately for QSampler's invocation of linuxsampler, but had failed to set LD_LIBRARY_PATH for QSampler's environment.

Anyway, I've verified visually with the green LED that the note-on's/note-off's are being received by QS even at the times when I hear no output corresponding to my key strikes.

Are there any settings in particular you would suggest examining in Gigedit? I can't think of a setting which would result in seemingly inconsistent, yet readily reproducible, behavior. I can now regularly reproduce the behavior with a simpler test case: Playing 16th notes on the lowest C on my 76-key controller (not sure what MIDI note number that corresponds to) will result in one out of every several key strikes not producing any sound, even though I see the MIDI note-on/note-off being received by QS.

Thanks again very much for any suggestions.

An additional piece of information: I've noticed that for the times when I strike the key and don't hear a sample triggered in response to the note-on, I do hear an (action noise) sample triggered in response to the note-off.

User avatar
cuse
Developer
Posts: 366
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: Sometimes notes don't play when playing live

Post by cuse » Wed Mar 26, 2008 1:50 pm

I can't tell you much about why it doesn't alway play it, since I don't know how the instrument exactly looks like. It heavily depends on what kind of dimensions are defined for that particular key / "region", how those dimensions are splitted and the setting for each one of those resulting "cases".

alvin_a_garcia
Newbie
Posts: 12
Joined: Mon Mar 17, 2008 5:40 am

Re: Sometimes notes don't play when playing live

Post by alvin_a_garcia » Sun Apr 06, 2008 6:41 am

Thanks for your reply. I examined the Gig in question (Tascam's GigiaPiano2) under Gigedit, and also with Gigdump, and found nothing that I think would explain the behavior I'm observing. There was no random dimension that might explain the seemingly non-deterministic behavior I've been observing. The region in question seems to exhibit this behavior only for one of the velocity dimension regions. However, this region and dimension region do not appear remarkable compared with the other regions and velocity dimensions

I rebuilt linuxsampler using a high debug level, and have captured a log file, pasted below. Of the 7 note-on events, the 5th and 7th note-on's resulted in no sample being played, or at least, no audible sample being played, although I believe that the (piano action/hammer noise) samples were played for the corresponding note-off's. I was driving linuxsampler with a virtual keyboard that was generating the note-ons with the same key number and velocity every time.

Is there any other information I can provide that would help debug this?

Thank you!

Code: Select all

LinuxSampler 0.5.1.4cvs
Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck
Copyright (C) 2005-2007 Christian Schoenebeck
Detected features: MMX SSE SSE2
Creating Sampler...OK
Registered sampler engines: 'GIG'
Registered MIDI input drivers: ALSA,JACK
Registered audio output drivers: ALSA,ARTS,JACK
Loading instrument editor plugins...OK
Registered instrument editors: 'gigedit'
Starting LSCP network server (0.0.0.0:8888)...OK
LinuxSampler initialization completed. :-)

LSCPServer: Client connection established on socket:4.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# Qsampler - A LinuxSampler Qt GUI Interface
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# Version: 0.1.2
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# Build: Apr 11 2006 22:26:25
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [#
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# File: GigaPiano-II.lscp
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# Date: Apr 30 2006 16:51:30
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [#
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [RESET
]
LSCPServer: ResetSampler()
Unloading instrument editor plugins...OK
LSCPServer::AnswerClient(ReturnMessage=OK
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# Audio JACK Device 0
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [CREATE AUDIO_OUTPUT_DEVICE JACK ACTIVE='true' CHANNELS='2' NAME='LinuxSampler'
]
LSCPServer: CreateAudioOutputDevice(Driver=JACK)
JACK tmpdir identified as [/dev/shm]
SSE2 detected
conditionserver:Push() requesting change to 1
conditionserver:Pop() change requested
conditionserver:Pop() condition now: 1
LSCPServer::AnswerClient(ReturnMessage=OK[0]
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 IS_MIX_CHANNEL='false'
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 JACK_BINDINGS=''
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 IS_MIX_CHANNEL='false'
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 JACK_BINDINGS=''
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# MIDI ALSA Device 0
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [CREATE MIDI_INPUT_DEVICE ALSA ACTIVE='true' PORTS='1'
]
LSCPServer: CreateMidiInputDevice(Driver=ALSA)
LSCPServer::AnswerClient(ReturnMessage=OK[0]
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS=''
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_ID='129:0'
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [# Channel 0
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [ADD CHANNEL
]
LSCPServer: AddChannel()
LSCPServer::AnswerClient(ReturnMessage=OK[0]
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [SET CHANNEL AUDIO_OUTPUT_DEVICE 0 0
]
LSCPServer: SetAudiotOutputDevice(AudioDeviceId=0, SamplerChannel=0)
LSCPServer::AnswerClient(ReturnMessage=OK
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [SET CHANNEL MIDI_INPUT_DEVICE 0 0
]
LSCPServer: SetMIDIInputDevice(MIDIDeviceId=0, SamplerChannel=0)
LSCPServer::AnswerClient(ReturnMessage=OK
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [SET CHANNEL MIDI_INPUT_PORT 0 0
]
LSCPServer: SetMIDIInputPort(MIDIPort=0, SamplerChannel=0)
LSCPServer::AnswerClient(ReturnMessage=OK
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [SET CHANNEL MIDI_INPUT_CHANNEL 0 0
]
LSCPServer: SetMIDIInputChannel(MIDIChannel=0, SamplerChannel=0)
LSCPServer::AnswerClient(ReturnMessage=OK
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [LOAD ENGINE GigEngine 0
]
LSCPServer: SetEngineType(EngineName=GigEngine,uiSamplerChannel=0)
SamplerChannel: Assigning engine type...Creating new gig::Engine.
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddStarting disk thread...Disk thread running
OK
This gig::Engine has now 1 EngineChannels.
Disk thread running
OK
LSCPServer::AnswerClient(ReturnMessage=OK
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [LOAD INSTRUMENT NON_MODAL '/media/windows_c/Tascam/Gigs/GigaPiano-II.gig' 0 0
]
LSCPServer: LoadInstrument(Filename=/media/windows_c/Tascam/Gigs/GigaPiano-II.gig,Instrument=0,SamplerChannel=0)
Scheduling '/media/windows_c/Tascam/Gigs/GigaPiano-II.gig' (Index=0) to be loaded in background (if not loaded yet).
Loading gig file '/media/windows_c/Tascam/Gigs/GigaPiano-II.gig'...Engine: instrument change command received
OK
Loading gig instrument ('/media/windows_c/Tascam/Gigs/GigaPiano-II.gig',0)...LSCPServer::AnswerClient(ReturnMessage=OK
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [SET CHANNEL VOLUME 0 1
]
LSCPServer: SetVolume(Volume=1.000000, SamplerChannel=0)
LSCPServer::AnswerClient(ReturnMessage=OK
)LSCPServer: Done parsing on socket -1.
LSCPServer: Got command on socket -1, calling parser.
LSCPServer: [
]
LSCPServer: Done parsing on socket -1.
LSCPServer: Client connection terminated on socket:4.
OK
Caching initial samples...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCOK
Engine: instrument change command received
Engine: Note on received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 1867558, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=-1.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:1,StreamHandle:1)
Engine: Note off received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 40000, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
Disk Thread: stream deletion ordered
Refilled stream 1 with 32768 (SamplePos: 63488)new Stream launched by disk thread (OrderID:2,StreamHandle:2)
Refilled stream 2 with 9280 (SamplePos: 40000)Disk Thread: stream deletion ordered
Key has no more voices now
Engine: Note on received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 1867558, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:3,StreamHandle:3)
Refilled stream 3 with 32768 (SamplePos: 63488)Refilled stream 3 with 32768 (SamplePos: 96256)Refilled stream 3 with 32768 (SamplePos: 129024)Refilled stream 3 with 32768 (SamplePos: 161792)Refilled stream 3 with 32768 (SamplePos: 194560)Refilled stream 3 with 10922 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Engine: Note off received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 40000, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:4,StreamHandle:4)
Refilled stream 4 with 9280 (SamplePos: 40000)Refilled stream 3 with 0 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Refilled stream 3 with 0 (SamplePos: 205482)Disk Thread: stream deletion ordered
Disk Thread: stream deletion ordered
Key has no more voices now
Engine: Note on received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 1867558, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:5,StreamHandle:5)
Refilled stream 5 with 32768 (SamplePos: 63488)Refilled stream 5 with 32768 (SamplePos: 96256)Refilled stream 5 with 32768 (SamplePos: 129024)Refilled stream 5 with 32768 (SamplePos: 161792)Refilled stream 5 with 32768 (SamplePos: 194560)Refilled stream 5 with 10922 (SamplePos: 205482)Refilled stream 5 with 0 (SamplePos: 205482)Refilled stream 5 with 0 (SamplePos: 205482)Refilled stream 5 with 0 (SamplePos: 205482)Refilled stream 5 with 0 (SamplePos: 205482)Engine: Note off received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 40000, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:6,StreamHandle:6)
Refilled stream 6 with 9280 (SamplePos: 40000)Refilled stream 5 with 0 (SamplePos: 205482)Refilled stream 5 with 0 (SamplePos: 205482)Refilled stream 5 with 0 (SamplePos: 205482)Refilled stream 5 with 0 (SamplePos: 205482)Refilled stream 5 with 0 (SamplePos: 205482)Refilled stream 5 with 0 (SamplePos: 205482)Disk Thread: stream deletion ordered
Engine: Note on received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 1867558, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
Voice: switching to disk playback (Pos=30885.000000)
Disk Thread: been asked if stream already created, OrderID=6 (yes created)
new Stream launched by disk thread (OrderID:7,StreamHandle:7)
Refilled stream 7 with 32768 (SamplePos: 63488)Refilled stream 7 with 32768 (SamplePos: 96256)Refilled stream 7 with 32768 (SamplePos: 129024)Refilled stream 7 with 32768 (SamplePos: 161792)Refilled stream 7 with 32768 (SamplePos: 194560)Refilled stream 7 with 10922 (SamplePos: 205482)Refilled stream 7 with 0 (SamplePos: 205482)Refilled stream 7 with 0 (SamplePos: 205482)Refilled stream 7 with 0 (SamplePos: 205482)Refilled stream 7 with 0 (SamplePos: 205482)Engine: Note off received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 40000, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:8,StreamHandle:8)
Refilled stream 8 with 9280 (SamplePos: 40000)Refilled stream 7 with 0 (SamplePos: 205482)Refilled stream 7 with 0 (SamplePos: 205482)Refilled stream 7 with 0 (SamplePos: 205482)Refilled stream 7 with 0 (SamplePos: 205482)Disk Thread: stream deletion ordered
Refilled stream 7 with 0 (SamplePos: 205482)Refilled stream 7 with 0 (SamplePos: 205482)Disk Thread: stream deletion ordered
Engine: Note on received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 1867558, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:9,StreamHandle:9)
Refilled stream 9 with 32768 (SamplePos: 63488)Refilled stream 9 with 32768 (SamplePos: 96256)Refilled stream 9 with 32768 (SamplePos: 129024)Refilled stream 9 with 32768 (SamplePos: 161792)Refilled stream 9 with 32768 (SamplePos: 194560)Refilled stream 9 with 10922 (SamplePos: 205482)Refilled stream 9 with 0 (SamplePos: 205482)Refilled stream 9 with 0 (SamplePos: 205482)Refilled stream 9 with 0 (SamplePos: 205482)Refilled stream 9 with 0 (SamplePos: 205482)Refilled stream 9 with 0 (SamplePos: 205482)Engine: Note off received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 40000, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
Disk Thread: stream deletion ordered
new Stream launched by disk thread (OrderID:10,StreamHandle:10)
Refilled stream 10 with 9280 (SamplePos: 40000)Voice: switching to disk playback (Pos=30738.000000)
Disk Thread: been asked if stream already created, OrderID=8 (yes created)
Disk Thread: stream deletion ordered
Disk Thread: stream deletion ordered
Key has no more voices now
Engine: Note on received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 1867558, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:11,StreamHandle:11)
Refilled stream 11 with 32768 (SamplePos: 63488)Refilled stream 11 with 32768 (SamplePos: 96256)Refilled stream 11 with 32768 (SamplePos: 129024)Refilled stream 11 with 32768 (SamplePos: 161792)Refilled stream 11 with 32768 (SamplePos: 194560)Refilled stream 11 with 10922 (SamplePos: 205482)Refilled stream 11 with 0 (SamplePos: 205482)Refilled stream 11 with 0 (SamplePos: 205482)Refilled stream 11 with 0 (SamplePos: 205482)Refilled stream 11 with 0 (SamplePos: 205482)Engine: Note off received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 40000, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:12,StreamHandle:12)
Refilled stream 12 with 9280 (SamplePos: 40000)Refilled stream 11 with 0 (SamplePos: 205482)Refilled stream 11 with 0 (SamplePos: 205482)Refilled stream 11 with 0 (SamplePos: 205482)Refilled stream 11 with 0 (SamplePos: 205482)Refilled stream 11 with 0 (SamplePos: 205482)Refilled stream 11 with 0 (SamplePos: 205482)Disk Thread: stream deletion ordered
Engine: Note on received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 1867558, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
new Stream launched by disk thread (OrderID:13,StreamHandle:13)
Refilled stream 13 with 32768 (SamplePos: 63488)Refilled stream 13 with 32768 (SamplePos: 96256)Refilled stream 13 with 32768 (SamplePos: 129024)Refilled stream 13 with 32768 (SamplePos: 161792)Refilled stream 13 with 32768 (SamplePos: 194560)Refilled stream 13 with 10922 (SamplePos: 205482)Refilled stream 13 with 0 (SamplePos: 205482)Refilled stream 13 with 0 (SamplePos: 205482)Refilled stream 13 with 0 (SamplePos: 205482)Refilled stream 13 with 0 (SamplePos: 205482)Refilled stream 13 with 0 (SamplePos: 205482)Engine: Note off received
Disk Thread: new stream ordered
Disk voice launched (cached samples: 32768, total Samples: 40000, MaxRAMPos: 30720, RAMLooping: no)
Depth=0, DecayTime=-0.000000
PortamentoPos=36.000000, depth=1.000000, time=0.000000
Disk Thread: stream deletion ordered
new Stream launched by disk thread (OrderID:14,StreamHandle:14)
Refilled stream 14 with 9280 (SamplePos: 40000)Voice: switching to disk playback (Pos=30756.000000)
Disk Thread: been asked if stream already created, OrderID=c (yes created)
Disk Thread: stream deletion ordered
Voice: switching to disk playback (Pos=30781.000000)
Disk Thread: been asked if stream already created, OrderID=e (yes created)
Disk Thread: stream deletion ordered
Key has no more voices now

User avatar
cuse
Developer
Posts: 366
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: Sometimes notes don't play when playing live

Post by cuse » Mon Apr 14, 2008 8:03 am

Hmm, that's strange. I'm pretty much sure Andreas should have that instrument and if he finds some problem he usually fixes it my himself or at least tells me about it. I will ask him.

Could it be that you ran out of voices / streams when that happens? If yes, it could be a bug in the voice stealing algorithm. You can also try to use another voice stealing algorithm, by using the appropriate configure parameter of LS's configure script (see ./configure --help).

Anyway, as I don't have that file, can you probably assemble a small (/copyright non-infringing) .gig instrument which reproduces the problem?

alvin_a_garcia
Newbie
Posts: 12
Joined: Mon Mar 17, 2008 5:40 am

Re: Sometimes notes don't play when playing live

Post by alvin_a_garcia » Tue Apr 15, 2008 11:16 pm

cuse wrote:Hmm, that's strange. I'm pretty much sure Andreas should have that instrument and if he finds some problem he usually fixes it my himself or at least tells me about it. I will ask him.

Could it be that you ran out of voices / streams when that happens? If yes, it could be a bug in the voice stealing algorithm. You can also try to use another voice stealing algorithm, by using the appropriate configure parameter of LS's configure script (see ./configure --help).

Anyway, as I don't have that file, can you probably assemble a small (/copyright non-infringing) .gig instrument which reproduces the problem?
Hello,
Thank you for the suggestions. I don't think it is a running-out-voices problem, as I can reproduce this by simply repeatedly playing C2 and no other notes, or controllers (e.g. sustain pedal). Nevertheless, I tried rebuilding linuxsample using "--enable-voice-steal-algo=none", but still observed the same strange behavior.

I will attempt to use gigedit to pare down the GigaPiano2 .gig instrument to just the offending region. If I succeed in reproducing the issue with such a minimal .gig instrument, I will post it here.

By the way, I wanted to know if you were able to ask Andreas whether or not he observes the same behavior in his setup.

Thank you very much again!

alvin_a_garcia
Newbie
Posts: 12
Joined: Mon Mar 17, 2008 5:40 am

Re: Sometimes notes don't play when playing live

Post by alvin_a_garcia » Thu Apr 17, 2008 4:08 am

cuse wrote: Anyway, as I don't have that file, can you probably assemble a small (/copyright non-infringing) .gig instrument which reproduces the problem?
Hello,
I sent you a PM regarding this.

Thank you.

Post Reply