The carbon-granules microphone works on the principle of change in