<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'm looking at the music5.f file in snd.</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; &quot;To use this program, first divide music5.f into 3 passes (cut at the dotted lines)</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; named, say pass1.f, pass2.f, pass3.f. &nbsp;Then run them through gfortran:</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; &nbsp; gfortran -o pass1 pass1.f</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; &nbsp; gfortran -o pass2 pass2.f</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; &nbsp; gfortran -o pass3 pass3.f</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; Now get some input, from music5-examples perhaps, run pass1</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; &nbsp; and give it the input file name.</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; It writes pass1.data. &nbsp;Run pass2. &nbsp;It reads pass1.data and writes pass2.data.</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; Run pass3. &nbsp;It reads pass2.data and writes the raw (headerless) binary sound</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; &nbsp; file raw.snd. &nbsp;This is a file of little-endian 4-byte floats at 20000Hz, mono.&quot;</div>
<div style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
On fedora linux I got as far as creating the three -o files successfuly, but paused at &quot;get some</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
input from music5-examples perhaps&quot;.&nbsp; I wasn't sure about that part.</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Seems like it might be orchestra and score files, and I found something online, (ex. below)</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But I'm not sure how the input file(s) work for input?&nbsp;&nbsp;</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Any chance there's a brief example of how to give the -o files the input needed</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
to see if I can get an audio output?</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ex.</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
1 INS 0 1 ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; Instrument 1 definition starts</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
2 OSC P5 P6 B2 F2 P30 ; ; Oscillator using parameter 5 for pitch, 6 for amplitude</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
3 OUT B2 B1 ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; Output to channel</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
4 END ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; End of instrument 1 definition</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
!seems like this might be the score part...</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
5 GEN 0 1 2 0 0.999 50.999 205-.999 306-.999 461 0 511 ; &nbsp;; Function table 1 (Waveform)</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
6 GEN 0 1 1 0 0 511 ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; Function table 2 (Envelope)</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
7 NOT 0 1.50 125 8.45 ; &nbsp;; Note event: start time, duration, amplitude, pitch</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
8 NOT .75 1.17 250 8.45 ;</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
9 NOT 1.00 1.50 500 8.45 ;</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
10 TER 8.00 ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; Terminate score at 8 seconds</div>
<div style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
How to you name the file(s), file ext., and how do you call them?</div>
<div style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div class="elementToProof" style="font-family: &quot;Calibri&quot;, &quot;Helvetica&quot;, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Jim</div>
</body>
</html>