User Tools

Site Tools


built_in:audiorecorder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
built_in:audiorecorder [2018/05/20 23:46]
geez437 [Methods]
built_in:audiorecorder [2018/05/20 23:56]
geez437 [Create]
Line 1: Line 1:
 ====== AudioRecorder control ====== ====== AudioRecorder control ======
 The AudioRecorder object can be used to listen for sound and record it to a file. The AudioRecorder object can be used to listen for sound and record it to a file.
-===== Create =====+==== Create ====
 Create an AudioRecorder object using the CreateAudioRecorder function of the app object: Create an AudioRecorder object using the CreateAudioRecorder function of the app object:
 <code>rec = app.CreateAudioRecorder();</code> <code>rec = app.CreateAudioRecorder();</code>
Line 19: Line 19:
 Some controls use the same methods.\\ Some controls use the same methods.\\
 For examples of the **[[same methods]]** look here. For examples of the **[[same methods]]** look here.
-^ Method                          ^ Description  +^ Method                       ^ Description                                                         
-| AudioRecorder.GetRMS()                       +| AudioRecorder.GetRMS()                                                                           
-| AudioRecorder.GetType()                      +| AudioRecorder.GetType()                                                                          
-| AudioRecorder.Pause()                        +| AudioRecorder.Pause()                                                                            
-| AudioRecorder.SetFile( p1 )                  +| AudioRecorder.SetFile( p1 )  Use the SetFile method to tell the object where to store the sound  
-| AudioRecorder.Start( p1 )                    +| AudioRecorder.Start( p1 )    The Start method tells it to start recording                        
-| AudioRecorder.Stop()                         |+| AudioRecorder.Stop()         The Stop method is for when you have finished recording             |
  
 ==== Example ==== ==== Example ====
built_in/audiorecorder.txt · Last modified: 2018/05/21 07:56 (external edit)