I use to Teach Guitar and Music Theory, Ever Read Mel Bays 5000 Chords.
Theory is good to know, it allows you to jam easier, to get your notes out on time because you know where the progression is heading.
To jam, Experiment putting sounds together, And the refining it to extract the gold. To lay down a good pattern depends on expression and inspiration of getting that note in your Heart out through to you hands, on time.
In teaching Guitar you learn to exercise your paths from Heart to mind to Hands all at the same time, there are exercises you can do to sharpen this ability. It is like a mussel the more you do it the stronger it becomes...The mind can train your Hands, Your Hands can sharpen your mind...People that are creative emit an enzyme that keeps them looking younger longer. There is a institute that claims that improving Coordination Sharpens the Mind's ability to concentrate and improves comprehension skills and Boost IQ.
Mrghost...

...