AgsCropNote256th

AgsCropNote256th — crop notation

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

#include <ags/audio/task/ags_crop_note_256th.h>

Description

The AgsCropNote256th task crops AgsNotation.

Functions

ags_crop_note_256th_set_selection ()

void
ags_crop_note_256th_set_selection (AgsCropNote256th *crop_note_256th,
                                   GList *selection);

Set selection of crop_note_256th .

Parameters

crop_note_256th

the AgsCropNote256th

 

selection

the selection as GList.

[element-type AgsAudio.Note][transfer none]

Since: 9.1.3


ags_crop_note_256th_new ()

AgsCropNote256th *
ags_crop_note_256th_new (AgsAudio *audio,
                         AgsNotation *notation,
                         GList *selection,
                         guint x_256th_padding,
                         gint x_256th_crop,
                         gboolean absolute,
                         gboolean in_place,
                         gboolean do_resize);

WARNING you need to provide AgsAudio as a property. Creates an AgsCropNote256th task. Note256th either in_place or do_resize shall be TRUE else it won't have any effect.

Parameters

audio

the AgsAudio

 

notation

the AgsNotation

 

selection

the selection as GList.

[element-type AgsAudio.Note][transfer none]

x_256th_padding

the x padding to use

 

x_256th_crop

the amout to crop

 

absolute

if TRUE from absolute position, otherwise relative

 

in_place

if TRUE crop in place, otherwise grow relative offset

 

do_resize

if TRUE resize notation, otherwise not

 

Returns

a new AgsCropNote256th

Since: 9.1.3

Types and Values

AGS_CROP_NOTE_256TH_DEFAULT_X_LENGTH

#define AGS_CROP_NOTE_256TH_DEFAULT_X_LENGTH (16 * 16 * 16 * 1200)