📄 ttt.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head> <title>Description of ttt</title> <meta name="keywords" content="ttt"> <meta name="description" content=""> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <meta name="generator" content="m2html © 2003 Guillaume Flandin"> <meta name="robots" content="index, follow"> <link type="text/css" rel="stylesheet" href="../m2html.css"></head><body><a name="_top"></a><div><a href="../index.html">Home</a> > <a href="index.html">melodyRecognition</a> > ttt.m</div><!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td><td align="right"><a href="index.html">Index for melodyRecognition <img alt=">" border="0" src="../right.png"></a></td></tr></table>--><h1>ttt</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong></strong></div><h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>This is a script file. </strong></div><h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="fragment"><pre class="comment"></pre></div><!-- crossreference --><h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>This function calls:<ul style="list-style-image:url(../matlabicon.gif)"><li><a href="addMyPath.html" class="code" title="">addMyPath</a> </li><li><a href="note2pv.html" class="code" title="function [pv, ti] = note2pv(note, pvTimeStep, pvTotalDuration, plotOpt)">note2pv</a> note2pv: note to pv conversion</li><li><a href="songDbRead.html" class="code" title="function songData=songDbRead(dbName, encoded)">songDbRead</a> songDbRead: Read .txt and .db file into a songData structure</li></ul>This function is called by:<ul style="list-style-image:url(../matlabicon.gif)"></ul><!-- crossreference --><h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="fragment"><pre>0001 clear all; close all0002 <a href="addMyPath.html" class="code" title="">addMyPath</a>0003 0004 songDb=<a href="songDbRead.html" class="code" title="function songData=songDbRead(dbName, encoded)">songDbRead</a>(<span class="string">'childSong'</span>, 0);0005 track=songDb(43).track';0006 track=track(1:20);0007 track=double(track);0008 track(2:2:end)=track(2:2:end)/64;0009 0010 pvTimeUnit=1/31.25;0011 duration=9;0012 pv = <a href="note2pv.html" class="code" title="function [pv, ti] = note2pv(note, pvTimeStep, pvTotalDuration, plotOpt)">note2pv</a>(track, pvTimeUnit, duration, 1);0013 0014 fprintf(<span class="string">'Press any key to play note...\n'</span>); pause0015 notePlay(track, 1);0016 fprintf(<span class="string">'Press any key to play pv...\n'</span>); pause0017 pvPlay(pv, pvTimeUnit);</pre></div><hr><address>Generated on Thu 30-Oct-2008 12:52:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> © 2003</address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -