Add 2 files
Browse files- index.html +480 -38
- prompts.txt +1 -0
index.html
CHANGED
|
@@ -1,41 +1,483 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
<
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0"
|
| 6 |
-
<
|
|
|
|
|
|
|
| 7 |
<style>
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
</style>
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
<
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>NEXUS Audio Processor</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;500&display=swap');
|
| 11 |
+
|
| 12 |
+
:root {
|
| 13 |
+
--primary: #6d28d9;
|
| 14 |
+
--secondary: #10b981;
|
| 15 |
+
--dark: #1e293b;
|
| 16 |
+
--light: #f8fafc;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
body {
|
| 20 |
+
font-family: 'Roboto', sans-serif;
|
| 21 |
+
background-color: #0f172a;
|
| 22 |
+
color: var(--light);
|
| 23 |
+
overflow-x: hidden;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
.title-font {
|
| 27 |
+
font-family: 'Orbitron', sans-serif;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.visualizer {
|
| 31 |
+
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
|
| 32 |
+
border-radius: 12px;
|
| 33 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.audio-bar {
|
| 37 |
+
background: linear-gradient(90deg, var(--primary), var(--secondary));
|
| 38 |
+
height: 4px;
|
| 39 |
+
transition: all 0.1s ease;
|
| 40 |
+
transform-origin: left;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.knob {
|
| 44 |
+
width: 60px;
|
| 45 |
+
height: 60px;
|
| 46 |
+
border-radius: 50%;
|
| 47 |
+
background: linear-gradient(145deg, #1e293b, #0f172a);
|
| 48 |
+
box-shadow: 5px 5px 15px #0a101a, -5px -5px 15px #334155;
|
| 49 |
+
position: relative;
|
| 50 |
+
cursor: pointer;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.knob::after {
|
| 54 |
+
content: '';
|
| 55 |
+
position: absolute;
|
| 56 |
+
width: 8px;
|
| 57 |
+
height: 8px;
|
| 58 |
+
background-color: var(--secondary);
|
| 59 |
+
border-radius: 50%;
|
| 60 |
+
top: 10px;
|
| 61 |
+
left: 50%;
|
| 62 |
+
transform: translateX(-50%);
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
.effect-card {
|
| 66 |
+
background: rgba(30, 41, 59, 0.5);
|
| 67 |
+
backdrop-filter: blur(10px);
|
| 68 |
+
transition: all 0.3s ease;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.effect-card:hover {
|
| 72 |
+
transform: translateY(-5px);
|
| 73 |
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.led {
|
| 77 |
+
width: 12px;
|
| 78 |
+
height: 12px;
|
| 79 |
+
border-radius: 50%;
|
| 80 |
+
background-color: #4b5563;
|
| 81 |
+
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.led.active {
|
| 85 |
+
background-color: var(--secondary);
|
| 86 |
+
box-shadow: 0 0 10px var(--secondary);
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
@keyframes pulse {
|
| 90 |
+
0% { opacity: 0.6; }
|
| 91 |
+
50% { opacity: 1; }
|
| 92 |
+
100% { opacity: 0.6; }
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.pulse {
|
| 96 |
+
animation: pulse 2s infinite;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
canvas {
|
| 100 |
+
border-radius: 12px;
|
| 101 |
+
}
|
| 102 |
</style>
|
| 103 |
+
</head>
|
| 104 |
+
<body class="min-h-screen flex flex-col">
|
| 105 |
+
<header class="py-6 px-6 border-b border-slate-800">
|
| 106 |
+
<div class="container mx-auto flex justify-between items-center">
|
| 107 |
+
<div class="flex items-center space-x-2">
|
| 108 |
+
<div class="w-10 h-10 rounded-full bg-gradient-to-br from-purple-600 to-emerald-400 flex items-center justify-center">
|
| 109 |
+
<i class="fas fa-wave-square text-white"></i>
|
| 110 |
+
</div>
|
| 111 |
+
<h1 class="title-font text-2xl font-bold bg-gradient-to-r from-purple-500 to-emerald-400 bg-clip-text text-transparent">NEXUS</h1>
|
| 112 |
+
</div>
|
| 113 |
+
<nav class="hidden md:flex space-x-8">
|
| 114 |
+
<a href="#" class="text-slate-300 hover:text-white transition">Dashboard</a>
|
| 115 |
+
<a href="#" class="text-slate-300 hover:text-white transition">Effects</a>
|
| 116 |
+
<a href="#" class="text-slate-300 hover:text-white transition">Presets</a>
|
| 117 |
+
<a href="#" class="text-slate-300 hover:text-white transition">Settings</a>
|
| 118 |
+
</nav>
|
| 119 |
+
<button class="md:hidden text-slate-300">
|
| 120 |
+
<i class="fas fa-bars text-xl"></i>
|
| 121 |
+
</button>
|
| 122 |
+
</div>
|
| 123 |
+
</header>
|
| 124 |
+
|
| 125 |
+
<main class="flex-grow container mx-auto px-6 py-8">
|
| 126 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 127 |
+
<!-- Left Panel -->
|
| 128 |
+
<div class="lg:col-span-2 space-y-8">
|
| 129 |
+
<!-- Visualizer -->
|
| 130 |
+
<div class="visualizer p-6">
|
| 131 |
+
<div class="flex justify-between items-center mb-4">
|
| 132 |
+
<h2 class="title-font text-xl font-semibold">Audio Visualizer</h2>
|
| 133 |
+
<div class="flex space-x-2">
|
| 134 |
+
<button class="px-3 py-1 bg-slate-700 rounded-md text-sm">Waveform</button>
|
| 135 |
+
<button class="px-3 py-1 bg-slate-800 rounded-md text-sm">Frequency</button>
|
| 136 |
+
<button class="px-3 py-1 bg-slate-800 rounded-md text-sm">Spectrum</button>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
<div class="h-64 relative">
|
| 140 |
+
<canvas id="visualizerCanvas" class="w-full h-full"></canvas>
|
| 141 |
+
<div class="absolute bottom-0 left-0 right-0 h-1 bg-slate-700">
|
| 142 |
+
<div class="audio-bar" id="progressBar"></div>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
<div class="mt-4 flex justify-between items-center">
|
| 146 |
+
<div class="text-sm text-slate-400">00:00</div>
|
| 147 |
+
<div class="flex items-center space-x-4">
|
| 148 |
+
<button class="text-slate-300 hover:text-white">
|
| 149 |
+
<i class="fas fa-backward"></i>
|
| 150 |
+
</button>
|
| 151 |
+
<button class="w-10 h-10 rounded-full bg-gradient-to-br from-purple-600 to-emerald-400 flex items-center justify-center text-white">
|
| 152 |
+
<i class="fas fa-play"></i>
|
| 153 |
+
</button>
|
| 154 |
+
<button class="text-slate-300 hover:text-white">
|
| 155 |
+
<i class="fas fa-forward"></i>
|
| 156 |
+
</button>
|
| 157 |
+
</div>
|
| 158 |
+
<div class="text-sm text-slate-400">03:42</div>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
|
| 162 |
+
<!-- Equalizer -->
|
| 163 |
+
<div class="visualizer p-6">
|
| 164 |
+
<div class="flex justify-between items-center mb-4">
|
| 165 |
+
<h2 class="title-font text-xl font-semibold">10-Band Equalizer</h2>
|
| 166 |
+
<div class="flex items-center space-x-2">
|
| 167 |
+
<div class="led"></div>
|
| 168 |
+
<span class="text-sm text-slate-400">Flat</span>
|
| 169 |
+
<button class="px-3 py-1 bg-slate-800 rounded-md text-sm">Presets</button>
|
| 170 |
+
</div>
|
| 171 |
+
</div>
|
| 172 |
+
<div class="grid grid-cols-10 gap-2 h-40">
|
| 173 |
+
<!-- EQ Bands -->
|
| 174 |
+
<div class="flex flex-col items-center justify-end">
|
| 175 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-3/4 rounded-t-sm"></div>
|
| 176 |
+
<div class="text-xs text-slate-400 mt-1">60Hz</div>
|
| 177 |
+
</div>
|
| 178 |
+
<div class="flex flex-col items-center justify-end">
|
| 179 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-2/3 rounded-t-sm"></div>
|
| 180 |
+
<div class="text-xs text-slate-400 mt-1">150Hz</div>
|
| 181 |
+
</div>
|
| 182 |
+
<div class="flex flex-col items-center justify-end">
|
| 183 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-1/2 rounded-t-sm"></div>
|
| 184 |
+
<div class="text-xs text-slate-400 mt-1">300Hz</div>
|
| 185 |
+
</div>
|
| 186 |
+
<div class="flex flex-col items-center justify-end">
|
| 187 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-1/3 rounded-t-sm"></div>
|
| 188 |
+
<div class="text-xs text-slate-400 mt-1">600Hz</div>
|
| 189 |
+
</div>
|
| 190 |
+
<div class="flex flex-col items-center justify-end">
|
| 191 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-1/4 rounded-t-sm"></div>
|
| 192 |
+
<div class="text-xs text-slate-400 mt-1">1.2kHz</div>
|
| 193 |
+
</div>
|
| 194 |
+
<div class="flex flex-col items-center justify-end">
|
| 195 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-1/5 rounded-t-sm"></div>
|
| 196 |
+
<div class="text-xs text-slate-400 mt-1">2.4kHz</div>
|
| 197 |
+
</div>
|
| 198 |
+
<div class="flex flex-col items-center justify-end">
|
| 199 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-1/6 rounded-t-sm"></div>
|
| 200 |
+
<div class="text-xs text-slate-400 mt-1">4.8kHz</div>
|
| 201 |
+
</div>
|
| 202 |
+
<div class="flex flex-col items-center justify-end">
|
| 203 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-1/4 rounded-t-sm"></div>
|
| 204 |
+
<div class="text-xs text-slate-400 mt-1">9.6kHz</div>
|
| 205 |
+
</div>
|
| 206 |
+
<div class="flex flex-col items-center justify-end">
|
| 207 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-1/3 rounded-t-sm"></div>
|
| 208 |
+
<div class="text-xs text-slate-400 mt-1">14kHz</div>
|
| 209 |
+
</div>
|
| 210 |
+
<div class="flex flex-col items-center justify-end">
|
| 211 |
+
<div class="w-full bg-gradient-to-t from-purple-500 to-transparent h-1/2 rounded-t-sm"></div>
|
| 212 |
+
<div class="text-xs text-slate-400 mt-1">18kHz</div>
|
| 213 |
+
</div>
|
| 214 |
+
</div>
|
| 215 |
+
<div class="mt-4 grid grid-cols-10 gap-2">
|
| 216 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 217 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 218 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 219 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 220 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 221 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 222 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 223 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 224 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 225 |
+
<input type="range" min="-12" max="12" value="0" class="w-full h-1 bg-slate-700 rounded-full appearance-none" orient="vertical">
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
|
| 230 |
+
<!-- Right Panel -->
|
| 231 |
+
<div class="space-y-8">
|
| 232 |
+
<!-- Input Controls -->
|
| 233 |
+
<div class="visualizer p-6">
|
| 234 |
+
<h2 class="title-font text-xl font-semibold mb-4">Input Controls</h2>
|
| 235 |
+
<div class="space-y-6">
|
| 236 |
+
<div>
|
| 237 |
+
<label class="block text-sm text-slate-400 mb-2">Input Source</label>
|
| 238 |
+
<select class="w-full bg-slate-800 border border-slate-700 rounded-md px-3 py-2 text-sm">
|
| 239 |
+
<option>Microphone</option>
|
| 240 |
+
<option>System Audio</option>
|
| 241 |
+
<option>Audio File</option>
|
| 242 |
+
</select>
|
| 243 |
+
</div>
|
| 244 |
+
<div>
|
| 245 |
+
<label class="block text-sm text-slate-400 mb-2">Input Gain</label>
|
| 246 |
+
<div class="flex items-center space-x-4">
|
| 247 |
+
<div class="knob"></div>
|
| 248 |
+
<div class="flex-grow">
|
| 249 |
+
<input type="range" min="0" max="100" value="75" class="w-full h-1 bg-slate-700 rounded-full appearance-none">
|
| 250 |
+
</div>
|
| 251 |
+
<span class="text-sm w-10 text-right">75%</span>
|
| 252 |
+
</div>
|
| 253 |
+
</div>
|
| 254 |
+
<div class="flex justify-between">
|
| 255 |
+
<button class="px-4 py-2 bg-slate-800 rounded-md text-sm flex items-center space-x-2">
|
| 256 |
+
<i class="fas fa-cog"></i>
|
| 257 |
+
<span>Settings</span>
|
| 258 |
+
</button>
|
| 259 |
+
<button class="px-4 py-2 bg-gradient-to-r from-purple-600 to-emerald-500 rounded-md text-sm flex items-center space-x-2">
|
| 260 |
+
<i class="fas fa-sliders-h"></i>
|
| 261 |
+
<span>Calibrate</span>
|
| 262 |
+
</button>
|
| 263 |
+
</div>
|
| 264 |
+
</div>
|
| 265 |
+
</div>
|
| 266 |
+
|
| 267 |
+
<!-- Effects Rack -->
|
| 268 |
+
<div class="visualizer p-6">
|
| 269 |
+
<div class="flex justify-between items-center mb-4">
|
| 270 |
+
<h2 class="title-font text-xl font-semibold">Effects Rack</h2>
|
| 271 |
+
<button class="px-3 py-1 bg-gradient-to-r from-purple-600 to-emerald-500 rounded-md text-sm">
|
| 272 |
+
<i class="fas fa-plus mr-1"></i> Add
|
| 273 |
+
</button>
|
| 274 |
+
</div>
|
| 275 |
+
<div class="space-y-4">
|
| 276 |
+
<!-- Effect Cards -->
|
| 277 |
+
<div class="effect-card p-4 rounded-lg border border-slate-700">
|
| 278 |
+
<div class="flex justify-between items-center">
|
| 279 |
+
<div class="flex items-center space-x-3">
|
| 280 |
+
<div class="w-8 h-8 rounded bg-gradient-to-br from-purple-600 to-emerald-400 flex items-center justify-center">
|
| 281 |
+
<i class="fas fa-volume-up text-xs text-white"></i>
|
| 282 |
+
</div>
|
| 283 |
+
<div>
|
| 284 |
+
<h3 class="font-medium">Compressor</h3>
|
| 285 |
+
<p class="text-xs text-slate-400">Threshold: -12dB</p>
|
| 286 |
+
</div>
|
| 287 |
+
</div>
|
| 288 |
+
<div class="flex items-center space-x-2">
|
| 289 |
+
<div class="led active"></div>
|
| 290 |
+
<button class="text-slate-400 hover:text-white">
|
| 291 |
+
<i class="fas fa-ellipsis-v"></i>
|
| 292 |
+
</button>
|
| 293 |
+
</div>
|
| 294 |
+
</div>
|
| 295 |
+
</div>
|
| 296 |
+
<div class="effect-card p-4 rounded-lg border border-slate-700">
|
| 297 |
+
<div class="flex justify-between items-center">
|
| 298 |
+
<div class="flex items-center space-x-3">
|
| 299 |
+
<div class="w-8 h-8 rounded bg-gradient-to-br from-purple-600 to-emerald-400 flex items-center justify-center">
|
| 300 |
+
<i class="fas fa-robot text-xs text-white"></i>
|
| 301 |
+
</div>
|
| 302 |
+
<div>
|
| 303 |
+
<h3 class="font-medium">Vocoder</h3>
|
| 304 |
+
<p class="text-xs text-slate-400">Band: 16</p>
|
| 305 |
+
</div>
|
| 306 |
+
</div>
|
| 307 |
+
<div class="flex items-center space-x-2">
|
| 308 |
+
<div class="led active"></div>
|
| 309 |
+
<button class="text-slate-400 hover:text-white">
|
| 310 |
+
<i class="fas fa-ellipsis-v"></i>
|
| 311 |
+
</button>
|
| 312 |
+
</div>
|
| 313 |
+
</div>
|
| 314 |
+
</div>
|
| 315 |
+
<div class="effect-card p-4 rounded-lg border border-slate-700">
|
| 316 |
+
<div class="flex justify-between items-center">
|
| 317 |
+
<div class="flex items-center space-x-3">
|
| 318 |
+
<div class="w-8 h-8 rounded bg-gradient-to-br from-purple-600 to-emerald-400 flex items-center justify-center">
|
| 319 |
+
<i class="fas fa-echo text-xs text-white"></i>
|
| 320 |
+
</div>
|
| 321 |
+
<div>
|
| 322 |
+
<h3 class="font-medium">Delay</h3>
|
| 323 |
+
<p class="text-xs text-slate-400">Feedback: 30%</p>
|
| 324 |
+
</div>
|
| 325 |
+
</div>
|
| 326 |
+
<div class="flex items-center space-x-2">
|
| 327 |
+
<div class="led"></div>
|
| 328 |
+
<button class="text-slate-400 hover:text-white">
|
| 329 |
+
<i class="fas fa-ellipsis-v"></i>
|
| 330 |
+
</button>
|
| 331 |
+
</div>
|
| 332 |
+
</div>
|
| 333 |
+
</div>
|
| 334 |
+
<div class="effect-card p-4 rounded-lg border border-slate-700">
|
| 335 |
+
<div class="flex justify-between items-center">
|
| 336 |
+
<div class="flex items-center space-x-3">
|
| 337 |
+
<div class="w-8 h-8 rounded bg-gradient-to-br from-purple-600 to-emerald-400 flex items-center justify-center">
|
| 338 |
+
<i class="fas fa-mountain text-xs text-white"></i>
|
| 339 |
+
</div>
|
| 340 |
+
<div>
|
| 341 |
+
<h3 class="font-medium">Reverb</h3>
|
| 342 |
+
<p class="text-xs text-slate-400">Decay: 2.4s</p>
|
| 343 |
+
</div>
|
| 344 |
+
</div>
|
| 345 |
+
<div class="flex items-center space-x-2">
|
| 346 |
+
<div class="led"></div>
|
| 347 |
+
<button class="text-slate-400 hover:text-white">
|
| 348 |
+
<i class="fas fa-ellipsis-v"></i>
|
| 349 |
+
</button>
|
| 350 |
+
</div>
|
| 351 |
+
</div>
|
| 352 |
+
</div>
|
| 353 |
+
</div>
|
| 354 |
+
</div>
|
| 355 |
+
</div>
|
| 356 |
+
</div>
|
| 357 |
+
</main>
|
| 358 |
+
|
| 359 |
+
<footer class="py-4 px-6 border-t border-slate-800">
|
| 360 |
+
<div class="container mx-auto flex flex-col md:flex-row justify-between items-center">
|
| 361 |
+
<div class="flex items-center space-x-2 mb-4 md:mb-0">
|
| 362 |
+
<div class="w-6 h-6 rounded-full bg-gradient-to-br from-purple-600 to-emerald-400 flex items-center justify-center">
|
| 363 |
+
<i class="fas fa-wave-square text-xs text-white"></i>
|
| 364 |
+
</div>
|
| 365 |
+
<span class="title-font text-sm">NEXUS Audio Processor</span>
|
| 366 |
+
</div>
|
| 367 |
+
<div class="flex space-x-4">
|
| 368 |
+
<span class="text-xs text-slate-400">v1.0.0</span>
|
| 369 |
+
<span class="text-xs text-slate-400">CPU: 12%</span>
|
| 370 |
+
<span class="text-xs text-slate-400">Latency: 4.2ms</span>
|
| 371 |
+
</div>
|
| 372 |
+
</div>
|
| 373 |
+
</footer>
|
| 374 |
+
|
| 375 |
+
<script>
|
| 376 |
+
// Visualizer animation
|
| 377 |
+
const canvas = document.getElementById('visualizerCanvas');
|
| 378 |
+
const ctx = canvas.getContext('2d');
|
| 379 |
+
|
| 380 |
+
// Set canvas dimensions
|
| 381 |
+
canvas.width = canvas.offsetWidth;
|
| 382 |
+
canvas.height = canvas.offsetHeight;
|
| 383 |
+
|
| 384 |
+
// Animation variables
|
| 385 |
+
let animationId;
|
| 386 |
+
let dataArray = new Array(128).fill(0);
|
| 387 |
+
|
| 388 |
+
function drawVisualizer() {
|
| 389 |
+
animationId = requestAnimationFrame(drawVisualizer);
|
| 390 |
+
|
| 391 |
+
// Clear canvas
|
| 392 |
+
ctx.fillStyle = 'rgba(15, 23, 42, 0.2)';
|
| 393 |
+
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
| 394 |
+
|
| 395 |
+
// Draw waveform
|
| 396 |
+
ctx.lineWidth = 2;
|
| 397 |
+
ctx.strokeStyle = '#6d28d9';
|
| 398 |
+
ctx.beginPath();
|
| 399 |
+
|
| 400 |
+
const sliceWidth = canvas.width / dataArray.length;
|
| 401 |
+
let x = 0;
|
| 402 |
+
|
| 403 |
+
for(let i = 0; i < dataArray.length; i++) {
|
| 404 |
+
// Simulate audio data
|
| 405 |
+
dataArray[i] = Math.random() * 0.4 + 0.1;
|
| 406 |
+
|
| 407 |
+
const v = dataArray[i];
|
| 408 |
+
const y = canvas.height / 2 + v * canvas.height / 2 * (i % 2 === 0 ? 1 : -1);
|
| 409 |
+
|
| 410 |
+
if(i === 0) {
|
| 411 |
+
ctx.moveTo(x, y);
|
| 412 |
+
} else {
|
| 413 |
+
ctx.lineTo(x, y);
|
| 414 |
+
}
|
| 415 |
+
|
| 416 |
+
x += sliceWidth;
|
| 417 |
+
}
|
| 418 |
+
|
| 419 |
+
ctx.stroke();
|
| 420 |
+
|
| 421 |
+
// Draw gradient overlay
|
| 422 |
+
const gradient = ctx.createLinearGradient(0, 0, 0, canvas.height);
|
| 423 |
+
gradient.addColorStop(0, 'rgba(109, 40, 217, 0.1)');
|
| 424 |
+
gradient.addColorStop(1, 'rgba(16, 185, 129, 0.1)');
|
| 425 |
+
ctx.fillStyle = gradient;
|
| 426 |
+
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
| 427 |
+
}
|
| 428 |
+
|
| 429 |
+
// Start animation
|
| 430 |
+
drawVisualizer();
|
| 431 |
+
|
| 432 |
+
// Simulate progress bar movement
|
| 433 |
+
let progress = 0;
|
| 434 |
+
setInterval(() => {
|
| 435 |
+
progress = (progress + 0.5) % 100;
|
| 436 |
+
document.getElementById('progressBar').style.width = `${progress}%`;
|
| 437 |
+
}, 100);
|
| 438 |
+
|
| 439 |
+
// Knob rotation interaction
|
| 440 |
+
const knobs = document.querySelectorAll('.knob');
|
| 441 |
+
knobs.forEach(knob => {
|
| 442 |
+
let isDragging = false;
|
| 443 |
+
let startY = 0;
|
| 444 |
+
let rotation = 0;
|
| 445 |
+
|
| 446 |
+
knob.addEventListener('mousedown', (e) => {
|
| 447 |
+
isDragging = true;
|
| 448 |
+
startY = e.clientY;
|
| 449 |
+
knob.style.cursor = 'grabbing';
|
| 450 |
+
});
|
| 451 |
+
|
| 452 |
+
document.addEventListener('mousemove', (e) => {
|
| 453 |
+
if(!isDragging) return;
|
| 454 |
+
|
| 455 |
+
const deltaY = e.clientY - startY;
|
| 456 |
+
rotation = Math.min(Math.max(rotation + deltaY * 0.5, -90), 90);
|
| 457 |
+
knob.style.transform = `rotate(${rotation}deg)`;
|
| 458 |
+
startY = e.clientY;
|
| 459 |
+
});
|
| 460 |
+
|
| 461 |
+
document.addEventListener('mouseup', () => {
|
| 462 |
+
isDragging = false;
|
| 463 |
+
knob.style.cursor = 'pointer';
|
| 464 |
+
});
|
| 465 |
+
});
|
| 466 |
+
|
| 467 |
+
// Toggle effect LEDs
|
| 468 |
+
const effectCards = document.querySelectorAll('.effect-card');
|
| 469 |
+
effectCards.forEach(card => {
|
| 470 |
+
const led = card.querySelector('.led');
|
| 471 |
+
card.addEventListener('click', () => {
|
| 472 |
+
led.classList.toggle('active');
|
| 473 |
+
});
|
| 474 |
+
});
|
| 475 |
+
|
| 476 |
+
// Responsive adjustments
|
| 477 |
+
window.addEventListener('resize', () => {
|
| 478 |
+
canvas.width = canvas.offsetWidth;
|
| 479 |
+
canvas.height = canvas.offsetHeight;
|
| 480 |
+
});
|
| 481 |
+
</script>
|
| 482 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=AhBoh/prova" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 483 |
+
</html>
|
prompts.txt
CHANGED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Create a software Audio processor called NEXUS
|