kindohm/vscode-tidalcycles

Sample browser: file number order differs from tidalcycles/superdirt (order of precedence for special characters)

cleary opened this issue · 1 comments

Hi Mike,
I've noticed that the sample browser reads/numbers the samples in the browser different to tidal/superdirt, example:

d1 $ s "pluck:0"

d1 $ s "pluck:1"

d1 $ s "pluck:2"

In superdirt/tidal, this plays

BS A1 PI
BS A#2 PI
BS A3 PI

but the sample browser list order reverses the first two items:

pluck:0 / BS A#2 PI
pluck:1 / BS A1 PI
pluck:2 / BS A3 PI

This is consistent with other filenames in that same pluck sample with # characters. I've noticed it with other sets as well, but was unable to narrow down the cause.
As a side note, probably not related, but the icon against the filenames containing hashes changes compared to the others (looks like a text file icon, instead of a speaker/audio file icon):
image

Related issue in superdirt:
musikinformatik/SuperDirt#131