Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/alphatab/src/AlphaTabApiBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ export class AlphaTabApiBase<TSettings> {
* The midi events which will trigger the `midiEventsPlayed` event
* @remarks
* Gets or sets the midi events which will trigger the `midiEventsPlayed` event. With this filter set you can enable
* that alphaTab will signal any midi events as they are played by the synthesizer. This allows reacing on various low level
* that alphaTab will signal any midi events as they are played by the synthesizer. This allows reacting on various low level
* audio playback elements like notes/rests played or metronome ticks.
*
* Refer to the [related guide](https://alphatab.net/docs/guides/handling-midi-events) to learn more about this feature.
Expand Down Expand Up @@ -3647,7 +3647,7 @@ export class AlphaTabApiBase<TSettings> {
* @remarks
* If {@link CoreSettings.enableLazyLoading} is enabled not all partial images of the music sheet might be rendered.
* In this case the `renderFinished` event rather represents that the whole music sheet has been layouted and arranged
* and every partial image can be requested for rendering. If you neeed more fine-grained access
* and every partial image can be requested for rendering. If you need more fine-grained access
* to the actual layouting and rendering progress, you need to look at the low-level apis {@link IScoreRenderer.partialLayoutFinished} and
* {@link IScoreRenderer.partialRenderFinished} accessible via {@link renderer}.
*
Expand Down Expand Up @@ -4126,7 +4126,7 @@ export class AlphaTabApiBase<TSettings> {
* This event is fired when the synthesizer played certain midi events.
*
* @remarks
* This event is fired when the synthesizer played certain midi events. This allows reacing on various low level
* This event is fired when the synthesizer played certain midi events. This allows reacting on various low level
* audio playback elements like notes/rests played or metronome ticks.
*
* Refer to the [related guide](https://www.alphatab.net/docs/guides/handling-midi-events) to learn more about this feature.
Expand Down
4 changes: 2 additions & 2 deletions packages/alphatab/src/CoreSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class CoreSettings {
* The full URL to the alphaTab JavaScript file.
* @remarks
* AlphaTab needs to know the full URL to the script file it is contained in to launch the web workers. AlphaTab will do its best to auto-detect
* this path but in case it fails, this setting can be used to explicitly define it. Altenatively also a global variable `ALPHATAB_ROOT` can
* this path but in case it fails, this setting can be used to explicitly define it. Alternatively also a global variable `ALPHATAB_ROOT` can
* be defined before initializing. Please be aware that bundling alphaTab together with other scripts might cause errors
* in case those scripts are not suitable for web workers. e.g. if there is a script bundled together with alphaTab that accesses the DOM,
* this will cause an error when alphaTab starts this script as worker.
Expand Down Expand Up @@ -147,7 +147,7 @@ export class CoreSettings {
public tex: boolean = false;

/**
* The tracks to display for the initally loaded file.
* The tracks to display for the initially loaded file.
* @json_raw
* @remarks
* This setting can be used in combinition with the {@link file} or {@link tex} option. It controls which of the tracks
Expand Down
2 changes: 1 addition & 1 deletion packages/alphatab/src/DisplaySettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class DisplaySettings {
* @category Display
* @defaultValue `1`
* @remarks
* The stretch force is a setting that controls the spacing of the music notation. AlphaTab uses a varaint of the Gourlay algorithm for spacing which has springs and rods for
* The stretch force is a setting that controls the spacing of the music notation. AlphaTab uses a variant of the Gourlay algorithm for spacing which has springs and rods for
* aligning elements. This setting controls the "strength" of the springs. The stronger the springs, the wider the spacing.
*
* | Force 1 | Force 0.5 |
Expand Down
2 changes: 1 addition & 1 deletion packages/alphatab/src/Environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ export class Environment {
*/
private static _detectWebPlatform(): WebPlatform {
// There might be polyfills or platforms like Electron which have a global process object defined even in the browser.
// We need to differenciate between those platforms and a real nodejs
// We need to differentiate between those platforms and a real nodejs

// the webPlatform is currently only relevant on the main process side and not within workers/worklets
// so it is OK if we wrongly detect node.js inside them.
Expand Down
2 changes: 1 addition & 1 deletion packages/alphatab/src/NotationSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export enum NotationElement {

/**
* Parenthesis that are shown for tied bends
* if they are preceeded by bends.
* if they are preceded by bends.
*/
ParenthesisOnTiedBends = 11,

Expand Down
2 changes: 1 addition & 1 deletion packages/alphatab/src/PlayerSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export class PlayerSettings {
* @json_read_only
* @remarks
* This setting configures whether alphaTab provides the default user interaction features like selection of the playback range and "seek on click".
* By default users can select the desired playback range with the mouse and also jump to individual beats by click. This behavior can be contolled with this setting.
* By default users can select the desired playback range with the mouse and also jump to individual beats by click. This behavior can be controlled with this setting.
* @deprecated Use {@link enableSeekToClick} and {@link enablePlaybackRangeSelection} individually
*/
public get enableUserInteraction(): boolean {
Expand Down
2 changes: 1 addition & 1 deletion packages/alphatab/src/exporter/GpifSoundMapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class GpifInstrumentArticulation {
* @internal
*/
export class GpifSoundMapper {
// NOTE: this code is not generated as the midi insturment list is anyhow fixed and should not never change.
// NOTE: this code is not generated as the midi instrument list is anyhow fixed and should not never change.
private static _midiProgramInfoLookup: Map<number, GpifMidiProgramInfo> = new Map([
[0, new GpifMidiProgramInfo(GpifIconIds.Piano, 'Acoustic Piano')],
[1, new GpifMidiProgramInfo(GpifIconIds.Piano, 'Acoustic Piano')],
Expand Down
4 changes: 2 additions & 2 deletions packages/alphatab/src/generated/CoreSettingsJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface CoreSettingsJson {
* The full URL to the alphaTab JavaScript file.
* @remarks
* AlphaTab needs to know the full URL to the script file it is contained in to launch the web workers. AlphaTab will do its best to auto-detect
* this path but in case it fails, this setting can be used to explicitly define it. Altenatively also a global variable `ALPHATAB_ROOT` can
* this path but in case it fails, this setting can be used to explicitly define it. Alternatively also a global variable `ALPHATAB_ROOT` can
* be defined before initializing. Please be aware that bundling alphaTab together with other scripts might cause errors
* in case those scripts are not suitable for web workers. e.g. if there is a script bundled together with alphaTab that accesses the DOM,
* this will cause an error when alphaTab starts this script as worker.
Expand Down Expand Up @@ -92,7 +92,7 @@ export interface CoreSettingsJson {
*/
tex?: boolean;
/**
* The tracks to display for the initally loaded file.
* The tracks to display for the initially loaded file.
* @json_raw
* @remarks
* This setting can be used in combinition with the {@link file} or {@link tex} option. It controls which of the tracks
Expand Down
2 changes: 1 addition & 1 deletion packages/alphatab/src/generated/DisplaySettingsJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface DisplaySettingsJson {
* @category Display
* @defaultValue `1`
* @remarks
* The stretch force is a setting that controls the spacing of the music notation. AlphaTab uses a varaint of the Gourlay algorithm for spacing which has springs and rods for
* The stretch force is a setting that controls the spacing of the music notation. AlphaTab uses a variant of the Gourlay algorithm for spacing which has springs and rods for
* aligning elements. This setting controls the "strength" of the springs. The stronger the springs, the wider the spacing.
*
* | Force 1 | Force 0.5 |
Expand Down
2 changes: 1 addition & 1 deletion packages/alphatab/src/generated/PlayerSettingsJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export interface PlayerSettingsJson {
* @json_read_only
* @remarks
* This setting configures whether alphaTab provides the default user interaction features like selection of the playback range and "seek on click".
* By default users can select the desired playback range with the mouse and also jump to individual beats by click. This behavior can be contolled with this setting.
* By default users can select the desired playback range with the mouse and also jump to individual beats by click. This behavior can be controlled with this setting.
* @deprecated Use {@link enableSeekToClick} and {@link enablePlaybackRangeSelection} individually
*/
enableUserInteraction?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion packages/alphatab/src/synth/ISynthOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface ISynthOutput {
addSamples(samples: Float32Array): void;

/**
* Called when the samples in the output buffer should be reset. This is neeed for instance when seeking to another position.
* Called when the samples in the output buffer should be reset. This is needed for instance when seeking to another position.
*/
resetSamples(): void;

Expand Down
Loading