Kara-Moon Forum
October 22, 2019, 11:56:06 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Plectrum and RTime  (Read 326 times)
sciurius
Full Member
***
Posts: 156



« on: February 09, 2019, 09:21:38 AM »

With a Plectrum track, a note keeps sounding until another note is played on the same string.

Assume a Sequence { 1 0 5:100; 3 0 5:100 }. Also assume, for simplicity, that a beat is 100 MIDI ticks. Then this sequence applied to an A chord results in:

Code:
      0 note on   A1
     99 note off  A1
    100 note on   A1
    ...etc...

Now let's introduce some randomization. RTime 5. The note off of the first note will now be somewhere between 94 and 104, while the start of the second note will be somewhere between 95 and 105. If the values are, respectively, 94 and 105 there is a big gap. This often doesn't matter much since the previous note is probably already soft (it's a string sounding).

But when the values are 104 and 95, then end of the first note happens to fall after the start of the second note and the effect is that the second note is almost immedeately stopped:

Code:
      2 note on   A1
     95 note on   A1
    104 note off  A1
    ...etc...

In other words, several notes will sound muted. While this may be considered an interesting effect, IMHO the correct approach is to use the same random displacement for both the end of the note and the start of the next note.

(Yes, I know, you're a sax player and you didn't write this part of the code...  Grin )
Logged
sciurius
Full Member
***
Posts: 156



« Reply #1 on: February 12, 2019, 09:11:36 PM »

I withdraw this issue. I can't seem to reproduce it...  Embarrassed
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.041 seconds with 20 queries.