MikeMpapa commited on
Commit
56a7fc3
Β·
verified Β·
1 Parent(s): e33992c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -33
main.py CHANGED
@@ -12,40 +12,7 @@ from utils import (
12
 
13
  os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
14
 
15
- DESCRIPTION = """
16
- <h1>🎡 Multitrack Midi Generator 🎢</h1>
17
- <h3>AI-driven Music Composer: Creating Music One Instrument at a Time!</h3>
18
- <p>This interactive application uses an AI model to generate music sequences based on a chosen genre and various user inputs. The apps constructs the piece instrument by instrument</p>
19
 
20
- <div style="display: flex; justify-content: space-between;">
21
- <div style="width: 45%; margin-right: 5%;">
22
- <h2>Features:</h2>
23
- <ul>
24
- <li>🎼 Select the genre for the music.</li>
25
- <li>🌑️ Use the "Temperature" slider to adjust the randomness of the music generated (higher values will produce more random outputs).</li>
26
- <li>⏱️ Adjust the "Tempo" slider to change the speed of the music.</li>
27
- <li>🎹 Use the buttons to generate a new song from scratch, continue generation with the current settings, remove the last added instrument, regenerate the last added instrument with a new one, or change the tempo of the current song.</li>
28
- </ul>
29
- </div>
30
- <div style="width: 45%; margin-left: 5%;">
31
- <h2>Outputs:</h2>
32
- <p>The app outputs the following:</p>
33
- <ul>
34
- <li>🎧 The audio of the generated song.</li>
35
- <li>πŸ“ A MIDI file of the song.</li>
36
- <li>πŸ“Š A plot of the song's sequence.</li>
37
- <li>🎸 A list of the generated instruments.</li>
38
- <li>πŸ“ The text sequence of the song.</li>
39
- </ul>
40
- </div>
41
- </div>
42
-
43
- <hr style="margin-top: 2em; margin-bottom: 2em;">
44
-
45
- <p>This application is built upon the inspiring work of <a href="https://www.linkedin.com/in/dr-tristan-behrens-734967a2" target="_blank">Dr. Tristan Behrens</a></p>
46
-
47
- <p>Enjoy creating your own music!</p>
48
- """
49
 
50
  # Genrs
51
  genres = ["ROCK", "POP", "OTHER", "R&B/SOUL", "JAZZ", "ELECTRONIC", "RANDOM"]
 
12
 
13
  os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
14
 
 
 
 
 
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  # Genrs
18
  genres = ["ROCK", "POP", "OTHER", "R&B/SOUL", "JAZZ", "ELECTRONIC", "RANDOM"]