| Language \ Environment \ Comparison |

| Index

| The Processing 1.0 _ALPHA_ Reference is a work in progress. If you see any errors or have any comments, please write to: reas at groupc.net

Name |  | ### stop()
Examples |  |
    BSound bass;
    void setup() {
      bass = loadSound("bass.wav");
    }

    void loop() {
      if (mousePressed) {
        repeat(bass);
      } else {
        stop(bass);
      }
    }
Description |  | Stops a sound or video object during playback. If playback is resumed, the object will start playing at the begining.
Syntax |  |
    stop(object)
Parameters |  |
object |  | BSound or BVideo: object to be stopped
Usage |  | Web & Application
Related |  | play() repeat() pause()

| © 2003- 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea |
| Processing is an open project initiated by Ben Fry and Casey Reas |