Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview song? #400

Closed
Reyder95 opened this issue Jan 14, 2019 · 6 comments
Closed

Preview song? #400

Reyder95 opened this issue Jan 14, 2019 · 6 comments

Comments

@Reyder95
Copy link

Not sure if there is possibility of song previewing while in song select but I can't hear any songs so it would be a nice feature.

(not sure if there is a discord or place to ask questions, sorry if there is)

@exch-bms2
Copy link
Owner

BMS:

#PREVIEW (preview music audio file path)

BMSON:

"preview_music" : "(preview music audio file path)" (on "info" object)

@MikiraSora
Copy link

MikiraSora commented Mar 2, 2020

Does beatoraja will automatic find preview*.ogg if .bms filenot define #PREVIEW?
@exch-bms2

@SackMagiclight
Copy link
Contributor

@MikiraSora yes
-> #400 (comment)

#PREVIEW (音源ファイルパス)
選曲時に対象の楽曲バーにカーソルを合わせることで自動演奏されるプレビュー音源を指定します。 指定されていない場合、フォルダ内にあるpreview(*).wav(ogg)をプレビュー音源として自動指定します。

If you want to add a preview to an existing BMS, simply place preview(*).wav(ogg) in the folder and it will work.

@MikiraSora
Copy link

@MikiraSora yes
-> #400 (comment)

#PREVIEW (音源ファイルパス)
選曲時に対象の楽曲バーにカーソルを合わせることで自動演奏されるプレビュー音源を指定します。 指定されていない場合、フォルダ内にあるpreview(*).wav(ogg)をプレビュー音源として自動指定します。

If you want to add a preview to an existing BMS, simply place preview(*).wav(ogg) in the folder and it will work.

yep I made a preview audio generator tool for non-preview charts.
But I found that preview not work until Beatoraja rebuild database.
I dont know it's bug or just a limitation.

@SackMagiclight
Copy link
Contributor

SackMagiclight commented Mar 2, 2020

As you mentioned, The preview path is recorded when BMS is read into the DB, so it is necessary to update the DB.
The easiest way is to add the value to the preview column in the DB in your own program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants