I modified the output~ abstraction that comes with pd extended slightly to include some things I use often. Mainly I added writesf~ so that you can record the post fader output at 24 bits and whatever sample rate pd is currently running at. I also added some vu's. Hope someone finds this useful.
-
Output~ modification
-
add a limiter~ before the volume control so that if the signal is above 1 it will be limited
i also added a lp filter to remove inaudible frequencies.. don't know enough about filters to know if this is the right way of doing it
also there is my filewriter in which i forgot to account for higher than normal bitrate
should change this.... maybe... tomorrowpd redefining mathematics |expr fact(0)|==0
-
limiting is a cool idea… protect you equipment and your ears! It looks like you are summing the stereo image into mono though.
-
It's still stereo.
The part you're thinking is summed is just a control value coming from the limiter. The actual signals get delayed 64 samples by the z~ objects, to let the limiter catch up, then multiplied by the output of the limiter. -
oops… rtfm!
-
so i cluttered mine up with vu's and other stuff
pd redefining mathematics |expr fact(0)|==0