MCTeam's contribution to this hackathon is a personalized audio visual logo for C2HO.
C2HO is a network, and to symbolize the network the logo uses the Dual-tone Multi-Frequency Signaling (DTMF) protocol used in telecommunication. Audio is generated that dials up the users IP adress, while the visual logo starts to build on screen.
The visuals are created in pygame, consisting of multicoloured, individual blocks slowly building the letters C2HO in order to emphasise the collaborative nature of C2HO, and the background color will be different based on the users IP adress. After the logo has finished building, it turns into a game of pong for 2 players. One block at a time detaches to become the ball.
After dialing up, a voice message welcomes the user by their name, or at least the name of the owner of the computer who is used when logging on.
A sound logo ends the audio part of the logo, created by using the morse code for C2HO (-.-. / ..--- / .... / ---) as a rythm and the frequencies of the IP adress. This is all processed through some old fashioned Schroeder all pass reverb and a simple Impulse Response Delay, before being saturated for that last nice touch.
Main libraries used:
- pygame
- numpy
- pyttsx3 (the voice synthesizer)
- socket (to get the ip and hostname)
- soundfile
- librosa
- scipy For the render:
- pyaudio
- skvideo
- ffmpegio
- ffmpeg
The audio visual logo is generated in a jupyter notebook to adher to the rules of the C2HO hackathon. The cells in the section build and run the logo can simply be run in order. Included are also the cells used in order to produce the render.
For a demo version (which will be based on one of the creator's IP and hostname) can be seen in the folder RENDER. Due to the codec used, this didn't run in Window's Media Player. However, it play fine in VLC media player.