Rhythm Game Long Notes, How to?

So! I’m currently working on making my own rhythm game on Unity, and I got the regular tap notes on lockdown.

I have a chart.txt file which handles the actual charting of the song, i tell it on which beat the note falls, the type of note, which lane and then it’s duration if it’s long or tap note.

So I was wondering if people could give me a good idea on that? Because I am sure I can translate note duration into seconds, but then the problem I find is how would I translate that into the actual visual length of the note? Would it be wise to simply just scale the note by a factor of the duration? Or is there a different kind of way I can do this, like telling it to spawn a sort of “EndNoteObj” which would connect with the start of the note and draw in a connection between them?

I’d love to hear some suggestions!

If you need any extra info I’d be happy to give it!

Since this is a rhythm game, it would be easier to work with bpm rather than in pure seconds.

Work out the note lengths at 60 bpm so quarter notes are 1 second long, eighths are 0.5 seconds etc these values can be the scale length for each note.

Once this is all charted out you can either speed the whole thing up to the bpm by multiplying the speed by (bpm/60) or keep the same speed but scale everything down so it passes at the bpm rate by multiplying the parent’s scale by (60/bpm).