Class PlaySound

    • Field Detail

      • fileNameOrURL

        public FileParameter fileNameOrURL
        The file name or URL to read.
      • onOff

        public TypedIOPort onOff
        The input port, which has type boolean. A true input causes the sound to be played, and false input causes it to be stopped.
      • percentGain

        public IntRangeParameter percentGain
        The gain (in percent). This has as its value a record of the form {min = m, max = M, current = c}, where min <= c <= max.
      • synchronizedPlay

        public Parameter synchronizedPlay
        Indicator to play to the end before returning from fire(). This is a boolean, and defaults to true.