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:
SoundFileMBS.WriteDouble(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 written.
SoundFileMBS.WriteDoubleFrames(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 written.
SoundFileMBS.WriteInt(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 written.
Some examples using this method:
SoundFileMBS.WriteIntFrames(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 written.
SoundFileMBS.WriteRaw(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 written.
SoundFileMBS.WriteShort(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 written.
SoundFileMBS.WriteShortFrames(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 written.
SoundFileMBS.WriteSingle(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 written.
SoundFileMBS.WriteSingleFrames(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 written.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS Tools Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The items on this page are in the following plugins: MBS Tools Plugin.