Re: [Linuxsampler-devel] ways to load a lscp file (script for NSM)

2012-04-10 Thread Luis Garrido
On 04/11/2012 12:25 AM, rosea.grammostola wrote: > Did you also build the nsm-proxy (branch) and added the script via > client nsm-proxy? Nope, just fired up nsmd and non-session-manager, created a session, added the script via the GUI and started and closed the session several times to check i

Re: [Linuxsampler-devel] ways to load a lscp file (script for NSM)

2012-04-10 Thread rosea.grammostola
On 04/11/2012 12:06 AM, Luis Garrido wrote: > On 04/10/2012 10:40 PM, rosea.grammostola wrote: > >> Thanks, but the lscp file should be loaded as argument in the proxy app >> in NSM. So in my previous script I have $1, which should allow me to add >> the lscp file as argument in the proxy app in NS

Re: [Linuxsampler-devel] ways to load a lscp file (script for NSM)

2012-04-10 Thread Luis Garrido
On 04/10/2012 10:40 PM, rosea.grammostola wrote: > Thanks, but the lscp file should be loaded as argument in the proxy app > in NSM. So in my previous script I have $1, which should allow me to add > the lscp file as argument in the proxy app in NSM. Sure, it was just an example for the process m

Re: [Linuxsampler-devel] ways to load a lscp file (script for NSM)

2012-04-10 Thread rosea.grammostola
On 04/10/2012 10:18 PM, Luis Garrido wrote: > Maybe something like this will work, since apparently nsmd sends SIGTERM > to the applications involved in the session when the 'quit' command is > activated: > > #!/bin/bash > > linuxsampler & > LSPID=$! > sleep 4 > nc localhost < myfile.lscp > tr

Re: [Linuxsampler-devel] Answering Andreas Persson 1/2 (shorter message)

2012-04-10 Thread hilare
Thank you, i feel really dumb on this one, i was used to use --enable-global-attenuation=0.35  (yes, i know, only ensuring default is set) and seen some warning with the last svn about the fact that this directive was no more valid. Quickly looking at the doc gave me the false impression that th

Re: [Linuxsampler-devel] ways to load a lscp file (script for NSM)

2012-04-10 Thread rosea.grammostola
On 04/10/2012 08:27 PM, Edward Diehl wrote: > > I do not know anything about how NSM kills applications at the end of a > session so I can only offer general comments. I see your script just > brings linuxsampler to the foreground (with fg command) which do not see > would be connected with killin

Re: [Linuxsampler-devel] Answering Andreas Persson 1/2 (shorter message)

2012-04-10 Thread Andreas Persson
On 2012-04-10 20:07, hilare wrote: > > On 2012-04-10 03:30, hilare wrote: >> Correction, sorry, eventually the --enable-global-attenuation-default >> directive is _also_ breaking linuxsampler (module) svn 9 april 2012, >> always after applying the correction on configure file. > > The output o

Re: [Linuxsampler-devel] ways to load a lscp file (script for NSM)

2012-04-10 Thread Edward Diehl
I do not know anything about how NSM kills applications at the end of a session so I can only offer general comments. I see your script just brings linuxsampler to the foreground (with fg command) which do not see would be connected with killing linuxsampler, unless NSM sent a ^C the script I s

[Linuxsampler-devel] Answering Andreas Persson 1/2 (shorter message)

2012-04-10 Thread hilare
i have here truncated the output of make to the last lines, because the mailing list complains about lenght of message ;-) From: hilare To: "[email protected]" Sent: Tuesday, April 10, 2012 7:42 PM Subject: Answering Andreas Persson 1

[Linuxsampler-devel] Answering Andreas Persson 2/2

2012-04-10 Thread hilare
now answering to What happens if you change these lines in configure.in: [config_pthread_testcancel="$enableval"], [] ) to [config_pthread_testcancel="$enableval"], []) that is, remove the line break before the closing parenthesis? And then rerun from

Re: [Linuxsampler-devel] Linuxsampler compilation problem

2012-04-10 Thread Andreas Persson
On 2012-04-10 03:30, hilare wrote: > Correction, sorry, eventually the --enable-global-attenuation-default > directive is _also_ breaking linuxsampler (module) svn 9 april 2012, > always after applying the correction on configure file. What is the error? /Andreas

Re: [Linuxsampler-devel] Linuxsampler compilation problem

2012-04-10 Thread Andreas Persson
On 2012-04-10 02:09, hilare wrote: > Looking at /configure file, this what i found around the lines the > compiler complains about: > > 20363 config_pthread_testcancel="$mac" > 20364 # Check whether --enable-pthread-testcancel was given. > 20365 if test "${enable_pthread_testcancel+set}" = set; the

Re: [Linuxsampler-devel] ways to load a lscp file (script for NSM)

2012-04-10 Thread Rui Nuno Capela
On 04/10/2012 11:39 AM, rosea.grammostola wrote: > Hi, > > > Is this the only way to load a lscp file into LinuxSampler (apart from > using a GUI like Fantasia)? > > cat myfile.lscp | nc localhost > > I want to have a script for Non Session Manager (NSM). I NSM it is > possible to load a progr

[Linuxsampler-devel] ways to load a lscp file (script for NSM)

2012-04-10 Thread rosea.grammostola
Hi, Is this the only way to load a lscp file into LinuxSampler (apart from using a GUI like Fantasia)? cat myfile.lscp | nc localhost I want to have a script for Non Session Manager (NSM). I NSM it is possible to load a program via a proxy/ wrapper. I want to load a script, which starts