Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: wave progress

From: anton:wilddsl:au at: 11-Oct-2008 1:21

Hi Rosemary, Henrik Mikael Kristensen wrote:
> set-face prog wave-size / point-in-wave-file > > And that's it. Again, sorry, if I'm way off course.
Henrik was right in his comments, but I think made a slight error. It should be: set-face prog point-in-wave-file / wave-size where POINT-IN-WAVE-FILE is the current play position, and WAVE-SIZE is the total size of the data. It's very simple, really. No need to worry about the size of the progress bar face, or STEP. Let us know how it goes, Regards, Anton.