News for hackers. Stuff that matters.
Re:Musicians algorithmically generate melodies, release them... by dragontamer on Tuesday February 25, 2020 @11:39AM (#22414593)
Though you asked for an example... but maybe its best to show a counter-example instead? Here's the Imperial Death March played in a Major-scale, instead of a minor scale.

https://www.youtube.com/watch?v=B9MShtCg4fk

If everything was in an 8-note (no accidental, transpositions only) measure, they'd sound like "Vader's redemption".

To sound sad, you MUST shift to a minor key. A minor key has sharps and flats to create tension. Any "sad sounding" song cannot be properly played in a major key.

Re:Musicians algorithmically generate melodies, release them... by mjw on Tuesday February 25, 2020 @04:43PM (#22417811)
> A minor key has sharps and flats to create tension.

The natural minor or Aeolian mode doesn't use any notes outside the diatonic scale (probably what you meant by "sharps and flats"). It's very possible to write sad music in the natural minor. REM's "Losing my religion" for example.

> To sound sad, you MUST shift to a minor key

With sufficient skill you can write sad music in any key or scale, there's no hard and fast rules here. Tonality is only one of the elements you can use to shape the emotion that's conveyed, and it's all quite culturally relative too.

Re:Musicians algorithmically generate melodies, release them... by nprateem on Tuesday February 25, 2020 @12:20PM (#22415025)
Most keys contain sharps and flats so they don't necessarily create tension. It's a note's relationship to the tonic that does that, and what precedes or follows it.
Re:Musicians algorithmically generate melodies, release them... by daotoad on Tuesday February 25, 2020 @12:14PM (#22414966)
And as we all know, sad songs say so much.