| Top |
| int | fine-tune | Read / Write |
| guint | loop-end | Read / Write |
| guint | loop-start | Read / Write |
| char * | name | Read / Write |
| int | root-note | Read / Write |
| IpatchSampleData * | sample-data | Read / Write |
| int | sample-rate | Read / Write |
Spectralis samples are children of IpatchSLI objects and are referenced by IpatchSLIZone objects. They define the audio which is synthesized.
IpatchSLISample *
ipatch_sli_sample_new (void);
Create a new Spectralis sample object.
IpatchSLISample *
ipatch_sli_sample_first (IpatchIter *iter);
Gets the first item in a sample iterator. A convenience wrapper for
ipatch_iter_first().
[skip]
IpatchSLISample *
ipatch_sli_sample_next (IpatchIter *iter);
Gets the next item in a sample iterator. A convenience wrapper for
ipatch_iter_next().
[skip]
void ipatch_sli_sample_set_name (IpatchSLISample *sample,const char *name);
Sets the name of a Spectralis sample.
char *
ipatch_sli_sample_get_name (IpatchSLISample *sample);
Gets the name of a Spectralis sample.
void ipatch_sli_sample_set_data (IpatchSLISample *sample,IpatchSampleData *sampledata);
Set a sample's sample data object.
IpatchSampleData *
ipatch_sli_sample_get_data (IpatchSLISample *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_sli_sample_peek_data (IpatchSLISample *sample);
Get the IpatchSampleData item of a sample. Like
ipatch_sli_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_sli_sample_set_blank (IpatchSLISample *sample);
Set the sample data of a sample item to blank data.
“fine-tune” property “fine-tune” int
Fine tuning in cents.
Owner: IpatchSLISample
Flags: Read / Write
Allowed values: [-99,99]
Default value: 0
“loop-end” property “loop-end” guint
Loop end in frames (after loop).
Owner: IpatchSLISample
Flags: Read / Write
Default value: 0
“loop-start” property “loop-start” guint
Start of loop in frames.
Owner: IpatchSLISample
Flags: Read / Write
Default value: 0
“name” property “name” char *
Name.
Owner: IpatchSLISample
Flags: Read / Write
Default value: NULL
“root-note” property “root-note” int
Root MIDI note.
Owner: IpatchSLISample
Flags: Read / Write
Allowed values: [0,127]
Default value: 60
“sample-data” property“sample-data” IpatchSampleData *
Sample data.
Owner: IpatchSLISample
Flags: Read / Write