资源简介

(带有端点检测的语音录音程序),端点检测程序采用ETSI鲁棒端点检测算法,该程序可以只录说话语音!

资源截图

代码片段和文件信息

// MainFrm.cpp : implementation of the CMainframe class
//

#include “stdafx.h“
#include “PrisRecord.h“

#include “MainFrm.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMainframe

IMPLEMENT_DYNCREATE(CMainframe CframeWnd)

BEGIN_MESSAGE_MAP(CMainframe CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
ON_WM_CREATE()

//}}AFX_MSG_MAP
END_MESSAGE_MAP()

static UINT indicators[] =
{
ID_SEPARATOR           // status line indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};

/////////////////////////////////////////////////////////////////////////////
// CMainframe construction/destruction

CMainframe::CMainframe()
{
// TODO: add member initialization code here

}

CMainframe::~CMainframe()
{
}

int CMainframe::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CframeWnd::OnCreate(lpCreateStruct) == -1)
return -1;

if (!m_wndToolBar.CreateEx(this TBstyle_FLAT WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed to create toolbar\n“);
return -1;      // fail to create
}

if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators
  sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed to create status bar\n“);
return -1;      // fail to create
}

// TODO: Delete these three lines if you don‘t want the toolbar to
//  be dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);

return 0;
}

BOOL CMainframe::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CframeWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
//  the CREATESTRUCT cs

return TRUE;
}

/////////////////////////////////////////////////////////////////////////////
// CMainframe diagnostics

#ifdef _DEBUG
void CMainframe::AssertValid() const
{
CframeWnd::AssertValid();
}

void CMainframe::Dump(CDumpContext& dc) const
{
CframeWnd::Dump(dc);
}

#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMainframe message handlers



 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       4000  2005-01-07 09:46  vadandRecord\data\script\DB.TXT

     文件       2829  2005-12-28 21:28  vadandRecord\data\script\List1_sunchengli_isolate.TXT

     文件       2775  2005-12-28 22:40  vadandRecord\data\script\List1_wangchengkun_continuous.TXT

     文件       2815  2005-12-28 21:33  vadandRecord\data\script\List1_wangchenkun_isolate.TXT

     文件       2818  2005-12-28 21:25  vadandRecord\data\script\List1_wangxi_isolate.TXT

     文件       2812  2005-12-28 21:33  vadandRecord\data\script\List1_zhangjie_isolate.TXT

     文件        141  2005-09-07 16:33  vadandRecord\data\script\Query_test1.txt

     文件        120  2005-09-13 20:55  vadandRecord\data\script\Query_test2.txt

     文件        126  2005-09-13 21:19  vadandRecord\data\script\Query_test3.txt

     文件       1098  2005-09-27 16:43  vadandRecord\data\script\Query_test4.txt

     文件         35  2006-01-04 11:34  vadandRecord\data\script\scriptkind.txt

     文件          0  2005-01-07 09:48  vadandRecord\data\script\scriptkind.txt.bak

     文件       2375  2004-08-11 17:53  vadandRecord\MainFrm.cpp

     文件       1441  2004-08-11 17:53  vadandRecord\MainFrm.h

     文件      30684  2006-03-17 09:01  vadandRecord\PrisRecord.aps

     文件       3551  2006-03-22 09:45  vadandRecord\PrisRecord.clw

     文件       4153  2004-08-11 15:12  vadandRecord\PrisRecord.cpp

     文件       5039  2005-09-01 10:43  vadandRecord\PrisRecord.dsp

     文件        543  2004-08-11 15:12  vadandRecord\PrisRecord.dsw

     文件       1732  2004-08-13 15:38  vadandRecord\PrisRecord.h

     文件     369664  2006-03-22 09:45  vadandRecord\PrisRecord.ncb

     文件      89088  2006-03-22 09:45  vadandRecord\PrisRecord.opt

     文件       3664  2006-03-22 09:42  vadandRecord\PrisRecord.plg

     文件      12917  2004-08-17 16:19  vadandRecord\PrisRecord.rc

     文件       1822  2004-08-11 15:12  vadandRecord\PrisRecordDoc.cpp

     文件       1519  2004-08-11 15:12  vadandRecord\PrisRecordDoc.h

     文件       7182  2005-01-07 10:19  vadandRecord\PrisRecordView.cpp

     文件       2260  2004-08-17 15:50  vadandRecord\PrisRecordView.h

     文件       4407  2004-08-11 15:12  vadandRecord\ReadMe.txt

     文件        448  2006-01-04 10:21  vadandRecord\record.h

............此处省略18个文件信息

评论

共有 条评论