-
-
Notifications
You must be signed in to change notification settings - Fork 49
Pixmusix allpass #79
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
Pixmusix allpass #79
Conversation
…uition for the allpass, i.e. shifting the phase without modulating the amplitude.
…mentation. Added simple logic to cap argument of the gain() method to within a reasonable range.
|
Thanks for your code, all looking good! You were right not to commit the HTML (Javadoc) files, they will be automatically generated from Regarding the parameter name, I wouldn't worry too much about what the parameter is called in JSyn or whether a Sound library beginner would confuse it with another meaning, but just go for whichever a user who knows what an Allpass-filter is would intuitively call it. Do you think 'gain' is a canonical name for the parameter? We could also go for something more obscure like the plain 'a' from the filter equation, as long as users immediately recognize it for what it is. Best! |
|
Thanks for your thoughts about what to call the parameter. Thanks. |
|
Hi @kevinstadler. |
|
@pixmusix no worries it's still good to go, we're just waiting to draw up a timetable for the next library release before we take care of all outstanding testing and mergers! |
|
Lovely :) P.S. If you need further support, I'm very happy to assist with processing-sound documentation. |
|
@kevinstadler |
|
Thanks, that's very thoughtful of you! The new reference won't be published online until the next library release goes public, at the moment I am pushing changes to the processing-website The description is taken straight from the Sound library javadoc, the website examples however are from the website repo's If you look at other website examples you will find that they are pretty dumb, bare minimal use cases, and not full sketch examples. So for added clarity it might be an idea to also drop the lengthy visualisation part of the |
Docs
Thanks for that screenshot. I agree the description from the jsyn doc is a little technical. Further examples
Sure! That's a good idea.
// Create two triangle waves with deconstructive frequencies.
triA = new TriOsc(this);
triA.freq(220);
triB = new TriOsc(this);
triB.freq(410);
// Make an Allpass
allPass = new AllPass(this);
// Give Allpass a high gain to process yucky transience.
allPass.gain(0.995);
// Start both triangle waves together.
// This will create a lot of unbridled bright sounds.
triA.play();
triB.play();
// Processing the sound through this high gained Allpass will warm it up!
allPass.process(triA);
allPass.process(triB);I can make a pull request for that tomorrow if you like. 😄 |
|
Hi @kevinstadler Would you like me to push the example above? |
|
Yes that would be amazing, thank you very much! If you are able to also add the (extra brief) examples to the |
|
@kevinstadler sounds great.
By extra brief are you wanting some three liners? Or are you talking about my attempt at a simple example above? 😀 |
|
Something like above is good! I just checked the web reference examples for some of the other core functions and they're often in the 10-20 line range, the main difference to 'full' example sketches like those bundled with the library is that the code snippets typically forego full |
|
Thanks again @kevinstadler That pull request has been made to the sound-updates branch. |

Thanks for the opportunity to work on the processing-sound library.
I have tested building (with ant dist) and tested the allpass object and the example.
The file docs/allclasses-index.html was also modified but not committed to my branch.
Let me know if you need any clarification or if I can assist further.
I'm grateful for all your efforts maintaining this library and a thankyou to @kevinstadler from the git issue. Pixmusix.