代码搜索结果
找到约 1,533 项符合
Speaker 的代码
新建 text document.txt
PC机中扬声器的声音频率是可调的,参考如下子程序:
;发音频率设置子程序,入口参数:AX=1.19318×106÷发音频率
speaker proc
push ax ;(由于系统已设置好,这4条指令也可以不要)
mov al,0b6h ;设置定时器2工作方式
out 43h,al ;注:43h是定时器2的控制端口
po
beeps.c
#include
#include
void main (int argc, char *argv[])
{
int count; // The number of times to sound the speaker
int i; // The number of times the speaker has bee
ansphonephone.h
#ifndef __ANSPHONEPHONE_H__
#define __ANSPHONEPHONE_H__
#include
/**
*
* @class RAnsPhonePhone AnsPhonePhone.h
* @brief This class modifys the speaker volume and microphone gain of
ex_sprec.m
%ex_sprec (Unrealistic) example of isolated word recognition
% (in speaker-dependent mode) with the h2m functions.
%
% Beware : This is not a real demo, so you should take a look at the
%
speak.c
#include
sbit relay_dpst=P3^2;
sbit SPEAKER=P3^5;
time1ms() /* 1 ms delay with XTAL 11.0592MHz */
{
int i;
for (i = 0; i
speaker.vhd
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY Speaker IS
PORT ( clk1 : IN STD_LOGIC;
Tone1 : IN INTEGER RANGE 0 TO 16#7FF#;
SpkS : OUT STD_LOGIC );
END;
A
test2.m
function test2(testdir, n, code)
% Speaker Recognition: Testing Stage
%
% Input:
% testdir : string name of directory contains all test sound files
% n : number of test files in
train_liu1.m
function code = train(traindir, n)
% Speaker Recognition: Training Stage
%
% Input:
% traindir : string name of directory contains all train sound files
% n : number of train files
train2.m
% function code = train(traindir, n)
% Speaker Recognition: Training Stage
%
% Input:
% traindir : string name of directory contains all train sound files
% n : number of train file
train.m
function code = train(traindir, n)
% Speaker Recognition: Training Stage
%
% Input:
% traindir : string name of directory contains all train sound files
% n : number of train files