Author Topic: Random Note Values / velocities  (Read 1066 times)

Offline Xyvir

  • Shy artist
  • Posts: 1
  • Operating System: Windows
Random Note Values / velocities
« on: February 12, 2018, 22:24:05 »
Is it possible to create random or semi-random notes, so that songs can be slightly different each time they are played? Like I can say 50% chance to play a C or A and the tracker will randomly select between the two at playback? IF open MPT doesn't support this, do you know of any tracker that would? I"m not looking for anything completely procedural generated, I would just like to be able to randomize a few parts of a song as like a flourish. Thanks!

-Tyler

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,412
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Re: Random Note Values / velocities
« Reply #1 on: February 12, 2018, 22:43:55 »
Random note velocities are possible through the "random variation" instrument settings. Random notes are not possible in OpenMPT's sampler, and I'm not aware of a tracker that would allow you to do that (I'm not sure how this would be a useful feature). But if you want to use VST instrument plugins, you can use something like Humanize or a similar plugin, and route its output to the instrument plugin that you want to use. Such an instrument plugin could of course also be a simple sampler like OpenMPT's built-in sampler.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline LPChip

  • Administrator
  • *****
  • Posts: 4,979
    • http://lpchip.nl
  • Operating System: Windows 10 Pro N (x64bit)
Re: Random Note Values / velocities
« Reply #2 on: February 14, 2018, 20:31:40 »
I agree with Saga Musix here.

In addition, I like the idea, but as composer myself, I would not want a note to be a random choice between a C and an A. I can see this gimmicky being fun, the problem is that because the song is less predictable that way, when you hear these notes, it will always sound off somehow.

That said, using the random variation on the note velocities can be used to simulate pressing a wrong key at various places on a very low to medium volume slightly before or at the same time as a correct note. This wrong key would usually be a half or whole note up or down to simulate a piano player accidentally pressing 2 keys at once. If they do, the wrong key is heard very shortly with a softer volume during the correct note. You do not want to overuse this gimmick though. It would make the song sound as if a bad pianist played the whole song, and then the question would rise: why would you on purposely release a tune like that? So consider 4 or 5 events to be heard throughout the entire song as a max.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,412
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Re: Random Note Values / velocities
« Reply #3 on: February 16, 2018, 11:34:43 »
In addition, I like the idea, but as composer myself, I would not want a note to be a random choice between a C and an A. I can see this gimmicky being fun, the problem is that because the song is less predictable that way, when you hear these notes, it will always sound off somehow.
LPChip, You really cannot argue with artists like that. If someone wants random notes, you cannot simply tell them "your song will be less predcitable that way, don't do that." What if that's exactly they're after? The correct answer is still: There are plugins that can do that, but OpenMPT's internal sampler cannot do it  and will most likely not be able to do it. However, I'm still working on the scripting API, so one day it might be possible to randomize patterns in any way the user wants, including notes. They will sound the same on every play, but most of the time that will be sufficient.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Exhale

  • Workaholic artist
  • ***
  • Posts: 127
    • http://www.exhale7.110mb.com
Re: Random Note Values / velocities
« Reply #4 on: February 16, 2018, 13:14:08 »
A basic way to simulate what you are going for...
 I have made you some examples:
eg1 is a stock no vst example of what was talked about earlier with velocity cutoff and reso variation applied to a single instrument
eg2 - for this you will need tinygate : https://www.kvraudio.com/product/tiny_gate_by_tiny_god a free and very basic gate vst with a useful 'mutate' slider.  The file has 3 instances of tinygate applied separately to 3 (shift)copies of the same instrument, the same effect could have been achieved by applying the separate instances of tinygate to the separate channels.
___________________
The turtle moves!

Offline LPChip

  • Administrator
  • *****
  • Posts: 4,979
    • http://lpchip.nl
  • Operating System: Windows 10 Pro N (x64bit)
Re: Random Note Values / velocities
« Reply #5 on: February 16, 2018, 13:45:40 »
@Saga Musix: Fair enough. Good point. To clarify, I didn't mean it would happen to you, but that would happen to me, and might happen to you too.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs