kellyschrock / SDDM

Linux sample player for hi-res drum-sound samples
GNU General Public License v3.0
6 stars 3 forks source link

SDDM with Beaglebone Black??? #1

Open AaronWRice opened 9 years ago

AaronWRice commented 9 years ago

Hi Kelly,

I was just thinking how perfectly this software would fit my needs if I could get it to run on my Beaglebone black single board computer which runs the Debian OS. I am trying to connect a USB MIDI velocity sensitive drum controller to the beaglebone and use SDDM to create the sounds.

I am new to Linux and embedded Linux but have a lot of coding experience otherwise. Do you think it would be possible to run SDDM on this Beaglebone Black or do you have any other information to steer me in the right direction of accomplishing this?

Best, Aaron

kellyschrock commented 9 years ago

Hi Aaron,

That is a cool idea. I haven't tried running SDDM in a while. I have a BeagleBone Black, and I wonder how well it would deal with playing the samples. For speed's sake, SDDM pre-loads all of the samples into memory, so a good-sounding kit can take 200MB or more. When I was actively developing SDDM, it was getting about 20-30ms latency on a dual-core Pentium machine (so long ago, I forget what the processor was called!) At high load, it would increase. On slower machines, it had trouble keeping up. By "high load", I mean when a lot of notes are active. I used one of the NS7 kits which had extremely long decay time on some of the samples. The ride cymbal sample, for example, would ring for nearly a minute. When doing a repeating pattern with a lot of ride-cymbal activity, there might be 400 notes playing at the same time. I designed SDDM to have "unlimited" polyphony (instead of, say, 32 voices), and I now know why that's not a great idea.... you need a supercomputer to play all the samples. :-) Mind you, this was while the machine was also running Ardour and recording a lot of tracks, so I guess it wasn't too bad.

If you're going to run on a BBB, I would suggest getting rid of the UI. I originally wrote SDDM as a command-line app which read its configuration from an XML file.

Very interesting about your USB MIDI controller. Is it something that's sold on the market, or something you've built?

Thanks, Kelly

AaronWRice commented 9 years ago

I am working on an EE senior design project where my team and I are building a pcb with an FPGA and one of those nRF wireless chips. The pcb mounts to your wrist and the piezos are sewn into gloves. Then of course there is a receiving unit that will send MIDI to the BBB. That receiving unit also samples hi hat and bass drum pedals. We call it Glove Drummer.

I am definitely going to give this a go. Not sure what will come of it but I will keep you posted.

Thanks for your time, Aaron

kellyschrock commented 9 years ago

Sure thing, and if I get some time, I'd love to help out. I hope to be less busy after March 1st.

Thanks, Kelly

On Fri, Feb 13, 2015 at 9:28 PM, AaronWRice notifications@github.com wrote:

I am working on an EE senior design project where my team and I are building a pcb with an FPGA and one of those nRF wireless chips. The pcb mounts to your wrist and the piezos are sewn into gloves. Then of course there is a receiving unit that will send MIDI to the BBB. That receiving unit also samples hi hat and bass drum pedals. We call it Glove Drummer.

I am definitely going to give this a go. Not sure what will come of it but I will keep you posted.

Thanks for your time, Aaron

— Reply to this email directly or view it on GitHub https://github.com/kellyschrock/SDDM/issues/1#issuecomment-74359494.

AaronWRice commented 9 years ago

If you're interested I have a thread going on in the BBB Google Group here...

https://groups.google.com/forum/#!category-topic/beagleboard/beaglebone-black/5wOxaWYjpMA

Someone has suggested another route using Puredata altered from an audio looper project for BBB.

Best, Aaron

kellyschrock commented 9 years ago

Cool, thanks. I'll check it out.

Best regards, Kelly

On Sat, Feb 14, 2015 at 8:22 AM, AaronWRice notifications@github.com wrote:

If you're interested I have a thread going on in the BBB Google Group here...

https://groups.google.com/forum/#!category-topic/beagleboard/beaglebone-black/5wOxaWYjpMA

Someone has suggested another route using Puredata altered from an audio looper project for BBB.

Best, Aaron

— Reply to this email directly or view it on GitHub https://github.com/kellyschrock/SDDM/issues/1#issuecomment-74376882.