Looper's Delight Archive Top (Search)
Date Index
Thread Index
Author Index
Looper's Delight Home
Mailing List Info

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Date Index][Thread Index][Author Index]

Re: A question for computer programmers



Hmm, well "loop" has many meanings in programming:

   - use of a looping statement in the programming language such as for,
while, and do
  
   - code paths that when executed, may return to a previously executed
     part of the path, and continue cycling

   - an "event loop" continuously waiting for someone to use the
     mouse or keyboard then responding to those events

Looping software will contain lots of examples of all of these.  But the
process of assembling audio samples and sending them to the sound
card so that the user hears a continuous loop is rarely done with a
programming language looping statement, for example:

     while (true) {
        play a sample
     }

Due to the way audio software has to interact with the sound card
and the user interface, audio applications are almost always designed
to respond to events sent by an event loop that is controlled
by the operating system.

Jeff



On 8/9/12 4:40 PM, "Tyler" <programmer651@comcast.net> wrote:

>Hello! Here is a question for you programmers who are also loopers. Have
>you ever been in a situation where the
>term "loop" in computer programming and the term "loop" in sound
>technology met? Loop programming
>controlling a sound loop, for example?
>Tyler Z
>