You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation there is not an official AllPass filter for processing-sound available to the user.
There does appear to be some code for one in the source from 2018 used to implement other effects.
thanks for your message, an all-pass filter would certainly be a welcome addition to the library! If you wanted to make a pull-request based on your code I'd be happy to merge it. If you're too busy to do it yourself, we will probably commit a good chunk of time to overhauling the library and adding new features over the next few months, in which case I'd be able to add your code (with attribution of course) myself.
I'd be happy to write the code.
I'll also make a simple example for the documentation if you like.
With Processing-Sound being a popular library I'd appreciate it if you, or someone experienced with the package, ran a second pair of eyes over my the code before it is merged. Would that be OK?
That would be great if you could also add an example! No worries we'd certainly go over all the code before it's packaged up and distributed.
As you might have noticed, the library documentation on the Processing website is actually automatically generated from the Javadoc comments in the source files, so if you were feeling inspired you could already add appropriate Javadoc comments to your code, broadly following other effects classes e.g. https://github.com/processing/processing-sound/blob/master/src/processing/sound/BandPass.java
Absolutely no worries if not, as I said we have a substantial codebase overhaul coming up, where documentation would be addressed anyway.
Ah, I was wondering what @webref was all about. That's cool!
I will happily put some of those comments in for the repo. I won't be able to test it before submitting the pull request.
I also noticed These htmls files here. Will my comments @webref and @webBrief automatically generate an AllPass.html or would you like me to make one?
Using a different jsyn object
Choosing musical coeffs for OnePoleOneZero was quite challenging even when I knew where to start.
I found a jsyn second order allpass filter which is in my opinion a more user-friendly choice for the processing-sound library. Still very functional; less technical knowledge required. Are you happy with this change?
Advice for naming a method.
Jsyn's FilterAllPass calls its unitport "gain" which makes sense from a digital signal processing perspective. I think gain may be confused with amplitude, especially since many processing users are not expected to have background in audio. I'd like to use "drive" instead. Is it OK that I break with the jsyn documentation?
Received note that this Allpass has been merged into main.
Stoked to see what people will make with it.
I'm keen to have a look at how the documentation turns out based on the files from my branch. I'm still not quite sure how that's meant to update to the website but I'm sure it will turn up soon.
Activity
kevinstadler commentedon Jan 14, 2023
Hello,
thanks for your message, an all-pass filter would certainly be a welcome addition to the library! If you wanted to make a pull-request based on your code I'd be happy to merge it. If you're too busy to do it yourself, we will probably commit a good chunk of time to overhauling the library and adding new features over the next few months, in which case I'd be able to add your code (with attribution of course) myself.
Best,
Kevin
pixmusix commentedon Jan 15, 2023
Hi Kevin.
Thanks for getting back to me.
I'd be happy to write the code.
I'll also make a simple example for the documentation if you like.
With Processing-Sound being a popular library I'd appreciate it if you, or someone experienced with the package, ran a second pair of eyes over my the code before it is merged. Would that be OK?
kevinstadler commentedon Jan 15, 2023
That would be great if you could also add an example! No worries we'd certainly go over all the code before it's packaged up and distributed.
As you might have noticed, the library documentation on the Processing website is actually automatically generated from the Javadoc comments in the source files, so if you were feeling inspired you could already add appropriate Javadoc comments to your code, broadly following other effects classes e.g. https://github.com/processing/processing-sound/blob/master/src/processing/sound/BandPass.java
Absolutely no worries if not, as I said we have a substantial codebase overhaul coming up, where documentation would be addressed anyway.
pixmusix commentedon Jan 15, 2023
Fantastic.
Docs
Ah, I was wondering what @webref was all about. That's cool!
I will happily put some of those comments in for the repo. I won't be able to test it before submitting the pull request.
I also noticed These htmls files here.
Will my comments @webref and @webBrief automatically generate an AllPass.html or would you like me to make one?
Using a different jsyn object
Choosing musical coeffs for OnePoleOneZero was quite challenging even when I knew where to start.
I found a jsyn second order allpass filter which is in my opinion a more user-friendly choice for the processing-sound library.
Still very functional; less technical knowledge required. Are you happy with this change?
Advice for naming a method.
Jsyn's FilterAllPass calls its unitport "gain" which makes sense from a digital signal processing perspective. I think gain may be confused with amplitude, especially since many processing users are not expected to have background in audio.
I'd like to use "drive" instead. Is it OK that I break with the jsyn documentation?
pixmusix commentedon Aug 7, 2023
Received note that this Allpass has been merged into main.
Stoked to see what people will make with it.
I'm keen to have a look at how the documentation turns out based on the files from my branch. I'm still not quite sure how that's meant to update to the website but I'm sure it will turn up soon.
Thanks again @kevinstadler for all your hard work.