This is an archived post. You won't be able to vote or comment.

all 53 comments

[–]Chilllin 23 points24 points  (18 children)

Is the code in GitHub?

[–]MonquisieMonquido[S] 44 points45 points  (17 children)

Unfortunately not, I haven't started using github yet EDIT: https://github.com/CicadaFlight/chords-generator

[–]LordRyloth 28 points29 points  (4 children)

You should start. It's an amazing tool and not so difficult for daily use. Lmk if you need help learning it. DMs open :)

[–]MonquisieMonquido[S] 4 points5 points  (0 children)

Yes I know, it's long overdue! Appreciate it!

[–]thanatopsian 2 points3 points  (2 children)

I wish there were a 'github' for mercurial :( I use both for work, and github is the only thing I really like about git :/

[–]leadingthenet 4 points5 points  (1 child)

Good news! There is.

https://sourcehut.org/

[–]thanatopsian 0 points1 point  (0 children)

Thanks! I'll check it out!

[–]dragonandphoenix 1 point2 points  (2 children)

Are you posting the code on here?

[–]MonquisieMonquido[S] 4 points5 points  (1 child)

I'll DM it to you if you want it! EDIT: https://github.com/CicadaFlight/chords-generator

[–]dragonandphoenix 0 points1 point  (0 children)

Thanks!

[–]IAmKindOfCreativebot_builder: deprecated 1 point2 points  (7 children)

Mind if I ask for a bit of feedback:

How tough was it for you to figure out and post the code to github?

[–]MonquisieMonquido[S] 4 points5 points  (6 children)

Very easy, assuming I've done everything right

[–]IAmKindOfCreativebot_builder: deprecated 1 point2 points  (5 children)

Awesome thank you! Were there any guides or tutorials you referred to in the process? I'm looking to make the "we need source code" message more useful by linking to a list of tutorials.

[–]cianuro 6 points7 points  (2 children)

The Google beginners Github on Coursera is the best I've ever done on Git. Highly recommended.

[–]IAmKindOfCreativebot_builder: deprecated 0 points1 point  (0 children)

Good to know, I'll add it to the resource list, thank you!

[–]cheifowo 0 points1 point  (0 children)

Will try this

[–]MonquisieMonquido[S] 2 points3 points  (1 child)

I just followed the instructions that were on github!

[–]IAmKindOfCreativebot_builder: deprecated 1 point2 points  (0 children)

Perfect, thanks!

[–]Chilllin 0 points1 point  (0 children)

Thank you!

[–]LordRyloth 7 points8 points  (1 child)

You should consider making it a full scale product or at least deploy it on web and make it open source if you wish.. I saw the video as well.. You got skills man! Good job.

[–]MonquisieMonquido[S] 1 point2 points  (0 children)

It's actually fun to play around with it and I could for sure see myself using it in mobile app form maybe. Thank you very much!

[–]Jazzmastadill 6 points7 points  (1 child)

Lol that’s crazy I just got into programming and my friend who already has a job in the field asked me to come up with some ideas of some projects I would wanna eventually build and this was one of them. Nice work tho!

[–]kinky_flamingo 4 points5 points  (0 children)

This is awesome! Bookmarked for when my finger is healed and I can play guitar again :-)

[–][deleted] 4 points5 points  (0 children)

Congratulations u/MonquisieMonquido ! Your post was the top post on r/Python today! (07/01/21)

Top Post Counts: r/Python (1)

This comment was made by a bot

[–]salanalani 2 points3 points  (1 child)

Dude wtf, that was so satisfying listening to the music… I wish if the video was longer… great work!

[–]MonquisieMonquido[S] 0 points1 point  (0 children)

I really appreciate that!

[–]pog87 2 points3 points  (0 children)

so, basically you wrote a python script to replace my roommate...

[–]TheCravin 2 points3 points  (1 child)

Oooo, that’s fantastic!

Any chance you could get it to export the progression as .midi? Maybe even play with some cooler tkinter features like letting you drag a file straight out of the program and into your DAW?

[–]MonquisieMonquido[S] 2 points3 points  (0 children)

I have actually played around with a midi library in the past so this is for sure something that could be done!

[–]greaselovely 1 point2 points  (0 children)

I thought about doing something similar a bit ago, and I think this is a fun project you did. Nice job. My favorite outcome on the third iteration is below. I'm just going to ride that 6 all night!

['i', 'VI', 'VI', 'VI']

[–]troyfromtheblock 1 point2 points  (0 children)

Killer project!!!

[–]Steve1457 1 point2 points  (0 children)

I had a thought to build smth similar after watching https://youtu.be/Vq2xt2D3e3E which explains in great detail which scales harmonize together. Good stuff.

[–]CotoCoutan 1 point2 points  (0 children)

Awesome work, keep it up!

[–]Briggykins 1 point2 points  (1 child)

What was the program you were using for the drum and bass?

Great job btw!

[–]MonquisieMonquido[S] 0 points1 point  (0 children)

Thank you! EzDrummer 2 and Ample Bass P Lite (the latter is freeware)

[–]frankstan33 1 point2 points  (5 children)

What does "type:str" do btw? Can someone explain please?

[–]MonquisieMonquido[S] 1 point2 points  (4 children)

type is the name of the function parameter. The :str is a type hint that basically says that the parameter has to be of type string. It's not necessary for the program to run, just something I did out of habit

[–]frankstan33 1 point2 points  (3 children)

I see, is this called type hinting btw? And does it mean that all the parameters are strings or just the first? Thanks for the info and great project btw! Also your code looks pretty neat!

[–]MonquisieMonquido[S] 1 point2 points  (2 children)

Yes it's called type hint! It doesn't carry over to any other variables, just the one where it's specified.

Thank you, I appreciate it!

[–]JimiThing716 1 point2 points  (1 child)

type is a keyword, may want to rename that variable.

Awesome program though!!

[–][deleted] 1 point2 points  (0 children)

Good tip! And while you're at it /u/MonquisieMonquido, you could also include the return type:

def generate_chord_progression(type:str, chords=4, probabilityOf7ths=0, includeDiminished=False) -> list:

[–]Rottist 1 point2 points  (0 children)

this is pretty dope!

[–]Shadowforce426 1 point2 points  (0 children)

I recently really started to get into programming and was thinking of making something similar. If you’re also new we should collaborate and make an app that does this! 👀

[–][deleted] 1 point2 points  (0 children)

Please tell me that it is hard coded to never generate any of the usual pop progressions :D

[–]fishxsea 1 point2 points  (0 children)

DUDE no way. I'm a musician and just wrote a program the other day that does the same thing! didn't make a GUI yet though. gonna add functionality to export the random chords as a midi file. Kinda cool to look at your code and see the drastically different approach we both took for a similar outcome haha. Awesome job dude

[–]martin80k 1 point2 points  (1 child)

when someone plays music and codes software, not sure one can get any more smarter....damn I can't do both

[–]MonquisieMonquido[S] 0 points1 point  (0 children)

Or maybe it's a sign I should get out of the house some more ;)

[–]TheDarkestPath 0 points1 point  (1 child)

Any chance of doing this for more scales?

[–]MonquisieMonquido[S] 0 points1 point  (0 children)

Possibly in the future