mike mike.raw The usual output of a mike, ie, one sample voltage at that moment. do.atFrequency(20000) : mike.raw -> speaker.playRaw This copies mike to speaker at 20,000 samples per second. mike.wheneverWordIsSpoken("open-sesame") -> lock.open This uses word recognition software in the mike's Z-chip mike.learnWord("abracadabra") Issue this command then say the word a few times. mike.learnSound("mom's car") Place a (battery-powered radio-linked) mike on your driveway. Issue this command just before mom drives up. mike.wheneverSoundOccurs("mom's car") -> garageDoor.open -> phone.text 312-555-9873 "Mom is here!" mike.volume(0.5) outputs average sound level over last 0.5 seconds. define mike.whenVolumeUnder(v,d) : mike.volume(d) -> math.ifGreaterThan(v) -> do.stop Washing machines make noise when operating. If quiet (under 20 db) for 10 seconds, the wash is done. Place a mike near your washing machine and do: mike.whenVolumeUnder(20 db, 10 sec) -> phone.text(3125559873,"The wash is done!") mike.spectrum(0.2,20000,10) Computes spectrum of next 0.2 seconds of sound, sampled at 20K samples/second, in 10 bands. Output is 10 numbers. Example use: do.every(0.2 sec) : mike.spectrum(0.2,20000,10) -> display.barGraph(10) This creates a spectrum analyzer display as a bar graph auto-sized for 10 bars.