I’m trying to cut low frequencies when set to Add, and remain high frequencies, set for below the Hertz frequency so the unwanted reflection is erased. When I run this and choose “Add”;
This does like a smooth wipe, faded from frequency to frequency, but I need an instant cut (like Spectral Delete, but number in “Factor” used) so the lower frequencies below “Factor” is removed, but frequency above remains. How would you adjust this code? And is there a simple code that is small and easily human-readable?
Is there a special “High Pass” or some code setting I can use in this file?
No filters have “instant” cut, not even Spectral Delete. Spectral Delete has extremely steep filter slopes, but they still slope and are not “instant”.
You can increase the steepness of Nyquist’s “highpass8” filter by cascading it like this:
How do I make “(highpass track )” work with being a value from another tool? I want to try to use the value in the Add setting, raising frequency (not moving) and erasing anything below with the highpass, both using single only.
Not to be mean, but could you try to be a little more clear? Where do I add the highpass’s?
Put the function definition before you need to use it.
You then call the function like this:
(highpass sound frequency)
where sound is the sound that you want to filter, and frequency is the filter frequency.
No filters have “instant” cut, not even Spectral Delete.
What he said. Brick Wall Filters are not fun. They leave high energy trash at the transitions and create distortions to the original sound or performance.
Here’s a little two-second sample of 300Hz (mellow) tone. All there is in the sound file is 300Hz and silence, and yet there’s a tick sound at the end of the tone and, depending on your system, at the beginning, too. Where did the tick or pop come from?
If “type” = 0
then do
otherwise
multiply track x
(hzosc (* 100 factor) sine-table 90) x
(highpass8 track (* 1 factor))
If you want to replace “highpass8” with the new “highpass” filter, then we look at the “highpass” function definition to see what the necessary syntax is:
We see that “highpass” takes two arguments, which are the “signal” to be processed, and the “frequency” (in Hz).
So we need to replace (highpass8 track (* 1 factor)) with (highpass track (* 1 factor)),
but what is (* 1 factor) ?
Why are you multiplying “factor” by 1?
factor x 1 = factor, so better for us to use
(highpass track factor)
I don’t know what a Brick Wall Audio is, but I’ll try to be more specific in visual. Moving up the spectrum using a Sine in Ring Modulation, and clipping out bottom reflected ringing. The picture shows original audio, what I am trying to get or something similar to get when set to “Add” and “3000”, and what I get in result when I use the code and set to “Add” and “3000”.
Here is another example with no high-pass, which is what I am trying to use to remove the bottom reflection. Note that the “reflection” I’m trying to at least somewhat remove is below 3000Hz, which is an inverted version of what is above 3000Hz.