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:*"
},