Skip to content

Master Volume not working #399

@MDoder97

Description

@MDoder97

Your environment

VSCode

  • Version used: (master branch)
  • Platform used: JavaScript
  • Browser Name and Version: Chrome
  • Operating System and version Desktop

Expected Results

Connected master volume to the slider, it didn't work however. I then tried to just call api.masterVolume = 0 right after api initialization, still nothing.

i'm including script from cdn - https://cdn.jsdelivr.net/npm/@coderline/alphatab@latest/dist/alphaTab.js

Code i used

const settings = {
  file: 'https://www.alphatab.net/files/canon.gp',
  player: {
    enablePlayer: true,
    soundFont:
      'https://cdn.jsdelivr.net/npm/@coderline/alphatab@latest/dist/soundfont/sonivox.sf2',
  },
};
const api = new alphaTab.AlphaTabApi(tab, settings);
api.masterVolume = 0;

Metadata

Metadata

Assignees

Labels

area-playerRelated to the audio playback engine.platform-javascriptRelated to the JavaScript version of alphaTabplatform-netRelated to the .net version of alphaTabstate-acceptedThis is a valid topic to work on.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions