From 1170ff58ee0b91de8e2578bd00f52f45345c0f74 Mon Sep 17 00:00:00 2001 From: gogins Date: Thu, 10 Aug 2023 20:26:37 -0400 Subject: [PATCH] Fix for #1. --- packages/csound/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/csound/index.mjs b/packages/csound/index.mjs index 31ffa83a..3063febc 100644 --- a/packages/csound/index.mjs +++ b/packages/csound/index.mjs @@ -137,7 +137,7 @@ export async function loadOrc(url) { export const csoundm = register('csoundm', (instrument, pat) => { let p1 = instrument; if (typeof instrument === 'string') { - p1 = `"{instrument}"`; + p1 = `"${instrument}"`; } init(); // not async to support csound inside other patterns + to be able to call pattern methods after it return pat.onTrigger((tidal_time, hap) => {