@Anthony_Tonev/

Music_Box_Editor

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • animation
  • notes
  • sounds
  • UI.js
  • animation.js
  • lottie.js
  • musicbox.js
  • style.css

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.016448967379203427","path":"index.html","file":{"path":"index.html","content":{"asEncoding":{"base64":"PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KCjxoZWFkPgoJPG1ldGEgY2hhcnNldD0iVVRGLTgiPgoJPHRpdGxlPk11c2ljIEJveDwvdGl0bGU+Cgk8bGluayByZWw9InN0eWxlc2hlZXQiIGhyZWY9InN0eWxlLmNzcyI+CjwvaGVhZD4KCjxib2R5PgoKCTxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0IiBzcmM9ImxvdHRpZS5qcyI+CgoJPC9zY3JpcHQ+CgoJPGNlbnRlcj4KCQk8aDEgaWQ9InRpdGxlIiBzdHlsZT0iY29sb3I6cmdiKDIzNSwgMjIzLCA1OCk7Ij5NVVNJQyBCT1ggRURJVE9SPC9oMT4KCgkJPGJ1dHRvbiBjbGFzcz0iYnV0dG9uY29sIiBpZD0ic2Nyb2xsVG9Cb3R0b20iIG9uY2xpY2s9ICJzY3JvbGxUb0VsWFkoMCk7Ij7ilrw8L2J1dHRvbj4gCjxwPjwvcD4KCQkJPCEtLSA8cD48aT5jbGljayBvbiBrZXlzIHRvIHNldCBub3RlcyB0aGVuIHByZXNzIHBsYXk8L2k+PGk+IChsb3dlciBub3RlcyBvbiB0aGUgbGVmdCAtIGhpZ2hlciBub3RlcyBvbiB0aGUgcmlnaHQpIDwvaT4gLS0+CgoJCTxkaXYgaWQ9IlVJIj48L2Rpdj4KICAgICAgPGgxIGlkPSJsb2FkaW5nIiBzdHlsZT0iZGlzcGxheTpub25lIj48YSBzdHlsZT0iZm9udC1zaXplOjIwcHgiPvCflLfwn5S38J+UtzwvYT5Mb2FkaW5nPGEgc3R5bGU9Im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PjwvZGl2Pgo8cD48L3A+CkNvcHkgeW91ciBub3RlcyBhbmQgdXBsb2FkIHRoZW0gb3IgZmluZCBtb3JlIGF0OiAKCgoKPGNlbnRlcj4KPGlmcmFtZSBoZWlnaHQ9IjE1MDBweCIgd2lkdGg9IjIwMCUiIHNyYz0iaHR0cHM6Ly9tdXNpY2JveGRiLTItLWFudGhvbnktdG9uZXYucmVwbC5jby8iIHNjcm9sbGluZz0ibm8iIGZyYW1lYm9yZGVyPSJubyIgYWxsb3d0cmFuc3BhcmVuY3k9InRydWUiIGFsbG93ZnVsbHNjcmVlbj0idHJ1ZSIgc2FuZGJveD0iYWxsb3ctZm9ybXMgYWxsb3ctcG9pbnRlci1sb2NrIGFsbG93LXBvcHVwcyBhbGxvdy1zYW1lLW9yaWdpbiBhbGxvdy1zY3JpcHRzIGFsbG93LW1vZGFscyI+PC9pZnJhbWU+Cgo8L2NlbnRlcj4KPHAgPkRCIHdvcmtzIGZpbmUgbm93IGJ1dCBzdGlsbCBrZWVwIHlvdSBub3RlcyBzb21ld2hlcmUgdW50aWwgeW91IHNlZSB0aGVtIGluIHRoZSBwb29sPC9wPgo8YSBzdHlsZT0ibWF4LXdpZHRoOjcwMHB4O2ZvbnQtc2l6ZToyNXB4IiBocmVmPSJodHRwczovL211c2ljYm94ZGItMi0tYW50aG9ueS10b25ldi5yZXBsLmNvLyIgdGFyZ2V0PSJfYmxhbmsiPm9wZW4gREIgaW4gYSBuZXcgdGFiPC9hPgo8c2NyaXB0IHNyYz0iVUkuanMiPjwvc2NyaXB0Pgo8c2NyaXB0ICBzcmM9Im11c2ljYm94LmpzIj4KCjwvc2NyaXB0PgoKPC9ib2R5ID4KPC9odG1sPg=="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>Music Box</title>
	<link rel="stylesheet" href="style.css">
</head>

<body>

	<script type="text/javascript" src="lottie.js">

	</script>

	<center>
		<h1 id="title" style="color:rgb(235, 223, 58);">MUSIC BOX EDITOR</h1>

		<button class="buttoncol" id="scrollToBottom" onclick= "scrollToElXY(0);">▼</button> 
<p></p>
			<!-- <p><i>click on keys to set notes then press play</i><i> (lower notes on the left - higher notes on the right) </i> -->

		<div id="UI"></div>
      <h1 id="loading" style="display:none"><a style="font-size:20px">🔷🔷🔷</a>Loading<a style="font-size:20px">🔷🔷🔷</a> </h1>

			<audio id="1" src="notes/1.mp3"></audio>
			<audio id="2" src="notes/2.mp3"></audio>
			<audio id="3" src="notes/3.mp3"></audio>
			<audio id="4" src="notes/4.mp3"></audio>
			<audio id="5" src="notes/5.mp3"></audio>
			<audio id="6" src="notes/6.mp3"></audio>
			<audio id="7" src="notes/7.mp3"></audio>
			<audio id="8" src="notes/8.mp3"></audio>
			<audio id="9" src="notes/9.mp3"></audio>
      <audio id="10" src="notes/10.mp3"></audio>
			<audio id="11" src="notes/11.mp3"></audio>
			<audio id="12" src="notes/12.mp3"></audio>
			<audio id="13" src="notes/13.mp3"></audio>
			<audio id="14" src="notes/14.mp3"></audio>
			<audio id="15" src="notes/15.mp3"></audio>
		

</center>

	<audio id="windUp" src="sounds/windup.mp3" ></audio>



<center>


  	<div class="lottieclass" id="lottie"></div>
      <p></p>
     
  <button id="play" onclick="loadAnimation(); resetNotes();generateMusic();displayMatrix(0);playNotes();playAnimation();"> &#9654; </button>

  <button id="stop" onclick="stopPlaying()">&#9724;</button>
  
  	 <p> 2x preview | listen only</p>
<button  style="margin-left:72px;border:none;background-color:transperent;" id="preload" onclick="fastPreviewAnim();tunePreload();displayMatrix(0);scrollToElXY(0);">⚡ </button>
    <button style="margin-left:0px" id="previewMusic" onclick="generateRadioMusic();deleteAll();"> 	📻 </button>
     <button id="previewMusicPlay" onclick="listenOnly();playRadioNotes();"> &#9654; </button>
       <button id="previewMusicStop" onclick="stopPlayingRadio()"> 	&#9724; </button>
		 <p></p>


<a>Delay: </a><a id="delayVal">350</a><input oninput="displayDelay(this.value)" onchange="displayDelay(this.value)" type="range" min="20" max="1000" value="350" class="slider" id="Tempo_Input" >
 <a>🔊</a><input type="range" min="0" max="100" value="20" class="slider" id="volumeSlider">

	 <p></p>
   <button class="buttoncol" id="scrollToTop" onclick= "scrollToEl(1);">▲</button> 
   	 <p></p>

<button class="buttoncol" id="generate" onclick="createMusicBox();">+</button>


<button class="noteKey" style ="max-width:100px" id="holdDoc" onclick="holdNote();" >🔷</button>

<button class="buttoncol" id="delete" onclick="deleteMusicBox();">-</button>
 <p></p>
   	<a style="font-size:20px">if you load for the first time after refresh try  </a> <button class="buttoncol" id="tuning" onclick= "save_InputBkp();tuneUp(0);">tuning⚙️</button> 
     	<a style="font-size:20px">.   to make sure sounds are loaded  </a>
      <p></p>
 <a>📋</a>
<input class="inputcol" id="copy_input" value="1" size="1" style="font-size:25px;height:30px">
<button class="buttoncol" id="copy" onclick="createMusicBox();copyMatrix();">copy</button>
<button class="buttoncol" id="random" onclick="randomNotes();">rdm</button>

<button class="buttoncol" id="reset" onclick="resetNotes();clearKeys()">reset</button>
		

 <p></p>

   <!-- <p><a> ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬</a></p> 
   (ws,ad) {//♫ &#9654; ♪
  let wsad = [[-1,+1,0],[-1,+1,0]];
  let dirWS =  wsad[0][+ws];
  let dirAD =  wsad[1][+ad];-->
	<!-- animation is stored in a variable from this file -->

		<script type="text/javascript" src="animation/idle.json">

		</script>
    <script type="text/javascript" src="animation/happy.json">

		</script>
		<script  type="text/javascript" src="animation/ready.json">

		</script>
		<script type="text/javascript" src="animation/load.json">

		</script>
		<script type="text/javascript" src="animation/play.json">

		</script>
<p></p>


  <!-- 📂 <select id="themes">
			<option value="0">box</option>
			<option value="1">chip</option>
		

		</select>
		<button class="buttoncol" id="selTheme" onclick="changeTheme()">
			change theme</button> -->

<p></p>
 <a>💾</a><input class="inputcol" id="Save_Input" value="" size="88" spellcheck="false">
<p style="font-size:17px"><i>Have you created a masterpiece? Fill the form at the bottom and upload this treasure!</i></p>
<input class="inputcol" id="numBlocksInput" value="1" size="1" style="font-size:25px;height:30px"><button class="buttoncol" id="addPlus" onclick="addPlus()"> ++</button>
<button class="buttoncol" id="load" onclick="resetNotes();loadPiece();"> load 💾</button>

<button class="buttoncol" id="addMix" onclick="addMix();">+add⚗️</button>
<button class="buttoncol" id="mix" onclick="merge();">mix'm⚗️</button>
<button class="buttoncol" id="restart" onclick="resetNotes();deleteAll();">clear🗑️</button>
<p></p>
<p></p>
 <a>CURRENT PREVIEW MODE:</a>
 <button style="width:300px;max-width:300px" class="buttoncol" id="previewMode" onclick="previewMode();">one block at a time</button><p></p>
 <p></p>
  	

<p></p> 
<p> FEATURED Record Collection from The Community:</p>

<p ></p>
<div id="records">
<button class="lib" id="contribution1" onclick="demo('THE_FIRST_SONG',7)"><a style="font-size:15px;">J. Taylor's </a> "Twinkle twinkle little star" <a style="font-size:15px"> by ebest</a>
<button class="lib" id="contribution2" onclick="demo('London_bridges_falling_up',4)"><a style="font-size:15px;">A. B. Gomme's </a>"London bridges falling down"<a style="font-size:15px"> by ebest</a>
<button class="lib" id="contribution3" onclick="demo('Ode_of_Joy',9)"><a style="font-size:15px;"> Beethoven's </a>"Ode to joy in e♭" <a style="font-size:15px"> by ebest</a>
<button class="lib" id="contribution4" onclick="demo('Star_Wars',17)"><a style="font-size:15px;"> J. William's </a>"Star Wars Theme" <a style="font-size:15px"> by ebest</a>
<button class="lib" id="contribution4" onclick="demo('Jurrassic_Park',11)"><a style="font-size:15px;"> J. Williams's </a>"Jurrassic Park Theme" <a style="font-size:15px"> by vedprad1 </a>
<button class="lib" id="demo3" onclick="demo('Indian_Anthem',28);"><a style="font-size:15px;"> Rabindranath Tagore's  </a>"Indian National Anthem" <a style="font-size:15px"> by vedprad1 </a></button>

<p ></p>
<p ></p>
<!-- <button class="lib" id="demo" onclick="demo('basic_joy',10);">Basic Joy <a style="font-size:15px">by Anthony Tonev</a></button>
<button class="lib" id="demo2" onclick="demo('Silent_Night',7);"><a style="font-size:15px;">F. X. Gruber's </a>Silent Night <a style="font-size:15px">by Anthony Tonev</a></button>
<button class="lib" id="contribution5" onclick="demo('Unknown',13)"><a style="font-size:15px;"> </a>"Unknown Theme" <a style="font-size:15px"> by ebest</a>
<button class="lib" id="demo4" onclick="demo('heart',1);">❤️ Notes <a style="font-size:15px">by Anthony Tonev</a></button> -->

</div>


<p ></p>

<p style="font-size:25px"> <i>Find more pieces from the data base below </i></p> 

</center>

<script type="text/javascript" src="animation.js">


</script>


<button class="buttoncol" id="viewNoteSheet" onclick="viewNoteSheet();">♪ book</button>
<script>
    let col_Tick=false;
function change_color(){
col_Tick=!col_Tick;
if(col_Tick){
document.body.style.backgroundColor = "gray"; 
}else if(!col_Tick){
 document.body.style.backgroundColor ="rgb(170, 80, 126)";
}




}


</script>
<button class="buttoncol" id="bgcol" onclick="change_color()">color</button>

<p ></p>

<div id="notebook"></div>
<p></p>
Copy your notes and upload them or find more at: 



<center>
<iframe height="1500px" width="200%" src="https://musicboxdb-2--anthony-tonev.repl.co/" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe>

</center>
<p >DB works fine now but still keep you notes somewhere until you see them in the pool</p>
<a style="max-width:700px;font-size:25px" href="https://musicboxdb-2--anthony-tonev.repl.co/" target="_blank">open DB in a new tab</a>
<script src="UI.js"></script>
<script  src="musicbox.js">

</script>

</body >
</html>
result
console