On Wednesday 30 December 2009 06:00:42 Kevin Utter wrote:
> Hi all.  I haven't been able to Create a login on the BBS, so I hope I
> can ask these questions here.  If this is a problem, please advise, and
> I'll mend my ways!  :-)  Also, my questions require a bit more
> explanation than normal, so I opologize in advance for the wordyness.

Sorry about that, we know that the registration on our BBS is problematic for 
visually impaired users. To prevent spam we need to avoid bots being able to 
register to the BBS. The standard builtin technique in the forum is to use a 
captcha image and the user has to enter the code from the image. But that 
wasn't actually enough to kill the spam bots (IIRC we had about 10 successful 
bot registrations per day), so we added a project specific question to the 
registration process as well which really killed them finally. Maybe our 
project specific question is enough... I will try to deactivate the captcha 
mechanism and then we'll see.

> I've gotten to the point of no errors when running or configuring the
> sampler in Windows XP, but still can't get any sound.  The diagnosis
> situation is complicated by the fact that I can't see, and need to use a
> screen reader for the PC screen.  The screen reader "JAWS" reads some of
> the JSampler Fantasia screen, but I don't know if the various status
> info, e.g., MIDI in and audio out indicators are invisible to me, or
> there is no activity.

There are no MIDI activity indicators in Fantasia yet, only in QSampler. I 
have no idea though if those virtual MIDI indicator LEDs in QSampler would be 
visible to you.

> I managed to use Telnet to comunicate directly with the back end, and
> this way was able to see what devices it really recognized, and make a
> basic setup, but still didn't get sound.  I studied the LSCP format, and
> was able to determine that there were no errors in the loading.  Audio,
> MIDI, Channel, and Sample Library statuses seemed OK.  I tried to enable
> the LSCP Subscribe commands for MIDI activity, but they give syntax
> errors.  I was able to subscribe to the instrument stream and disk
> streams, and those stayed constant without any changes.  I doubt that I
> can manipulate on-screen keys in JSampler, but I also attempted to use
> the SEND LSCP command to manually play a note, but that also generates a
> syntax error.
> 
> My questions are:
> 1. I'm wondering first if there is a miss-match of the LSCP and the Back
> End I'm running, and perhaps the JSampler as well.  (Backend seems to be
> 1.0.0, JSampler 0.9, and LSCP 1.4)

You're using the latest Windows installer version of LinuxSampler and Co., 
there is no mismatch between frontends and backends there. And yes, the 
complliant LSCP version is 1.4.

> 2. If, in fact, the back end is not receiving MIDI, even though I know
> my interface is working, where do I look next.

Depends on how you want to use LinuxSampler. Standalone with ASIO and MME for 
audio output and MIDI input or as VST host plugin? If you already use VST 
capable sequencer application, then maybe the VST plugin approach is the 
easiest one. Because especially the ASIO setup can be a bit complicated.

Have you read the Windows HOWTO already BTW?
http://www.linuxsampler.org/windows.html

> 3. Is the syntax error from the line below that JSampler is sending
> signifficant, especially since it supplied no data?
> c "SET MIDI_INPUT_PORT_PARAMETER 0 0 PORT=''"
> s "ERR:0:syntax error, unexpected ''' (line:11,column:41)"

Yes, this is indeed significant. "PORT" is a MME driver specific parameter, it 
is responsible to select one of the available MME MIDI ports on your system 
for LinuxSampler to use. Fantasia passed an empty string it seems. The 
question is why.  You could check which MME ports LinuxSampler detects on your 
system by sending the following LSCP command after the MME device was created:

GET MIDI_INPUT_PORT_PARAMETER INFO 0 0 PORT

That should return you general descriptions about the parameter "PORT", but 
also the available values you can pass, that is a list of the MME ports on 
your system.

> 4. should I be able to supply a port number there?  When I try either a
> 0 or 1 (if there is only one port, would it be 0 or 1?) I get an error
> "Connection to port failed."

This is not a port number, its a character string, the official MME port name 
of 
the MIDI port you want to use as told by the MME system.

Another tip for debugging such issues: you already discovered that the session 
files you can save with the frontends are actually normal LSCP scripts which 
you can also send directly by yourself to the running backend. E.g. either 
with telnet or netcat or various other network tools. The sampler will answer 
with an error message to your commands, in case there are any issues with the 
LSCP script, but its hard to see which command the sampler is complaining 
about. You can handle this easily though: simply add the following line to the 
very beginning of your LSCP script:

SET ECHO 1

This will instruct the sampler backend to echo back all commands you send to 
it immediately. So the sampler answers with the command you sent, followed by 
its actual answer to your command (e.g. a success or error message), followed 
by the next command you sent, and so on...

Hope this brings you a bit forward. Keep fighting! :)

CU
Christian

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to