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

Add support for using samples as impulse response buffers for the reverb #717

Merged
merged 13 commits into from
Oct 9, 2023

Conversation

vasilymilovidov
Copy link
Contributor

This PR adds a function ir() that accepts the names of samples to load as an impulse response for the reverb. the size() function creates a new buffer of the requested size.

s("bd").room(0.5).size(2).ir("shaker_large")

This also works:

s("bd").room(0.5).size(2).ir("shaker_large:2")

If the ir() function is not applied, the regular impulse response generation is used.

@felixroos
Copy link
Collaborator

after the first reverb PR is now merged, it seems it has created a bunch of conflicts here.. should I try to resolve them or do you want? :P

@vasilymilovidov
Copy link
Contributor Author

after the first reverb PR is now merged, it seems it has created a bunch of conflicts here.. should I try to resolve them or do you want? :P

if I'm not mistaken, right now this is just formatting in reverbGen file, and the rest is just my additions

@felixroos
Copy link
Collaborator

I had to do another merge, where I also removed the setIR function. it still seems to work as intended or did I remove something I shouldn't have?

@vasilymilovidov
Copy link
Contributor Author

I had to do another merge, where I also removed the setIR function. it still seems to work as intended or did I remove something I shouldn't have?

setIR was indeed redundant I guess, but there's a problem now with getting a url out of an object. I get this when I try to use samples like 'ocarina' or 'harmonica'

[cyclist] error: url.replace is not a function (4)

@felixroos
Copy link
Collaborator

works like this, not sure if this is as it was before..

@vasilymilovidov
Copy link
Contributor Author

yeah, everything seems to work great!

@felixroos
Copy link
Collaborator

so ready for merge?

@vasilymilovidov
Copy link
Contributor Author

I think so, yeah

@felixroos felixroos merged commit a2ee70a into tidalcycles:main Oct 9, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants