From aeb7f2efcdea08a27b95e50edff7b46ced97ecf3 Mon Sep 17 00:00:00 2001 From: Geoffroy Montel Date: Mon, 14 Mar 2022 23:02:21 +0100 Subject: [PATCH 1/2] Change AlgaNode.ar to AlgaNode.new Seems AlgaNode.ar does not exist anymore --- HelpSource/Classes/AlgaNode.schelp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/HelpSource/Classes/AlgaNode.schelp b/HelpSource/Classes/AlgaNode.schelp index 7c6e110c..8b85f9b2 100644 --- a/HelpSource/Classes/AlgaNode.schelp +++ b/HelpSource/Classes/AlgaNode.schelp @@ -73,17 +73,17 @@ Specify a link::Classes/Bus:: index to play the node to. ARGUMENT:: sched Just like any other link::Classes/AlgaNode:: method, the current function can be scheduled at specific times in the future, according to the clock that the link::Classes/Alga:: instance booted on the server is using. code:: -AlgaNode.ar({ SinOsc.ar([440, 450]) }).play //Play both channels +AlgaNode({ SinOsc.ar([440, 450]) }).play //Play both channels -AlgaNode.ar({ SinOsc.ar([440, 450]) }).play(chans: 2) //Play both channels, explicitly +AlgaNode({ SinOsc.ar([440, 450]) }).play(chans: 2) //Play both channels, explicitly -AlgaNode.ar({ SinOsc.ar([440, 450]) }).play(chans: [0]) //Play first channel mono (same as 'chans: 1') +AlgaNode({ SinOsc.ar([440, 450]) }).play(chans: [0]) //Play first channel mono (same as 'chans: 1') -AlgaNode.ar({ SinOsc.ar([440, 450]) }).play(chans: [0, 0]) //Play first channel stereo +AlgaNode({ SinOsc.ar([440, 450]) }).play(chans: [0, 0]) //Play first channel stereo -AlgaNode.ar({ SinOsc.ar([440, 450]) }).play(chans: [0, 1]) //Play both channels, explicitly (same as 'chans: 2') +AlgaNode({ SinOsc.ar([440, 450]) }).play(chans: [0, 1]) //Play both channels, explicitly (same as 'chans: 2') -AlgaNode.ar({ SinOsc.ar([440, 450]) }).play(chans: [0, 1, 1, 0]) //Quadraphonic +AlgaNode({ SinOsc.ar([440, 450]) }).play(chans: [0, 1, 1, 0]) //Quadraphonic :: @@ -577,4 +577,4 @@ private:: parseFilterPatternParam private:: parseGenericPatternParam private:: parseParam -private:: parseParam_inner \ No newline at end of file +private:: parseParam_inner From 663d8f4e5507e028ef5d8c8eda760586e5c131c7 Mon Sep 17 00:00:00 2001 From: Youenn Piolet Date: Tue, 22 Mar 2022 18:06:00 +0100 Subject: [PATCH 2/2] fix(quark): replace version by a string in quark definition Hi, I'm experiencing an issue after installing AlgaLib in Quarks: ERROR: Syntax error, unexpected INTEGER, expecting NAME or WHILE or '[' or '(' in interpreted text line 7 char 16: version: 1.1.1, ^ During last update, you bumped the version from 1.1 to 1.1.1. Without quotes I guess it was working because Quarks was probably using the value as a float. Now it can only be a string a string, it should be protected. Signed-off-by: Youenn Piolet --- AlgaLib.quark | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AlgaLib.quark b/AlgaLib.quark index 789d7110..b14efd63 100644 --- a/AlgaLib.quark +++ b/AlgaLib.quark @@ -4,5 +4,5 @@ summary: "Interpolating live coding environment", author: "vitreo12", helpdoc: "HelpSources/Classes/Alga.schelp", - version: 1.1.1, + version: "1.1.1", )