Skip to content

Add JavaScript sequence API documentation#113

Merged
petersalomonsen merged 3 commits intomasterfrom
docs/sequence-api-documentation
Jan 3, 2026
Merged

Add JavaScript sequence API documentation#113
petersalomonsen merged 3 commits intomasterfrom
docs/sequence-api-documentation

Conversation

@petersalomonsen
Copy link
Owner

This PR adds comprehensive documentation for the JavaScript sequence API used in the song compiler.

Changes

  • Added SEQUENCE_API.md with documentation for:
    • Global functions (setBPM, waitForBeat, playFromHere, loopHere)
    • Track functions (createTrack, TrackerPattern)
    • Note functions (c0-b10 with transpose/fixVelocity methods)
    • MIDI control functions (pitchbend, controlchange)
    • Video/Audio functions
    • Recording functions
    • Song structure functions (definePartStart, definePartEnd)
    • Channel control functions (mute, solo)
    • TrackerPattern class methods (steps, play)
    • Pattern class methods
    • Array extensions (quantize, fixVelocity, repeat)
    • Complete usage example

@petersalomonsen petersalomonsen marked this pull request as ready for review January 3, 2026 15:51
@petersalomonsen petersalomonsen merged commit 59daf17 into master Jan 3, 2026
6 checks passed
@petersalomonsen petersalomonsen deleted the docs/sequence-api-documentation branch January 3, 2026 15:55
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.

1 participant