Add files via upload
This commit is contained in:
+115
@@ -0,0 +1,115 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||||
|
<title>Codeathon - Audio Spectrum</title>
|
||||||
|
<!-- Bootstrap CSS -->
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
|
||||||
|
integrity="sha384-HzXlPFaARmAWL1Uk1OIr5m2P6wNf6n5wwSFs5PZsO6A6p0FjV+6g7x1yJwO0wwp/"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<!-- Custom CSS -->
|
||||||
|
<link rel="stylesheet" href="assets/css/style.css" />
|
||||||
|
<link rel="stylesheet" href="assets/css/about.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<!-- Header -->
|
||||||
|
<header>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a href="index.html" class="glitch" data-text="Accueil">Accueil</a></li>
|
||||||
|
<li><a href="a-propos.html" class="glitch" data-text="À Propos">À Propos</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
header {
|
||||||
|
background-color: #1a1a1a;
|
||||||
|
height: 80px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul {
|
||||||
|
list-style: none;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li a {
|
||||||
|
color: #ffffff;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-left: 20px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li a:hover {
|
||||||
|
color: #ff00ff;
|
||||||
|
text-shadow: 0px 0px 10px #ff00ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li:first-child a {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div class="row">
|
||||||
|
<div>
|
||||||
|
<h1 class="text-center mb-5">Codeathon - Audio Spectrum</h1>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<p>Bienvenue sur mon visualiseur de spectre audio</p>
|
||||||
|
<div>
|
||||||
|
<p>Fonctionnalités principales :</p>
|
||||||
|
<ul>
|
||||||
|
<li>Glisser-déposer pour ajouter des fichiers audio</li>
|
||||||
|
<li>Visualisation en temps réel du spectre audio</li>
|
||||||
|
<li>Réglage du volume</li>
|
||||||
|
<li>Lecture de l'audio</li>
|
||||||
|
<li>Mise en pause de l'audio</li>
|
||||||
|
<li>Stopper la lecture du fichier audio en cours</li>
|
||||||
|
<li>Mettre en boucle le fichier audio</li>
|
||||||
|
<li>Gérer la vitesse de lecture de la piste audio</li>
|
||||||
|
<span style="color:#f64f59;">#f64f59 Fréquence : Environ 0 Hz à 512 Hz</span><br>
|
||||||
|
<span style="color:#ff8484;">#ff8484 Fréquence : Environ 512 Hz à 1024 Hz</span><br>
|
||||||
|
<span style="color:#e8a87c;">#e8a87c Fréquence : Environ 1024 Hz à 1536 Hz</span><br>
|
||||||
|
<span style="color:#ffda77;">#ffda77 Fréquence : Environ 1536 Hz à 2048 Hz</span><br>
|
||||||
|
<span style="color:#01c5c4;">#01c5c4 Fréquence : Environ 2048 Hz à 2560 Hz</span><br>
|
||||||
|
<span style="color:#017b8f;">#017b8f Fréquence : Environ 2560 Hz à 3072 Hz</span>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Audio controls -->
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<!-- Glitch effect -->
|
||||||
|
<div class="cdc-container glitch-text">
|
||||||
|
<div class="cdc-left">
|
||||||
|
<div class="cdc-text">CULTE DU CODE</div>
|
||||||
|
</div>
|
||||||
|
<div class="cdc-right">
|
||||||
|
<div class="cdc-text">CULTE DU CODE</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> <!-- end of container div -->
|
||||||
|
|
||||||
|
<!-- Custom JS -->
|
||||||
|
<script src="assets/js/main.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+108
@@ -0,0 +1,108 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<!-- Meta-tags -->
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||||
|
<title>Codeathon - Audio Spectrum</title>
|
||||||
|
<!-- Bootstrap CSS -->
|
||||||
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
|
||||||
|
integrity="sha384-HzXlPFaARmAWL1Uk1OIr5m2P6wNf6n5wwSFs5PZsO6A6p0FjV+6g7x1yJwO0wwp/"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
/>
|
||||||
|
<!-- Custom CSS -->
|
||||||
|
<link rel="stylesheet" href="assets/css/style.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a class="nav-text" href="index.html">Accueil</a></li>
|
||||||
|
<li><a class="nav-text" href="a-propos.html">À Propos</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<!-- Audio controls -->
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<!-- Glitch effect -->
|
||||||
|
<div class="cdc-container glitch-text">
|
||||||
|
<div class="cdc-left">
|
||||||
|
<div class="cdc-text">CULTE DU CODE</div>
|
||||||
|
</div>
|
||||||
|
<div class="cdc-right">
|
||||||
|
<div class="cdc-text">CULTE DU CODE</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Dropzone -->
|
||||||
|
<div id="dropzone" class="dropzone">
|
||||||
|
<h2 class="text-center">Glisser-déposer le fichier audio ici</h2>
|
||||||
|
<p class="text-center">ou double-cliquez pour sélectionner le fichier</p>
|
||||||
|
<input id="file-input" type="file" accept="audio/*" />
|
||||||
|
</div>
|
||||||
|
<div style="height: 20px;"></div>
|
||||||
|
|
||||||
|
<!-- Playback controls -->
|
||||||
|
<div class="row mt-5">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="text-center playback-controls">
|
||||||
|
<button id="play-btn" class="btn btn-primary btn-lg mr-3" disabled>
|
||||||
|
<i class="fas fa-play"></i> Play
|
||||||
|
</button>
|
||||||
|
<button id="pause-btn" class="btn btn-primary btn-lg mr-3" disabled>
|
||||||
|
<i class="fas fa-pause"></i> Pause
|
||||||
|
</button>
|
||||||
|
<button id="stop-btn" class="btn btn-primary btn-lg mr-3" disabled>
|
||||||
|
<i class="fas fa-stop"></i> Stop
|
||||||
|
</button>
|
||||||
|
<button id="loop-btn" class="btn btn-primary btn-lg" disabled>
|
||||||
|
<i class="fas fa-redo"></i> Loop
|
||||||
|
<span class="loop-status-container">
|
||||||
|
<span id="loop-status"></span>
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="volume-control">
|
||||||
|
<label for="volume-range">Volume</label>
|
||||||
|
<br>
|
||||||
|
<input type="range" id="volume-range" class="volume-range" min="0" max="1" step="0.01" value="1">
|
||||||
|
<label for="speed-select">Vitesse de lecture :</label>
|
||||||
|
<select id="speed-select" class="speed-select">
|
||||||
|
<option value="0.5">0.5x</option>
|
||||||
|
<option value="1" selected>1x</option>
|
||||||
|
<option value="1.5">1.5x</option>
|
||||||
|
<option value="2">2x</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Playback info -->
|
||||||
|
<br>
|
||||||
|
<div class="text-center mb-5"><h6 id="file-name"></h6></div>
|
||||||
|
<div class="text-center mb-5"><h6 id="timer">00:00 / 00:00</h6></div>
|
||||||
|
|
||||||
|
<!-- Progress bar -->
|
||||||
|
<div id="progress-bar-container">
|
||||||
|
<div id="progress-bar"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Canvas for visualizer -->
|
||||||
|
<div class="row mt-5">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<canvas id="canvas"></canvas>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Audio element -->
|
||||||
|
<audio id="audio" preload="auto"></audio>
|
||||||
|
</div> <!-- end of container div -->
|
||||||
|
|
||||||
|
<!-- Custom JS -->
|
||||||
|
<script src="assets/js/main.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user