Tools - nahkd123/Mixery GitHub Wiki
This wiki page contains some misleading contents that's incompatible with current version of Mixery.
Tools are components that allow you to edit playlist and clips (including MIDI and automations).
Basic tools
The "O" tool (shortcut: Ctrl + 1)
This tool let you to add and remove clips/notes, but also allow you to select indiviual component.
- Left click: Place/Select
- Right click: Remove (no drag)
The pencil tool (shortcut: Ctrl + 2)
This tool only allow you to add and remove components, but you can drag across the panes, which can help you create MIDI arts!
- Left click (hold): Draw clip/notes
- Right click (hold): Remove (with drag)
The move tool (shortcut: Ctrl + 3)
This tool basically let you select multiple components, and move all of them. You can also scroll by dragging the background.
- Left click: Move/Select (indiviual component)
- Right click: Select (multiple components)
Extra tools
Extra tools can be created by creating plugins. See References section for more info about Tool
class.
References
abstract class Tool
abstract class Tool extends AppComponent {
abstract name: string;
abstract description: string;
}
interface Tools.ToolEvent
namespace Tools {
export interface ToolEvent {
tool: Tool;
clip: Clip;
cursorBeat: number;
shift: boolean;
ctrl: boolean;
alt: boolean;
originBeat: number; // Start beat (cursorBeat at mouse down event)
originClip: number; // Start clip (clip at mouse down event)
canvas: HTMLCanvasElement;
}
}