This would be a useful function to have for live performances. I have two ideas off the top of my head, but am not too optimistic about them:
-
subtract a loop of the 'quiet' room from the live input. This is simple but probably wouldn't work too well because, if there is any irregularity at all in the recording, this will create an audible pattern.
-
take the 'quiet' room recording and put it into a [sigmund~]. Keep the highest amplitude value in the loop for each frequency band and use this to set the strength of a notch filter for the respective band. I've got a bad feeling about this idea- like it'd work well with clear, isolated pitches, but probably not with noise (which is going to be the main thing you want to filter!)