Add test cases for STEM - #14635
Conversation
7908990 to
4be4f53
Compare
|
@daschuer The waveform in your screenshot looks corrupted. It should look like this: |
|
I have just noticed that the files for metadata testing introduced here:
|
|
I've been struggling to generate useful file . I'll try to give that another go today. FYI, the current file were generated with Regarding your comment on Zulip:
I'm a bit confused as my understanding is that |
|
Ether way is OK. Regarding the content? Can't you just generate a stem file from a real music? Something without copy right like @Eve00000 release announcements. Other option is to use Audacity fade-in effect on the existing audio. |
|
I managed to generated a sine signal with modular frequencies as suggested by @JoergAtGithub, I'm just working on my stemgen to support stem creation, as surprisingly, the NI StemCreator doesn't works with AAC anymore... (definitely used it during GSoC so I would assume there is some codec issue, perhaps related to Window update that would have happen since then... This is to wonder why NI pushed for having AAC in the spec 😅 ) |
|
I think most close to reality is real music. So I vote for that. Other solutions without repeating patterns are also fine. |
|
I've pushed 4 test files:
Not sure what we should do here? |
|
It looks like all sine based test are to weak. AAC and friends assemble the sound from short sinuides, so it's obvious that this is easy to reproduce. |
|
Nice pick :-) the real files are good. Can you remove the sine and squash the commit to not clutter the history with outdated binary blobs? |
|
Interestingly even the [0 -> 10000] seek test fails where both streams are stating with a seek from the beginning which should have the same result. I am preparing a PR with better test output, and a cvs file for visualization in LibreOffice. |
|
Maybe it's better to integrate the error of each sample, or better the square of the error of each sample and compare with a simple limit at the end? |
e019e3f to
e76ad2d
Compare
e76ad2d to
2d2d297
Compare
|
Thanks for the investigation @daschuer ! |
Perhaps we could define a epsilon per codec? Currently it is statically defined to |
|
This PR is marked as stale because it has been open 90 days with no activity. |
|
This PR is marked as stale because it has been open 90 days with no activity. |
LM_aac_5s.stem.mp4The NI Free example stems work. Here is a 5s snipit. They are freely available for testing purpose. |
|
@acolombier can you use that as a replacement? |
|
This is one of the remaining PRs for the 2.6.0 release. |
|
The used track is available under CC BY-NC which allows us to use this as-is. There is no license issue, and unlike the NI sample, this is a real track, Equally, I am not sure the NI free sample are copyleft track. AFAIR, they are available for free download for test purposes, but I am not sure we are allow to modify them, and distribute them like so. Please share reference to the license otherwise. |
|
Any other track that passes the test, has no such random samples will work. Do you have another one? |
|
I will extract another 5 seconds of the track. Could you please share your script to I can make sure these other 4 seconds don't suffer from the same problem? |





No description provided.