-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
199 lines (180 loc) · 6.86 KB
/
Copy pathindex.html
File metadata and controls
199 lines (180 loc) · 6.86 KB
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mel Spectrogram Samples</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #000;
color: #fff;
}
.header-image {
width: 100%;
max-width: 500px;
height: auto;
object-fit: cover;
}
.header-description {
margin-bottom: 20px;
}
.sample-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.sample-container {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 20px;
}
.sample-container img {
width: 100%;
max-width: 200px;
height: auto;
margin-bottom: 10px;
}
.sample-description {
text-align: center;
}
audio::-webkit-media-controls-play-button {
width: 20px;
height: 30px;
}
h1, h2, p, a {
color: #fff;
margin: 0;
}
.author-info {
margin-top: 20px;
text-align: center;
}
.author-info a {
color: #fff;
margin-right: 10px;
text-decoration: none;
}
.author-info a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<header>
<img class="header-image" src="https://github.com/markstent/sonic-diffusion/raw/main/sonicdiffusion_logo.png" alt="Header Image">
<div class="header-description">
<p>This page showcases sample Mel spectrogram images and their related audio files from the Sonic Diffusion project trained on melodic techno sound files. Feel free to explore the samples and listen to the audio files. For more details and source code, visit the <a href="https://github.com/markstent/sonic-diffusion">GitHub repository</a>.</p>
<br>
<p>Please note that the included files have been deliberately reduced in quality. Due to the utilization of mel spectrograms for image representation, the inherent "phase" component of the original audio files was lost during the conversion process. As a result, the "phase" information was reconstructed using interpolation techniques, which may introduce a noticeable "combing" effect in the audio playback. It is important to understand that this compromise was necessary to effectively work with the high-dimensional data inherent in mel spectrograms.</p>
</div>
</header>
<main>
<h1>Model Generated Samples</h1><br>
<div class="sample-grid">
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/1.png?raw=true" alt="Sample 1">
<div class="sample-description">
<h2>Sample 1</h2>
<audio controls>
<source src="samples/audio/1.mp3" type="audio/mpeg">
</audio>
</div>
</div>
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/2.png?raw=true" alt="Sample 2">
<div class="sample-description">
<h2>Sample 2</h2>
<audio controls>
<source src="samples/audio/2.mp3" type="audio/mpeg">
</audio>
</div>
</div>
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/3.png?raw=true" alt="Sample 3">
<div class="sample-description">
<h2>Sample 3</h2>
<audio controls>
<source src="samples/audio/3.mp3" type="audio/mpeg">
</audio>
</div>
</div>
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/4.png?raw=true" alt="Sample 4">
<div class="sample-description">
<h2>Sample 4</h2>
<audio controls>
<source src="samples/audio/4.mp3" type="audio/mpeg">
</audio>
</div>
</div>
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/5.png?raw=true" alt="Sample 5">
<div class="sample-description">
<h2>Sample 5</h2>
<audio controls>
<source src="samples/audio/5.mp3" type="audio/mpeg">
</audio>
</div>
</div>
</div>
<h1>Human Created Samples</h1><br>
<div class="sample-grid">
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/original_1.png?raw=true" alt="Sample 1">
<div class="sample-description">
<h2>Sample 1</h2>
<audio controls>
<source src="samples/audio/original_1.mp3" type="audio/mpeg">
</audio>
</div>
</div>
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/original_2.png?raw=true" alt="Sample 2">
<div class="sample-description">
<h2>Sample 2</h2>
<audio controls>
<source src="samples/audio/original_2.mp3" type="audio/mpeg">
</audio>
</div>
</div>
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/original_3.png?raw=true" alt="Sample 3">
<div class="sample-description">
<h2>Sample 3</h2>
<audio controls>
<source src="samples/audio/original_3.mp3" type="audio/mpeg">
</audio>
</div>
</div>
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/original_4.png?raw=true" alt="Sample 4">
<div class="sample-description">
<h2>Sample 4</h2>
<audio controls>
<source src="samples/audio/original_4.mp3" type="audio/mpeg">
</audio>
</div>
</div>
<div class="sample-container">
<img src="https://github.com/markstent/sonic-diffusion/blob/main/samples/images/original_5.png?raw=true" alt="Sample 5">
<div class="sample-description">
<h2>Sample 5</h2>
<audio controls>
<source src="samples/audio/original_5.mp3" type="audio/mpeg">
</audio>
</div>
</div>
</div>
</main>
<footer>
<div class="author-info">
<a href="mailto:mark@markstent.co.za">Email</a>
<a href="https://www.linkedin.com/in/markstent">LinkedIn</a>
<a href="https://twitter.com/mrkstnt">Twitter</a>
</div>
</footer>
</body>
</html>