Code execution in loops can be controlled with a Routine or a function/Routine combination. This maintains synchronization between the server and the language while the language is executing a loop or iterating over a collection. In an example, .loadToFloatArray is used to generate a Dictionary of wavetable buffers from various audio functions and other arguments.
SuperCollider has lots of ugens for spectral processing. I used some of these to transform an audio recording into something more melodic by multiplying its spectral amplitudes with those of a saw wave. A Pbindef player iterates through the audio recording (sequentially) while generating minor chords for the saw components. The full post has several audio files to listen to, along with the code.
The B-Loop @ Stark is the first of (hopefully) several posts that detail the transformation of common, everyday audio recordings into musical expressions. In this first post, an audio file is transformed with resonant filters (CombN and Ringz), which is played with a Pbindef player. Audio files and code are included with the post.