@tialro2/rnbokit
Version:
<img width="493" alt="Screenshot 2023-11-24 at 15 43 41" src="static/sreenshot.jpeg">
32 lines (31 loc) • 939 B
TypeScript
export default RNBOMidiIn;
type RNBOMidiIn = {
$on?(type: string, callback: (e: any) => void): () => void;
$set?(props: Partial<Props & {
[key: string]: any;
}>): void;
};
declare const RNBOMidiIn: import("svelte").Component<{
/**
* - type {number} - the MIDI port index
*/
port?: number;
device: import("@rnbo/js").Device;
midiMessage?: import("@rnbo/js").MIDIData | undefined;
midiChannel?: number | undefined;
mode?: "default" | "xy" | "external";
children?: import("svelte").Snippet<[any]>;
} & {
[key: string]: any;
}, {}, "mode" | "midiMessage">;
type Props = {
/**
* - type {number} - the MIDI port index
*/
port?: number;
device: import("@rnbo/js").Device;
midiMessage?: import("@rnbo/js").MIDIData | undefined;
midiChannel?: number | undefined;
mode?: "default" | "xy" | "external";
children?: import("svelte").Snippet<[any]>;
};