Direct access to an objects memory

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
me02
Posts: 1
Joined: Tue Apr 03, 2007 5:49 pm

Direct access to an objects memory

Post by me02 » Wed Apr 04, 2007 2:16 pm

Newbie question:
Is it possible to do something akin to the following?

Code: Select all

  open file fName for binary read
  read from file fName until EOF
  put it into rawData
  close file fName
  --  manipulate rawData here...
  put rawData into Sound1
  play audioClip Sound1
I know I can write the entire file back to disk and then read it back in again, but that will *not* solve my problem.

I know I can do this for images, but I need to manipulate sounds.

Thanks for the help...

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Re: Direct access to an objects memory

Post by Mark Smith » Fri Apr 27, 2007 1:21 am

I don't think it's possible to do what you want, since there doesn't seem to be any property like "the imageData" that you can get at.

Writing it back to disk would seem to be the only way - not much help I'm afraid.

Out of interest, why is writing back to disk a no-no?

Best,

Mark

Post Reply