rnbokit
Version:
<img width="491" alt="Screenshot 2023-06-26 at 22 29 43" src="https://github.com/SanderNotenbaert/RNBOKit/assets/34664737/5c54599e-fb9f-4131-a28a-ba4993f2f064">
208 lines (207 loc) • 5.03 kB
TypeScript
/** @typedef {typeof __propDef.props} RnboProps */
/** @typedef {typeof __propDef.events} RnboEvents */
/** @typedef {typeof __propDef.slots} RnboSlots */
export default class Rnbo extends SvelteComponentTyped<{
device?: import("@rnbo/js").Device;
path?: string;
inports?: import("@rnbo/js").MessageInfo[];
dependencies?: string;
parameters?: any[];
inlets?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
}[];
midiOutports?: number[];
outports?: import("@rnbo/js").MessageInfo[];
outlets?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
}[];
midiInports?: number[];
}, {
[evt: string]: CustomEvent<any>;
}, {
default: {
patcher: import("@rnbo/js").IPatcher;
device: import("@rnbo/js").Device;
path: string;
dependencies: string;
parameters: any[];
context: AudioContext;
inports: import("@rnbo/js").MessageInfo[];
inlets: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
}[];
outports: import("@rnbo/js").MessageInfo[];
outlets: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
}[];
midiInports: number[];
midiOutports: number[];
};
}> {
}
export type RnboProps = typeof __propDef.props;
export type RnboEvents = typeof __propDef.events;
export type RnboSlots = typeof __propDef.slots;
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
device?: import('@rnbo/js').Device | undefined;
path?: string;
inports?: import('@rnbo/js').MessageInfo[];
dependencies?: string;
parameters?: import('@rnbo/js').Parameter[];
inlets?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: 'signal';
/**
* - the meta
*/
meta: string;
}[];
midiOutports?: Array<number>;
outports?: import('@rnbo/js').MessageInfo[];
outlets?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: 'signal';
/**
* - the meta
*/
meta: string;
}[];
midiInports?: Array<number>;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
patcher: import("@rnbo/js").IPatcher;
device: import("@rnbo/js").Device;
path: string;
dependencies: string;
parameters: any[];
context: AudioContext;
inports: import("@rnbo/js").MessageInfo[];
inlets: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: 'signal';
/**
* - the meta
*/
meta: string;
}[];
outports: import("@rnbo/js").MessageInfo[];
outlets: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: 'signal';
/**
* - the meta
*/
meta: string;
}[];
midiInports: number[];
midiOutports: number[];
};
};
};
export {};