-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
62 lines (55 loc) · 2.79 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>RepRapRingtone - rtttl to gcode</title>
<meta name="description" content="Convert rtttl ringtones to gcode for playback on 3D printers"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
<script src="main.js" type="text/javascript"></script>
<script type="text/javascript" src="webaudio_tools.js"> </script>
<script src="playback.js" type="text/javascript"></script>
</head>
<body itemscope itemtype="WebApplication">
<div class="container">
<div class="page-header">
<h1>RepRapRingtone <small>rtttl to gcode</small></h1>
</div>
<div class="row">
<div class="col-lg-6">
<h4>rtttl</h4>
<p><textarea id="rttl" class="form-control" rows="10">
victory:d=4,o=5,b=140:32d6,32p,32d6,32p,32d6,32p,d6,a#,c6,16d6,8p,16c6,2d6,a,g,a,16g,16p,c6,16c6,16p,b,16c6,16p,b,16b,16p,a,g,f#,16g,16p,1e,a,g,a,16g,16p,c6,16c6,16p,b,16c6,16p,b,16b,16p,a,g,a,16c6,16p,1d6
</textarea></p>
<p><button class="btn btn-primary" onmousedown="convert();">Convert</button></p>
</div>
<div class="col-lg-6">
<h4>gcode</h4>
<p><textarea id="gcode" class="form-control" rows="10"></textarea></p>
<p>
<button class="btn btn-success" onmousedown="playSong();">Play</button>
<button class="btn btn-danger" onmousedown="stopSong();">Stop</button>
</p>
</div>
</div>
<hr/>
<div class="row">
<div class="col-lg-5">
<p itemprop="description" class="lead">Convert rtttl ringtones to gcode for playback on 3D printers.</p>
<ul>
<li>Great for print finished notifications!</li>
<li>Requires printer firmware that supports M300 and a buzzer. (Marlin and Repetier have support)</li>
</p>
</div>
<div class="col-lg-7">
<p class="pull-right"><iframe width="560" height="315" src="https://www.youtube.com/embed/NwMkHMz9kC0" frameborder="0" allowfullscreen></iframe></p>
</div>
</div>
</div>
<a class="github-fork-ribbon" href="https://github.com/DDRBoxman/RepRapRingtone" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
</body>
</html>