[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] recording mouse gestures



Thanks Gil. 

I installed the KtlLoop quark and it compiles without errors, but when I
try to run the demo code in the help file, SC complains of various
messages not being understood. This is also the case with some of the
code for Ndef included in the KtlLoop help file. eg. the line:

Ndef(\form).addSpec(\shape, [0, 1]); 

gives, among other verbose details, the following:

ERROR: Message 'addSpec' not understood.

Also from the KtlLoop file:

k = KtlLoop(\form);

gives the same addSpec error. Oddly (to me), this occurs whether or not
the code "Ndef(\form).addSpec(\shape, [0, 1]);" is run previously. 

The line:

k.paramsToRecord_([\lx, \ly, \rx, \ry]);

results in the error: Message 'paramsToRecord_' not understood


I'm running SC on Linux, I don't know if that's relevant - everything
else works so far.

I'll paste below the full error printout for the line
"k.paramsToRecord_([\lx, \ly, \rx, \ry]);"

Does anyone know why these errors are occurring?

Iain


ERROR: Message 'paramsToRecord_' not understood.
RECEIVER:
   nil
ARGS:
Instance of Array {    (0x3bc2238, gc=D0, fmt=01, flg=00, set=02)
  indexed slots [4]
      0 : Symbol 'lx'
      1 : Symbol 'ly'
      2 : Symbol 'rx'
      3 : Symbol 'ry'
}
CALL STACK:
	DoesNotUnderstandError:reportError   0x3e8c2b8
		arg this = <instance of DoesNotUnderstandError>
	Nil:handleError   0x3e8de38
		arg this = nil
		arg error = <instance of DoesNotUnderstandError>
	Thread:handleError   0x3e8c788
		arg this = <instance of Thread>
		arg error = <instance of DoesNotUnderstandError>
	Object:throw   0x3e8cdb8
		arg this = <instance of DoesNotUnderstandError>
	Object:doesNotUnderstand   0x3e8c628
		arg this = nil
		arg selector = 'paramsToRecord_'
		arg args = [*1]
	Interpreter:interpretPrintCmdLine   0x3d152b8
		arg this = <instance of Interpreter>
		var res = nil
		var func = <instance of Function>
		var code = "k.paramsToRecord_([\lx, \ly,..."
		var doc = <instance of ScelDocument>
		var ideClass = nil
	Process:interpretPrintCmdLine   0x3e8ffe8
		arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Message 'paramsToRecord_' not
understood.
RECEIVER: nil






















Em Seg, 2015-12-28 às 12:09 +0000, Gil Fuser escreveu:
> Iain. Sorry
> 
> 
> Gil Fuser <gilfuser@xxxxxxxxx> schrieb am Mo., 28. Dez. 2015 um
> 13:08 Uhr:
> 
>         Hi Ian.
>         
>         You can do it using the quark KtLoop
>         
>         
>         best regards,
>         
>         Gil
>         
>         
>         Iain Mott <mott@xxxxxxxxxxxxxxx> schrieb am Mo., 28. Dez. 2015
>         um 11:00 Uhr:
>         
>                 Hello list,
>                 
>                 Is there any ready-made code out there for recording
>                 and playing back
>                 mouse gestures or other control data?
>                 
>                 I read about CtLoop in the GamePad quark, but the
>                 quark appears to be
>                 broken.
>                 
>                 In the mean time I'll experiment with buffers, time
>                 stamping events,
>                 etc.
>                 
>                 Thanks,
>                 
>                 Iain
>                 
>                 
>                 _______________________________________________
>                 sc-users mailing list
>                 
>                 info (subscription, etc.):
>                 http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
>                 archive:
>                 https://listarc.bham.ac.uk/marchives/sc-users/
>                 search:
>                 https://listarc.bham.ac.uk/lists/sc-users/search/



_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/