Skip to content

Small, stupid, undocumented project to convert nokia ringtones to java code that can be easily be used by a Roomba, using maschel's RoombaJSSC project.

Notifications You must be signed in to change notification settings

FeikoWielsma/NokiaToRoombaJSSC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

NokiaToRoombaJSSC

Ugliest code I've ever wrote. Full of hardcoded bullshit, ugly if/else statements, no comments or code style at all.
It's a small script I wrote to quickly preview and convert Nokia Ringtones (like found on http://nokia.nigelcoldwell.co.uk/tunes.html ) to Java code.
It also makes the beeps.

Usage:
Paste some Nokia songs into 's.txt'
example:

Abba: Mamma Mia (Tempo=40)	
  32f2 32#d2 32f2 8#d2 32#d2 32#d2 32f2 32g2 32f2 16.#d2 32- 16f2 8#d2 16#g2 32#g2 32#g2 32#g2 16g2 16.#d2 32- 8#a2 32#a2 32#a2 16#a2 16f2 16g2 8#g2 16g2 16g2 32g2 16g2 16d2 16#d2 8f2 16f2 8#d2 16#g2 32#g2 32#g2 32#g2 32g2 32#d2 32f2 16#d2
Abba: Money Money Money v1 (Tempo=112)	
  8e3 8e3 8e3 8e3 8e3 8e3 16e2 16a2 16c3 16e3 8#d3 8#d3 8#d3 8#d3 8#d3 8#d3 16f2 16a2 16c3 16#d3 4d3 8c3 8a2 8c3 4c3 2a2 32a2 32c3 32e3 8a3

Run the python script.
It will play the notes for you and spit out some Java code that can easily be used with maschel's https://github.com/maschel/RoombaJSSC project.

Go make your Roomba a real DJ Roomba

About

Small, stupid, undocumented project to convert nokia ringtones to java code that can be easily be used by a Roomba, using maschel's RoombaJSSC project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages