Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > a228190325affd3a38a9ed14c6aaa02a > files > 145

ocaml-mm-devel-0.2.1-3.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Audio.Sample.html">
<link rel="next" href="Audio.Mono.html">
<link rel="Up" href="Audio.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Audio" rel="Chapter" href="Audio.html">
<link title="Image" rel="Chapter" href="Image.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
<link title="Ringbuffer" rel="Chapter" href="Ringbuffer.html">
<link title="Synth" rel="Chapter" href="Synth.html">
<link title="Video" rel="Chapter" href="Video.html"><title>Audio.Note</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Audio.Sample.html" title="Audio.Sample">Previous</a>
&nbsp;<a class="up" href="Audio.html" title="Audio">Up</a>
&nbsp;<a class="post" href="Audio.Mono.html" title="Audio.Mono">Next</a>
</div>
<h1>Module <a href="type_Audio.Note.html">Audio.Note</a></h1>

<pre><span class="keyword">module</span> Note: <code class="code">sig</code> <a href="Audio.Note.html">..</a> <code class="code">end</code></pre><div class="info module top">
Operations on notes.<br>
</div>
<hr width="100%">

<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> = <code class="type">int</code> </pre>


<pre><span id="VALa4"><span class="keyword">val</span> a4</span> : <code class="type">int</code></pre>
<pre><span id="VALc5"><span class="keyword">val</span> c5</span> : <code class="type">int</code></pre>
<pre><span id="VALc0"><span class="keyword">val</span> c0</span> : <code class="type">int</code></pre>
<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">int -> int -> <a href="Audio.Note.html#TYPEt">t</a></code></pre>
<pre><span id="VALfreq"><span class="keyword">val</span> freq</span> : <code class="type"><a href="Audio.Note.html#TYPEt">t</a> -> float</code></pre>
<pre><span id="VALof_freq"><span class="keyword">val</span> of_freq</span> : <code class="type">float -> <a href="Audio.Note.html#TYPEt">t</a></code></pre>
<pre><span id="VALname"><span class="keyword">val</span> name</span> : <code class="type"><a href="Audio.Note.html#TYPEt">t</a> -> int</code></pre>
<pre><span id="VALoctave"><span class="keyword">val</span> octave</span> : <code class="type"><a href="Audio.Note.html#TYPEt">t</a> -> int</code></pre>
<pre><span id="VALmodulo"><span class="keyword">val</span> modulo</span> : <code class="type"><a href="Audio.Note.html#TYPEt">t</a> -> int * int</code></pre><div class="info ">
Returns note number and octave.<br>
</div>

<pre><span id="VALto_string"><span class="keyword">val</span> to_string</span> : <code class="type"><a href="Audio.Note.html#TYPEt">t</a> -> string</code></pre>
<pre><span id="VALof_string"><span class="keyword">val</span> of_string</span> : <code class="type">string -> <a href="Audio.Note.html#TYPEt">t</a></code></pre></body></html>