add blank OSCConnection

This commit is contained in:
2023-08-06 10:09:10 +02:00
parent 095ba9dd4e
commit 6ad8fa114b
4 changed files with 21 additions and 21 deletions

View File

@ -4,8 +4,6 @@ import { tryEvaluate } from "./Evaluator";
import { MidiConnection } from "./IO/MidiConnection";
// @ts-ignore
import { webaudioOutput, samples } from '@strudel.cycles/webaudio';
import { MiniLanguage } from "./Walker";
import * as astring from 'astring';
const sound = (value: any) => ({
@ -946,10 +944,4 @@ export class UserAPI {
sound = async (values: object) => {
webaudioOutput(sound(values), 0.00)
}
ast(code: string) {
const ast = MiniLanguage.parse(code, { ecmaVersion: 2020 });
console.log(astring.generate(ast))
return
}
}