Kara-Moon Forum

Developers & Technology => Musical MIDI Accompaniment (MMA) => Topic started by: sciurius on March 27, 2020, 11:13:45 AM



Title: Horribly abusing the power of MMA
Post by: sciurius on March 27, 2020, 11:13:45 AM
When you allow Plectrum to use channel 10...

// Horribly abusing the power of MMA... :)

DefChord rumming (0,0,0)(0,0,0,0,0,0,0)

Begin Plectrum
  Channel 10
  Tuning  g#- c#- d
  Shape   Drumming 0 0 0

  Sequence { 1.0  0  1:90 2:50; \
        1.5  0  3:70; \
        2.0  0  3:70; \
        2.5  0  3:90; \
        3.0  0  3:70; \
        3.5  0  3:70; \
        4.0  0  3:70; \
        4.5  0  3:70 }
End
DefGroove P1

Groove P1
1 Drumming * 4


Fun patch: pat.py line 386:
             if self.vtype == 'DRUM' or self.vtype == 'PLECTRUM':


Title: Re: Horribly abusing the power of MMA
Post by: bvdp on March 27, 2020, 04:42:19 PM
Yes, total abuse!

Guess your family is driving you into the computer room these days :)

I think I'll pass on the patch just now ... lots of ways to do this in an understandable way using real drum tracks! But, it is cute!!!


Title: Re: Horribly abusing the power of MMA
Post by: bvdp on March 27, 2020, 06:10:20 PM
I should add that as far as MMA is concerned and the way you've set the plectrum track there is no magic around channel 10. My memory says that you should be able to play percussion sounds on channels other than 10, but I can't find it on the net.

Another option would be to have a DrumType option when creating a Plectrum track (like in Solo), but I honestly don't see much use for it all :) Shout hard if you are really serious about this!


Title: Re: Horribly abusing the power of MMA
Post by: sciurius on March 27, 2020, 06:47:49 PM
I should add that as far as MMA is concerned and the way you've set the plectrum track there is no magic around channel 10. My memory says that you should be able to play percussion sounds on channels other than 10, but I can't find it on the net.
There are certain percussion sounds in the GM sets but these are limited. The full set of percussion sounds is only available on channel 10.

Quote
Another option would be to have a DrumType option when creating a Plectrum track (like in Solo), but I honestly don't see much use for it all :)
The challenge was to do this within the current possibilities of MMA.

Quote
Shout hard if you are really serious about this!
Not really. I was trying alternatives and searching for a way that is more in line with modern drum tools. Most drum tools have something tab-like, e.g.

Code:
HH Close  |--7-7-7-|--7-7-7-|--7-7-7-|--7-7-7-|
HH Open   |5-------|5-------|5-------|5-------|
Crash     |--------|--------|--------|-------8|
Kick      |9-------|9-------|9-------|9-------|
This is quite intuitive.


Title: Re: Horribly abusing the power of MMA
Post by: bvdp on March 27, 2020, 10:37:57 PM
Okay, I'll leave it alone for now. But adding "drumtype" is a simple option.

I agree that the current method of setting rhythms is not the most intuitive. Not sure that the tab-like settings are a giant leap forward. If anything, I'd like to use an external tool to translate some kind of sequence into something that mma likes. Could even, maybe, do this using a plugin. So, assuming you have this new format stored on disk you should be able to write a plugin that reads, translates and inserts it. That way we're not encumbering mma with yet another bit of syntax/format.