Skip to content

Conversation

@Danielku15
Copy link
Member

@Danielku15 Danielku15 commented Aug 8, 2021

Issues

Relates to #480

Proposed changes

Try to use HTML5 Audio Worklets if available for audio output instead of the ScriptProcessor.
So far it is a simple copy-paste of the old output implementation with the required adaptions. So far only the output is shifted to the worklet, we'll have to check if more offloading from the UI thread is possible as currently the synthesizing happens in a worker and all communication between worklet and WebWorker go via UI thread.

Checklist

  • I consent that this change becomes part of alphaTab under it's current or any future open source license
  • Changes are implemented
  • Existing builds tests pass
  • New tests were added

Further details

  • This is a breaking change
  • This change will require update of the documentation/website

@Danielku15 Danielku15 self-assigned this Aug 8, 2021
@Danielku15 Danielku15 linked an issue Aug 8, 2021 that may be closed by this pull request
@Danielku15 Danielku15 merged commit cfbd848 into develop Aug 14, 2021
@Danielku15 Danielku15 deleted the feature/audio-worklet-2 branch August 14, 2021 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use AudioWorklets for synthesizer

2 participants