Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
Bse::Part Interface Reference

import"bseapi.idl";

Inheritance diagram for Bse::Part:
Collaboration diagram for Bse::Part:

Public Member Functions

PartControlSeq list_selected_controls (MidiSignal control_type)
 
PartControlSeq list_controls (int32 tick, int32 duration, MidiSignal control_type)
 
PartControlSeq get_channel_controls (int32 channel, int32 tick, int32 duration, MidiSignal control_type)
 
PartControlSeq get_controls (int32 tick, MidiSignal control_type)
 
SongTiming get_timing (int32 tick)
 
int32 get_max_note ()
 
int32 get_min_note ()
 
Error change_control (int32 id, int32 tick, MidiSignal control_type, float64 value)
 
Error change_note (int32 id, int32 tick, int32 duration, int32 note, int32 fine_tune, float64 velocity)
 
Error delete_event (int32 id)
 
int32 insert_control (int32 tick, MidiSignal control_type, float64 value)
 
int32 insert_note (int32 channel, int32 tick, int32 duration, int32 note, int32 fine_tune, float64 velocity)
 
int32 insert_note_auto (int32 tick, int32 duration, int32 note, int32 fine_tune, float64 velocity)
 
bool is_event_selected (int32 id)
 
void queue_controls (int32 tick, int32 duration)
 
void queue_notes (int32 tick, int32 duration, int32 min_note, int32 max_note)
 
void select_notes_exclusive (int32 tick, int32 duration, int32 min_note, int32 max_note)
 
void select_controls_exclusive (int32 tick, int32 duration, MidiSignal control_type)
 
void select_notes (int32 tick, int32 duration, int32 min_note, int32 max_note)
 
void select_event (int32 id)
 
void select_controls (int32 tick, int32 duration, MidiSignal control_type)
 
void deselect_notes (int32 tick, int32 duration, int32 min_note, int32 max_note)
 
void deselect_event (int32 id)
 
void deselect_controls (int32 tick, int32 duration, MidiSignal control_type)
 
PartNoteSeq list_notes_crossing (int32 tick, int32 duration)
 
PartNoteSeq list_notes_within (int32 channel, int32 tick, int32 duration)
 
PartNoteSeq list_selected_notes ()
 
PartNoteSeq check_overlap (int32 tick, int32 duration, int32 note)
 
PartNoteSeq get_notes (int32 tick, int32 note)
 
PartLinkSeq list_links ()
 
- Public Member Functions inherited from Bse::Item
Item common_ancestor (Item other)
 

Additional Inherited Members

- Public Attributes inherited from Bse::Item
Icon icon
 

Detailed Description

Data interface for containment of piano notes and MIDI effects.

Member Function Documentation

Error Bse::Part::change_control ( int32  id,
int32  tick,
MidiSignal  control_type,
float64  value 
)

Change an existing control event within a part.

Error Bse::Part::change_note ( int32  id,
int32  tick,
int32  duration,
int32  note,
int32  fine_tune,
float64  velocity 
)

Change an existing note within a part.

PartNoteSeq Bse::Part::check_overlap ( int32  tick,
int32  duration,
int32  note 
)

Check whether a note would overlap with neighbours.

Error Bse::Part::delete_event ( int32  id)

Delete an existing event from a part.

void Bse::Part::deselect_controls ( int32  tick,
int32  duration,
MidiSignal  control_type 
)

Deselect all controls within given range.

void Bse::Part::deselect_event ( int32  id)

Deselect an existing event.

void Bse::Part::deselect_notes ( int32  tick,
int32  duration,
int32  min_note,
int32  max_note 
)

Deselect all notes within rectangle.

PartControlSeq Bse::Part::get_channel_controls ( int32  channel,
int32  tick,
int32  duration,
MidiSignal  control_type 
)

Retrieve all control events of a specific type within range of a channel.

PartControlSeq Bse::Part::get_controls ( int32  tick,
MidiSignal  control_type 
)

Retrieve all control events of a specific type at specified tick.

int32 Bse::Part::get_max_note ( )

Retrieve the maximum note supported in this part.

int32 Bse::Part::get_min_note ( )

Retrieve the minimum note supported in this part.

PartNoteSeq Bse::Part::get_notes ( int32  tick,
int32  note 
)

Retrieve all notes at a specific frequency or crossing a tick.

SongTiming Bse::Part::get_timing ( int32  tick)

Retrieve song timing information at a specific tick.

int32 Bse::Part::insert_control ( int32  tick,
MidiSignal  control_type,
float64  value 
)

Insert a new control event into a part.

int32 Bse::Part::insert_note ( int32  channel,
int32  tick,
int32  duration,
int32  note,
int32  fine_tune,
float64  velocity 
)

Insert a new note into a part.

int32 Bse::Part::insert_note_auto ( int32  tick,
int32  duration,
int32  note,
int32  fine_tune,
float64  velocity 
)

Insert a new note into a part with automatic channel selection.

bool Bse::Part::is_event_selected ( int32  id)

Check whether an event is selected.

PartControlSeq Bse::Part::list_controls ( int32  tick,
int32  duration,
MidiSignal  control_type 
)

List all control events within a tick range.

PartLinkSeq Bse::Part::list_links ( )

List all places where parts are used (linked) from tracks, sorted by tick.

PartNoteSeq Bse::Part::list_notes_crossing ( int32  tick,
int32  duration 
)

List all notes within or crossing a tick range.

PartNoteSeq Bse::Part::list_notes_within ( int32  channel,
int32  tick,
int32  duration 
)

List all notes within a tick range.

PartControlSeq Bse::Part::list_selected_controls ( MidiSignal  control_type)

List all currently selected control events of a specific type.

PartNoteSeq Bse::Part::list_selected_notes ( )

List all currently selected notes.

void Bse::Part::queue_controls ( int32  tick,
int32  duration 
)

Queue updates for all control events and notes starting within the given range.

void Bse::Part::queue_notes ( int32  tick,
int32  duration,
int32  min_note,
int32  max_note 
)

Queue updates for all notes starting within the given rectangle.

void Bse::Part::select_controls ( int32  tick,
int32  duration,
MidiSignal  control_type 
)

Select all control events within range.

void Bse::Part::select_controls_exclusive ( int32  tick,
int32  duration,
MidiSignal  control_type 
)

Select all control events within range and deselect all others.

void Bse::Part::select_event ( int32  id)

Select an existing event.

void Bse::Part::select_notes ( int32  tick,
int32  duration,
int32  min_note,
int32  max_note 
)

Select all notes within rectangle.

void Bse::Part::select_notes_exclusive ( int32  tick,
int32  duration,
int32  min_note,
int32  max_note 
)

Select all notes within rectangle and deselect all others.


The documentation for this interface was generated from the following file: