Lee

SD card polyphonic sample player

137 posts in this topic

I'm making new sample banks, but I can't put more then 256 files on the FAT card ?! Is this normal, and how did others deal with this. I would like;  64 files x 8 banks is a max of 512 samples on my card

Share this post


Link to post
Share on other sites

Interesting!

If there is really a file limit, it could make sense to change the application so that it uses a dedicated directory for each bank

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

It's not really as I said before. I downloaded Jjonas his mellotron zip, and unapcked on a SD Card. There were 346 files on the Root, I put it in my MBSD Card player, anf it worked like a charm. So I checked the card and it was FAT32 formatted. Anyway, it seemed to work, so I'll investigate this further.

Only thing I'm sure of is that my windows PC said that the max number of files was reached on my FAT card. It was around 250 files, and there was enough room left...

Cheers, Roel

 

Share this post


Link to post
Share on other sites

Hi,

it might be outdated information, but back from old DOS days i remember there was a limit of how many files might be allowed in the root directory of a FAT filesystem - and it was around the 8-bit barrier, if i remember correctly :).
This limit did not apply to subdirectories - so the underlying filesystem might be the reason? There might be differences between FAT16 and FAT32 - and TK's recommendation should always work - use subdirectories! :)

Many greets,
Peter

Share this post


Link to post
Share on other sites
17 hours ago, Hawkeye said:

and TK's recommendation should always work - use subdirectories! :)

I know you're right, but I'm not sure how to do that. I guess the application checks the root directory, so I should make a change in the application, and for me that still is hocus-pocus most times.

I tried yesterday with the FAT32 card and that seems to work OK, so no problem anymore. 

I like to develop my MIOS skills, but I have a hard time with it. For example; I'm struggling with the Clockbox application for 10 years now, I got it slaving to masterclock, but that took me months/years and  it's an ugly hack, but it works.  Now I want to load an initial set-up at start up, wich is saved on the internal eeprom. But I dunno were to begin.....any idea's

Cheers, Roel

Share this post


Link to post
Share on other sites

If you want to modify the clock box, my visual metronome project was based on it, it has been a while since I looked at it but think there was some code for using the eeprom. Hopefully it will provide a few pointers.

Share this post


Link to post
Share on other sites

@Elektruck yes, with a FAT32 formatted SD-card you should be fine, there should be no root directory file limits using that filesystem, only the older FAT12/FAT16 filesystems impose such a limit.

Many greets, Peter

Share this post


Link to post
Share on other sites
2 hours ago, gomiboy99 said:

If you want to modify the clock box, my visual metronome project was based on it, it has been a while since I looked at it but think there was some code for using the eeprom. Hopefully it will provide a few pointers.

Thanx, I'll look into it. I use the eeprom now, but I want my clockbox to startup with the settings from the eeprom. Maybe better to start another topic ...

Share this post


Link to post
Share on other sites

Hello friends, it's been awhile. I decided to pick this project back up the other day and I'm struggling getting the sampler to play my samples in their entirety. It only holds each note for about 2-3seconds whereas my samples are approx. 8 seconds long... I assume it's my audio files. I probably have a setting messed up in audacity? Anyhow, aside from trying to solve that, I was curious if anyone could link me to a download for those mellotron samples posted in this thread awhile ago. I missed out and thought it would be nice to give those a shot. If someone wouldn't mind posting a new link or attaching them here that would be amazing. When I get the time, I'll try to sort out whatever issues I'm having on this end and if I can't suss it out, I'll post here.

Share this post


Link to post
Share on other sites

Hi Buhler,

HERE is a link to the original downloaded zip file from Jjonas

and last week I've been (very) busy with extending the octave ranges from the mellotron sounds. I made a samplerbox with raspberryPi for my daughter, and I was amazed how good it was. One pretty neat function is that the samplerbox extends the octaves automtically. The mellotron samples have a range of only 3 octaves or something like that, but samplerbox plays them over 6 or more ocatves. And especially the lower sounds are really cool, like steamboats.

So I loaded the samples into ableton and converted them to get more octaves, then into audacity to get the right format etc. 

HERE is a link to my current SD Card set. I only have 5 banks so far, but it took a long time, now I want to do something else:)

I don't know about your lenght issue, I just checked mine, these are about 6 seconds long, and play entirely, if I play the right lenght of notes.

Good luck and have fun with the samples

Share this post


Link to post
Share on other sites

Thank you so much for the links! That was very kind of you! 

I will figure out the length issues. I know I did something to make that happen I just need to sort it out. Also, this project doesn't run so well solely powered by the usb port, which is obvious, but is helpful when making frequent changes. Not so good for optimum performance though. 

Anyhow, thanks again Elektruck!

Share this post


Link to post
Share on other sites

You're very welcome!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now