Yes, it is possible for a sound sample to consist of five sound waves that constantly vary in frequency and exhibit patterns of matching and not matching each other. This type of composition is known as aleatoric or indeterminate music, where elements of chance and randomness are incorporated into the musical structure.
In this case, the five sound waves could be generated by different instruments or electronic sources, each producing a wave with its own varying frequency. The frequencies of these waves can fluctuate independently, creating a sense of constant change and unpredictability. At times, the frequencies of the waves may align, resulting in moments of harmony or convergence. However, due to their independent fluctuations, they would soon diverge again, moving in and out of harmony.
This kind of composition can create a complex and dynamic musical experience, with the sound waves appearing to almost form a predictable sequence but then branching away, keeping the listener engaged and intrigued by the ever-changing patterns and relationships between the waves.