Merge pull request #404 from tidalcycles/csound-update

update csound + fix sound output
This commit is contained in:
Felix Roos 2023-02-02 21:35:45 +01:00 committed by GitHub
commit 478a7e95ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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))); ['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('-m0d'); // see -m flag https://csound.com/docs/manual/CommandFlags.html
await _csound.setOption('--sample-accurate'); await _csound.setOption('--sample-accurate');
await _csound.setOption('-odac');
await _csound.compileCsdText(csd); await _csound.compileCsdText(csd);
// await _csound.compileOrc(livecodeOrc); // await _csound.compileOrc(livecodeOrc);
await _csound.compileOrc(presetsOrc); await _csound.compileOrc(presetsOrc);

View File

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

8
pnpm-lock.yaml generated
View File

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