Tag Archives: ogg

FAQ: How do I register the Audio record component?

How do I register the component?

Answer: Once you buy the component, a registration code will be sent to you by email. After creating an object instance of Active Audio Record in your favorite programming languages, calling the SetCode method with the code you got by email before recording. In this way, every limitation in trial mode will be removed.

‘Here is a quick example in VB Script:
Dim rec
‘Create the Audio Record Object

Set rec = CreateObject(“AudioCtl.AudioRecord.1″)
‘Set your code here

rec.SetCode “Your license code here”
‘Then do what ever you like …

Record streaming audio in Vista

To record the “Stereo Mix” or “Wave Mix” on Vista with Audio Record Expert, you will need to enable the device first.

  1. Select sound from the control panel.
  2. Select the recording tab.
  3. Right click on the background of the tab and choose “show disabled devices.”
  4. Right click on Wave Out Mix and click enable.
  5. Now it should work the same way as Wave Out Mix in Windows XP, allowing you to record any sound your computer makes.

Read more on

http://www.downloadsquad.com/2007/01/15/how-to-enable-wave-out-recording-in-vista/

Deploy Audio record in web page

Our audio record component can be used in web page via javascript or vbscript.

This allows developers to build online recording application by recording the audio on clients’ computer and uploading the audio file to servers. See more http://www.guangmingsoft.net/wordpress/index.php/153/record-audio-and-upload/

One question is how to deploy audio record to client’s computer. Audio record component is based on ActiveX. Tradional way is to make a CAB file so web browser can download and install it.

But nowadays, ActiveX downloading and installing is not automatical way now as IE will always prompt dilaog for user to confirm installing those ActiveX files.

So another choice is to build a setup package and ask your user to install it before doing record. Setup can be built with the free InnoSetup builder.

 

FAQ: Does AAR support simultaneous recording from different sources

Yes, our Audio Record Component  supports recording multiple sources on the same PC.

Suppose you have more than one sound card installed, in order to record on the two cards simultaneously,

1. Create multiple audio record object

2. Set the correct device index and device line index.

3. Start recording of all the objects

Each record object can record its source perfectly

 

Record audio and upload

We add an upload method in audio record component.

Suppose  you are a website owner, you want to record your user’s voice and save to your server. Now you can do this with audio record component.

Your user can install the component on their machines, then they can record audio or speech, upload the audio. All these can be done in web browser.

We have provided a demo application in the latest release of Audio Record Component.

 

Using Active Audio Record in flash

Flash movie has support for Action Script which is a kind of scripting language.

But it doesn’t provide built-in audio record functionality for flash developers.

Some developers uses Zinc which extends Action Script to include more powerful functions. One of them is the support for ActiveX control. (Note, not General ActiveX Automation). This makes it possible to use Active Audio Record in Flash.

Since Active Audio Record is an ActiveX automation aerver, We have made an ActiveX Control Wrapper around it so that it can be used in Zinc. And we also provide a demo flash movie (DemoZinc) and its source FLA file.

Please download and try audio record in flash now. :)
If you want to redistribute a flash movie with audio record component now, the files needs to be redistributed are AudioCtrlWrapper.ocx, AudioCtl.dll and lame_enc.dll. And the first two needs to registered with regsvr32.exe like tools.

 

Record audio with multiple sound cards

Our audio record object can support recording with multiple sound cards. You can do like this:

1. Create multiple audio record objects at initialization time like this. (Take VB.Net as example)

Public Class Form1
    Inherits System.Windows.Forms.Form
    Private rec As AudioCtl.CAudioRecord
    Private rec1 As AudioCtl.CAudioRecord
 
#Region ” Windows Form Designer generated code ”
    Public Sub New()
        MyBase.New()

        ‘This call is required by the Windows Form Designer.
        InitializeComponent()
        ‘Add any initialization after the InitializeComponent() call
        rec = New AudioCtl.CAudioRecord
        rec1 = New AudioCtl.CAudioRecord
        rec.SetSilenceLevel(1000)
    End Sub

 

2. Then the record objects can be used independently by setting the device index to different sound cards. You can record different source line for different sound cards and save the audio in different output files.

Record left and right channel independently

As we know, normal sound card supports stereo channels. In some cases, you may just want mono channel data. You can combine two mono channel signals into stereo one so it can be captured by one sound card.   

Our audio record component  support recording the left and right channel to different files.

Here is an example in script.

Set WshShell = WScript.CreateObject(“WScript.Shell”)

set rec = CreateObject(“AudioCtl.AudioRecord.1″)

rec.DeviceIndex = 0

rec.DeviceLineIndex = 3

‘test save to mp3

rec.WaveFormatIdx = 15

rec.SetOutputFileName “stereo.mp3″

 

‘set the wave format for the left and right channel

rec.WaveFormatIdxLR = 5

rec.SetOutputFileNameL “L.mp3″

rec.SetOutputFileNameR “R.mp3″

 ’start recording

rec.StartRecord 2, 44100

WScript.Sleep 10000

rec.StopRecord

 

‘Test, save to wav

rec.FileFormat = 0

rec.WaveFormatIdx = 31

rec.SetOutputFileName “stereo.wav”

‘set channel wave format 

rec.WaveFormatIdxLR = 30

rec.SetOutputFileNameL “L.Wav”

rec.SetOutputFileNameR “R.Wav”

 

rec.StartRecord 1, 44100

WScript.Sleep 10000

rec.StopRecord

set rec = NOthing