View Issue Details

IDProjectCategoryView StatusLast Update
0001298OpenMPTFeature Requestpublic2020-03-09 22:56
Reporterharbinger Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Platformx64OSWindowsOS Version7
Product VersionOpenMPT 1.28.08.00 / libopenmpt 0.4.9 (upgrade first) 
Summary0001298: Sample Overlay in Envelope window
Description

(I feel like this has been requested before, but i can't find the Tracker Report.)

I wish there was a way to see what MPT is doing with the sample as the envelope is going. Often when i'm editing the envelope for a sample-based Instrument, esp. where loops are involved, i need to know where the sample is in the Instrument playback.

Would it be possible to do a background overlay of the sample at C5, depending on the Instrument settings (Envelope Carry, envelope points, etc) at least for the Volume Envelope? I know drawing a reworked waveform based on pitch or filtering envelopes would be a bit too technical, and perhaps superfluous, but the amplitude envelope is probably the most widely used, and this would be an awesome feature.

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2020-03-04 19:05

administrator   ~0004248

There are many things to consider which would make such a feature all but trivial to implement:

  • Sample playback speed and envelope playback speed are not synchronized. If you transpose a sample one octave up, it will play twice as fast, but the envelope keeps playing at its original speed. Thus the sample could only be drawn after previewing a note, because it has to be known at which speed to play a sample.
  • Instruments can be multisampled. Another reason why the sample can only be shown after previewing a note.
  • Things get really messy once you enable pitch envelopes, because the pitch envelope obviously affects the synchronization between sample and envelopes just the same way as playing the sample at a different pitch.
  • Similarly, if the sample has auto-vibrato set, the synchronization would change on every tick. But the changes are small and cyclic, so it could probably be ignored.

Only allowing this to work for middle-C and one sample would rule out many useful use cases and just make the feature much less useful (and harder to understand), so I would not consider implementing it without considering the limiting factors mentioned above. In particular, ignoring the pitch envelope could be very misleading.

harbinger

harbinger

2020-03-09 22:56

reporter   ~0004253

All good points, to be sure. And i knew this would create a display nightmare.

Pitch and filter envelopes would definitely be more than what i was wishing for, and that nightmare is not yet worth pursuing.

I guess what i'm looking for is some kind of display to show how the volume envelope affects whatever audio i'm applying it to. For my purposes, i'm generally affixing envelopes to samples that i will not be playing at different notes, which is why it was acceptable to preview the sync (between sample and envelope) at a given note.

We should brainstorm another way, maybe?

Issue History

Date Modified Username Field Change
2020-03-02 21:51 harbinger New Issue
2020-03-04 19:06 Saga Musix Note Added: 0004248
2020-03-09 22:56 harbinger Note Added: 0004253