Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sample Problems
#11
Oh now I feel silly.  Here is a zipfile containing the sample.

Thanks.  Geremy


Attached Files
.zip   Kick_1_Sat_Factory_SP1200_06.zip (Size: 21,18 KB / Downloads: 4)
Reply
#12
The Name is very long. I could load it w/o problems when I shortened the name.
Reply
#13
Yikes.  That is going to take a tremendous amount of work to change this one and all of my other sample libraries.  Conversion was simple, because wildcards can be used...this won't be.
Reply
#14
Yes 32 max. And in the end it will be truncated to 8 letters anyway, so it makes sense to give them good filenames before.

But since you are well with the commandline, you can for sure easily truncate filename batches.
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!  Smile
Reply
#15
(07-28-2021, 01:05 PM)geremy Wrote: Yikes.  That is going to take a tremendous amount of work to change this one and all of my other sample libraries.  Conversion was simple, because wildcards can be used...this won't be.

When you're on Linux you could use MMV for that. Or use WSL and then mmv. I'm sure there is an easy way with PowerShell too (assuming you are comfortable with the cmdline).

Otherwise you may create a list of all filenames involved, load them in an editor and create a batchfile to rename them.
Reply
#16
Mention of this should be put somewhere in the manual.  Perhaps a more descriptive error message for sample loading as well.
Reply
#17
(07-28-2021, 03:31 PM)XORadmin Wrote: Yes 32 max. And in the end it will be truncated to 8 letters anyway, so it makes sense to give them good filenames before.

But since you are well with the commandline, you can for sure easily truncate filename batches.

Hm. The original filename "Kick_1_Sat_Factory_SP1200_06.wav" is 28 character basename plus 1 + 3 for ".wav" and is not read correctly. However it is shown with 22 characters in my file selection dialog. I have then created various versions of the name with differing lengths and I was able to read it up to and including "Kick_1_Sat_Factory_SP1200_.wav", i.e. 26 chars basename (30 chars including extension).

Kind regards,
Michael
Reply
#18
Yes, the filesystem is set to be limited to 32 which might involve also / and so i guess 30 chars could be the real limit (always include the extension).

I could check if it can allow some more characters but I got to see what the memory impact is then. Fighting for every byte :-)

Don't forget, this is as embedded as it can be.
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!  Smile
Reply
#19
Here’s a quick paste of some rough notes I took while wrangling samples (which also included writing some code to do various file conversion, renames, placement in folders, etc.) This was from a firmware revision or two back, so some things may have changed or been fixed.

sample browser:
MAXIMUM FILE NAME LENGTH: 26 characters plus a 3 character extension

       current folder at top: 27 characters (but longer full paths blow out the display)
       10 rows of files/folders (folders appearing after all files)
       file/folder in list: 22 characters (21 for folders, as they are shown with a prefix character)

       NerdSEQs supplied samples are somehow listed first. I don't know how.
       Then it seemingly goes alphabetical within the two sets.
       [Entries are ordered per the filesystem, and these can be reordered using tools like the one mgd links to further in this thread.]

pattern screen:
       in slots at right: 9 file name characters (nothing of folder, so give file names enough context)
       in status bar at bottom: 10 file name characters (nothing of folder here either)
Reply
#20
(07-29-2021, 03:34 PM)mvdirty Wrote:        NerdSEQs supplied samples are somehow listed first. I don't know how.
       Then it seemingly goes alphabetical within the two sets.

The samples seem to be listed in the order they are in the directory on the SD card. Using an SD Card Directory sorter like e.g. SD Sorter allows you to change the order in the SD card directory.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)