BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
Public Member Functions | Public Attributes | List of all members
Bse::Part Interface Reference

Data interface for containment of piano notes and MIDI effects. More...

import"bseapi.idl";

Inheritance diagram for Bse::Part:
Inheritance graph
[legend]

Public Member Functions

PartControlSeq list_selected_controls (MidiSignalType control_type)
 List all currently selected control events of a specific type.
 
PartControlSeq list_controls (int32 tick, int32 duration, MidiSignalType control_type)
 List all control events within a tick range.
 
PartControlSeq get_channel_controls (int32 channel, int32 tick, int32 duration, MidiSignalType control_type)
 Retrieve all control events of a specific type within range of a channel.
 
PartControlSeq get_controls (int32 tick, MidiSignalType control_type)
 Retrieve all control events of a specific type at specified tick.
 
SongTiming get_timing (int32 tick)
 Retrieve song timing information at a specific tick.
 
int32 get_max_note ()
 Retrieve the maximum note supported in this part.
 
int32 get_min_note ()
 Retrieve the minimum note supported in this part.
 
ErrorType change_control (int32 id, int32 tick, MidiSignalType control_type, float64 value)
 Change an existing control event within a part.
 
ErrorType change_note (int32 id, int32 tick, int32 duration, int32 note, int32 fine_tune, float64 velocity)
 Change an existing note within a part.
 
ErrorType delete_event (int32 id)
 Delete an existing event from a part.
 
int32 insert_control (int32 tick, MidiSignalType control_type, float64 value)
 Insert a new control event into a part.
 
int32 insert_note (int32 channel, int32 tick, int32 duration, int32 note, int32 fine_tune, float64 velocity)
 Insert a new note into a part.
 
int32 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 is_event_selected (int32 id)
 Check whether an event is selected.
 
void queue_controls (int32 tick, int32 duration)
 Queue updates for all control events and notes starting within the given range.
 
void queue_notes (int32 tick, int32 duration, int32 min_note, int32 max_note)
 Queue updates for all notes starting within the given rectangle.
 
void select_notes_exclusive (int32 tick, int32 duration, int32 min_note, int32 max_note)
 Select all notes within rectangle and deselect all others.
 
void select_controls_exclusive (int32 tick, int32 duration, MidiSignalType control_type)
 Select all control events within range and deselect all others.
 
void select_notes (int32 tick, int32 duration, int32 min_note, int32 max_note)
 Select all notes within rectangle.
 
void select_event (int32 id)
 Select an existing event.
 
void select_controls (int32 tick, int32 duration, MidiSignalType control_type)
 Select all control events within range.
 
void deselect_notes (int32 tick, int32 duration, int32 min_note, int32 max_note)
 Deselect all notes within rectangle.
 
void deselect_event (int32 id)
 Deselect an existing event.
 
void deselect_controls (int32 tick, int32 duration, MidiSignalType control_type)
 Deselect all controls within given range.
 
PartNoteSeq list_notes_crossing (int32 tick, int32 duration)
 List all notes within or crossing a tick range.
 
PartNoteSeq list_notes_within (int32 channel, int32 tick, int32 duration)
 List all notes within a tick range.
 
PartNoteSeq list_selected_notes ()
 List all currently selected notes.
 
PartNoteSeq check_overlap (int32 tick, int32 duration, int32 note)
 Check whether a note would overlap with neighbours.
 
PartNoteSeq get_notes (int32 tick, int32 note)
 Retrieve all notes at a specific frequency or crossing a tick.
 
PartLinkSeq list_links ()
 List all places where parts are used (linked) from tracks, sorted by tick.
 
signal range_changed (Int a, Int b, Int c, Int d)
 
signal links_changed ()
 
- Public Member Functions inherited from Bse::Item
Item common_ancestor (Item other)
 Find a common container (parent or grand-parent) of two items if any.
 
void add_parasite (SfiString path, Rec parasite)
 
Bool check_is_a (SfiString type_name)
 
void clear_undo ()
 
Bool editable_property (SfiString property_name)
 
Icon get_icon ()
 
SfiString get_name ()
 
SfiString get_name_or_type ()
 
Rec get_parasite (SfiString path)
 
Item get_parent ()
 
Item get_project ()
 
PropertyCandidates get_property_candidates (SfiString property_name)
 
Int get_seqid ()
 
SfiString get_type ()
 
SfiString get_type_authors ()
 
SfiString get_type_blurb ()
 
SfiString get_type_license ()
 
SfiString get_type_name ()
 
SfiString get_uname_path ()
 
void group_undo (SfiString name)
 
Bool internal ()
 
StringSeq list_parasites (SfiString path)
 
void redo ()
 
Int redo_depth ()
 
void set_name (SfiString name)
 
void set_parasite (SfiString path, Rec parasite)
 
void undo ()
 
Int undo_depth ()
 
void ungroup_undo ()
 
void unuse ()
 
Item use ()
 
signal parasites_added (SfiString a)
 
signal parasite_changed (SfiString a)
 
- Public Member Functions inherited from Bse::Object
String debug_name ()
 Object name useful for debugging output.
 
int64 proxy_id ()
 Retrieve the BseObject proxy ID for an Object.
 

Public Attributes

property Int n_channels
 
property Int last_tick
 
- Public Attributes inherited from Bse::Item
property Int seqid
 

Detailed Description

Data interface for containment of piano notes and MIDI effects.

See also the corresponding C++ servant class PartIface.

See also the corresponding C++ stub class PartHandle.


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