Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsemidievent.hh File Reference
#include <bse/bseobject.hh>
Include dependency graph for bsemidievent.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BseMidiEvent
 

Macros

#define BSE_MIDI_MAX_CHANNELS
 
#define BSE_MIDI_CHANNEL_VOICE_MESSAGE(s)
 
#define BSE_MIDI_SYSTEM_COMMON_MESSAGE(s)
 
#define BSE_MIDI_SYSTEM_REALTIME_MESSAGE(s)
 
#define BSE_TYPE_MIDI_EVENT
 

Enumerations

enum  BseMidiEventType {
  BSE_MIDI_NOTE_OFF, BSE_MIDI_NOTE_ON, BSE_MIDI_KEY_PRESSURE, BSE_MIDI_CONTROL_CHANGE,
  BSE_MIDI_PROGRAM_CHANGE, BSE_MIDI_CHANNEL_PRESSURE, BSE_MIDI_PITCH_BEND, BSE_MIDI_SYS_EX,
  BSE_MIDI_SONG_POINTER, BSE_MIDI_SONG_SELECT, BSE_MIDI_TUNE, BSE_MIDI_END_EX,
  BSE_MIDI_TIMING_CLOCK, BSE_MIDI_SONG_START, BSE_MIDI_SONG_CONTINUE, BSE_MIDI_SONG_STOP,
  BSE_MIDI_ACTIVE_SENSING, BSE_MIDI_SYSTEM_RESET, BSE_MIDI_SEQUENCE_NUMBER, BSE_MIDI_TEXT_EVENT,
  BSE_MIDI_COPYRIGHT_NOTICE, BSE_MIDI_TRACK_NAME, BSE_MIDI_INSTRUMENT_NAME, BSE_MIDI_LYRIC,
  BSE_MIDI_MARKER, BSE_MIDI_CUE_POINT, BSE_MIDI_TEXT_EVENT_08, BSE_MIDI_TEXT_EVENT_09,
  BSE_MIDI_TEXT_EVENT_0A, BSE_MIDI_TEXT_EVENT_0B, BSE_MIDI_TEXT_EVENT_0C, BSE_MIDI_TEXT_EVENT_0D,
  BSE_MIDI_TEXT_EVENT_0E, BSE_MIDI_TEXT_EVENT_0F, BSE_MIDI_CHANNEL_PREFIX, BSE_MIDI_END_OF_TRACK,
  BSE_MIDI_SET_TEMPO, BSE_MIDI_SMPTE_OFFSET, BSE_MIDI_TIME_SIGNATURE, BSE_MIDI_KEY_SIGNATURE,
  BSE_MIDI_SEQUENCER_SPECIFIC, BSE_MIDI_MULTI_SYS_EX_START, BSE_MIDI_MULTI_SYS_EX_NEXT, BSE_MIDI_X_CONTINUOUS_CHANGE
}
 

Functions

GType bse_midi_event_get_type (void)
 
BseMidiEventbse_midi_alloc_event (void)
 
BseMidiEventbse_midi_copy_event (const BseMidiEvent *src)
 
void bse_midi_free_event (BseMidiEvent *event)
 
BseMidiEventbse_midi_event_note_on (uint midi_channel, Bse::uint64 delta_time, float frequency, float velocity)
 
BseMidiEventbse_midi_event_note_off (uint midi_channel, Bse::uint64 delta_time, gfloat frequency)
 
BseMidiEventbse_midi_event_signal (uint midi_channel, Bse::uint64 delta_time, Bse::MidiSignal signal_type, float value)
 
double bse_midi_signal_default (Bse::MidiSignal signal)
 
const charbse_midi_signal_name (Bse::MidiSignal signal)
 

Function Documentation

void bse_midi_free_event ( BseMidiEvent event)
Parameters
eventBseMidiEvent structure

Free the event and all data associated with it. This function is MT-safe and may be called from any thread.

Referenced by bse_midi_free_event().

Here is the call graph for this function:

Here is the caller graph for this function:

double bse_midi_signal_default ( Bse::MidiSignal  type)
Parameters
typeBse::MidiSignal type

Get the initial default value for a midi signal. This function is MT-safe and may be called from any thread.

Here is the call graph for this function: