update csound + fix sound output

see https://github.com/csound/csound/issues/1690#issuecomment-1414301145
This commit is contained in:
Felix Roos 2023-02-02 21:31:44 +01:00
parent d1719dc277
commit f7b3b582cc
3 changed files with 7 additions and 6 deletions

View File

@ -92,6 +92,7 @@ async function load() {
['message'].forEach((k) => _csound.on(k, (...args) => eventLogger(k, args)));
await _csound.setOption('-m0d'); // see -m flag https://csound.com/docs/manual/CommandFlags.html
await _csound.setOption('--sample-accurate');
await _csound.setOption('-odac');
await _csound.compileCsdText(csd);
// await _csound.compileOrc(livecodeOrc);
await _csound.compileOrc(presetsOrc);

View File

@ -1,6 +1,6 @@
{
"name": "@strudel.cycles/csound",
"version": "0.6.1",
"version": "0.6.2",
"description": "csound bindings for strudel",
"main": "index.mjs",
"publishConfig": {
@ -32,7 +32,7 @@
},
"homepage": "https://github.com/tidalcycles/strudel#readme",
"dependencies": {
"@csound/browser": "6.18.3",
"@csound/browser": "6.18.5",
"@strudel.cycles/core": "workspace:*",
"@strudel.cycles/webaudio": "workspace:*"
},

8
pnpm-lock.yaml generated
View File

@ -79,12 +79,12 @@ importers:
packages/csound:
specifiers:
'@csound/browser': 6.18.3
'@csound/browser': 6.18.5
'@strudel.cycles/core': workspace:*
'@strudel.cycles/webaudio': workspace:*
vite: ^3.2.2
dependencies:
'@csound/browser': 6.18.3
'@csound/browser': 6.18.5
'@strudel.cycles/core': link:../core
'@strudel.cycles/webaudio': link:../webaudio
devDependencies:
@ -1066,8 +1066,8 @@ packages:
w3c-keyname: 2.2.6
dev: false
/@csound/browser/6.18.3:
resolution: {integrity: sha512-udvedLjNZjEvrCFxMItirRh/gKFbY/dED4SKbUoinhImJzVTRtykiCZv9CHMCmD6ixWPo4BByVkV2NuYNsBQ+g==}
/@csound/browser/6.18.5:
resolution: {integrity: sha512-PrffNroCFgns9ct6O0e1anyxZWdDPcPA8y4Ei9t96DgkRba/wvxJayXfLJvEdlTQy+LVw1es92TDODtEYHJeKw==}
dependencies:
comlink: 4.3.1
eslint-plugin-n: 15.6.1