Jump to content
oPossum

Stellaris Drum Machine

Recommended Posts

This is a quick test of playback of vintage drum machine sounds. In the 80's there where several popular drum machines that used samples of real drums stored in 27xx series EPROMs. They would simply sequentially address the EPROM and the data was sent to a companding DAC (Am6070). Some sounds also had a filter or envelope applied - this code does not do that. These old machines had numerous EPROM chips to store the samples. With modern flash technology it is possible to put a complete sample set right in the microcontroller itself.

 

Right now this just loops through all the samples in a set. There is no MIDI or any sort of trigger support yet.

 

Samples are included for:

Linn LM-1

Linndrum (LM-2)

Linn 9000 Drum Computer

Oberheim DX

Oberheim DMX

 

 

StellarisDrums.zip

Share this post


Link to post
Share on other sites

OK, set a breakpoint in the ISR to determine if the timer setup is working properly.

 

There may be some difference in the Tiva PWM vs the Stellaris PWM that is the problem.

 

I don't have a Tiva LP, so can't test it myself.

Share this post


Link to post
Share on other sites

How come I didn't see this before? :D

 

I'm already working on the MIDI support for this, and probably I'll make a drum version of my MIDI sequencer. Thank you for this useful resource.

Share this post


Link to post
Share on other sites

 @ Stellaris (I don't have a Tiva :rolleyes: ) I though they were almost the same, I mean, is there any critical feature that makes coding for Stellaris not compatible for Tiva?

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

×