news
About Elegant Chaos
info
About me and my friends
people
Software from Elegant Chaos
software
Other stuff...
stuff

AsAPound

This XCMD allows you to play sound resources and files, and record new ones.

AsAPound XCMD. Version 1.0, by Sam Deane. Copyright 1994 ULTRALAB. Compiled 16:44:54, 28/04/94.


[last exit to hypercard] [externals index] [download AsAPound]

Description

This command contains a number of routines for playing and recording sounds.

Commands

record

This command allows you to record a sound. The syntax is:

  AsAPound record,<name>,<loc>

The <name> parameter should be the name of the snd resources to store the new sound in.

The <loc> parameter should be the location of the top left hand corner of the recording dialog.

Example script for record

on mouseUp
  AsAPound record,"test","100,100"
end mouseUp

playfile

This command allows you to play an AIFF file.

The syntax is:

  AsAPound "playfile",<path>

Example script for playfile

on mouseUp
  answer file "File to play" of type "AIFF"
  if it is not empty then
    AsAPound playfile,it
  end if
end mouseUp

recordfile


[last exit to hypercard] [externals index] [download AsAPound]

This page was created automatically, on 25/03/1999 from version 3.0d4 of Last Exit To Hypercard.