News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu

Adding Sound Example 1

Started by Tim Stewart, April 22, 2019, 02:37:57 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Tim Stewart


Adding sound to TurboCAD animations can be a bit hit and miss, as the help file
is limited in this respect.  So, using trivial examples, here are a few pointers
which might help.

Adding sound, using AnimationLab, is achieved using the Key Frames Editor only.

1.  A sound file, in .WAV format, is attached to a keyframe of an actor, using
Key Frame Properties (double-click on a keyframe to open, select Ctrl+F or left-
click on Switch to Scenario Script Editor Mode button, and hold).

2.  The actor may be stationary, moving or invisible.  DO NOT use the Key Frames
Editor in combination with the Scenario Script Editor Commands (for the same
actor), except as mentioned below.



        Example 1

Open the file Disco.tcw (attached).
Original file from TurboCAD(2018) Samples folder (DiscoDistance.TCW).

Create an actor from one of the drawing's objects, the mirror wall for instance.

Select this actor and create a key frame, at frame 0 (zero).

Select key frame 0, then select Key Frame Properties/Sound Source/Wave File:
Disco.wav (attached).  Remove '.txt' before use.   ::)

        NOTE: also create key frames, at frame 0 (only), for ALL other actors.

Run Scenario in wireframe first, to check that all is well.  To render like the
original, use Advanced Rendering\Final Gather\Ambient occlusion, with Render
Style set to Blue 1 klux.

A full working example is shown here: https://youtu.be/gtceQCEmEEk

        Finally, have fun!


Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

Andy H

Thanks for posting the example Tim.   

Any chance you can post a screenshot of the 'Sounds' tab in AL Options, and the 'Sound State' tab in the keyframe properties.   I set the WAV file, which plays within the 'Sound Source' tab in keyframe properties.  But  I still need to do some experiments to find out why sound does not work on my computer.     

Andy

Tim Stewart

#2
Andy,

here they are.
Sounds state is left unaltered from the default.
I have never sussed out what it's for anyway!

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

Dean

Groovy,Tim :) :)

Thanks for sharing.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

AussieBloke

Thanks Tim Im sure I can use these examples in my drawing of the bofors cannon.

Tim Stewart

Quote from: Dean on April 22, 2019, 01:02:19 PM
Groovy,Tim :) :)

Thanks for sharing.

Dean,

    yes,  8) when it works!  ;D

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

Tim Stewart

Quote from: Darryl W on April 22, 2019, 02:26:24 PM
Thanks Tim Im sure I can use these examples in my drawing of the bofors cannon.
Daz,

    hopefully it might help?  :)

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

AussieBloke

#7
Andy & Tim did you both get al to produce sound from within al when running ?

On my end none of Tims examples work, yet the gifs work as expected.

Edit: Im referring to Tims sound animations when run inside al v5.2.

Andy H

#8
Quote from: Darryl W on January 01, 2021, 03:58:18 PM
Andy & Tim did you both get al to produce sound from within al when running ?

On my end none of Tims examples work, yet the gifs work as expected.

Edit: Im referring to Tims sound animations when run inside al v5.2.

Hmm. I only just noticed. A while ago I re-wrote the sounds pages.  And upon just checking. It looks like I forgot to add it to the chm.  Oops.   Looks like I better re-save the chm.

Anyway, I this is from the new page Quote - "Note. The WAV file is not audible whilst recording a movie. So it may seem like it is not working. The WAV file is audible when the movie is played back."

The new sound page in pdf format is here