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.
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