http://www.windytan.com/2021/03/speech-to-birdsong-conversion.html absorptions a blog about signals, random hacks, & assorted infodumps. by windytan [oona raisanen] Pages * home * list of posts * about & FAQ * my nerd story * infographics # Speech to birdsong conversion by Oona Raisanen (Oona Raisanen) Monday, March 29, 2021 I had a dream one night where a blackbird was talking in human language. When I woke up there was actually a blackbird singing outside the window. Its inflections were curiously speech-like. The dreaming mind only needed to imagine a bunch of additional harmonics to form phonemes and words. One was left wondering if speech could be transformed into a blackbird song by isolating one of the harmonics... One way to do this would be to: * Find the instantaneous fundamental frequency and amplitude of the speech. For example, filter the harmonics out and use an FM demodulator to find the frequency. Then find the signal envelope amplitude by AM demodulation. * Generate a new wave with similar amplitude variations but greatly multiplied in frequency. [Image: Signal path diagram.] A proof-of-concept script using the Perl-SoX-csdr command-line toolchain is available (source code here). The result sounds surprisingly blackbird-like. Even the little trills are there, probably as a result of FM noise or maybe vocal fry at the end of sentences. I got the best results by speaking slowly and using exaggerated inflection. Here, a noise gate and reverb has been added to the result to improve it a little: And finally, a piece of sound art where this synthetic blackbird song is mixed with a subtle chord and a forest ambience: Think of the possibilities: A simultaneous interpreter for talking to birds. A tool for dubbing talking birds in animation or live theatre. Entertainment for cats. What other birds could be done with a voice changer like this? What about croaky birds like a duck or a crow? Labels: computer art, signals Older Post - No comments: Post a Comment The comments section is pre-moderated; it will take some time for the comment to show up. You might want to check out the FAQ first. Subscribe to: Post Comments (Atom) Author Oona Raisanen (windytan) A programmer, geek, signals enthusiast. I'm interested in radio, DSP, sounds, visualizations, mysteries, music and sound art, and vintage tech. Absorptions is my personal hobby diary. I write about my research and adventures in the world of signals, and fun things I do with the computer. See the FAQ. Mastodon # Labels biohack (2) computer art (8) computer vision (6) crypto (4) FM subcarriers (9) hardware (15) infodump (16) life hack (2) Linux (5) music (4) Perl (4) puzzle (2) reversing (11) security (5) signals (34) toys (5) two-way radio (4) # Popular Posts * [dialup-fin] The sound of the dialup, pictured If you ever connected to the Internet before the 2000s, you probably remember that it made a peculiar sound. But despite becoming so familia... * [bitteja] Mystery signal from a helicopter Last night, YouTube suggested a video for me. It was a raw clip from a news helicopter filming a police chase in Kansas City, Missouri. I q... * [IMG_0541a] Decoding radio-controlled bus stop displays In the previous post I told about the 16 kbps data stream on FM broadcast frequencies, and my suspicion that it's being used by the bus... * [rdstmc] A determined 'hacker' decrypts RDS-TMC As told in a previous post , I like to watch the RDS-TMC traffic messages every now and then, just for fun. Even though I've never had a... * [IMG_4114a] Eavesdropping on a wireless keyboard Some time ago, I needed to find a new wireless keyboard. With the level of digital paranoia that I have, my main priority was security. But ... * [darc] Broadcast messages on the DARC side By now I've rambled quite a lot about RDS, the data subcarrier on the third harmonic of the 19 kHz FM stereo pilot tone. And we know the... * [IMG_7613] The burger pager A multinational burger chain has a restaurant nearby. One day I went there and ordered a take-away burger that was not readily available. (E... # On social media * Twitter # Check out these blogs * Hack a Day * Gough's Tech Zone * DataGenetics # Powered by Blogger. #