I forgot to mention that:
- I successfully load the .lscp if I open it with QSampler and Fantasia.
- I also successfully load the .lscp with netcat if I set netcat -i 1
(-i 1 means that netcat waits 1 second between each line of text, but
unfortunately you can't tell netcat to wait less than 1 second, so it
will take too much time to finish).
Il 13/04/2014 04:02, Nicola Pandini ha scritto:
> Hi,
> I have problems with netcat of a big lscp file (~250 lines).
> Sometimes happens that the loading stops before the end. It seems that
> netcat is too fast.
> So I wrote this bash script that introduces some latency between every
> line that is sent to LS:
>
> #!/bin/sh
> while read line
> do
> if [ "$( echo "${line}" | head -c 1)" != "#" ]
> then
> echo "${line}" | netcat -q 0.01 localhost 8888 &
> sleep 0.1
> fi
> done < $1
>
>
--
Nicola
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Linuxsampler-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel