Constructor

AgsAudioAddNotenew

since: 3.0.0

Declaration [src]

AgsAddNote*
ags_add_note_new (
  AgsAudio* audio,
  AgsNote* note,
  guint audio_channel,
  gboolean use_selection_list
)

Description [src]

Create a new instance of AgsAddNote.

Available since: 3.0.0

Parameters

audio

Type: AgsAudio

The AgsAudio.

The data is owned by the caller of the function.
note

Type: AgsNote

The AgsNote to add.

The data is owned by the caller of the function.
audio_channel

Type: guint

The audio channel.

use_selection_list

Type: gboolean

If TRUE added to selection, otherwise to notation.

Return value

Type: AgsAddNote

The new AgsAddNote.

The caller of the function takes ownership of the data, and is responsible for freeing it.