Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f850e9323 | |||
| 51757c3922 | |||
| 50251b3053 | |||
| 00ea324d48 | |||
| 1192c22691 | |||
| 01ad529024 | |||
| 44b96aef15 | |||
| 27529e4fc5 | |||
| a56f5ddba4 |
@@ -1,4 +1,9 @@
|
|||||||
# Polymusic
|
# 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
|
## Instalation
|
||||||
|
|
||||||
|
|||||||
BIN
assets/ASharp_LADiese.mp3
Normal file
BIN
assets/ASharp_LADiese.mp3
Normal file
Binary file not shown.
BIN
assets/A_LA.mp3
Normal file
BIN
assets/A_LA.mp3
Normal file
Binary file not shown.
BIN
assets/A_LA.ogg
BIN
assets/A_LA.ogg
Binary file not shown.
BIN
assets/B_SI.mp3
Normal file
BIN
assets/B_SI.mp3
Normal file
Binary file not shown.
BIN
assets/B_SI.ogg
BIN
assets/B_SI.ogg
Binary file not shown.
BIN
assets/CSharp_DODiese.mp3
Normal file
BIN
assets/CSharp_DODiese.mp3
Normal file
Binary file not shown.
BIN
assets/C_DO.mp3
Normal file
BIN
assets/C_DO.mp3
Normal file
Binary file not shown.
BIN
assets/C_DO.ogg
BIN
assets/C_DO.ogg
Binary file not shown.
BIN
assets/DSharp_REDiese.mp3
Normal file
BIN
assets/DSharp_REDiese.mp3
Normal file
Binary file not shown.
BIN
assets/D_RE.mp3
Normal file
BIN
assets/D_RE.mp3
Normal file
Binary file not shown.
BIN
assets/D_RE.ogg
BIN
assets/D_RE.ogg
Binary file not shown.
BIN
assets/E_MI.mp3
Normal file
BIN
assets/E_MI.mp3
Normal file
Binary file not shown.
BIN
assets/E_MI.ogg
BIN
assets/E_MI.ogg
Binary file not shown.
BIN
assets/FSharp_FADiese.mp3
Normal file
BIN
assets/FSharp_FADiese.mp3
Normal file
Binary file not shown.
BIN
assets/F_FA.mp3
Normal file
BIN
assets/F_FA.mp3
Normal file
Binary file not shown.
BIN
assets/F_FA.ogg
BIN
assets/F_FA.ogg
Binary file not shown.
BIN
assets/GSharp_SOLDiese.mp3
Normal file
BIN
assets/GSharp_SOLDiese.mp3
Normal file
Binary file not shown.
BIN
assets/G_SOL.mp3
Normal file
BIN
assets/G_SOL.mp3
Normal file
Binary file not shown.
BIN
assets/G_SOL.ogg
BIN
assets/G_SOL.ogg
Binary file not shown.
BIN
assets/Z_ah.ogg
BIN
assets/Z_ah.ogg
Binary file not shown.
@@ -139,7 +139,7 @@ impl MyApp {
|
|||||||
Ok(j) => {
|
Ok(j) => {
|
||||||
let decoded: Music = serde_json::from_str(&j).unwrap();
|
let decoded: Music = serde_json::from_str(&j).unwrap();
|
||||||
self.music = decoded;
|
self.music = decoded;
|
||||||
self.music.update_frame(self.current_delta);
|
self.music.update_frame();
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
eprintln!("Error, no saves with this name to load, {e} ");
|
eprintln!("Error, no saves with this name to load, {e} ");
|
||||||
|
|||||||
@@ -59,8 +59,10 @@ impl Music {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn update_frame(&mut self, delta: f32) {
|
pub fn update_frame(&mut self) {
|
||||||
self.find_poly_frame(delta).update();
|
for (_, p) in &mut self.poly_frame {
|
||||||
|
p.update();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn fix_teta(&mut self, delta: f32) {
|
pub fn fix_teta(&mut self, delta: f32) {
|
||||||
|
|||||||
Reference in New Issue
Block a user