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

Examples of APIs for interacting with the environment #143

Open
pwalsh opened this issue Apr 14, 2023 · 2 comments
Open

Examples of APIs for interacting with the environment #143

pwalsh opened this issue Apr 14, 2023 · 2 comments

Comments

@pwalsh
Copy link

pwalsh commented Apr 14, 2023

This looks like a really interesting project, thanks for the work.

When I look over the docs, I see lots of examples of implementing "business logic" in scheme, but, I am still left unsure as to what APIs exist for integrating with the environment / patcher.

For example, how do I create a new Jitter object?

Or, equivalents of the following in the js object:

https://docs.cycling74.com/max8/vignettes/jsfolderobject

https://docs.cycling74.com/max8/tutorials/javascriptchapter02

This maybe in an obvious location I have missed - apologies in advance if that is the case.

@iainctduncan
Copy link
Owner

Hi Paul, thanks for checking it out. These are good suggestions for future areas of work, I have not done much in the way of patcher scripting in S4M. You can do it programmatically by creating a thispatcher object in your path and sending it messages however. But I think going through those docs and implementing some of what is there would be good.

The API to Max has been focused on music related stuff so far: dicts, buffers, tables, the scheduler, with the main focus being algorithmic music and live coding music.

If you wind up interested in S4M and want specific features that are missing or should be copied from the JS object, by all means add issues as feature request with specifics. I'm wrapping up a term for the next month, but am planning on another release in May or June and can see about getting some of this stuff in.

@iainctduncan
Copy link
Owner

I'm going to leave this as an open feature request ticket in the meantime so I have a handy reminder of those pages.

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

No branches or pull requests

2 participants