<commit_before># -*- coding: utf-8 -*-
'''

Creative Limitation

http://en.wikipedia.org/wiki/Creative_limitation

For songwriting / production. This script should print
a bunch of ideas for a song. The goal would then to be
to create a track with the proscibed features.

'''

import random

#set up data

spice = ('key change', 'bonus bar', 'claps',
'drums + melody breakdown', 'Guitar! shout', 
'double time')

feel = ('16th Hats', 'the gallops', 'slow burner')

intro = ('don’t bore us, get to the chorus',
'dark and brooding','percussive','hits', 
'lo-fi fade in','lick')

tonality = ('major', 'minor', 'dorian', 'phrygian')

words = ('laser', 'force', 'glitch', 'wave', 
'cyber', 'thrust', 'machine', 'eagle', 'hawk', 'shark',
'bionic', 'eclipse', 'diamond', 'rain', 'chill', 
'fire', 'obey', 'hip', 'ray', 'electron', 'beast', 'escape',
'future', 'battle', 'tomb', 'lost', 'party', 'disco', 
'light', 'lawless', 'axe', 'streets', 'japan', 'speed',
'cocain', 'neon', 'OD', 'time', 'freeway', 'muscle', 'car',
'panther', 'epoch', 'midnight', 'euro')

# Helper functions

def rand_list(alist):
    #returns a random member of list
    x = random.randint(0,(len(alist)-1))
    return alist[x]

# make a song "report"

def song():
    i = rand_list(intro)
    f = rand_list(feel)
    t = rand_list(tonality)
    s = rand_list(spice)
    w = rand_list(words)
    w2 = rand_list(words)
    print('____________________')
    print('')
    print('Intro: \t %s' % i)
    print('Feel: \t %s' % f)
    print('Using a %s scale' % t)
    print('For added spice, through in a %s' % s)
    print('Your words of wisdom are: %s and %s' %(w, w2))
    print('Rock on. \m/')
    print('')
    print('____________________')

<commit_msg>Update song_idea_gen.py<commit_after># -*- coding: utf-8 -*-
'''

Creative Limitation

http://en.wikipedia.org/wiki/Creative_limitation

For songwriting / production. This script should print
a bunch of ideas for a song. The goal would then to be
to create a track with the proscibed features.

'''

import random

#set up data

spice = ('key change', 'bonus bar', 'claps',
'drums + melody breakdown', 'Guitar! shout', 
'double time', 'syncopated hits')

feel = ('16th Hats', 'the gallops', 'slow burner',
'4 on the floor', 'synopated kick')

intro = ('don’t bore us, get to the chorus',
'dark and brooding','percussive','hits', 
'lo-fi fade in','lick')

tonality = ('major', 'minor', 'dorian', 'phrygian')

words = ('laser', 'force', 'glitch', 'wave', 
'cyber', 'thrust', 'machine', 'eagle', 'hawk', 'shark',
'bionic', 'eclipse', 'diamond', 'rain', 'chill', 
'fire', 'obey', 'hip', 'ray', 'electron', 'beast', 'escape',
'future', 'battle', 'tomb', 'lost', 'party', 'disco', 
'light', 'lawless', 'axe', 'streets', 'japan', 'speed',
'cocain', 'neon', 'OD', 'time', 'freeway', 'muscle', 'car',
'panther', 'epoch', 'midnight', 'euro', 'wilderness', 
'bleak', 'gem', 'quest', 'run', 'error', 'free')


# Helper functions

def rand_list(alist):
    #returns a random member of list
    x = random.choice(alist)
    return x

# make a song "report"

def song():
    i = rand_list(intro)
    f = rand_list(feel)
    t = rand_list(tonality)
    s = rand_list(spice)
    w = rand_list(words)
    w2 = rand_list(words)
    print('____________________')
    print('')
    print('Intro: \t %s' % i)
    print('Feel: \t %s' % f)
    print('Using a %s scale' % t)
    print('For added spice, through in a %s' % s)
    print('Your words of wisdom are: %s and %s' %(w, w2))
    print('Rock on. \m/')
    print('')
    print('____________________')


{'fraction_non_alphanumeric': 0.19831223628691982, 'fraction_numerical': 0.0036568213783403658, 'mean_word_length': 4.116546762589928, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2683957', 'n_tokens_mistral': 1351, 'n_tokens_neox': 1308, 'n_words': 404}