Converting Drums to Keyboard: Can it be Done?

  • Thread starter Thread starter Vanush
  • Start date Start date
  • Tags Tags
    Keyboard
Click For Summary
Converting the sound of a drum to a keyboard instrument is challenging due to the lack of a fundamental frequency in drums like the snare. While it's difficult to recreate the complex sound of a drum using signal processing techniques in MATLAB, digital sampling is a viable option for reproducing drum sounds. Users can explore pitch shifting and effects in software like Audacity to manipulate drum sounds. Additionally, synthesizers can be used to play drum patterns by triggering various samples. Overall, while direct conversion may be complex, there are effective methods to achieve similar results through sampling and audio manipulation.
Vanush
Messages
24
Reaction score
0
Hello,

Is it possible to 'convert' the sound of a drum to a keyboard
instrument, e.g. using signal processing techniques. Measure the pitch
of a snare drum, and attempt to recreate it in MATLAB? I don't think
it's possible, since a (snare) drum doesn't have a fundamental
frequency, does it? My goal is to play a drum pattern on a keyboard
but still keeping the sense of the drum sound.
 
Engineering news on Phys.org
A snare drum doesn't have a single frequency, nor does the distribution of frequencies stay the same during the course of the drum beat. Nevertheless, you can still digitally sample and reproduce the sound, otherwise your MP3s and CDs wouldn't work!

I don't know a whole lot about audio processing, but I found the following when I googled for pitch shifting in MATLAB:
http://www.dspdimension.com/admin/time-pitch-overview/

To avoid having to implement these and to just see their impact, you can probably just find an MP3 or WAV file of drumming and run it through Audacity (it's got various effects built-in).

If you've ever used a synthesizer, you can drum out patterns by pressing keys corresponding to various samples of drum hits (e.g. one Tom hit, a different Tom, and then a high hat). MATLAB allows you to import, play back (and probably compose) audio files, so you could probably use these to generate yourself a drum pattern, if you wanted to do that in MATLAB.
 
Just thought I'd share this: Michael Jackson's Thriller done in Mario Paint Composer (there's a whole bunch of similar Mario paint stuff on YouTube):


Someone made a free PC port of it, but there are definitely more serious MIDI composer programs out there.
 
Last edited by a moderator:
I am trying to understand how transferring electric from the powerplant to my house is more effective using high voltage. The suggested explanation that the current is equal to the power supply divided by the voltage, and hence higher voltage leads to lower current and as a result to a lower power loss on the conductives is very confusing me. I know that the current is determined by the voltage and the resistance, and not by a power capability - which defines a limit to the allowable...

Similar threads

Replies
12
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
17
Views
5K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K