duration readout (sound member property)

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default duration readout (sound member property)

    Hi All...

    I'm still working on that player that i mentioned in a couple of posts earlier...anysay i stumbled on this now...the value for duration readout on the sound property inspector differs from the duration returned by Lingo...For eg i imported a MP3 file called "06"... and opened the property inspector and looked at the duration it gave me 0:05:27:366..basically a 5 minute audio file....but when i used member("06").duration it gives me 327366...i know this is tick value...but how do you arrive at a balance btw the two....

    ....cuz the end idea is i let the user import the file he wants to play and i give a duration readout on my mp3 player..so i get the duration from the imported file...so when i check this duration on my mp3 player to a standard player like WMP or RA or jet...i get different results...Is this a problem, or a bug or is it just me ?....

    TIA!..

    Vj
    vij010 Guest

  2. Similar Questions and Discussions

    1. Mute sound script and cast member change
      Hi I have imported a whistle sound that plays a set points within a movie. I want to be able to click a mute icon and stop that sound occuring...
    2. Playing Sound Cast Member
      Have imported a sound file as a cast member. Have set frame 1 to read...on exitFrame...sound(1).fadeIn(5000)...end. This works fine but I have a...
    3. member.rect does not work member.regpoint does
      Hi, I'am trying to change the rect of a member but it does not work. example member("ManVrouw","Bio_images").rect=rect(0,0,100,100) at least it...
    4. Total ink amount VS readout
      Hello, I'm having a problem with my color separation in photoshop. I did a retouching job for a catalog and the images came with the blacks too...
    5. How to generate sound of given frequency and duration ? (fwd)
      ---------- Forwarded message ---------- Hi, I am trying to port one old DOS game that just beeps its sounds to PC-Speaker or AdLib if it finds...
  3. #2

    Default Re: duration readout (sound member property)

    The Duration is reporte in milliseconds

    327366 ms = 5.4561 minutes

    Seems to match 0:05:27:366 info

    The frameToHMS function is handy for getting the HH:MM:SS.nn format

    Enter 1000 for framerate

    You can use string function to hack off hours part of result
    JB Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139