I know that machines exist which suppress sounds in their vicinity, but this idea is a bit different.
When this block is placed down, starts to "listen" for the events which produce sounds, and, the first time it gets a sound event, cancels it, and records exactly what sound occured.
From that point forward, it continues to listen to sound events, but only cancels those events which exactly match that first recorded one, ignoring all others.
In the machine's GUI, the machine can reset, and can also reprogrammed to identify the Nth distinct sound (ignoring duplicates) instead of the first.
The machine can be turned on or off using redstone -- specifically if it's strongly powered or strongly unpowered -- and if measured with a comparator, it will produce a signal strength equal to how many sounds were suppressed in the last redstone tick.
I know that machines exist which suppress sounds in their vicinity, but this idea is a bit different.
When this block is placed down, starts to "listen" for the events which produce sounds, and, the first time it gets a sound event, cancels it, and records exactly what sound occured.
From that point forward, it continues to listen to sound events, but only cancels those events which exactly match that first recorded one, ignoring all others.
In the machine's GUI, the machine can reset, and can also reprogrammed to identify the Nth distinct sound (ignoring duplicates) instead of the first.
The machine can be turned on or off using redstone -- specifically if it's strongly powered or strongly unpowered -- and if measured with a comparator, it will produce a signal strength equal to how many sounds were suppressed in the last redstone tick.