Page 139 - ScienceStd4
P. 139

Activity 12



               Playing sound continuously
          FOR ONLINE READING ONLY
               To play sound repeatedly without end, follow these steps:


               Steps


               1.  Click on the ‘Events’ block menu.


               2.  Drag and drop the ‘when clicked’ block on the script area.

               3.  Click on the ‘Control’ block menu.


               4.  Drag and drop the ‘forever’  block  on  the  specific  area.
                    Attach  the forever block to the ‘when clicked’  block as
                    shown in Figure 36.


               5.  Click on the ‘Sound’ block menu.


               6.  Drag and drop the ‘play sound until done’ block inside the
                    ‘forever’ block.You will get the blocks as shown in Figure
                    36.






















                                  Figure 36: Using the forever block







                                                   132



                                                                                            14/01/2025   18:38
     SCIENCE AND TECHNOLOGY STD 4.indd   132                                                14/01/2025   18:38
     SCIENCE AND TECHNOLOGY STD 4.indd   132
   134   135   136   137   138   139   140   141   142   143   144