Work done:
SPREAD now propagates the sequence of phonemes consisting the name rather than a single phoneme. The few words in dictionary is first mapped to the sequence of indices of phonemes in database, then in the thread that takes care of writing sound source sequences with phoneme packets data, we loop through all the phonemes corresponding to received string, write phonemes to the sound source and make the thread sleep for 15 seconds. The sleeping time is chosen so that multiple phonemes do not get mixed at receptor's side while the interval between phonemes is not unnecessarily long. Currently it is dependent on the speed of machine. On a faster machine, the sleeping time could be shorter. I will try to make the interval hardware-independent.
On receptor's side, all receptors are trained to recognize names of every agent. They currently do not recognize other words that could possibly be propagated (at, tuh, um, etc.). Each receptor is assigned a label corresponding to the phoneme index sequence of its name. After this initialization step, agents begin collecting sound packets and try to perceived all packets that are received as a single phoneme every 75 frame (the number is possibly chosen so that 50 frames in a phoneme can be completely emitted and sufficiently propagated) and as soon as the agent recognizes that the phoneme just received matches the first phoneme in its name, it saves the index of this phoneme and starts recording future incoming phonemes. Once a phoneme is not received in 200 frames, the agent will conclude there is no other phoneme to be propagated and it will perform the HMM computation to classify the sequence of indices to be one of the sequences it has been trained for with a likelihood.
If the recognized label matches that of the agent's with a likelihood over 0.9, the agent turns red, indicating its name has been received.
Future work: Action items 6/14
No comments:
Post a Comment