[−][src]Enum sofiza::sfz::headers::Header
SFZ files are subdivided into sections by headers.
The global/group/region or global/master/group/region hierarchy contains the opcodes which define which samples are played, when they are to be played, and how.
Variants
The basic component of an instrument. An instrument is defined by one or more regions.
- version: v1
- info: region
Multiple regions can be arranged in a group. Groups allow entering common parameters for multiple regions.
- version: v1
- info: group
The control header would be found at the beginning of the file and includes special opcodes for setting up MIDI CC controls.
- version: v2
- info: control
The global header (one per file), contains opcodes which apply to all regions in the file.
- version: v2
- info: global
The curve headers, when used, are normally found at the end of the file, and define the curves used for shaping envelopes, parameter response etc.
- version: v2
- info: curve
SFZ v2 header for effects controls.
In SFZ v1 only effect1 and effect2 opcodes was available and only at ‹region› level.
From SFZ v2 this header was added together with the addition of effect3 and effect4 opcodes also to modulate the related bus. Other opcodes listed in the book are bus, type and dsp_order.
- version: v2
- info: effect
The master header is an extra level added inbetween group and global for the ARIA player.
- version: aria extension
- info: master
ARIA extension, was added for MIDI pre-processor effects. From ARIA v1.0.8.0+ an ‹effect› section with a bus=midi can be used instead.
- version: aria extension
- info: midi
Allows to embed sample data directly in SFZ files (Rapture).
- version: cakewalk extension
- info: sample
Trait Implementations
impl Debug for Header
[src]
impl PartialEq<Header> for Header
[src]
impl StructuralPartialEq for Header
[src]
Auto Trait Implementations
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,