I am making a toy for 4-year old children with 10-20 pieces in wood, as in this picture with four wooden boards with names:
The goal is that each wooden board triggers a sound, such as "Hello" or "Goodbye", and triggers a different sound depending on the setting, e.g. "Hello" in English or in French.
An easier and cheaper solution would be to include just a button with an emitter in the wooden boards, and let a server like a Raspberry Pi listen to the signal, discriminate between the pieces, and play the sound of the piece whose button was pressed, with one press for English and two rapid presses for French. I think infrared would work, but it would require the emitter to be aligned with the receiver; radio would solve directionality but the emitters are too big.
I am a newbie here: is that possible?