opcecco / moogplayer Goto Github PK
View Code? Open in Web Editor NEWKeystroker designed for playing tunes on the Google Moog machine found here: http://www.google.com/doodles/robert-moogs-78th-birthday
Keystroker designed for playing tunes on the Google Moog machine found here: http://www.google.com/doodles/robert-moogs-78th-birthday
Google Moog Player version 1.0 by Oliver Ceccopieri This is just a simple java program that mimics keystrokes to make music on the Google Moog synth: http://www.google.com/doodles/robert-moogs-78th-birthday -- How to run the program: In your favorite internet browser, navigate to the Google Moog page: http://www.google.com/doodles/robert-moogs-78th-birthday While the page is up, run "run.bat", which will start the player as a Java class When prompted, type in the file name of a song (include the extension) For example, type "kirby.txt" to play the music stored in the kirby file The program will load and display all the notes and measures Then it will give you 5 seconds to switch to the window where you have Google Moog open Don't close the Command Prompt window running the Moog Player, but simply switch to the Google Moog tab in your browser within 5 seconds If nothing plays, try clicking on one of the keys on the Moog, as this will activate the object in your browser The song will play, and when completed, the program will close -- How to make music: Create a new text file and name it anything, or modify an existing song text file Each line in your file is one measure Simply fill a line with key presses just like you would normally play on the Moog For example, a C-major scale would read "rtyuiop[" To put a rest in your measure, type "/" For example, a C-major scale broken into groups of 2 notes would read "rt/yu/io/p[/" To map the Tab key (the lowest note on the Moog) type "~" For example, an F-major scale would read "~qw3rtyu" Feel free to use extra lines and spaces to organize your song All empty lines and extra spaces are ignored by the parser All lines leading with a "#" symbol are treated as comments and ignored by the parser For example, the line "#This is my song" will not affect how the program runs All lines leading with a "$" symbol are variable definitions, and not played as notes A variable can be defined at any point in your song, as long as you follow the proper format, which is: $variable = value For example, to set the speed of a song to 100, somewhere in the file should be the line "$speed = 100" Currently, the only variable that has any effect on your song is the $speed variable, which defaults to a value of 100 if not defined in the song file The $speed variable determines how many milliseconds a note is held, and how many milliseconds come between each note, so the higher the number, the slower the song is played More useful variables and features will be added in later versions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.