<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I don't know whether there is any software that supports this, but I
suppose this is a specialty application that is not related to
audio. The samplerate is in the end only metadata necessary to play
back the audio, seeing that this is probably not audio anyway, why
not set it to a random value and set the real samplerate as a
vorbiscomment? Or maybe divide the samplerate by 1000 (so a 2.4MHz
stream would have a set samplerate of 2.4kHz)<br>
<br>
As long as you have a specific set of tools or a closed library
(with a comment or notice somewhere for the user) that warns the
user about this, it should work perfectly.<br>
<br>
Hope this helps<br>
<br>
<div class="moz-cite-prefix">Op 15-01-15 om 13:00 schreef Graham
Weatherup:<br>
</div>
<blockquote
cite="mid:2252A376862FD94FBF6B56591DDEA2980161B442@UOS-DUN-MBX1.st-andrews.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would like to clear something up about
Sample Rate, If the Frame header can look to the metadata
block streaminfo for sample rate what (if anything limits it
to
<span style="background:yellow;mso-highlight:yellow">655350Hz</span>)?
Can all frame headers not just point to streaminfo and it be
specified in streaminfo as all 1s ie 2^20-1 = 1,048,575Hz? It
would be really good to be able to use 1MHz and beyond for
some of my/our work. Does anything currently support this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal">Graham<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Extracts from <a moz-do-not-send="true"
href="https://xiph.org/flac/format.html">https://xiph.org/flac/format.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">METADATA_BLOCK_STREAMINFO<o:p></o:p></p>
<p class="MsoNormal"><20> Sample rate in Hz. Though
20 bits are available, the maximum sample rate is
<span style="background:yellow;mso-highlight:yellow">limited
by the structure of frame headers to 655350Hz</span>. Also,
a value of 0 is invalid.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">FRAME_HEADER<o:p></o:p></p>
<p class="MsoNormal"><span
style="background:yellow;mso-highlight:yellow">0000 : get
from STREAMINFO metadata block</span><o:p></o:p></p>
<p class="MsoNormal">:
<o:p></o:p></p>
<p class="MsoNormal">:<o:p></o:p></p>
<p class="MsoNormal">1100 : get 8 bit sample rate (in kHz) from
end of header<o:p></o:p></p>
<p class="MsoNormal">1101 : get 16 bit sample rate (in Hz) from
end of header<o:p></o:p></p>
<p class="MsoNormal">1110 : get 16 bit sample rate (in tens of
Hz) from end of header<o:p></o:p></p>
<p class="MsoNormal">1111 : invalid, to prevent sync-fooling
string of 1s<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
flac-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:flac-dev@xiph.org">flac-dev@xiph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/flac-dev">http://lists.xiph.org/mailman/listinfo/flac-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>