Events - Core |
---|
errorJavaScript alphaTab.errorjQuery
alphaTab.errorHTML
Error.net
errorAndroid | This event is fired when an error within alphatab occurred. |
postRenderFinishedJavaScript alphaTab.postRenderFinishedjQuery
alphaTab.postRenderFinishedHTML
PostRenderFinished.net
postRenderFinishedAndroid | This event is fired when the rendering of the whole music sheet is finished, and all handlers of RenderFinished ran. |
renderFinishedJavaScript alphaTab.renderFinishedjQuery
alphaTab.renderFinishedHTML
RenderFinished.net
renderFinishedAndroid | This event is fired when the rendering of the whole music sheet is finished. |
renderStartedJavaScript alphaTab.renderStartedjQuery
alphaTab.renderStartedHTML
RenderStarted.net
renderStartedAndroid | This event is fired when the rendering of the whole music sheet is starting. |
resizeJavaScript alphaTab.resizejQuery
alphaTab.resizeHTML
Resize.net
resizeAndroid | This event is fired when alphaTab was resized and is about to rerender the music notation. |
scoreLoadedJavaScript alphaTab.scoreLoadedjQuery
alphaTab.scoreLoadedHTML
ScoreLoaded.net
scoreLoadedAndroid | This event is fired whenever a new song is loaded |
Events - Player |
---|
activeBeatsChangedJavaScript alphaTab.activeBeatsChangedjQuery
alphaTab.activeBeatsChangedHTML
ActiveBeatsChanged.net
activeBeatsChangedAndroid | This event is fired when the currently active beats across all tracks change. |
beatMouseDownJavaScript alphaTab.beatMouseDownjQuery
alphaTab.beatMouseDownHTML
BeatMouseDown.net
beatMouseDownAndroid | This event is fired whenever a the user presses the mouse button on a beat. |
beatMouseMoveJavaScript alphaTab.beatMouseMovejQuery
alphaTab.beatMouseMoveHTML
BeatMouseMove.net
beatMouseMoveAndroid | This event is fired whenever the user moves the mouse over a beat after the user already pressed the button on a beat. |
beatMouseUpJavaScript alphaTab.beatMouseUpjQuery
alphaTab.beatMouseUpHTML
BeatMouseUp.net
beatMouseUpAndroid | This event is fired whenever the user releases the mouse after a mouse press on a beat. |
midiEventsPlayedJavaScript alphaTab.midiEventsPlayedjQuery
alphaTab.midiEventsPlayedHTML
MidiEventsPlayed.net
midiEventsPlayedAndroid | The midi events which will trigger the `midiEventsPlayed` event |
midiLoadJavaScript alphaTab.midiLoadjQuery
alphaTab.midiLoadHTML
MidiLoad.net
midiLoadAndroid | This event is fired when a Midi file is being loaded. |
midiLoadedJavaScript alphaTab.midiLoadedjQuery
alphaTab.midiLoadedHTML
MidiLoaded.net
midiLoadedAndroid | This event is fired when the Midi file needed for playback was loaded. |
noteMouseDownJavaScript alphaTab.noteMouseDownjQuery
alphaTab.noteMouseDownHTML
NoteMouseDown.net
noteMouseDownAndroid | This event is fired whenever a the user presses the mouse button on a note head/number. |
noteMouseMoveJavaScript alphaTab.noteMouseMovejQuery
alphaTab.noteMouseMoveHTML
NoteMouseMove.net
noteMouseMoveAndroid | This event is fired whenever the user moves the mouse over a note after the user already pressed the button on a note. |
noteMouseUpJavaScript alphaTab.noteMouseUpjQuery
alphaTab.noteMouseUpHTML
NoteMouseUp.net
noteMouseUpAndroid | This event is fired whenever the user releases the mouse after a mouse press on a note. |
playbackRangeChangedJavaScript alphaTab.playbackRangeChangedjQuery
alphaTab.playbackRangeChangedHTML
PlaybackRangeChanged.net
playbackRangeChangedAndroid | This event is fired when the playback range changed. |
playedBeatChangedJavaScript alphaTab.playedBeatChangedjQuery
alphaTab.playedBeatChangedHTML
PlayedBeatChanged.net
playedBeatChangedAndroid | This event is fired when the played beat changed. |
playerFinishedJavaScript alphaTab.playerFinishedjQuery
alphaTab.playerFinishedHTML
PlayerFinished.net
playerFinishedAndroid | This event is fired when the playback of the whole song finished. |
playerPositionChangedJavaScript alphaTab.playerPositionChangedjQuery
alphaTab.playerPositionChangedHTML
PlayerPositionChanged.net
playerPositionChangedAndroid | This event is fired when the playback state changed. |
playerReadyJavaScript alphaTab.playerReadyjQuery
alphaTab.playerReadyHTML
PlayerReady.net
playerReadyAndroid | This event is fired when all required data for playback is loaded and ready. |
playerStateChangedJavaScript alphaTab.playerStateChangedjQuery
alphaTab.playerStateChangedHTML
PlayerStateChanged.net
playerStateChangedAndroid | This event is fired when the playback state changed. |
soundFontLoadJavaScript alphaTab.soundFontLoadjQuery
alphaTab.soundFontLoadHTML
SoundFontLoad.net
soundFontLoadAndroid | This event is fired when the SoundFont is being loaded. |
soundFontLoadedJavaScript alphaTab.soundFontLoadedjQuery
alphaTab.soundFontLoadedHTML
SoundFontLoaded.net
soundFontLoadedAndroid | This event is fired when the SoundFont needed for playback was loaded. |
Methods - Core |
---|
alphaTab()jQuery | Initializes AlphaTab. |
destroy()JavaScript alphaTab('destroy')jQuery
Destroy().net
destroy()Android | Destroys the alphaTab control and restores the initial state of the UI. |
downloadMidi()JavaScript alphaTab('downloadMidi')jQuery | Generates an SMF1.0 file and downloads it |
load()JavaScript alphaTab('load')jQuery
Load().net
load()Android | Initiates a load of the score using the given data. |
print()JavaScript alphaTab('print')jQuery | Opens a popup window with the rendered music notation for printing. |
render()JavaScript alphaTab('render')jQuery
Render().net
render()Android | Initiates a re-rendering of the current setup. |
renderScore()JavaScript alphaTab('renderScore')jQuery
RenderScore().net
renderScore()Android | Initiates a rendering of the given score. |
renderTracks()JavaScript alphaTab('renderTracks')jQuery
RenderTracks().net
renderTracks()Android | Initiates a rendering of the given tracks. |
tex()JavaScript alphaTab('tex')jQuery
Tex().net
tex()Android | Tells alphaTab to render the given alphaTex. |
updateSettings()JavaScript alphaTab('updateSettings')jQuery
UpdateSettings().net
updateSettings()Android | Applies any changes that were done to the settings object and informs the Renderer about any new values to consider. |
Methods - Player |
---|
changeTrackMute()JavaScript alphaTab('muteTracks')jQuery
ChangeTrackMute().net
changeTrackMute()Android | Changes the given tracks to be muted or not. |
changeTrackSolo()JavaScript alphaTab('soloTracks')jQuery
ChangeTrackSolo().net
changeTrackSolo()Android | Changes the given tracks to be played solo or not. |
changeTrackVolume()JavaScript alphaTab('trackVolume')jQuery
ChangeTrackVolume().net
changeTrackVolume()Android | Changes the volume of the given tracks. |
loadSoundFont()JavaScript alphaTab('loadSoundFont')jQuery
LoadSoundFont().net
loadSoundFont()Android | Triggers a load of the soundfont from the given data. |
pause()JavaScript alphaTab('pause')jQuery
Pause().net
pause()Android | Pauses the playback of the current song. |
play()JavaScript alphaTab('play')jQuery
Play().net
play()Android | Starts the playback of the current song. |
playBeat()JavaScript alphaTab('playBeat')jQuery
PlayBeat().net
playBeat()Android | Triggers the play of the given beat. |
playNote()JavaScript alphaTab('playNote')jQuery
PlayNote().net
playNote()Android | Triggers the play of the given note. |
playPause()JavaScript alphaTab('playPause')jQuery
PlayPause().net
playPause()Android | Toggles between play/pause depending on the current player state. |
resetSoundFonts()JavaScript alphaTab('resetSoundFonts')jQuery
ResetSoundFonts().net
resetSoundFonts()Android | Unloads all presets from previously loaded SoundFonts. |
stop()JavaScript alphaTab('stop')jQuery
Stop().net
stop()Android | Stops the playback of the current song, and moves the playback position back to the start. |
Properties - Core |
---|
containerJavaScript alphaTab('container')jQuery
Container.net
containerAndroid | The UI container that holds the whole alphaTab control. |
rendererJavaScript alphaTab('renderer')jQuery
Renderer.net
rendererAndroid | The score renderer used for rendering the music sheet. This is the low-level API responsible for the actual rendering chain. |
scoreJavaScript alphaTab('score')jQuery
Score.net
scoreAndroid | The score holding all information about the song being rendered |
settingsJavaScript alphaTab('settings')jQuery
Settings.net
settingsAndroid | The settings that are used for rendering the music notation |
alphaTab('api')jQuery | Returns the underlying API object. |
tracksJavaScript alphaTab('tracks')jQuery
Tracks.net
tracksAndroid | A list of the tracks that should be rendered based on the Score and TrackIndexes properties |
Properties - Player |
---|
countInVolumeJavaScript alphaTab('countInVolume')jQuery
CountInVolume.net
countInVolumeAndroid | The volume of the count-in metronome ticks |
isLoopingJavaScript alphaTab('looping')jQuery
IsLooping.net
isLoopingAndroid | Whether the playback should automatically restart after it finished |
isReadyForPlaybackJavaScript alphaTab('isReadyForPlayback')jQuery
IsReadyForPlayback.net
isReadyForPlaybackAndroid | Whether the player is ready for starting the playback. |
masterVolumeJavaScript alphaTab('masterVolume')jQuery
MasterVolume.net
masterVolumeAndroid | The current master volume as percentage |
metronomeVolumeJavaScript alphaTab('metronomeVolume')jQuery
MetronomeVolume.net
metronomeVolumeAndroid | The metronome volume as percentage |
midiEventsPlayedFilterJavaScript alphaTab('midiEventsPlayedFilter')jQuery
MidiEventsPlayedFilter.net
midiEventsPlayedFilterAndroid | The midi events which will trigger the `midiEventsPlayed` event |
playbackRangeJavaScript alphaTab('playbackRange')jQuery
PlaybackRange.net
playbackRangeAndroid | The range of the song that should be played |
playbackSpeedJavaScript alphaTab('playbackSpeed')jQuery
PlaybackSpeed.net
playbackSpeedAndroid | The current playback speed as percentage |
playerJavaScript alphaTab('player')jQuery
Player.net
playerAndroid | The alphaSynth player used for playback. This is the low-level API to the Midi synthesizer used for playback. |
playerStateJavaScript alphaTab('playerState')jQuery
PlayerState.net
playerStateAndroid | The current player state |
tickCacheJavaScript alphaTab('tickCache')jQuery
TickCache.net
tickCacheAndroid | The tick cache allowing lookup of midi ticks to beats. |
tickPositionJavaScript alphaTab('tickPosition')jQuery
TickPosition.net
tickPositionAndroid | The position within the song in midi ticks |
timePositionJavaScript alphaTab('timePosition')jQuery
TimePosition.net
timePositionAndroid | The position within the song in milliseconds |