schematics has commented on a great point how to use certain scales. I’ll add my 2 cents worth for guitarist.
If you’re going to use a stepwise Super Locrian scale over an altV7, restricting the melodic range to small-within a 6th, it’s difficult to play the whole scale. There’s just not enough time in the measure to play the whole scale. You may want to think in terms of string sets: 1) upper 3 strings, 2) middle strings - 2, 3 and 4th strings, and 3) lower strings - 3, 4, and 6th strings. When you play a certain altered scale, you only need to use 2 or 3 strings of the scale, then try resolving to a goal tone which could be the 5th, 3rd, 9th, 6th and continue on with the next scale in the opposite melodic curve direction from the previous melodic curve.
On the other hand, altered arpeggios will extend the melodic range (Large- greater than a 10th) more easily in the same amount of time which helps to create variety and interest. I's important to practice both stepwise scale patterns and arpeggios.
There's also such things as Rhythmic Density. Few notes has a feel of simplicity while high density (Double Time) is more complex and busy sounding. By varing the Rhthmic Density, it adds even more variety and interest while trying to build in intensity towards a Peak Point in your solo which could be the highest note(s) of your solo, sustained Double Time, increased volume or all three at once.
5 Note Scale, Formula: H -Ma3-W-Mi3 (E F A B D) This scale can be used over both Cma7 or D Dorian/Melodic. The E In-Sen is built off the 3rd of the Cmajor scale and the 2nd of the D Dorian/Melodic. It works well in minor keys due to the 6 and 9th strongly present. I sort of think of this scale as a minor 6/9 arpeggio. It has a unique sound which you hear quite often.
Just another name for scale patterns. Everybody has their personal memorized patterns. I’m sure you have some phantom. There are tons of pattern books available to help break up stepwise motion for shredding (Double Time). For any given scale play these scale steps. 1)123 234 345… 2)1432 2543 3654…
There’s also scale patterns groups of several scale notes arranged in a certain order which can used as a “send-off” idea to begin a melodic phrase.
Scale Patterns using the tonic triad plus the 2nd degree. Just use any of these 4-note groups to start your phrase. By practicing these patterns, it will help start your phrases other than the root.
You can also apply the same idea for the 4th, 6th, and 7th degrees