Class

AgsAudioNote

Description

class AgsAudio.Note : GObject.Object {
  gobject: GObject,
  flags: AgsNoteFlags,
  key_format: AgsSoundKeyFormat,
  obj_mutex: GRecMutex,
  is_minor: gboolean,
  sharp_flats: guint,
  x: None,
  y: guint,
  rt_offset: guint64,
  rt_attack: guint,
  stream_delay: gdouble,
  stream_attack: gdouble,
  stream_frame_count: guint64,
  attack: AgsComplex,
  decay: AgsComplex,
  sustain: AgsComplex,
  release: AgsComplex,
  ratio: AgsComplex,
  note_name: gchar*,
  frequency: gdouble
}
No description available.

Ancestors

Constructors

ags_note_new

Creates a new instance of AgsNote.

since: 3.0.0

ags_note_new_with_offset

Creates a new instance of AgsNote.

since: 3.0.0

Functions

ags_note_find_next

Find next note having the same y offset.

since: 3.0.0

ags_note_find_prev

Find prev note having the same y offset.

since: 3.0.0

ags_note_from_raw_midi

Parse raw_midi data and convert to AgsNote.

since: 3.0.0

ags_note_from_raw_midi_extended

Parse raw_midi data and convert to AgsNote.

since: 3.0.0

ags_note_from_seq_event

Convert ALSA sequencer data event to AgsNote.

since: 3.0.0

ags_note_from_seq_event_extended

Parse raw_midi data and convert to AgsNote.

since: 3.0.0

ags_note_length_to_smf_delta_time

Convert note length to SMF delta-time.

since: 3.0.0

ags_note_smf_delta_time_to_length

Convert SMF delta-time to note length.

since: 3.0.0

ags_note_sort_func

Sort notes.

since: 3.0.0

Instance methods

ags_note_duplicate

Duplicate a note.

since: 3.0.0

ags_note_get_attack

Gets attack.

since: 3.1.0

ags_note_get_decay

Gets decay.

since: 3.1.0

ags_note_get_is_minor

Gets is minor.

since: 3.1.0

ags_note_get_obj_mutex

Get object mutex.

since: 3.1.0

ags_note_get_ratio

Gets ratio.

since: 3.1.0

ags_note_get_release

Gets release.

since: 3.1.0

ags_note_get_rt_attack

Gets rt-attack.

since: 3.1.0

ags_note_get_rt_offset

Gets rt-offset.

since: 3.1.0

ags_note_get_sharp_flats

Gets sharp flats.

since: 3.1.0

ags_note_get_sustain

Gets sustain.

since: 3.1.0

ags_note_get_x0

Gets x0.

since: 3.1.0

ags_note_get_x1

Gets x1.

since: 3.1.0

ags_note_get_y

Gets y.

since: 3.1.0

ags_note_set_attack

Sets attack.

since: 3.1.0

ags_note_set_decay

Sets decay.

since: 3.1.0

ags_note_set_flags

Set flags on note.

since: 3.0.0

ags_note_set_is_minor

Sets is minor.

since: 3.1.0

ags_note_set_ratio

Sets ratio.

since: 3.1.0

ags_note_set_release

Sets release.

since: 3.1.0

ags_note_set_rt_attack

Sets rt-attack.

since: 3.1.0

ags_note_set_rt_offset

Sets rt-offset.

since: 3.1.0

ags_note_set_sharp_flats

Sets sharp flats.

since: 3.1.0

ags_note_set_sustain

Sets sustain.

since: 3.1.0

ags_note_set_x0

Sets x0.

since: 3.1.0

ags_note_set_x1

Sets x1.

since: 3.1.0

ags_note_set_y

Sets y.

since: 3.1.0

ags_note_test_flags

Test flags to be set on note.

since: 3.0.0

ags_note_to_raw_midi

Convert note to raw MIDI and set the buffer length of returned bytes in the array as buffer_length.

since: 3.0.0

ags_note_to_raw_midi_extended

Convert note to raw-midi.

since: 3.0.0

ags_note_to_seq_event

Convert note to ALSA sequencer events and set the number of events in the array as n_events.

since: 3.0.0

ags_note_to_seq_event_extended

Convert note to raw-midi.

since: 3.0.0

ags_note_unset_flags

Unset flags on note.

since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AgsAudio.Note:attack

Envelope attack.

since: 3.0.0

AgsAudio.Note:decay

Envelope decay.

since: 3.0.0

AgsAudio.Note:frequency

The note’s frequency.

since: 3.0.0

AgsAudio.Note:note-name

The note’s name.

since: 3.0.0

AgsAudio.Note:ratio

Envelope ratio.

since: 3.0.0

AgsAudio.Note:release

Envelope release.

since: 3.0.0

AgsAudio.Note:rt-attack

Note realtime attack.

since: 3.0.0

AgsAudio.Note:rt-offset

Note realtime offset.

since: 3.0.0

AgsAudio.Note:stream-attack

The stream’s attack.

since: 3.0.0

AgsAudio.Note:stream-delay

The stream’s delay.

since: 3.0.0

AgsAudio.Note:stream-frame-count

The stream’s frame count.

since: 3.0.0

AgsAudio.Note:sustain

Envelope sustain.

since: 3.0.0

AgsAudio.Note:x0

Note offset x0.

since: 3.0.0

AgsAudio.Note:x1

Note offset x1.

since: 3.0.0

AgsAudio.Note:y

Note offset y.

since: 3.0.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AgsAudioNoteClass {
  GObjectClass gobject;
  
}
No description available.
Class members
gobject: GObjectClass
No description available.