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