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

Tasker/Scheduler #1

Open
theslyprofessor opened this issue Dec 18, 2020 · 2 comments
Open

Tasker/Scheduler #1

theslyprofessor opened this issue Dec 18, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@theslyprofessor
Copy link

Hi, I LOVE this external. I've been doing a lot of work with pitch collections for my dissertation and I was wondering if there was a plan to roll out a scheduler, like the Tasker object that came with MaxMSP. It would come really in handy for timing my events.

Thanks,
Nakul

@theslyprofessor theslyprofessor changed the title Tasker Tasker/Scheduler Dec 18, 2020
@mganss mganss added the enhancement New feature or request label Dec 18, 2020
@mganss
Copy link
Owner

mganss commented Dec 18, 2020

Thanks. Do you mean the Task object? AFAICT it's similar to setInterval/setTimeout in the browser.

I have no plans to implement any of the additional objects that Max provides. But of course contributions are very welcome.

For this particular object I'm wondering if its functionality couldn't be easily emulated using a metro object that periodically calls a method in the js object.

If you do decide to implement this, it should live in its own set of Task.h/Task.cpp files and define a function that attaches a v8::FunctionTemplate to the global template.

@theslyprofessor
Copy link
Author

That makes sense, thanks! Miller himself suggested the approach that you brought up because of the implications of low-priority scheduling when using a task object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants