Top | ![]() |
![]() |
![]() |
![]() |
char * | archive-location | Read / Write |
char * | artist | Read / Write |
char * | comment | Read / Write |
char * | commissioned | Read / Write |
char * | copyright | Read / Write |
char * | date | Read / Write |
char * | engineer | Read / Write |
int | fine-tune | Read / Write |
IpatchDLS2SampleFlags | flags | Read / Write |
int | gain | Read / Write |
char * | genre | Read / Write |
char * | keywords | Read / Write |
guint | loop-end | Read / Write |
guint | loop-start | Read / Write |
IpatchSampleLoopType | loop-type | Read / Write |
char * | medium | Read / Write |
char * | name | Read / Write |
char * | product | Read / Write |
int | root-note | Read / Write |
IpatchSampleData * | sample-data | Read / Write |
int | sample-rate | Read / Write |
char * | software | Read / Write |
char * | source | Read / Write |
char * | source-form | Read / Write |
char * | subject | Read / Write |
char * | technician | Read / Write |
#define | IPATCH_DLS2_SAMPLE_INFO_INIT |
#define | IPATCH_DLS2_SAMPLE_INFO_FIRST_PROPERTY_ID |
#define | IPATCH_DLS2_SAMPLE_INFO_PROPERTY_COUNT |
enum | IpatchDLS2SampleFlags |
#define | IPATCH_DLS2_SAMPLE_LOOP_MASK |
#define | IPATCH_DLS2_SAMPLE_FLAGS_MASK |
GBoxed ╰── IpatchDLS2SampleInfo GObject ╰── IpatchItem ╰── IpatchDLS2Sample ╰── IpatchGigSample
Object which defines a DLS audio sample. These objects are contained in IpatchDLS objects and linked (referenced) from IpatchDLSRegion objects.
IpatchDLS2Sample *
ipatch_dls2_sample_new (void
);
Create a new DLS sample object.
IpatchDLS2Sample *
ipatch_dls2_sample_first (IpatchIter *iter
);
Gets the first item in a sample iterator. A convenience wrapper for
ipatch_iter_first()
.
[skip]
IpatchDLS2Sample *
ipatch_dls2_sample_next (IpatchIter *iter
);
Gets the next item in a sample iterator. A convenience wrapper for
ipatch_iter_next()
.
[skip]
void ipatch_dls2_sample_set_data (IpatchDLS2Sample *sample
,IpatchSampleData *sampledata
);
Set a sample's sample data object.
IpatchSampleData *
ipatch_dls2_sample_get_data (IpatchDLS2Sample *sample
);
Get the IpatchSampleData item of a sample. Sample data item is referenced
before returning and caller is responsible for unreferencing it with
g_object_unref()
when finished with it.
IpatchSampleData *
ipatch_dls2_sample_peek_data (IpatchDLS2Sample *sample
);
Get the IpatchSampleData item of a sample. Like
ipatch_dls2_sample_get_data()
but sample data object is not referenced.
This function should only be used if a reference of the sample data object
is ensured or only the pointer value is of importance.
[skip]
void
ipatch_dls2_sample_set_blank (IpatchDLS2Sample *sample
);
Set the sample data of a sample item to blank data.
IpatchDLS2SampleInfo *
ipatch_dls2_sample_info_new (void
);
Allocates a new sample info structure.
New sample info structure, free it with
ipatch_dls2_sample_info_free()
when finished.
[transfer full]
void
ipatch_dls2_sample_info_free (IpatchDLS2SampleInfo *sample_info
);
Free a sample info structure allocated with ipatch_dls2_sample_info_new()
.
IpatchDLS2SampleInfo *
ipatch_dls2_sample_info_duplicate (IpatchDLS2SampleInfo *sample_info
);
Duplicate a sample info structure.
Newly allocated sample info structure which should be freed
with ipatch_dls2_sample_info_free()
when done with it.
void
ipatch_dls2_sample_info_init (IpatchDLS2SampleInfo *sample_info
);
Initialize a sample info structure to defaults.
void
ipatch_dls2_sample_info_install_class_properties
(GObjectClass *obj_class
);
Installs sample info properties for the given obj_class
. Useful for
objects that implement IpatchDLS2SampleInfo properties.
[skip]
gboolean
ipatch_dls2_sample_info_is_property_id_valid
(guint property_id
);
Check if a property ID is a valid sample info property ID.
[skip]
gboolean ipatch_dls2_sample_info_set_property (IpatchDLS2SampleInfo **sample_info
,guint property_id
,const GValue *value
);
A function used by set_property methods that implement IpatchDLS2SampleInfo properties.
[skip]
gboolean ipatch_dls2_sample_info_get_property (IpatchDLS2SampleInfo *sample_info
,guint property_id
,GValue *value
);
A function used by get_property methods that implement IpatchDLS2SampleInfo properties.
[skip]
void ipatch_dls2_sample_info_notify_changes (IpatchItem *item
,IpatchDLS2SampleInfo *newinfo
,IpatchDLS2SampleInfo *oldinfo
);
Sends IpatchItem property notifies for changed sample info parameters.
[skip]
item |
Item to send IpatchItem property notifies on |
|
newinfo |
New sample info values |
|
oldinfo |
Old sample info values |
“archive-location”
property “archive-location” char *
Location where subject is archived.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“artist”
property “artist” char *
Original artist.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“comment”
property “comment” char *
Comments.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“commissioned”
property “commissioned” char *
Who commissioned the material.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“copyright”
property “copyright” char *
Copyright.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“date”
property “date” char *
Creation date (YYYY-MM-DD).
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“engineer”
property “engineer” char *
Engineers separated by "; ".
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“fine-tune”
property “fine-tune” int
Fine tuning in cents.
Owner: IpatchDLS2Sample
Flags: Read / Write
Allowed values: [-99,99]
Default value: 0
“flags”
property“flags” IpatchDLS2SampleFlags
Sample flags.
Owner: IpatchDLS2Sample
Flags: Read / Write
“gain”
property “gain” int
Gain in DLS relative gain units.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: 0
“genre”
property “genre” char *
Genre.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“keywords”
property “keywords” char *
Keywords (separated by "; ").
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“loop-end”
property “loop-end” guint
Loop end in frames (after loop).
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: 0
“loop-start”
property “loop-start” guint
Start of loop in frames.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: 0
“loop-type”
property“loop-type” IpatchSampleLoopType
Loop method type.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: IPATCH_SAMPLE_LOOP_NONE
“medium”
property “medium” char *
Original medium of the material (record, CD, etc).
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“name”
property “name” char *
Name.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: "untitled"
“product”
property “product” char *
Product intended for.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“root-note”
property “root-note” int
Root MIDI note.
Owner: IpatchDLS2Sample
Flags: Read / Write
Allowed values: [0,127]
Default value: 60
“sample-data”
property“sample-data” IpatchSampleData *
Sample data.
Owner: IpatchDLS2Sample
Flags: Read / Write
“sample-rate”
property “sample-rate” int
Sampling rate in Hertz.
Owner: IpatchDLS2Sample
Flags: Read / Write
Allowed values: [100,192000]
Default value: 44100
“software”
property “software” char *
Editor software used.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“source”
property “source” char *
Source of the original material.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“source-form”
property “source-form” char *
Original source that was digitized.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL
“subject”
property “subject” char *
Subject of the material.
Owner: IpatchDLS2Sample
Flags: Read / Write
Default value: NULL