AVSpeechSynthesisMarkerMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVSpeechSynthesisMarkerMBS class.

AVSpeechSynthesisMarkerMBS.markerWithBookmarkName(mark as string, atByteSampleOffset as Integer) as AVSpeechSynthesisMarkerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a bookmark marker with a name and offset into the audio buffer.
Example
Dim m As AVSpeechSynthesisMarkerMBS

m = AVSpeechSynthesisMarkerMBS.markerWithBookmarkName("test", 1234)

MessageBox m.bookmarkName+" at "+m.byteSampleOffset.ToString

mark: The name of the bookmark.
byteSampleOffset: The byte offset into the audio buffer.

AVSpeechSynthesisMarkerMBS.markerWithMarkerType(type as integer, TextRange as NSRangeMBS, byteSampleOffset as Integer) as AVSpeechSynthesisMarkerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a marker with a type and location of the request’s text.
Example
Dim m As AVSpeechSynthesisMarkerMBS

Dim range As New NSRangeMBS(5, 6)
m = AVSpeechSynthesisMarkerMBS.markerWithMarkerType(AVSpeechSynthesisMarkerMBS.SpeechSynthesisMarkerMarkWord, range, 1234)

MessageBox m.textRange.String+" at "+m.byteSampleOffset.ToString

type: The type that describes the text.
range: The location and length of the request’s text.
byteSampleOffset: The byte offset into the audio buffer.

AVSpeechSynthesisMarkerMBS.markerWithParagraphRange(TextRange as NSRangeMBS, byteSampleOffset as Integer) as AVSpeechSynthesisMarkerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a paragraph marker with a range of the paragraph and offset into the audio buffer.
Example
Dim m As AVSpeechSynthesisMarkerMBS

Dim range As New NSRangeMBS(5, 6)
m = AVSpeechSynthesisMarkerMBS.markerWithParagraphRange(range, 1234)

MessageBox m.textRange.String+" at "+m.byteSampleOffset.ToString

range: The location and length of the paragraph.
byteSampleOffset: The byte offset into the audio buffer.

AVSpeechSynthesisMarkerMBS.markerWithPhonemeString(phoneme as string, atByteSampleOffset as Integer) as AVSpeechSynthesisMarkerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a phoneme marker with a range of the phoneme and offset into the audio buffer.
Example
Dim m As AVSpeechSynthesisMarkerMBS

m = AVSpeechSynthesisMarkerMBS.markerWithPhonemeString("I", 1234)

MessageBox m.phoneme+" at "+m.byteSampleOffset.ToString

phoneme: A string that represents a distinct sound.
byteSampleOffset: The byte offset into the audio buffer.

AVSpeechSynthesisMarkerMBS.markerWithSentenceRange(TextRange as NSRangeMBS, byteSampleOffset as Integer) as AVSpeechSynthesisMarkerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a sentence marker with a range of the sentence and offset into the audio buffer.
Example
Dim m As AVSpeechSynthesisMarkerMBS

Dim range As New NSRangeMBS(5, 6)
m = AVSpeechSynthesisMarkerMBS.markerWithSentenceRange(range, 1234)

MessageBox m.textRange.String+" at "+m.byteSampleOffset.ToString

range: The location and length of the word.
byteSampleOffset: The byte offset into the audio buffer.

AVSpeechSynthesisMarkerMBS.markerWithWordRange(TextRange as NSRangeMBS, byteSampleOffset as Integer) as AVSpeechSynthesisMarkerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a word marker with a range of the word and offset into the audio buffer.
Example
Dim m As AVSpeechSynthesisMarkerMBS

Dim range As New NSRangeMBS(5, 6)
m = AVSpeechSynthesisMarkerMBS.markerWithWordRange(range, 1234)

MessageBox m.textRange.String+" at "+m.byteSampleOffset.ToString

range: The location and length of the word.
byteSampleOffset: The byte offset into the audio buffer.

The items on this page are in the following plugins: MBS AVFoundation Plugin.


💬 Ask a question or report a problem