SD card polyphonic sample player
#1
Posted 13 November 2011 - 17:48
I've just finished a basic implementation of a polyphonic sample player. It basically takes a bank of sample files from the SD card and allows playing in real time. You'll need an LPC1769 based MIOS32 device, the SD card interface and a I2S DAC...
Further details and links to files on the wiki here: http://www.midibox.o...d_sample_player
Many thanks
Lee
#2
Posted 13 November 2011 - 18:00
In conjunction with e.g. a SEQ V4L, one could for example build a cool portable rhythm production studio!
Or use it as the worlds cheapest piano multisampler (different samples for every note) e.g. for an old midi keyboard... Great stuff!
Greets!
Peter
#3
Posted 13 November 2011 - 19:05
LCD supported?(yet.)
Really nice!
Best regards, IGI
#4
Posted 13 November 2011 - 19:42
Still, this would make a mighty cool Wavetable/DCO thingy if you don't have other plans in mind. PPG or VS for the masses.
Edited by jojjelito, 13 November 2011 - 19:45.
#5
Posted 13 November 2011 - 22:20
Yay!Still, this would make a mighty cool Wavetable/DCO thingy if you don't have other plans in mind. PPG or VS for the masses.
#6
Posted 16 November 2011 - 23:50
I've now got bank switching on the fly working too... Also out of the box the bank files support layering and zoning (ie layering = have same midi note on a line, with different sample. Zoning = just pick different sample for different midi note ranges). Pretty handy really!
If we can load it with the old Korg M1 pianos we can haz an instant house piano module. Wonder if a 2nd hand M1 is cheaper though? Or use the VSTi - shudder.
Still, this would make a mighty cool Wavetable/DCO thingy if you don't have other plans in mind. PPG or VS for the masses.
#7
Posted 17 November 2011 - 08:25
If I get really bored I could load those into my Prophet VS or use slightly less magic and get them into one of my Shruthis. Or just refill it. Choices choices...
Nahh, SD card convenience plus dedicated hardware will win the day
I still get 90's flashbacks from the M1 presets! One day I'll grow up, but that was my guilty pleasures moment of today .
#8
Posted 17 November 2011 - 08:57
Very nice find, thanks for sharing!I have to try the Adventure Kid AKWF in order to have some fun. It's a massive pack of some 4350 single-cycle waveforms. Get it! Love it!
#9
Posted 17 November 2011 - 10:27
Lee
#10
Posted 17 November 2011 - 10:51
It would be really cool if there was a way to "unalign" the samples so that you could read and load up to a few sectors. Then it could discard the non-used data and have loop start, loop end and loop mode (fwd/rew/ping-pong/xfade) modes. But, thar's other dedicated things for that. Hardware samplers aren't really in vogue these days, but lo-fi loopers or wavetablers/DCOs are.
#11
Posted 17 November 2011 - 12:26
I'll have a play with this when I get the time and report back...
Cheers
Lee
Nice! It's getting better and better.
It would be really cool if there was a way to "unalign" the samples so that you could read and load up to a few sectors. Then it could discard the non-used data and have loop start, loop end and loop mode (fwd/rew/ping-pong/xfade) modes. But, thar's other dedicated things for that. Hardware samplers aren't really in vogue these days, but lo-fi loopers or wavetablers/DCOs are.
#12
Posted 17 November 2011 - 13:57
Me still haz some code of my old (1994) dos based mod player somewhere (which does sample stretching to obtain the played note pitch - good old amiga times :-)),
but then... this would be quite another project... Lee decides
Edit: on a second thought, SD storage is so big and cheap, one could totally create full note spectrum sample files of "unlimited length" offline, that means, if you have a nice single-cycle waveform, run a script that "renders" a samplebank for the SD player, as it is... not much work to do, and it runs on todays sd card sample player software
Greets,
Peter
Edited by Hawkeye, 17 November 2011 - 14:28.
#13
Posted 17 November 2011 - 14:43
Yes, maybe implement the option to hold a few very small (looped) samples in memory (those single-cycle waveforms) or other wavetable-ish stuff.
Me still haz some code of my old (1994) dos based mod player somewhere (which does sample stretching to obtain the played note pitch - good old amiga times :-)),
but then... this would be quite another project... Lee decides
Edit: on a second thought, SD storage is so big and cheap, one could totally create full note spectrum sample files of "unlimited length" offline, that means, if you have a nice single-cycle waveform, run a script that "renders" a samplebank for the SD player, as it is... not much work to do, and it runs on todays sd card sample player softwareand does not require further ram or processing power.
Greets,
Peter
Hear hear! Some support for loop points and mode would be nice. The rest of the sample editing could and should be done offline on a proper computer. SD cards cost the same as a roll of film (anyone remember those?) so that's almost a throwaway.
Grits,
Johan
#14
Posted 18 November 2011 - 00:52
0x3b 0 0031 3b.raw
0x3c 1 0000 t_c3.raw
This is now: midi note number, 0=no sample hold, 1=sample hold, 0031 = envelope decay value, filename. The decay is experimental, but clearly 0000 = no decay, and higher numbers is a longer decay (up to 1023) - it's a decimal number.
I've tested a bank file with different sample sets zoned, some with sample hold and different decay values and it seems to work ok, but it's probably got bugs, and i'm not really happy with some stuff - but it's a step forward!
On the point around a RAM based wavetable player, that's not really a priority for me right now, though some of the SD card player can be reused for this type of purpose, but it is a major re-write. I'm interested in doing it, but i'll have to look at it later unless someone else wants to take it on..?
Thanks
Lee
#15
Posted 18 November 2011 - 10:37
cool - don“t worry about that ram based wavetable player - one can nicely precalculate samples and use the normal sd player
Greets,
Peter
#16
Posted 05 December 2011 - 16:23
This project is amazing! i just built one this last weekend. The prototype is already integrated into my live setup. Please keep up the excellent work!
Cheers,
James F Ellis
#17
Posted 05 December 2011 - 18:42
Cheers
Lee
#18
Posted 05 December 2011 - 22:10
Hopefully this will make it easy to have multiple banks on the SD card and switch on the fly (loading a bank typically takes about a second for 64 samples, correspondingly less if your bank has less samples) - the LED on the board will be on during loading of the bank.
If anyone else wants any simple features let me know. I'm stuck for time a bit at the moment, but you never know if it's something simple!
Cheers!
Lee
#19
Posted 06 December 2011 - 06:21
In its current manifestation, the sample player is providing the digital "concrete noise/abstract beat/abstract vocal/micro glitch" layer of a MB SEQ4 controlled mainly analog synth/drum setup. Formally, some samples are drumlike in sound and usage, others are textural and pad like. i am really amazed at the player's ability to do "micro edits" and "stutter cuts".
Lee, i have all kinds of suggestions for features. Alas, i am wary to make them for the fear my ignorance of all things "bit order" showing through....... Send a CC and all samples triggered afterwards play backwards? Parametric bit crushing? On the more realistic side: a hardware config file that would allow things like changing the midi channel (which i really need to do, so many things on channel 1).
You Rock!
Cheers,
James F Ellis
#20
Posted 11 December 2011 - 18:42
Some gate and trigger out could be nice for triggering external
envelope generators for analog VCA and VCF.
Perfect solution is some control surface with LCD and internal EG's witch support AOUT module, but
this is ( I guess) not easy hach.
Just gate and trigger is fine.
Best regards, IGI
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



