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

Interface for Track and Part objects, as well as meta data for sequencing. More...

import"bseapi.idl";

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

Public Member Functions

SongTiming get_timing (int32 tick)
 Retrieve song timing information at a specific tick.
 
Track find_any_track_for_part (Part part)
 Find the first track that contains part, suitable to check for orphan parts.
 
Bus create_bus ()
 Create a new mixer bus for a Song.
 
void remove_bus (Bus bus)
 Delete a mixer bus from a Song.
 
Part create_part ()
 Create a new Part in a Song.
 
void remove_part (Part part)
 Delete a Part from a Song.
 
Track create_track ()
 Create a new Track for a Song.
 
void remove_track (Track track)
 Delete a Track from a Song.
 
group _ ("Timing")
 
Bus ensure_master_bus ()
 
void ensure_track_links ()
 
Track find_track_for_part (Part part)
 
Bus get_master_bus ()
 
void synthesize_note (Track track, Int duration, Int note, Int fine_tune, Real velocity)
 
signal pointer_changed (Int a)
 
- Public Member Functions inherited from Bse::SNet
bool supports_user_synths ()
 Check whether users may edit synthesis modules of this network.
 
ErrorType can_create_source (SfiString module_type)
 
Source create_source (SfiString module_type)
 
ErrorType remove_source (Source module)
 
signal port_unregistered ()
 
- Public Member Functions inherited from Bse::Container
Item lookup_item (String uname)
 Find an immediate child of a container by name (unique per container child).
 
Item get_item (SfiString item_type, Int seq_id)
 
ItemSeq list_children ()
 
signal item_added (Item a)
 
signal item_remove (Item a, Int b)
 
- Public Member Functions inherited from Bse::Source
Source ichannel_get_osource (int32 input_channel, int32 input_joint)
 Retrieve output module connected to a specific joint of an input channel.
 
void clear_inputs ()
 
void clear_outputs ()
 
Int get_automation_channel (SfiString property_name)
 
MidiControlType get_automation_control (SfiString property_name)
 
Bool has_output (Int ochannel)
 
Bool has_outputs ()
 
SfiString ichannel_blurb (Int input_channel)
 
Int ichannel_get_n_joints (Int input_channel)
 
Int ichannel_get_ochannel (Int input_channel, Int input_joint)
 
SfiString ichannel_ident (Int input_channel)
 
SfiString ichannel_label (Int input_channel)
 
Bool is_joint_ichannel (SfiString input_channel)
 
Bool is_joint_ichannel_by_id (Int input_channel)
 
Bool is_prepared ()
 
Int n_ichannels ()
 
Int n_ochannels ()
 
SfiString ochannel_blurb (Int output_channel)
 
SfiString ochannel_ident (Int output_channel)
 
SfiString ochannel_label (Int output_channel)
 
ErrorType set_automation (SfiString property_name, Int midi_channel, MidiControlType control_type)
 
ErrorType set_input (SfiString input_channel, Source omodule, SfiString output_channel)
 
ErrorType set_input_by_id (Int input_channel, Source omodule, Int output_channel)
 
void set_pos (Real x_pos, Real y_pos)
 
ErrorType unset_input (SfiString input_channel, Source omodule, SfiString output_channel)
 
ErrorType unset_input_by_id (Int input_channel, Source omodule, Int output_channel)
 
signal probes (ProbeSeq a)
 
signal io_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 MusicalTuningType musical_tuning
 
property Int tpqn
 
property Int numerator
 
property Int denominator
 
property CSynth pnet
 
property Bool auto_activate
 
property Bool loop_enabled
 
property Int loop_left
 
property Int loop_right
 
property Int tick_pointer
 
- Public Attributes inherited from Bse::SNet
property Bool auto_activate
 
- Public Attributes inherited from Bse::Super
property SfiString author
 
property SfiString license
 
property SfiString copyright
 
property Num creation_time
 
property Num modification_time
 
- Public Attributes inherited from Bse::Source
property Real pos_x
 
property Real pos_y
 
- Public Attributes inherited from Bse::Item
property Int seqid
 

Detailed Description

Interface for Track and Part objects, as well as meta data for sequencing.

See also the corresponding C++ servant class SongIface.

See also the corresponding C++ stub class SongHandle.


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