play a sound and move along a graphic at same time

Louis Janus janus005 at umn.edu
Thu Mar 24 16:41:32 EST 2005


I am trying something I am pretty sure I managed a few months ago, 
and can't find the script..

I'm trying to show a curve of the pitch of a Norwegian word 
(Norwegian, like Swedish and Chinese) use distinctive pitch tones to 
differentiate otherwise similar words.

I have hand drawn a curve and named it 'pitch" and I have embedded a 
sound clip called frode-wav.

I want to click on a button and see a marker (called "point") move 
along the curve AS I HEAR the native speaker pronounce the name.


++++++
on mouseUp
    play audioclip "frode.wav"
   move graphic "point" to the points of graphic "pitch" in 30 ticks
  end mouseUp
+++++++++++
This is what I've tried, and it only works sequentially, rather than 
simultaneously. Ideas welcome.

Thanks! Louis
-- 
=====================================================
Louis Janus
  Less Commonly Taught Languages (LCTL) Project
  Center for Advanced Research on Language Acquisition (CARLA)
  University of Minnesota
  674 Heller Hall
  271 19th Avenue So.
  Minneapolis, MN 55455 USA
  phone: 612/624-9016; fax: 612/624-7514
-------------------------------
LCTL at umn.edu  or  janus005 at umn.edu
-------------------------------
http://www.carla.umn.edu/LCTL
http://www.carla.umn.edu/about/profiles/janus.html
=====================================================


More information about the use-livecode mailing list