Questions tagged [music]
This tag indicates that the challenge involves music, e.g. taking music as input, producing music as output or handling musical notes.
77 questions
6
votes
9
answers
698
views
Parse rpip7 musical notation
Parse rpip7 musical notation
rpip7 is a minimalist music notation derived from ip7, designed for simple playback (for example, on an Arduino with a buzzer).
It supports only these symbols:
...
-3
votes
1
answer
198
views
Play the Weezer lick [closed]
Your task is: Using features of your language of choice, play the Weezer lick (in whatever form).
Inforamtion:
The Weezer lick is a fragment of the song "Buddy Holly" by Weezer.
(here)
...
24
votes
10
answers
3k
views
Play the Final Fantasy Prelude
Play the initial section of the Final Fantasy Prelude. This is a 4-octave up-down arpeggio of the following chords:
Cadd2, Amadd2, Cadd2, Amadd2, Fadd2, Gadd2, G♯maj7, A♯maj7
Rules:
Actual sound must ...
16
votes
16
answers
2k
views
Transpose these notes!
In this challenge, you should take input as a number between 0 and 11 inclusive and a (possibly empty) list of the following strings/notes:
...
1
vote
7
answers
577
views
Relations between interval and semitones
Output this table:
-2*
-1*
-
0
-
1
2
-1*
0
1
-
2
3
4
1
2
3
-
4
5
6
3
4
-
5
-
6
7
5
6
-
7
-
8
9
6
7
8
-
9
10
11
8
9
10
-
11
12
13
10
11
-
12
-
13
14
You can output one string with two types of split, ...
13
votes
2
answers
1k
views
Can Bitshift Variations in C Minor be compressed down to less than 185 characters?
Bitshift Variations in C Minor by Robert Miles is a Code Golf music piece written in C (with some additional bash commands). It was originally presented in a 2016 Computerphile video Code Golf & ...
10
votes
4
answers
835
views
Identify 22-TET intervals
Objective
Given the distance between two keys in an octave, identify its name.
But there's a caveat. In this challenge, there are 22 keys in an octave, not usual 12.
Here, a porcupine[7] scale will be ...
8
votes
7
answers
625
views
Print the notes of an increasing octave-repeating scale
Challenge
To quote Wikipedia:
An octave-repeating scale can be represented as a circular arrangement
of pitch classes, ordered by increasing (or decreasing) pitch class. For instance, the increasing ...
10
votes
6
answers
821
views
Counting Rhythms
The Narrative
You are a bad musician. You never bothered to learn how to count rhythms. To remedy this shortcoming, you decide to write a program that will tell you how to count in any given time ...
10
votes
9
answers
640
views
Sort musical pitches
Given an unordered list of musical pitches, write the shortest program/function (scored in bytes) to sort the list from lowest pitch to highest.
Pitches will be given in scientific pitch notation, ...
21
votes
13
answers
2k
views
Output the 12 Bar Blues
Note to those without experience in music: Through making an attempt to solve this problem, you may find that music and computer programming are similar in the ways that they implement rules and ...
2
votes
0
answers
133
views
Random musical harmonies [closed]
The challenge.
Make a program that produces a random series of 8 notes in the scale of E minor, and then harmonizes them.
Details.
Notes must be represented in output as a 1-2 char string, which ...
9
votes
8
answers
2k
views
Music with pi and e
Because I forgot to celebrate Pi Day (14.3), let's celebrate with \$\pi\$, \$e\$ (Euler's number) and music!
Challenge
No, we don't have time to eat a pi-pizza, let's make a program.
What you need is ...
7
votes
7
answers
991
views
How predictable is popular music?
The McGill Billboard Project annotates various audio features of songs from a random sample of the Billboard charts. I scraped this data to produce the following file of chord progressions:
...
19
votes
13
answers
2k
views
Are the beams above or below the notes?
In musical notation, groups of notes shorter than one beat are joined together by a line at the bottom called a beam. Here are a few bars of music with the beams highlighted:
(Taken from Second Suite ...