Co

Code music in Python

Hacker News

Code music in Python

Write musical patterns in Python that respond to a given song structure and run a simulation that generates a multitrack MIDI file. I built this because I think applying code to music making is a powerful tool, but I find that most music coding software out there is more focused on experimentation rather than conventional songwriting. This is an attempt at creating something that can reference typical constructs from songwriting, such as the underlying chord progression and timeline of a song. I also have a github repo that is a thin wrapper around the api that runs the simulation, for anyone interested in coding locally: https://github.com/vegardkd/pattern-composer-library The website is as bare-bones as possible, designed specifically for showcasing the program. There are also some bugs and inconsistencies in the code being run, but I'm publishing it to see how people react. I'm trying to a find a way that this might appeal to music producers with no coding background by making the syntax as easy to digest as possible. I would greatly appreciate feedback.

Share card

Actual performance

2points
2comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
79%79% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: coding, code · Missing: mac, agents, macos
69%69% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
65%65% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
50%50% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
41%41% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Mu
Music Visualizations with Python and Graphviz58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Music Visualizations with Python and Graphviz

Hacker News1
Co
Computer Music with Python51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Computer Music with Python

Hacker News105
SS
SSort – The Python source code sorter53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SSort – The Python source code sorter

Hacker News2
Cu
CustomStringParser ( Python)54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CustomStringParser ( Python)

Hacker News1
Lu
Lusernews is an implementation of lamernews in python48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lusernews is an implementation of lamernews in python

Hacker News1
Do
Do/While in Python55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Do/While in Python

Hacker News4
Ga
Gatos, conCATenative functions for python54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Gatos, conCATenative functions for python

Hacker News1
A
A wrapper around datetime, pytz and tzlocal for Python 3.2+38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A wrapper around datetime, pytz and tzlocal for Python 3.2+

Hacker News1
Pa
Parallelizing word2vec in Python55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Parallelizing word2vec in Python

Hacker News3
pi
piprot – How rotten are your [python] requirements?37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

piprot – How rotten are your [python] requirements?

Hacker News1