9 Commits

Author SHA1 Message Date
8f850e9323 fix all polyframe update now 2025-07-09 01:31:03 +02:00
51757c3922 Merge branch 'master' of gitlab.dukantic.fr:dukantic/polymusic 2025-07-09 00:56:55 +02:00
50251b3053 fix assets 2025-07-09 00:56:33 +02:00
00ea324d48 Delete .gitlab-ci.yml 2025-07-08 21:39:21 +00:00
1192c22691 Update .gitlab-ci.yml file 2025-07-08 21:38:08 +00:00
01ad529024 Update .gitlab-ci.yml file 2025-07-08 21:34:48 +00:00
44b96aef15 Edit README.md 2025-07-08 21:32:52 +00:00
27529e4fc5 Update .gitlab-ci.yml file 2025-07-08 21:29:21 +00:00
a56f5ddba4 Update .gitlab-ci.yml file 2025-07-08 21:15:57 +00:00
23 changed files with 10 additions and 3 deletions

View File

@@ -1,4 +1,9 @@
# Polymusic
Polymusic is an innovative music application inspired
by two academic research papers that explore sound
generation through balanced polygons. By leveraging
geometric principles, Polymusic produces harmonious
and rich audio textures, creating a unique auditory experience.
## Instalation

BIN
assets/ASharp_LADiese.mp3 Normal file

Binary file not shown.

BIN
assets/A_LA.mp3 Normal file

Binary file not shown.

Binary file not shown.

BIN
assets/B_SI.mp3 Normal file

Binary file not shown.

Binary file not shown.

BIN
assets/CSharp_DODiese.mp3 Normal file

Binary file not shown.

BIN
assets/C_DO.mp3 Normal file

Binary file not shown.

Binary file not shown.

BIN
assets/DSharp_REDiese.mp3 Normal file

Binary file not shown.

BIN
assets/D_RE.mp3 Normal file

Binary file not shown.

Binary file not shown.

BIN
assets/E_MI.mp3 Normal file

Binary file not shown.

Binary file not shown.

BIN
assets/FSharp_FADiese.mp3 Normal file

Binary file not shown.

BIN
assets/F_FA.mp3 Normal file

Binary file not shown.

Binary file not shown.

BIN
assets/GSharp_SOLDiese.mp3 Normal file

Binary file not shown.

BIN
assets/G_SOL.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -139,7 +139,7 @@ impl MyApp {
Ok(j) => {
let decoded: Music = serde_json::from_str(&j).unwrap();
self.music = decoded;
self.music.update_frame(self.current_delta);
self.music.update_frame();
}
Err(e) => {
eprintln!("Error, no saves with this name to load, {e} ");

View File

@@ -59,8 +59,10 @@ impl Music {
}
}
pub fn update_frame(&mut self, delta: f32) {
self.find_poly_frame(delta).update();
pub fn update_frame(&mut self) {
for (_, p) in &mut self.poly_frame {
p.update();
}
}
pub fn fix_teta(&mut self, delta: f32) {