2 #ifndef __BSE_UTILS_H__
3 #define __BSE_UTILS_H__
5 #include <rapicorn-core.hh>
14 void bse_cxx_init (
void);
16 BseNoteDescription* bse_note_description (BseMusicalTuningType musical_tuning,
19 Bse::PartNote bse_part_note (uint
id, uint channel, uint tick, uint duration,
int note,
int fine_tune,
double velocity,
bool selected);
20 Bse::PartControl bse_part_control (uint
id, uint tick, Bse::MidiSignalType control_type,
double value,
bool selected);
21 void bse_note_sequence_resize (BseNoteSequence *rec,
23 guint bse_note_sequence_length (BseNoteSequence *rec);
24 void bse_property_candidate_relabel (BsePropertyCandidates *pc,
26 const gchar *tooltip);
27 void bse_item_seq_remove (BseItemSeq *iseq,
29 SfiRing* bse_item_seq_to_ring (BseItemSeq *iseq);
30 BseItemSeq* bse_item_seq_from_ring (
SfiRing *ring);
34 void bse_debug_dump_floats (guint debug_stream,
43 double bse_balance_get (
double level1,
45 void bse_balance_set (
double balance,
51 BseIcon* bse_icon_from_pixstream (
const guint8 *pixstream);
55 gulong bse_id_alloc (
void);
56 void bse_id_free (gulong
id);
60 gchar** bse_xinfos_add_value (gchar **xinfos,
63 gchar** bse_xinfos_add_float (gchar **xinfos,
66 gchar** bse_xinfos_add_num (gchar **xinfos,
69 gchar** bse_xinfos_parse_assignment (gchar **xinfos,
70 const gchar *assignment);
71 gchar** bse_xinfos_del_value (gchar **xinfos,
73 const gchar* bse_xinfos_get_value (gchar **xinfos,
75 gfloat bse_xinfos_get_float (gchar **xinfos,
77 SfiNum bse_xinfos_get_num (gchar **xinfos,
79 gchar** bse_xinfos_dup_consolidated (gchar **xinfos,
80 gboolean copy_interns);
81 gint bse_xinfo_stub_compare (
const gchar *xinfo1,
86 guint bse_string_hash (gconstpointer
string);
87 gint bse_string_equals (gconstpointer string1,
88 gconstpointer string2);
Part specific note event representation.
Definition: bseapi.idl:351
Definition: sfiring.hh:23
Part specific control event representation.
Definition: bseapi.idl:369
Definition: bseitem.hh:34