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

(doc request) loops / all Tracks are finite? #54

Open
jwaldmann opened this issue Nov 11, 2018 · 0 comments
Open

(doc request) loops / all Tracks are finite? #54

jwaldmann opened this issue Nov 11, 2018 · 0 comments

Comments

@jwaldmann
Copy link

I found that mel $ repeat ... does not work (it is type-correct, but it gives stack overflow)

mix $ sco (\ f -> return $ osc $ sig f ) $ mel $ repeat $ mel [ temp 300, rest 1 ]

On reason is implementation (mel uses foldl1, at least the default implementation does, https://github.com/spell-music/temporal-media/blob/master/src/Temporal/Class.hs#L24 ) but if I use

... foldr1 (+:+) $ repeat ...

it's still the same (stack overflow).

I guess that each Track Sig D object must have finite duration?

And this is because it can contain only a finite number of notes since they will be written to the csound expression?

Does csound have some "loop" operator? (we construct some finite object, and csound loops over it)

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

1 participant