Fix for #1.
This commit is contained in:
parent
2483bf812f
commit
1170ff58ee
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ export async function loadOrc(url) {
|
||||||
export const csoundm = register('csoundm', (instrument, pat) => {
|
export const csoundm = register('csoundm', (instrument, pat) => {
|
||||||
let p1 = instrument;
|
let p1 = instrument;
|
||||||
if (typeof instrument === 'string') {
|
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
|
init(); // not async to support csound inside other patterns + to be able to call pattern methods after it
|
||||||
return pat.onTrigger((tidal_time, hap) => {
|
return pat.onTrigger((tidal_time, hap) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue