libinstpatch Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
IpatchGigSubRegion; enum IpatchGigSubRegionFlags; #define IPATCH_GIG_SUB_REGION_UNUSED_FLAG_SHIFT IpatchGigSubRegion * ipatch_gig_sub_region_new (void
); IpatchGigSubRegion * ipatch_gig_sub_region_first (IpatchIter *iter
); IpatchGigSubRegion * ipatch_gig_sub_region_next (IpatchIter *iter
); IpatchGigSample * ipatch_gig_sub_region_get_sample (IpatchGigSubRegion *subregion
); void ipatch_gig_sub_region_set_sample (IpatchGigSubRegion *subregion
,IpatchGigSample *sample
);
"fine-tune" gint : Read / Write "flags" IpatchDLS2SampleFlags : Read / Write "gain" gint : Read / Write "link-item" IpatchGigSample* : Read / Write "loop-end" guint : Read / Write "loop-start" guint : Read / Write "loop-type" IpatchSampleLoopType : Read / Write "root-note" gint : Read / Write "sample-info-override" gboolean : Read / Write
Defines a GigaSampler sub region object which are children of IpatchGigRegion objects and define how a referenced IpatchGigSample is synthesized in a IpatchGigInst.
typedef enum { IPATCH_GIG_SUB_REGION_SAMPLE_INFO_OVERRIDE = 1 << IPATCH_ITEM_UNUSED_FLAG_SHIFT } IpatchGigSubRegionFlags;
IpatchGigSubRegion * ipatch_gig_sub_region_new (void
);
Create a new GigaSampler sub region.
Returns : |
New GigaSampler sub region with a ref count of 1 which the caller owns. |
IpatchGigSubRegion * ipatch_gig_sub_region_first (IpatchIter *iter
);
Gets the first item in a sub region iterator. A convenience
wrapper for ipatch_iter_first()
.
|
Patch item iterator containing IpatchGigSubRegion items |
Returns : |
The first sub region in iter or NULL if empty.
|
IpatchGigSubRegion * ipatch_gig_sub_region_next (IpatchIter *iter
);
Gets the next item in a sub region iterator. A convenience wrapper
for ipatch_iter_next()
.
|
Patch item iterator containing IpatchGigSubRegion items |
Returns : |
The next sub region in iter or NULL if at the end of
the list.
|
IpatchGigSample * ipatch_gig_sub_region_get_sample (IpatchGigSubRegion *subregion
);
|
GigaSampler sub region to get sample of |
Returns : |
The sub region's sample, referenced for the caller, unref it when finished. |
void ipatch_gig_sub_region_set_sample (IpatchGigSubRegion *subregion
,IpatchGigSample *sample
);
Set the referenced sample of a sub region.
|
GigaSampler sub region to set sample of |
|
Sample to assign to the sub region |
"fine-tune"
property"fine-tune" gint : Read / Write
Fine tuning in cents.
Allowed values: [-99,99]
Default value: 0
"loop-end"
property"loop-end" guint : Read / Write
Loop end in frames (after loop).
Default value: 0
"loop-start"
property"loop-start" guint : Read / Write
Start of loop in frames.
Default value: 0
"loop-type"
property"loop-type" IpatchSampleLoopType : Read / Write
Loop method type.
Default value: IPATCH_SAMPLE_LOOP_NONE
"root-note"
property"root-note" gint : Read / Write
Root MIDI note.
Allowed values: [0,127]
Default value: 60
"sample-info-override"
property"sample-info-override" gboolean : Read / Write
Override sample info.
Default value: FALSE