Does anyone know how to save a project with a recorded sound so it stays with the project as described in the recent update message? If I record a sound, make a tile, and publish the project, when I close and reopen Squeak, clicking the tile gives the message "can't find in sound library" just like it used to do.
-- Randall Caton Department of Physics, Computer Science and Engineering Christopher Newport University 1 University Place Newport News, VA 23606 Gosnold Hall 136 Voice: 757-594-7188 FAX: 757-594-7919 email: rcaton@pcs.cnu.edu web: www.pcs.cnu.edu/~rcaton/
Hi, Randy,
Good catch! The "sound-preserving" right now only works for sounds that are used in etoys in the project.
This obviously needs to be fixed so that it also does what you (very reasonably) expect about a sound that is not used in any etoy script or variable, but which is "present" in the project by virtue of being represented by a bare "sound tile" somewhere in the project.
Here's an interim workaround for getting such a sound successfully saved with a project: refer to the sound in a script in your project, or lodge the sound in a "variable" belonging to some object in the project.
For example, if you've named your new sound "znak", you could make a script for some object in your project -- it doesn't matter which -- that refers to that sound, e.g.:
... or you could make your sound be the value of a "sound" variable of some object in your project, such as the project's "world", e.g.:
So this is a narrow answer to your question "does anyone know how to save a project with a recorded sound..."
But you've pointed out an omission -- thank you! -- which will be fixed right away.
It may take a little while for the fix to work its way out to the Squeakland updates. In the meantime, I hope that one or the other of the above suggestions for workarounds will serve your immediate needs.
Cheers,
-- Scott
At 9:44 PM -0400 5/13/03, Randall Caton wrote:
Does anyone know how to save a project with a recorded sound so it stays with the project as described in the recent update message? If I record a sound, make a tile, and publish the project, when I close and reopen Squeak, clicking the tile gives the message "can't find in sound library" just like it used to do.
-- Randall Caton
squeakland@lists.squeakfoundation.org