Skip to content

Vibrato does not play for more than one bar #1011

@MrDrone-ru

Description

@MrDrone-ru

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The vibrato stops at the end of the bar, then one note from the vibrato range plays, not necessarily the base one.

Expected Behavior

Vibrato for the entire duration of the note.

Steps To Reproduce

Play a vibrating note, which consists of 2 or more notes linked through a bar.
4-5 bars in my example

Link to jsFiddle, CodePen, Project

http://dronx.byethost16.com/attest.html

Found in Version

1.3-alpha

Platform

Web

Environment

Opera 91.0.4516.16

Anything else?

Also I wanted to change the vibrato option via code:

const settings = {
                    file: ".....",
                    player: {
                        enablePlayer: true,
                        soundFont:'https://cdn.jsdelivr.net/npm/@coderline/alphatab@latest/dist/soundfont/sonivox.sf2',
                        scrollElement: wrapper.querySelector('.at-viewport'),
                        vibrato: {
                            noteSlightLength = 350
                        }
                    }
}

But it caused an error "Invalid shorthand property initializer"
However, this

api.settings.player.vibrato.noteSlightLength = 350;
api.updateSettings();

works fine.

Metadata

Metadata

Assignees

Labels

area-playerRelated to the audio playback engine.area-renderingEverything related to the renderingplatform-allAffects all platformsstate-acceptedThis is a valid topic to work on.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions