is my expectation wrong or my setup? #620
-
|
after several days of song analyzing i´m now ready to go. Because of that i´m asking here. imagine the following.
when i use this approach i get a playlist with a wide mix regarding genre. i even get folk/rock songs or blues songs. My expectation would be: instrumental songs and smooth mood songs. why do i get this large varities regarding mix style? |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 34 replies
-
|
Hi and thanks for the feedback. The functionality Playlist from similar song analyze your library based on the Musicnn machine learning model that output a 200 size embbeding vector. Based on this vector AudioMuse-Ai return the most similar song to the one you selected based on cosine similarity. This means that:
Just to say I just did a test on my 180k+ song library with a random song of Ludovico Einaudi, that is a relaxed piano song with a female vocie. Some song returned are similar because was relaxed and made with piano. Some song are similar because have female voice relaxed voice. Some are relaxed, with piano and with female voice. So in short a song is a "composition" of different pattern that the model is able to identify and find the similar to. Is not just a find the same genre algorithm. |
Beta Was this translation helpful? Give feedback.
-
|
i just mentioned genre to describe the song pattern. i just was suprised that a instrumental piano song led to a irish folk rock band with a male singer (Waterboys). |
Beta Was this translation helpful? Give feedback.
-
|
There isn't any configuration: the algorithm return to you the most similar song that is able to find in your library based on Muscinn model and consine similarity. |
Beta Was this translation helpful? Give feedback.
-
|
am i using the whole solution wrong? |
Beta Was this translation helpful? Give feedback.
-
|
How many song do you have in your collection? I’m asking this because it work good when you actually have multiple similar song in your collection among which the algorithm can chose. If you have a very small collection and/or your song are to distant between them is easy that it give as “nearest song” a song that is far. Then some outlier can always happen, by the end is a probabilistic approach. But if you say that multiple test you always get bad result the only idea in my mind is that your are searching similar song of something not well represented in your library. |
Beta Was this translation helpful? Give feedback.
-
|
i am at the beginning of my testing. i have 170.000 songs and quite a lot instrumental piano stuff. those two songs have so much NOTHING in common. My AI is drunk! |
Beta Was this translation helpful? Give feedback.
-
but this is just an software design decision. my musicip solution has also access and the musicip fingerprint is written to the files. i would happy to porovide file access to audiomuse ai also. |
Beta Was this translation helpful? Give feedback.
-
|
i have done the provider migration, the outcome is:
what still is not that great, that the "not suitable" title (regarding similarity based on piano instrumental) still show up. now on both sides, audiomuse and lyrion. before the provider migration the similarity regarding piano instrumental was given on the audiomuse side, but then the playlist on lyrion side has the unsuitable Songs Rock/Folk with male singer introduced. this happens now on both sides. so the provider migration has cleared the differences between the two systems, but has used the "wrong" file as master, as the similarity which was at least on the audiomuse side before the migration, is now gone. |
Beta Was this translation helpful? Give feedback.
-
|
sure, i will try to anwser all your questions:
from my understanding the following has happend. assumption
in audiomuse: in lyrion
in audiomuse: in lyrion
in audiomuse: in lyrion so if my assumption is correct the provider migration synced one way from lyrion -> audiomuse, but in my case or in the case of the lyrion db recreation the migration should be audiomuse -> lyrion. the second assumption could be: |
Beta Was this translation helpful? Give feedback.
-
Yes understood this. But my point was. Lyrion db is the master. as long it isn´t recreated. but in this case the master switched to audiomuse. my assumption was audiomuse (master) -> lyrion could be used within the provider migration. In the following way.
i do not know what exactly gets compared, so my assumption: this could be changed with a flag which can the user set, in case the lyrion db was deleted to work like:
yes this is the case, as described, the assumption is, a "good" song with his id on audiomuse is now linked to the same id on lyrion wqhich has a "bad" song behind. the provider migration has the id back synced to audiomuse, so logically everything is correect now, but the bad song is now on both sides. hence my proposal above to make a different comparision in case of db deletion of the lyrion db. logs for analysis process
logs for flask startup ENTRYPOINT: now waiting on supervisord pid 46 ...and btw. i haven´t deleted the lyrion db just for fun. it was a needed task after a simple compose stack down - pull new lyrion container image - compose stack up. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry the 1.5 gb size is the zipped size. The flask and worker container run on a 32 cpu server with 320 gb ram and a rtx 3060. docker and db is on ssd. |
Beta Was this translation helpful? Give feedback.
-
|
another interesting observation. [26-06-13 10:59:33.3107] Slim::Utils::Scanner::Local::rescan (180) Discovering audio files in /music what i now do not know, is this a normal rescan or is it a full rescanb, so my id values got mixed up again |
Beta Was this translation helpful? Give feedback.
-
|
Your discussion has its answer now, so if you like AudioMuse-AI and want to improve self-hosted music, why not consider giving us a star here on GitHub? It helps the project grow! |
Beta Was this translation helpful? Give feedback.
This is already being handled in the Lyrion issue you opened.
Please continue the discussion there, as this is not something Audio Muse-AI can fix or influence.
Audio Muse-AI only consumes the server behavior; it does not control it. What we have in our control is Provider Migration that should already work.
In case you want to share specific feedback on Provider Migration please open an issue compiling all the needed info especially clear and complete logs. Thanks.