aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/example2.csd8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/example2.csd b/examples/example2.csd
index fd03ec3..5fe23bd 100644
--- a/examples/example2.csd
+++ b/examples/example2.csd
@@ -50,8 +50,8 @@ instr boot
iJsupplement jsonload "supplement.json"
; get the instruments objects and merge them
- iJinstrs1 jsongetval iJbase, "instruments"
- iJinstrs2 jsongetval iJsupplement, "instruments"
+ iJinstrs1 jsonget iJbase, "instruments"
+ iJinstrs2 jsonget iJsupplement, "instruments"
jsonmerge iJinstrs1, iJinstrs2, 1
; get keys of the resulting instruments
@@ -63,7 +63,7 @@ instr boot
Sinstrument = Skeys[indexi]
; get the relevant instrument object
- iJscore jsongetval iJinstrs1, Sinstrument
+ iJscore jsonget iJinstrs1, Sinstrument
; score items are retrieved as handles to JSON arrays, in a Csound array
iJscorelines[] jsonarr iJscore
@@ -117,4 +117,4 @@ f3 0 16384 10 1 0 0.3 0 0.2 0 0.14 0 .111 ; Square
f0 15
i"boot" 0 1
</CsScore>
-</CsoundSynthesizer> \ No newline at end of file
+</CsoundSynthesizer>