Texting Cabbage with a Recorder - Computerphile

Computerphile · Intermediate ·📐 ML Fundamentals ·12y ago

Key Takeaways

The video demonstrates how to use a musical instrument, specifically a recorder, as a input device to type words using a musical typewriter, with the help of a Makey Makey and a texting API, as part of a hackathon challenge.

Full Transcript

there are 41 whole words that you can text using a recorder the longest of which are cabbage and baggage there's loads of videos of people taking things which aren't Musical and making them musical with the Makey Makey so this weekend we decided we take something that was Musical and make it do something computery this was part of a haakon h Manchester one of the sponsors had a challenge for the most ridiculous use of a texting API and and Paula decided to rig up a musical instrument to a texting API so you have uh you can text with only the musical notes available we have a recorder connected to a Makey Makey which we're using as the input instead of a keyboard into this laptop there's wires connected to each of these finger holes and there's an earth wire connected to the mouthpiece with the Makey Makey you have to be connecting one of those wires and the Earth at the same time to get input into to a computer if you're holding the keys and then you blow into it and connect the Earth you can start typing as you would with the keyboard except it's not a keyboard it's a recorder we numbered each of the holes and then we changed the file on the Makey Makey so that when each of those holes are touched it sends a string through the USB with which holes were being pressed when you touch the Earth so for example we'll send 0 1 and two to the computer cuz with the holes that I had covered that didn't make much of a tun we kept doing it just that way this weekend to not annoy people we send Z one and two because those were the holes I had covered when I pressed the Earth so anyone that actually plays a recorder sorry for my bad recorder ring I'm not a recorder [Music] player Shadows are meant to be different notes the wires have a tendency to come out as you can see they are purely duct taped on bit of a technical issue with the duct tape you're currently pressing notes yeah I know it might work a bit better now see what good is it having so many numbers on there how do you get cabbaged in what happens is that it sends all of the numbers in a string in order you can then write an applet that will let you take that string and switch on a Case statement to say what letter should come from those so we chose to do it so if you played an a then a statement would say you've pressed 0 1 and two and switch that so they would output an a onto the screen instead of showing you 0 1 and two I was thinking you maybe make 0 a 1 B but you're talking about the actual note a is that right yeah because there's eight holes we could have used eight factorial and Had Each one corresponding to a different letter and covered all of the letters and numbers and some punctuation but we thought this way is a bit more ridiculous and you know when you've got a recorder could inct tape it's pretty ridiculous anyway so make it as ridiculous as you can the Makey make is s Arduino it's running Arduino firmware so that has a program on here um in Arduino C which will send the appropriate codes through this is a Java file Java class recorder input and in the recorder input class they have this uh switch statement so switch statement uh they're just recognizing the different notes so 012 for the a 01 for the B 02 for the C once they've formed those and recognize what notes they are they can be fed into the rest of the program to be used for texting or anything really I'm not a musician I'm a computer scientist it was difficult and we upset a lot of people at 2: in the morning at a hacker Thon when they were trying to sleep going will this work work blow a out oh we squeaked Etc but it does take quite a while I'll be honest okay the longest word that we can text is the word cabbage so here we [Music] go so we got 02 which represents C 012 representing a uh 01 twice representing two B's 012 again and 0 1 2 3 and then e which is a bit of a ridiculous one where she had to press 0 1 2 3 4 and five so there's quite a few finger holes involved in that one so we were actually sitting quite close to the team that was sponsoring this award and um they very quickly caught on to what was going on and Paula became known as the girl with the recorder and developed a bit of a Fanfare throughout the event and uh that led on to Paul actually winning the hacker form for that challenge um her and her partner won and one of the the prizes were I think it was four Nexus Falls and a 5 foot banana so let's say I have an important document the permission to to go to the Moon I don't know why don't know why I said that um the moon let's say that why not

Original Description

How many words can you type if you are restricted to a musical typewriter? HackSocNotts competed in a hack-athon and came up with this! Hackathons are endurance coding events which can lead to all sorts of strange hybrid ideas becoming reality. Correction: at 3mins in Paula meant to say 2 to the power 8 (2^8) not 8 factorial. Hashing Algorithms: COMING SOON! Musical Floppy Drives: http://www.youtube.com/watch?v=C3dU5u4xXaY http://www.facebook.com/computerphile https://twitter.com/computer_phile This video was filmed and edited by Sean Riley. Computerphile is a sister project to Brady Haran's Numberphile. See the full list of Brady's video projects at: http://bit.ly/bradychannels
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Computerphile · Computerphile · 29 of 60

1 Follow the Cookie Trail - Computerphile
Follow the Cookie Trail - Computerphile
Computerphile
2 EXTRA BITS - Follow the Cookie Trail - Computerphile
EXTRA BITS - Follow the Cookie Trail - Computerphile
Computerphile
3 Musical Floppy Drives - Computerphile
Musical Floppy Drives - Computerphile
Computerphile
4 The Hair Algorithm - Computerphile
The Hair Algorithm - Computerphile
Computerphile
5 Getting Sorted & Big O Notation - Computerphile
Getting Sorted & Big O Notation - Computerphile
Computerphile
6 Quick Sort - Computerphile
Quick Sort - Computerphile
Computerphile
7 Hyper History and Cyber War - Computerphile
Hyper History and Cyber War - Computerphile
Computerphile
8 Entropy in Compression - Computerphile
Entropy in Compression - Computerphile
Computerphile
9 Original Elite on the BBC B - Computerphile
Original Elite on the BBC B - Computerphile
Computerphile
10 IP Addresses and the Internet - Computerphile
IP Addresses and the Internet - Computerphile
Computerphile
11 A Career in Video Games - Computerphile
A Career in Video Games - Computerphile
Computerphile
12 Error Detection and Flipping the Bits - Computerphile
Error Detection and Flipping the Bits - Computerphile
Computerphile
13 Programming BASIC and Sorting - Computerphile
Programming BASIC and Sorting - Computerphile
Computerphile
14 Birthplace of the World Wide Web - Computerphile
Birthplace of the World Wide Web - Computerphile
Computerphile
15 Punch Card Programming - Computerphile
Punch Card Programming - Computerphile
Computerphile
16 Programming Paradigms - Computerphile
Programming Paradigms - Computerphile
Computerphile
17 CERN Computing Centre (and mouse farm) - Computerphile
CERN Computing Centre (and mouse farm) - Computerphile
Computerphile
18 Error Correction - Computerphile
Error Correction - Computerphile
Computerphile
19 Home-Made Code - Computerphile
Home-Made Code - Computerphile
Computerphile
20 Security of Data on Disk - Computerphile
Security of Data on Disk - Computerphile
Computerphile
21 Gesture Controls - Computerphile
Gesture Controls - Computerphile
Computerphile
22 How Intelligent is Artificial Intelligence? - Computerphile
How Intelligent is Artificial Intelligence? - Computerphile
Computerphile
23 Encryption and Security Agencies - Computerphile
Encryption and Security Agencies - Computerphile
Computerphile
24 Virtual Machines Power the Cloud - Computerphile
Virtual Machines Power the Cloud - Computerphile
Computerphile
25 Hacking Websites with SQL Injection - Computerphile
Hacking Websites with SQL Injection - Computerphile
Computerphile
26 How Huffman Trees Work - Computerphile
How Huffman Trees Work - Computerphile
Computerphile
27 Cracking Websites with Cross Site Scripting - Computerphile
Cracking Websites with Cross Site Scripting - Computerphile
Computerphile
28 Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Computerphile
Texting Cabbage with a Recorder - Computerphile
Texting Cabbage with a Recorder - Computerphile
Computerphile
30 Hashing Algorithms and Security - Computerphile
Hashing Algorithms and Security - Computerphile
Computerphile
31 How YouTube Works - Computerphile
How YouTube Works - Computerphile
Computerphile
32 How NOT to Store Passwords! - Computerphile
How NOT to Store Passwords! - Computerphile
Computerphile
33 A New Golden Age of Video Games - Computerphile
A New Golden Age of Video Games - Computerphile
Computerphile
34 A Universe of Triangles - Computerphile
A Universe of Triangles - Computerphile
Computerphile
35 Cross Site Request Forgery - Computerphile
Cross Site Request Forgery - Computerphile
Computerphile
36 The True Power of the Matrix (Transformations in Graphics) - Computerphile
The True Power of the Matrix (Transformations in Graphics) - Computerphile
Computerphile
37 The Great 202 Jailbreak - Computerphile
The Great 202 Jailbreak - Computerphile
Computerphile
38 EXTRA BITS - Printing and Typesetting History - Computerphile
EXTRA BITS - Printing and Typesetting History - Computerphile
Computerphile
39 Triangles to Pixels - Computerphile
Triangles to Pixels - Computerphile
Computerphile
40 The Problem with Time & Timezones - Computerphile
The Problem with Time & Timezones - Computerphile
Computerphile
41 The Visibility Problem - Computerphile
The Visibility Problem - Computerphile
Computerphile
42 Lights and Shadows in Graphics - Computerphile
Lights and Shadows in Graphics - Computerphile
Computerphile
43 The Penguin Barcode - Computerphile
The Penguin Barcode - Computerphile
Computerphile
44 Typesetters in the '80s - Computerphile
Typesetters in the '80s - Computerphile
Computerphile
45 The Font Magicians - Computerphile
The Font Magicians - Computerphile
Computerphile
46 The Little Mac with the Big Bite - Computerphile
The Little Mac with the Big Bite - Computerphile
Computerphile
47 EXTRA BITS - More on the Original Mac at 30 - Computerphile
EXTRA BITS - More on the Original Mac at 30 - Computerphile
Computerphile
48 XP to Ubuntu with an 8yr old Hacktop - Computerphile
XP to Ubuntu with an 8yr old Hacktop - Computerphile
Computerphile
49 EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
Computerphile
50 EXTRA BITS - Making a Bootable USB in Linux - Computerphile
EXTRA BITS - Making a Bootable USB in Linux - Computerphile
Computerphile
51 EXTRA BITS - Installing Ubuntu Permanently - Computerphile
EXTRA BITS - Installing Ubuntu Permanently - Computerphile
Computerphile
52 The Dawn of Desktop Publishing - Computerphile
The Dawn of Desktop Publishing - Computerphile
Computerphile
53 What is Bootstrapping? - Computerphile
What is Bootstrapping? - Computerphile
Computerphile
54 Reverse Polish Notation and The Stack - Computerphile
Reverse Polish Notation and The Stack - Computerphile
Computerphile
55 Home-Made Z80 Retro Computer - Computerphile
Home-Made Z80 Retro Computer - Computerphile
Computerphile
56 Should Everybody Learn to Code? - Computerphile
Should Everybody Learn to Code? - Computerphile
Computerphile
57 Programming in PostScript - Computerphile
Programming in PostScript - Computerphile
Computerphile
58 Heartbleed, Running the Code - Computerphile
Heartbleed, Running the Code - Computerphile
Computerphile
59 YouTube's Secret Algorithm - Computerphile
YouTube's Secret Algorithm - Computerphile
Computerphile
60 YouTube Search & Discovery - Computerphile
YouTube Search & Discovery - Computerphile
Computerphile

The video showcases a creative project that uses a musical instrument as a input device to type words, demonstrating the intersection of music, computer science, and innovation. The project uses a Makey Makey, a texting API, and a Java program to achieve this. The video highlights the importance of thinking outside the box and exploring new ideas, even if they seem ridiculous at first.

Key Takeaways
  1. Connect a recorder to a Makey Makey
  2. Use the Makey Makey to send input to a computer
  3. Write a Java program to interpret the input and type words
  4. Use a texting API to send the typed words
  5. Test and refine the system
💡 The project demonstrates that with creativity and innovation, it's possible to use unconventional input devices to achieve complex tasks, and that the intersection of different fields can lead to unique and interesting solutions.

Related AI Lessons

Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Learn how neural geometry relies on manifolds, projections, and hidden assumptions to understand complex data, and why it matters for AI development
Medium · AI
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Learn how neural geometry relies on manifolds, projections, and hidden assumptions to understand complex data, and why it matters for advancing AI research
Medium · Data Science
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Explore the geometric assumptions underlying neural networks and their implications on manifold learning and projections
Medium · Deep Learning
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Learn about the hidden assumptions of neural geometry and how manifolds and projections impact neural network performance
Medium · LLM
Up next
Machine Learning Project for Final Year Students | ML Project Idea @FameWorldEducationalHub
FAME WORLD EDUCATIONAL HUB
Watch →