r/computerscience • • May 02 '18

My mom just started learning to code and is super proud of her first project โ€” programming her calculator to play the University of Texas alma mater ๐Ÿค˜๐Ÿผ

255 Upvotes

20 comments sorted by

20

u/solinvictus21 May 03 '18

The University of Texas alma mater is โ€œOh, Iโ€™ve been workinโ€™ on the railroadโ€?!?

TIL

2

u/Slacation May 03 '18

Lol same tune, but different song. Itโ€™s โ€œThe Eyes of Texas Are Upon Youโ€

12

u/aeroatx May 02 '18

Hook โ€˜em ๐Ÿค˜๐Ÿผ๐Ÿ‚

9

u/hunter12756 May 02 '18

And people say that calculator technology hasn't changed since the 90's

5

u/misingnoglic May 02 '18

Very cool! Definitely show her the music21 python library, as well as MaxMSP!

5

u/Jaden71 May 03 '18

Texas instruments I guess

1

u/shawmonster Jun 29 '18

did she write a program of literally just steps of each note to play for a certain time, or did she somehow create and algorithm that takes the song as input and can play the song? like would this work for any song? how does the program work?

1

u/Slacation Jun 29 '18

She had to specify the frequency of sound to emit and the duration. Yeah, she could do this with any song as long as she has sheet music and can tell what notes they are so she can convert it into frequency.

3

u/MoorePenrose May 03 '18

Very wholesome - I love it!๐Ÿ’—

3

u/bitcointoaster May 03 '18

Good on her, she should be proud! Its nice to see people enjoying programming.

2

u/WhiskynWilderness May 03 '18

Hook 'em Horns!! ๐Ÿค˜๐Ÿผ

2

u/MrRiskAdverse May 03 '18

This is great! Would you mind explaining what is happening here / how this was done?

2

u/[deleted] May 03 '18

What the hell is generating the tones, i cant tell.

1

u/lgslacum May 03 '18

The TI Nspire is connected to the TI Innovator Hub. The Hub is generating the music from the programmed frequencies.

1

u/[deleted] May 04 '18

Very cool

-61

u/MyPostsAreRetarded May 02 '18

Who gives a shit

24

u/Slacation May 02 '18

Username checks out. ๐Ÿ˜‘

0

u/[deleted] May 02 '18

[deleted]

15

u/Slacation May 02 '18

I wanted to post her face too, but she told me โ€œno, not going to break hundreds of phonesโ€ ๐Ÿ˜‚

But I can vouch that she was grinning from ear to ear in excitement as it was playing ๐Ÿ˜