Platforms to show: All Mac Windows Linux Cross-Platform
Back to SoundFileMBS class.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Same as destructor, but you can call it early.
SoundFileMBS.Constructor Private
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
SoundFileMBS.GetString(type as Integer) as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See kString* constants.
Returns "" in case of error.
SoundFileMBS.ReadDouble(p as ptr, items as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pointer should point to memmoryblock with 8 * Items in size.
Returns number of items read.
SoundFileMBS.ReadDoubleFrames(p as ptr, items as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pointer should point to memmoryblock with 8 * Items * Channels in size.
Returns number of items read.
SoundFileMBS.ReadInt(p as ptr, items as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pointer should point to memmoryblock with 4 * Items in size.
Returns number of items read.
SoundFileMBS.ReadIntFrames(p as ptr, items as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pointer should point to memmoryblock with 4 * Items * Channels in size.
Returns number of items read.
SoundFileMBS.ReadRaw(p as ptr, bytes as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pointer should point to memmoryblock with Bytes in size.
Returns number of bytes read.
SoundFileMBS.ReadShort(p as ptr, items as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pointer should point to memmoryblock with 2 * Items in size.
Returns number of items read.
SoundFileMBS.ReadShortFrames(p as ptr, items as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pointer should point to memmoryblock with 2 * Items * Channels in size.
Returns number of items read.
SoundFileMBS.ReadSingle(p as ptr, items as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pointer should point to memmoryblock with 4 * Items in size.
Returns number of items read.
SoundFileMBS.ReadSingleFrames(p as ptr, items as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pointer should point to memmoryblock with 4 * Items * Channels in size.
Returns number of items read.
Some examples using this method:
SoundFileMBS.Seek(frames as Int64, whence as Integer) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See kSeek* constants for whence parameter.
SoundFileMBS.SetString(type as Integer, data as Memoryblock) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See kString* constants.
Returns zero on success.
See also:
SoundFileMBS.SetString(type as Integer, text as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See kString* constants.
Returns zero on success.
See also:
The items on this page are in the following plugins: MBS Tools Plugin.