Writting a speaker or microphone device

Sound handling works similarly to image manipulation, the USound structure is provided for this purpose. The recommanded way to implement a microphone is to fill the UObject val variable with the sound data corresponding to one kernel period. If you do so, the urbi code "loop tag:micro.val," will produce the expected result.