Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define and implement time-related functions common oscillators and timing units #110

Open
sofian opened this issue Apr 5, 2024 · 0 comments
Labels

Comments

@sofian
Copy link
Collaborator

sofian commented Apr 5, 2024

It would make sense to have a common API for timing units such as Alarm, Chronometer and Metro and oscillators such as TriOsc and SineOsc. In particular functions such as:

  • start()/play()
  • pause()
  • resume()
  • stop()
  • addTime()

To this, the oscillators could also have phase-related stuff:

  • addPhase() or shift() or shiftBy()
  • getShifted() (would replace shiftBy)

Related issues: #92 #96 #98

@sofian sofian added the question label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant