icon

The Unthing

Have you ever received ads for a product you just mentioned in a private conversation? Is your phone listening? Here’s a small AI-based device to test whether that hypothesis is true.

STEP 1
Parts
DFPlayer ProFermion AdKey BoardMicrospeakerDC FemaleJumper cables5v 1A Power Supply
STEP 2
Circuit
STEP 3
Software

Requirements

 

pip install openai

pip install art

 

Loading script


 

The Python script is in charge of choosing a product or service, generating conversations texts casually mentioning the product or service, converting those texts to speech and loading the mp3 to the Unthing. 


 

Before executing the script a few parameters have to be edited.


 

ChatGPTKey = "" // openAI API key

model = "gpt-3.5-turbo-instruct" // model to be used. You can leave this one unless it becomes deprecated

temperature1 = 0.9 // how creative is the product or service

temperature2 = 0.5 // how creative is the conversation around the product or service

audioQty = 6 // how many audios

DfPlayerProUnit = "D:" // external unit assigned to the DFPlayer 

nationality = "Uruguayo" //nationality

age = "20" // age

workAt = "un restaurante" // work

sex = "man" // sex


 

You can also change the prompts for product and conversation with prompt1 and prompt2. Just leave ITEM exactly as this since it will be replaced at execution time.

STEP 4
Operation

Connect the Power Source and press the K0 for Play/Pause K1 and K2 for Last/Next and K6 and K7 for Volume. 


 

Why is it called The Unthing


 

“The Thing ... was one of the first covert listening devices (or "bugs") to use passive techniques to transmit an audio signal. It was concealed inside a gift given by the Soviet Union to W. Averell Harriman, the United States Ambassador to the Soviet Union, on August 4, 1945. Because it was passive, needing electromagnetic energy from an outside source to become energized and active…. The Thing was designed by Soviet Russian inventor Leon Theremin,best known for his invention of the theremin, an electronic musical instrument”

STEP 5
Demo
STEP 6
Source code
License
All Rights
Reserved
licensBg
0