CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 16:14:49 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=34fe636573483f55b241681dd0190c7a8c35bf61c100d304f998ea0c6c34b4cda%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22kqaZDEjfRVXkbS9As0ZMoyGs02hgtqf5%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cfa717acdfc1f7-BLR
Tune generator (improved) - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- import random
- # import pyperclip
- # 0 1 2 3 4 5 6 7 8 9 10 11
- notes = ["G", "A", "H", "C", "D", "e", "f", "g", "a", "h", "c", "d"]
- virtual_piano = ["5", "6", "7", "8", "9", "0", "q", "w", "e", "r", "t", "y"]
- chords = [[[1, 3, 5, 8, 10], [0, 0]],
- [[2, 4, 6, 9, 11], [4, 6]],
- [[0, 3, 5, 7, 10], [5, 5]],
- [[4, 1, 11, 6, 8], [4, 6]],
- [[0, 2, 5, 7, 9], [0, 0]],
- [[1, 3, 6, 8, 10], [1, 3]],
- [[0, 2, 4, 7, 9, 11], [0, 0]]]
- def generate_note(current_note_index):
- note_index_delta = 0
- halt_flag = random.randint(0, 1)
- while halt_flag != 1:
- note_index_delta += 1
- halt_flag = random.randint(0, 1)
- sign_number = random.randint(0, 1)
- if sign_number == 0:
- test_note_index = current_note_index + note_index_delta
- else:
- test_note_index = current_note_index - note_index_delta
- return(test_note_index)
- def pick_chord():
- global first_launch_flag
- global chord_index
- if first_launch_flag == 1:
- first_launch_flag = 0
- else:
- chord_index = random.choice(chords[chord_index][1])
- return(chords[chord_index][0])
- break_flag=""
- while break_flag != "q":
- first_launch_flag = 1
- chord_index = random.randint(0, 6)
- current_note_index = random.randint(0, 11)
- to_clipboard = ""
- phrase = input("Enter the structure: ")
- words = phrase.split(" ")
- for word in words:
- syllables = list(word)
- for syllable in syllables:
- if syllables == "+":
- chord_notes = pick_chord()
- test_note_index = generate_note(current_note_index)
- while test_note_index < 0 or test_note_index > 11 or test_note_index not in chord_notes:
- test_note_index = generate_note(current_note_index)
- print(notes[test_note_index], end = "\t")
- to_clipboard += notes[test_note_index] + "\t"
- else:
- test_note_index = generate_note(current_note_index)
- while test_note_index < 0 or test_note_index > 11:
- test_note_index = generate_note(current_note_index)
- print(notes[test_note_index], end = "\t")
- to_clipboard += notes[test_note_index] + "\t"
- # pyperclip.copy(to_clipboard)
- print("")
- break_flag = input("?:")
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐MAKE $9OO INSTANTLY D M⭐⭐
Java | 3 sec ago | 0.10 KB
-
✅⭐ Make huge profits on trading ⭐⭐ S
JavaScript | 3 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 3 sec ago | 0.24 KB
-
⭐⭐Exchange Exploit⭐⭐ 5
JavaScript | 5 sec ago | 0.24 KB
-
⭐✅ MAKE $2500 IN 15 MIN⭐⭐⭐ 6
JavaScript | 14 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $9OO INSTANTLY D M⭐⭐
Java | 14 sec ago | 0.10 KB
-
⭐✅ MAKE $2000 INSTANTLY ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 21 sec ago | 0.24 KB
-
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐⭐⭐
JavaScript | 33 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand