|
Load a file, converting it to AG's. To be more specific, load() locates the plugin for the given format and calls the load() function of the plugin with the given parameters.
The way how the function parameters are used varies over file I/O modules(plugins). For example, some modules don't use id , some modules don't use signalInfo . Also available options, which are specified using options parameter, different for different file I/O formats. See File I/O plugins for details of each file I/O module(plugin). - Parameters:
-
format |
Name of the file format. |
filename |
A path (absolute or relative) to the file. |
id |
AGSetId or AGId into which the file will be loaded. |
signalInfo |
A feature-value pair list for the signal information. Features that should be used are:
uri mimeClass mimeType encoding unit track (optional)
The values shouldn't be empty. |
options |
A option-value pair list that is used to change the behavior of load() of the I/O module(plugin). |
- Returns:
-
List of ids of created AG's
|