Git Product home page Git Product logo

Comments (9)

kinsi55 avatar kinsi55 commented on July 17, 2024 8

Will be added in the next release 👍

from beatsaber_bettersongsearch.

WGzeyu avatar WGzeyu commented on July 17, 2024 2

BeatSaver provides previewURL in the API, the address format is: https://cdn.beatsaver.com/[HASH].mp3, which is basically a 10-second, very small preview file, which is suitable for this function.

from beatsaber_bettersongsearch.

kinsi55 avatar kinsi55 commented on July 17, 2024

Needing / wanting to preview songs which you have not downloaded yet imo is an extremely niche thing. I'll consider adding it for completeness but its not high prio.

from beatsaber_bettersongsearch.

GabrielDuarteM avatar GabrielDuarteM commented on July 17, 2024

@kinsi55 I played osu a lot, and there we do get to preview the song before actually downloading them. I find this very useful, cause sometimes you don't know the song by its name and hearing it helps you identify it, or you even find songs you don't actually know but enjoy the music, so you download it. It removes the need to download a ton of music, to later remove them because you don't like them, as you can preview beforehand.

I hope you reconsider the priority of this, as I actually came here looking exactly for this hahahahah

Edit: Just to clarify, by preview I mean hearing a portion of the music, not actually viewing the whole beatmap, with the notes and etc.

The way this works on osu, is when you are on the search part, whenever you click on a song, it automatically already starts playing the preview. I found a video that demonstrates that, and it starts at 1m16s: https://youtu.be/yF87A1OCn40?t=76 .
You can see that whenever you click a song, it automatically starts playing, and you can know which song it is, which is very helpful to avoid downloading the ones you don't like.

from beatsaber_bettersongsearch.

kinsi55 avatar kinsi55 commented on July 17, 2024

@GabrielDuarteM yeah one of the reasons I have not looked into this yet is that I dont think it would work as "seamlessly" (Read: Low latency) from the point of clicking onto a song to hearing it. Previews generated by Beatsaver are rather high quality (~128kbps compared to like half of that for OSU based off the video?) which for most people would probably introduce at least half a second to a second of delay before hearing it from the point of click. But yeah still this is something I want to add eventually.

from beatsaber_bettersongsearch.

GabrielDuarteM avatar GabrielDuarteM commented on July 17, 2024

@kinsi55 I see, yeah, it does make sense to also think about the usability of the feature. I think the preview on osu is actually the full quality song, and the youtube vid only showed a very low-quality music 😂 It was the only youtube video I found that actually showed the feature though

In any case, I'm not sure how it would behave in-game, if the delay would be too much to the point it gets weird... I suppose it would depend on the user's internet speed, but there are also other ways to implement it if it gets to that point, like with a button you have to press to listen to it, or with a toggle on the plugin settings that enable or disable automatic preview, and if the user doesn't like it, then it could be disabled...

I'd still think the usability would be better if you would click and get the preview, even if it takes a while to load.
It's kind of a plus, you get more info about the song, as without it you wouldn't know for sure which music it is until you download it and select it on the music list menu, and with that feature, you get to listen to it beforehand, even if it takes some seconds to load on slower internet speeds (which most likely wouldn't apply if you have good internet).

Also, I'd argue that being able to listen to the song is one of the most important pieces of information you need to know before downloading, along with the map quality (which you can already deduce today, by the like/dislike ratio)... Having that would save me a lot of time and storage by avoiding downloading music I dislike :)

from beatsaber_bettersongsearch.

Chicken-Bones avatar Chicken-Bones commented on July 17, 2024

Yes! I'd like to listen to a popular map I don't recognise the song name of to see if it might be a bop, I don't mind if there's ~5s before it starts to play.

from beatsaber_bettersongsearch.

WGzeyu avatar WGzeyu commented on July 17, 2024

Yes! I'd like to listen to a popular map I don't recognise the song name of to see if it might be a bop, I don't mind if there's ~5s before it starts to play.

It's not as long as 5 seconds, it should be about 0.5 seconds

from beatsaber_bettersongsearch.

kinsi55 avatar kinsi55 commented on July 17, 2024

Totally forgot about this, I'll try to look into it soon

from beatsaber_bettersongsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.