Word Cloud

Music Production Cloud

Music creation and production terms

Output
Music Production Cloud
Python
import matplotlib.pyplot as plt
from wordcloud import WordCloud

text = """Music Production Beat Making Producer DAW Ableton Logic FL Studio
MIDI Synthesizer Sampler Drum Machine VST Plugin Instrument Virtual
Mixing Mastering EQ Compression Reverb Delay Distortion Filter Effect
Melody Harmony Chord Progression Bass Kick Snare Hi-Hat Percussion
Genre Hip Hop Electronic Pop Rock R&B Soul Jazz House Techno Ambient
Release Single EP Album Streaming Spotify Distribution Collaboration
Sample Loop One Shot Stem Bounce Export WAV MP3 FLAC Bit Rate Quality"""

def music_vibrant(word, font_size, position, orientation, random_state=None, **kwargs):
    colors = ['#dc2626', '#7c3aed', '#0891b2', '#059669', '#ca8a04']
    return colors[hash(word) % len(colors)]

wordcloud = WordCloud(
    width=1200, height=600,
    background_color='#ffffff',
    color_func=music_vibrant,
    max_words=80,
    max_font_size=125,
    min_font_size=10,
    relative_scaling=0.5
).generate(text)

fig, ax = plt.subplots(figsize=(12, 6), facecolor='#ffffff')
ax.imshow(wordcloud, interpolation='bilinear')
ax.axis('off')
plt.tight_layout(pad=0)
plt.show()
Library

Matplotlib

Category

Text Visualization

Did this help you?

Support PyLucid to keep it free & growing

Support