| Top |
| IpatchSF2Writer * | ipatch_sf2_writer_new () |
| void | ipatch_sf2_writer_set_patch () |
| void | ipatch_sf2_writer_set_file_handle () |
| gboolean | ipatch_sf2_writer_save () |
| IpatchList * | ipatch_sf2_writer_create_stores () |
| void | ipatch_sf2_write_phdr () |
| void | ipatch_sf2_write_ihdr () |
| void | ipatch_sf2_write_shdr () |
| void | ipatch_sf2_write_bag () |
| void | ipatch_sf2_write_mod () |
| void | ipatch_sf2_write_gen () |
IpatchSF2Writer * ipatch_sf2_writer_new (IpatchFileHandle *handle,IpatchSF2 *sfont);
Create a new SoundFont 2 file writer.
void ipatch_sf2_writer_set_patch (IpatchSF2Writer *writer,IpatchSF2 *sfont);
Set the SoundFont patch object to save with a SoundFont writer.
void ipatch_sf2_writer_set_file_handle (IpatchSF2Writer *writer,IpatchFileHandle *handle);
gboolean ipatch_sf2_writer_save (IpatchSF2Writer *writer,GError **err);
Write a SoundFont object to a file.
IpatchList *
ipatch_sf2_writer_create_stores (IpatchSF2Writer *writer);
Create sample stores and add them to applicable IpatchSampleData objects and return object list. This function can be called multiple times, additional calls will return the same list.
Since: 1.1.0
void ipatch_sf2_write_phdr (IpatchFileHandle *handle,const IpatchSF2Phdr *phdr);
Buffer writes a preset header into handle
from a phdr
structure.
[skip]
void ipatch_sf2_write_ihdr (IpatchFileHandle *handle,const IpatchSF2Ihdr *ihdr);
Writes an instrument header into handle
from a ihdr
structure.
[skip]
void ipatch_sf2_write_shdr (IpatchFileHandle *handle,const IpatchSF2Shdr *shdr);
Writes a sample header into handle
from a shdr
structure.
[skip]
void ipatch_sf2_write_bag (IpatchFileHandle *handle,const IpatchSF2Bag *bag);
Writes a preset or instrument bag into handle
from a bag
structure.
[skip]
void ipatch_sf2_write_mod (IpatchFileHandle *handle,const IpatchSF2Mod *mod);
Writes a modulator into handle
from a mod
structure.
[skip]
void ipatch_sf2_write_gen (IpatchFileHandle *handle,int genid,const IpatchSF2GenAmount *amount);
Writes a generator into handle
from a genid
and amount
structure.
[skip]
“migrate-samples” property “migrate-samples” gboolean
Was supposed to migrate sample data to the new file, was not implemented properly though. Does nothing now.
IpatchSF2Writer:migrate-samples has been deprecated since version 1.1.0 and should not be used in newly-written code.
Use ipatch_sf2_writer_create_stores() instead.
Owner: IpatchSF2Writer
Flags: Read / Write
Default value: FALSE