This tag indicates that the challenge involves music, e.g. taking music as input, producing music as output or handling musical notes.

learn more… | top users | synonyms

5
votes
1answer
253 views

Notes to Tablature

Challenge Given a list a notes, you must return the corresponding tablature. Notes The notes must be in the range of A to G inclusive and the octave range being 2 to 6 inclusive. The format is ...
7
votes
6answers
689 views

Help Me Play My Harmonica

Yesterday, I bought a harmonica: Figure 1: The harmonica. However, my dreams of being able to play soulful blues harmonica that moves people and causes a grown man to cry were quickly dashed by two ...
17
votes
9answers
846 views

Musical Quines on an ASCII Piano

There are 88 keys on a standard piano and 95 printable ascii characters (hex codes 20 through 7E): ...
15
votes
7answers
645 views

Organise the Gregorian Church's Music

The year is 930, and the Gregorian Church is having a problem. They have thousands of pages of chant music, but the problem is that all the sheet music was simply thrown onto a pile instead of having ...
7
votes
4answers
329 views

Tuning Strings­

Task Write a program to determine the note sounded, along with how many cents out of tune, of a string tuned to a given frequency and pressed down at a given point. For the sake of simplicity, ...
21
votes
1answer
931 views

Print the lyrics to “Twinkle Twinkle Little Star”

Your goal is to print the lyrics to the song "Twinkle Twinkle Little Star" as each note is played. The computer's microphone will hear notes. If the pitch (but not necessarily the length) of the note ...
32
votes
2answers
1k views

Musical Tweet Challenge

This is the audio version of the Twitter image encoding challenge. Design an audio compression format that can represent at least one minute of music in 140 bytes or less of printable UTF-8-encoded ...
31
votes
10answers
1k views

Music: what's in this chord?

Input The symbol of any triadic chord (see http://en.wikipedia.org/wiki/Chord_(music)#Triads). Output The notes constituting the given chord. Examples Input: AM Output: A C# E Input: C#m Output: ...
19
votes
10answers
834 views

The Note of Destiny - place a note on a staff

The zombie apocalypse has come, and the world is coming to an end. Suddenly, someone discovers a formula that takes the current hour, minute, and day, and spits out the perfect note to play on a piano ...
1
vote
1answer
194 views

Computer Generated Olympic Theme Song [duplicate]

Try to regenerate the olympic theme song, "Bugler's Dream" using the programming language of your choice. The language/platform used must be able to emit the physical sound. Only playing the main ...
6
votes
0answers
473 views

Find the beats in an MP3 file

In this challenge, your task is to take an simple recording in mp3 format and find the time offsets of the beats in the file. Two example recordings are here: ...
10
votes
2answers
494 views

Just one note - musical instrument synthesizing

Statement The task is to synthesize sound (one note played) of some musical instrument (of your choice) using function in some general purpose programming language (of your choice). There are two ...
14
votes
4answers
733 views

Mozart golf - mini “Rondo”

Output "Mozart - Alla Turca" to stdout (see the sample for "reference implementation") Try to find how to pack both synthesizer and the music into minimal size. Requirements: Format suitable for ...
7
votes
1answer
217 views

Scale from key and mode

Most of you probably know the C major scale: C D E F G A B C The major scale is characterised by the intervals between adjacent notes, which measured in semitones are: 2 2 1 2 2 2 1 From these ...
13
votes
2answers
298 views

The Major-Minor Dichotomy

Given a list of chords label them as either 'Major' or ' Minor'. Input Input will be a list of chords, one per line, made up of 3 notes separated by a space. Each note will consist of the note name ...
13
votes
5answers
2k views

Create a GUI Piano

Challenge Create a GUI Keyboard with as few characters as possible. Example Because this was an assignment in one of my courses, I can't show the source code. However, here is a screen shot of my ...
11
votes
4answers
642 views

It's fun to stay at the Y.M.C.A

"Y.M.C.A." is a popular disco song by the Village People that has a well-known dance. Write the shortest program to output the capital letters "Y", "M", "C", and "A" synchronized to the song's chorus. ...
8
votes
6answers
355 views

Print the sizes of intervals inside of a piece of music

Background In Western music, every single music note has an assigned name. Within each octave, there are twelve unique notes in the following order: "C C#/Db D D#/Eb E F F#/Gb G G#/Ab A A#/Bb B C", ...
20
votes
5answers
1k views

Write the prettiest bytebeat composition

Bytebeat is a style of music one can compose by writing a simple C program that's output is piped to aplay or /dev/dsp. ...
3
votes
1answer
265 views

PCM Wave time stretch

Write the smallest program performs a time stretch operation on a PCM Wave (.wav) file. Rules: Parameter input will by via whatever standard argument mechanism your language comes with, e.g. argv ...
4
votes
3answers
633 views

Create a function for transposing musical chords

Your mission is to create a function for transposing music chords. Copied from SO with permission of the original asker, I just really wanted to see what you guys could do with this one: Since I ...
11
votes
4answers
1k views

Markov Chain Beatbox Generator

Just an idea I had the other day: Making beats following a Markov Chain of predefined sounds. I remember someone did a beatbox with Google Translate and the German language (follow the link and press ...
20
votes
8answers
1k views

Generating guitar tabs?

Write the shortest program that generates guitar tabs for the chords given as input. So that the guitarists among you don't have an advantage, and to make it deterministic (and probably easier to ...
19
votes
12answers
6k views

Twinkle Twinkle Little Star

Write a program to play the popular English nursery rhyme. (This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. Attribution: Helix84 at the English ...