IpatchSampleStoreSplit24

IpatchSampleStoreSplit24 — Sample storage object for 24 bit audio in 16 and 8 bit segments

Stability Level

Stable, unless otherwise indicated

Functions

Properties

guint location-lsbytes Read / Write

Object Hierarchy

    GObject
    ╰── IpatchItem
        ╰── IpatchSampleStore
            ╰── IpatchSampleStoreFile
                ╰── IpatchSampleStoreSplit24

Description

SoundFont 2.04 adds support for 24 bit audio. This is done in a semi backwards compatible fashion where the most significant 16 bits is stored separately from the remaining 8 bit segments. This storage object handles this transparently.

Functions

ipatch_sample_store_split24_new ()

IpatchSample *
ipatch_sample_store_split24_new (IpatchFile *file,
                                 guint loc_16bit,
                                 guint loc_lsbytes);

Creates a new split 24 bit sample store (lower byte of 24 bit samples is stored in a separate block). New SoundFont 2.04 uses this method.

Parameters

file

File object

 

loc_16bit

Location of 16 bit audio data

 

loc_lsbytes

Location of 24 bit LS bytes

 

Returns

New split 24 sample store.

[type IpatchSampleStoreSplit24]

Property Details

The “location-lsbytes” property

  “location-lsbytes”         guint

LS byte sample data file position.

Owner: IpatchSampleStoreSplit24

Flags: Read / Write

Default value: 0