Skip to content
New issue

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

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

Already on GitHub? # to your account

Aliases of doneActions #5

Open
mohayonao opened this issue Oct 22, 2013 · 2 comments
Open

Aliases of doneActions #5

mohayonao opened this issue Oct 22, 2013 · 2 comments

Comments

@mohayonao
Copy link
Owner

Line.kr(0, 1, 10, doneAction:2) # 2 is elusive

I want to write like this.

Line.kr(0, 1, 10, doneAction:FREE) # (replaced 2 when compiling)

List of UGen-doneAction is here.

http://doc.sccode.org/Reference/UGen-doneActions.html

What aliases is good?

@lisongx
Copy link

lisongx commented Jan 6, 2014

I think we shoud keep the sclang style, and add the FREE constant as a bonus

0 -> NOTHING
1 -> PAUSE
there are just so many doneActions, can't think of any alias for now

@mohayonao
Copy link
Owner Author

0 -> NOTHING
1 -> PAUSE
2 -> FREE
3... (not defined)

It's a good idea that only actions used frequently are defined.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants