< Back to IRCAM Forum

"surface-pass" filter

Hello

I would like to draw a surface/region on a sonogram and then filter it in order to keep only what’s inside the region (that is, filter down to 0 all that is not inside).
When I try to edit the region I can see only a gain factor to apply inside. I guess I could use it to multiply the spectral contents by something much bigger than everything else, but this is not a very elegant solution.
Am I missing something ?

Thank you

Dear Jean,
I guess you should use the rectangular or the free time/frequency zone selection on the sonogram and then, from the “file” menu, choose “new soundfile from selection”. Hope this helps.
Best,
Francesco Vitale

As far as I can see, new sound file from selection just cuts the sound (time selection) but does not apply any filtering.
thanks anyway

Hello, Jean,

If I understand your request correctly, you should select a very high gain (something like 100dB for 16 bits) for the surface of which you want to keep the contents, then process the sound with Normalize Output selected. This will normalize the sound inside the surface and, automatically, erase what it outside.

Tchuess!

Marco

Dear Jean,
look at the attached screenshot: if you want something like that, you should follow the instructions that I’ve given before (rectangular or free time/frequency zone selection -> new soundfile from selection). In this way, as you can see from the image, you keep only what’s inside the region.
Best,
Francesco

filter1.png

wont work for me, however if I set a strong gain to the region (which seems to be your case, too since it appears blue) I can “process selection” (+ normalize output) to get what I want.
thanks to you both!

Dear Jean,
I don’t understand why doesn’t work for you. With AS 3.2.7 (the last version) it works fine (I’m on OS 10.8.6). Have you set the filter mode to “gain” (which is the default setting for AS)? The “strong gain” seems to me an odd workaround…

Hello Jean,

I am a bit late here in this discussion but I would like to give some explanations even if you are already happy with the proposed solution.

Marco’s proposal is the “old” approach that was used prior to the now present pass and rejet filter modes that you can select right above the spectrogram pane. The most easy approach is now to just select filter mode “pass” and then each of the surface filters will act as a pass through filter while all the rest of the spectrogram is set to zero. The advantage compared to the previous approach is the fact that you don’t need to normalise so that you preserve the original amplitudes of the

The suggestion proposed by Francesco should work as well, but for this as far as I see you cannot use filters, you would have to use rectangular or free hand selections. You do those with the selection tool (the second rectangle in the tools bar). This should work and uses the mechanism of the spectral copy paste approach. The disadvantage compared to the filter approach is that you cannot store the selection as a treatment which can be useful if you want to recreate the sound using a modified selection.

Best
Axel