File: ChangeLog

package info (click to toggle)
csound 1%3A4.23f12-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,132 kB
  • ctags: 17,345
  • sloc: ansic: 101,063; cpp: 7,730; perl: 335; makefile: 318; tcl: 82
file content (7843 lines) | stat: -rwxr-xr-x 202,396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
<<<<<<< ChangeLog
2004-03-03  John ffitch  <jpff@codemist.co.uk>

	* scxtract.c (scxtract): Added call to sread_init() as suggested
	by Anthony Kozar

2004-02-27  John ffitch  <jpff@codemist.co.uk>

	* version.h: VERSION 4.23f11

	* insert.c (kperf): Removed call to POLL_EVENTS which was OTT

2004-02-24  John ffitch  <jpff@codemist.co.uk>

	* dumpf.c (nkread): Reading of text numbers was wrong.

2004-02-20  John ffitch  <jpff@codemist.co.uk>

	* grain.c (ags): Use memcpy rather than a copy to copy back

2004-02-03  John ffitch  <jpff@codemist.co.uk>

	* rtlinux.c (recopen_): Removed setting of ishift
	(playopen_): and oshift as not used, and hence getshift is
	removed.

2004-01-29  John ffitch  <jpff@codemist.co.uk>

	* version.h: VERSION 4.23f10

	* insert.c (ingoto): At matt's suggestion check that the boolean
	is i-time

2004-01-07  John ffitch  <jpff@codemist.co.uk>

	* insert.c (ingoto): Should set ids not pds

	* ugrw1.c: Changes to sprints so rounding works for negative values

2004-01-01  John ffitch  <jpff@codemist.co.uk>

	* wavegde.c (filter3Set): Need to initialise filt->x1 and ->x2 to zero

	* flanger.c (wguide2): Avoid frequencies below 5Hz (reciprocal of
	MAXDELAY) 

	* version.h (BUGFIX): fix 8 -- avoiding octal feature!

	* OSC-sock.c: 
	* metro.c: Add casts to avoid warnings

	* flanger.c (wguide1): Avoid frequencies below 5Hz (reciprocal of
	MAXDELAY) 

=======
=======
2004-04-21  John  <jpff@codemist.co.uk>

	* csound/main.c (mainRESET): Only call rtclose if we have RTAUDIO

>>>>>>> 1.54
2004-04-05  Anthony Kozar  <anthony.kozar@utoledo.edu>

	* cscormai.c: Link to natben.c instead of including natlong() and revised
	compilation instructions.
	
	* cscofils/README: Revised compilation instructions.
	
	* cscofils/*.c: All examples now declare "void cscore()".
	
2004-04-04  Anthony Kozar  <anthony.kozar@utoledo.edu>

	* sysdep.h: Undefined mills_macintosh so that standalone utilities
	can be compiled on the Mac.  From now on, mills_macintosh should be 
	defined in a prefix file when compiling Perf.
	
	* cscormai.c: Added cglob and natlong() to compile on the Mac.
	
	* cscorfns.c (cscorinit): Set next->op to null character.
	
	* getstring.c (getmacstring): GETS128 not used, Mac routine "PtoCString"
	name changed to "p2cstr"?
	
	* cscore.c (cscore): Corrected several Cscore usage errors that could 
	cause memory faults.

2004-03-07  John D. Ramsdell  <ramsdell@mitre.org>

	* CVS: Tagged as csound-4_23f11gbs_0.

2004-03-03  John ffitch  <jpff@codemist.co.uk>

	* scxtract.c (scxtract): Added call to sread_init() as suggested
	by Anthony Kozar

2004-02-27  John ffitch  <jpff@codemist.co.uk>

	* version.h: VERSION 4.23f11

	* insert.c (kperf): Removed call to POLL_EVENTS which was OTT

2004-02-24  John ffitch  <jpff@codemist.co.uk>

	* dumpf.c (nkread): Reading of text numbers was wrong.

2004-02-20  John ffitch  <jpff@codemist.co.uk>

	* grain.c (ags): Use memcpy rather than a copy to copy back

2004-02-03  John ffitch  <jpff@codemist.co.uk>

	* rtlinux.c (recopen_): Removed setting of ishift
	(playopen_): and oshift as not used, and hence getshift is
	removed.

2004-01-29  John ffitch  <jpff@codemist.co.uk>

	* version.h: VERSION 4.23f10

	* insert.c (ingoto): At matt's suggestion check that the boolean
	is i-time

2004-01-07  John ffitch  <jpff@codemist.co.uk>

	* insert.c (ingoto): Should set ids not pds

	* ugrw1.c: Changes to sprints so rounding works for negative values

2004-01-01  John ffitch  <jpff@codemist.co.uk>

	* wavegde.c (filter3Set): Need to initialise filt->x1 and ->x2 to zero

	* flanger.c (wguide2): Avoid frequencies below 5Hz (reciprocal of
	MAXDELAY) 

	* version.h (BUGFIX): fix 8 -- avoiding octal feature!

	* OSC-sock.c: 
	* metro.c: Add casts to avoid warnings

	* flanger.c (wguide1): Avoid frequencies below 5Hz (reciprocal of
	MAXDELAY) 

2004-02-28  John D. Ramsdell  <ramsdell@mitre.org>

	* CVS: Tagged as csound-4_23f10gbs_1.

	* configure.ac: Looks for X11 only when FLTK is not found.

	* csound/insert.c: Modified so as to reduce polling.

2004-01-31  John D. Ramsdell  <ramsdell@mitre.org>

	* csound/insert.c: Updated as jpff requested.

	* CVS: Tagged as csound-4_23f10gbs_0.

2004-01-26  John D. Ramsdell  <ramsdell@mitre.org>

	* csound/Makefile.lnx (CFLAGS): Added proper includes for X11 and
	FLTK.

2004-01-19  John D. Ramsdell  <ramsdell@mitre.org>

	* csound/autoheader.h: Define SYS5 when string.h is detected.

2004-01-17  John D. Ramsdell  <ramsdell@mitre.org>

	* CVS: Tagged as csound-4_23f09gbs_1.

	* doc/csoundgbs.texi: Added GNU Build System specific documentation.

2004-01-14  John D. Ramsdell  <ramsdell@mitre.org>

	* CVS: Tagged as csound-4_23f09gbs_0.

	* csound/ugrw1.c (sprints): Handle the rounding of negative values.

	* csound/insert.c (ingoto): jpff says: Surely this should be
	ids/prvi not pds/pvrp.

	* csound/all_strings: Updated from 4.23f08 release.

2004-01-01  John ffitch  <jpff@codemist.co.uk>

	* flanger.c (wguide2): Avoid frequencies below 5Hz (reciprocal of
	MAXDELAY) 

	* version.h (BUGFIX): fix 8 -- avoiding octal feature!

	* flanger.c (wguide1): Avoid frequencies below 5Hz (reciprocal of
	MAXDELAY) 

2004-01-03  John D. Ramsdell  <ramsdell@mitre.org>

	* configure.ac: Added -mconsole in Cygwin builds for the
	appropriate programs using CONSOLE_LDFLAGS.

2004-01-01  Michael Gogins <gogins@pipeline.com>
	* csound.h: Added Doxygen comments to outline the purposes, usage, and TODO of 
	the Csound API.

>>>>>>> 1.53
2003-12-27  John D. Ramsdell  <ramsdell@mitre.org>

	* CVS: Tagged as csound-4_23_1. 

2003-12-24  John D. Ramsdell  <ramsdell@mitre.org>

	* csound/pvoc.c, csound/dpwelib.h: Added test for DARWIN so the
	files don't include malloc.h on MacOS X.  Csound now builds and
	installs on MacOS X.

2003-12-19  John D. Ramsdell  <ramsdell@mitre.org>

	* CVS: Tagged as csound-4_23_0. 

	* configure.ac, csound/Makefile.am: -lwinmm added to LIBS rather
	than using @AUDLIBS@.

2003-12-12  John D. Ramsdell  <ramsdell@mitre.org>

	* util2/Makefile.am (SUBDIRS): Removed extension in directories.

	* configure.ac: WINDOWS is always turned off when on Cygwin.

2003-12-10  John D. Ramsdell  <ramsdell@mitre.org>

	* csound/csound.c:  When WINDOWS is defined, the default graphing
	routines use windows.

2003-12-09  John D. Ramsdell  <ramsdell@mitre.org>

	* configure.ac, csound/Makefile.am: Added libtool.

	* CVS: Tagged as csound-4_23a4. 

2003-12-08	Steven Yi	<stevenyi@csounds.com>
        * main.c (signal_handler): added #ifdef for SIGALRM to compile correctly
        on Cygwin using -mno-cygwin
	
2003-12-07  John D. Ramsdell  <ramsdell@mitre.org>

	* configure.ac: Added --enable-cygwin to configure script.  Use
	--enable-cygwin=no to add -mno-cygwin when compiling on Cygwin.

2003-12-05  John D. Ramsdell  <ramsdell@mitre.org>

	* configure.ac: Added -mno-cygwin to various flags when compiling
	on Cygwin.

	* csound/csound-config.in: Added a csound configuration script
	based on FLTK's.

2003-12-04  John D. Ramsdell  <ramsdell@mitre.org>

	* csound/msg.c: Added csoundMessage0 to libanalutils to fix
	linking problems.

	* csound/Makefile.am (noinst_LIBRARIES): Added libanalutils to
	facilitate building utilities.

	* configure.ac: Removed libtool.  Shared library building never
	worked and it's very slow on MinGW.

2003-12-03  John D. Ramsdell  <ramsdell@mitre.org>

	* CVS: Tagged as csound-4_23a3.

	* configure.ac: Added makefile generation for the utilities.  The
	system installs the same set of programs as does the makefile not
	generated using the GNU build system.  The current system does not
	yet correctly build shared libraries.

2003-12-01  John D. Ramsdell  <ramsdell@mitre.org>

	* Reorganized the directory structure and reverted widgets.cpp to
	the version before bmj's changes.

2003-11-27  John D. Ramsdell  <ramsdell@mitre.org>

	* configure.ac, Makefile.am, ccsound.c: enable graphics for FLTK
	and X11.

2003-11-25 bobby mcnulty junior <bmj2001@bellsouth.net>
	* ??: fix a stray endif
	
2003-11-25 Bobby McNulty Junior <bmj2001@bellsouth.net>
	* widgets.cpp: revert changes to widget.cpp while I regroup and rethink

2003-11-25  Bobby McNulty Junior <bmj2001@bellsouth.net>
	* widgets.cpp: modified for Cygwin. strstream fstream added for Cygwin.
	#include<windows.h> added 
 
2003-11-25 Bobby McNulty Junior <bmj2001@bellsouth.net>
 
	* load_opcodes.c: Modified to work with Cygwin. direct.h was being
	included, so I if=def'd it so it won't be included.
 
2003-11-23  John D. Ramsdell  <ramsdell@mitre.org>

	* autoheader.h: Added autoheader generated config.h, which is only
	to be included by autoheader.h.  Also completely revamped
	configure.ac.  It now supports the generation of libcsound as a
	shared library.

2003-11-22  John ffitch  <jpff@codemist.co.uk>

	* grain.c (ags): gcount should be against 1  not 0.1

2003-11-16  John D. Ramsdell  <ramsdell@mitre.org>

	* configure.ac, Makefile.am: Added experimental auto configuration
	input files.  To try them out, type "autoreconf -i".  The
	resulting build files currently do not build the utilities.

2003-11-07	Steven Yi <stevenyi@csounds.com>
	* load_opcodes.c: Modified OSX code to implement CsoundAPI functions 
	(csoundLoadLibrary, csoundCloseLibrary, csoundGetLibrarySymbol), moved 
	common headers out from #ifdef'd sections (cs.h, csound.h)

2003-11-05  Michael Gogins <gogins@pipeline.com>

	* load_opcodes.c: Fixed for C compilation, 
	replaced dlsym with csoundGetLibrarySymbol for Windows section.

2003-11-04  John D. Ramsdell  <ramsdell@mitre.org>

	* ccsound.c: Added console Csound using the Csound API.

2003-10-23  John ffitch  <jpff@codemist.co.uk>

	* sndinfUG.c: Need to have a real SNDINFO structure (RWD)

2003-10-24  Michael Gogins <gogins@pipeline.com>

	* csound.c: Added "return kcounter * onedkr" to implement
	csoundGetScoreTime. This will work only in unwarped scores.

2003-10-13  John D. Ramsdell  <ramsdell@mitre.org>

	* uggab.c (anterpol): Made loop expression unambiguous.

	* ugens4.c: Int constants changed to unsigned long, as they do not
	fit as ints.

2003-10-01  John D. Ramsdell  <ramsdell@mitre.org>

	* filopen.c (WR_OPTS): Added mode for file open for compilations
	that satisfy defined(mac_classic) || defined(SYMANTEC) ||
	defined(WIN32).

	* cs.h: Added preprocessor symbol USE_CSOUND_YIELD, which when
	defined, defines POLL_EVENTS as csoundYield.  Also added
	preprocessor symbol WX_GUI, which when defined, defines printf to
	be csoundMessage0 as does FLTK_GUI.

	* mididevice.c (OpenMIDIDevice): Added preprocessor symbol
	LOSE_MIDI_TTY, which when defined, ensures no tty is declared.

	* load_opcodes.c: Added preprocessor symbol LOSE_LOAD_LIBRARY,
	which when defined, adds stubs for csoundOpenLibrary,
	csoundCloseLibrary, and csoundGetLibrarySymbol.

2003-08-31  John  <jpff@codemist.co.uk>

	* version.h: Upto fix 07

	* fgens.c (fgens): Length was wrong in negative case on account of
	rounding 

2003-08-08  John ffitch  <jpff@codemist.co.uk>

	* aiff.c (aiffWriteHdr): Need to assign initial value to
	aiffhdrsiz as it is a static variable

	* fgens.c (hfgens): Test for finding free table was wrong

2003-08-06  John ffitch  <jpff@codemist.co.uk>

	* cscormai.c (scfopen): Need to ensure oscfp has a value, or
	stdout or from command line

2003-07-16  John ffitch  <jpff@codemist.co.uk>

	* cvanal.c (cvanal): Need to call dbfs_init(DFLT_DBFS) in case
	called from stand-alone

2003-06-22  John ffitch  <jpff@codemist.co.uk>

	* fgens.c (ftgen): Allow negative arg1 for deletion.  Was
	performed and then reported as error

2003-06-04  John ffitch  <jpff@codemist.co.uk>

	* wave.c (wavWriteHdr): peak chunksize needs to be in correct byte order

2003-05-20  John ffitch  <jpff@codemist.co.uk>

	* biquad.c (bqrez): Make mode positive integer

2003-05-12  John ffitch  <jpff@cs.bath.ac.uk>

	* Added Copyright/LGPL to all files

2003-05-06  John ffitch  <jpff@cs.bath.ac.uk>

	* entry2.c: schedwhen should have arguments kSkkm (first two were
	inverted) 

2003-04-13  John ffitch  <jpff@codemist.co.uk>

	* vpvoc.c (vpvset): Fixed typo of <- instead of <=

2003-03-12  John  <jpff@codemist.co.uk>

	* diskin.h (struct): inbuf array needs to be longest of
	SNDINEWBUFSIZ and SNDINEWBUFSIZ_24

2003-03-08  John ffitch  <jpff@codemist.co.uk>

	* modal4.c (agogobel): Need to set amp/freq in performance part as
	well as init
	(vibraphn): Amplitude of vibraophone needs setting at perf time.
	(marimba): ditto

	* marimba.h:
	vibraphn.h: Added first field

	* fgens.c (hfgens): In allocating table numbers do not overwrite
	any existing table

2003-03-04  John ffitch  <jpff@codemist.co.uk>

	* one_file.c (readOptions): Ignore white space before tags
	(createScore, createOrchestra, createMIDI, createMIDI2) 
	(createSample, createFile, read_unified_file): 

2003-02-27  John ffitch  <jpff@cs.bath.ac.uk>

	* pstream.c (adsyn_frame): The memset should be 64bit

2003-02-19  John ffitch  <jpff@codemist.co.uk>

	* version.h (VERSION): 4.23f02

	* sread.c (getpfld): Reconstruct extending of curmem, especially
	so as to correct the frstbp chain pointers

2003-02-16  John  <jpff@codemist.co.uk>

	* version.h (VERSION): 4.23f01

	* sread.c (sread_init): new function to separate include files
	from sections
	(sread): Removed resetting of str and the unwinding after section
	ends
	
	* scsort.c (scsort): Call sread-init

	* main.c (csoundMain): 
	* musmon.c (musmon): Added fix number to title

2003-01-26  John  <jpff@codemist.co.uk>

	* soundio.c (sfopenout): Allow netBSD in dac cases

	* main.c (set_rt_priority):
	* dpwelib.h: NetBSD case

2003-01-18  John  <jpff@codemist.co.uk>

	* biquad.c: bqrez replaed aain

2002-12-21  John  <jpff@codemist.co.uk>

	* VERSION 4.23

	* biquad.c (bqrez): Replaced to do other cases

2002-12-18  John ffitch  <jpff@codemist.co.uk>

	* widgets.cpp: Windows needs strstrea rather than strstream

2002-12-16  John ffitch  <jpff@xenakis.codemist.co.uk>

	* entry1.c: Added fprints fprintks and prints opcodes

	* aops.c: 
	* entry2.c: removed "ink" and "outk"

	* biquad.c (vco): Changed parameter range of pw to 0-1

	* midiops2.h (MIDIINBUFMAX): Upped buffer size, and simplified code

	* insert.c (subinstrset): Code moved so "too many p-fields"
	initerror call does not result in a crash or other errors.

2002-12-15  John ffitch  <jpff@xenakis.codemist.co.uk>

	* otran.c (otran): Fencepost error in nulling extension of
	instrtxtp array

2002-12-07  John  <jpff@cage.codemist.co.uk>

	* winsound.rc: Added dither box to Extras (seems to have got lost
	somewhere) 

	* ugens1.c (adsrset1): Need to test <=0 for length rather than
	zero (fixes madsr)

2002-12-04  John ffitch  <jpff@xenakis.codemist.co.uk>

	* musmon.c (gettempo): Result should be 60/betsiz ratehr than betsiz

2002-12-03  John ffitch  <jpff@xenakis.codemist.co.uk>

	* fgens.c (ftgen): Allow negative fcodes in string case (1,23,28)

	* insert.c (insert_event): insert here

	* schedule.c: Removed insert_event

	* midiops2.c (midiin): Replaced
	(initc7,initc14,initc21): Check that channel exists

	* namedins.c (strsav_create, strsav_string, strsav_destroy): New
	code 

	* linevent.c (sensLine): Check that there is a Linefd
	(event_set): revised to fix some bugs, including crashes that
	occur when real-time audio, or schedule opcodes are used

2002-11-30  John  <jpff@codemist.co.uk>

	* biquad.c (bqrezset, bqrez): New filter

2002-11-24  John ffitch  <jpff@codemist.co.uk>

	* insert.c (deact): revised
	(beatexpire, timexpire): use revised deact
	(subinstrset, subinstr, xinset, xoutset) rewritten	
	
	* insert.h: structure OPCOD_IOBUFS

	* cs.h: New structure INSTRNAME (Istvan)

	* rtlinux.c: replaced dspfd with dspfd_in and dspfd_out in various places.
	This might allow full-duplex operation on some cards (Istvan)

	* cs.h (rtin_dev, rtout_dev): define

	* oload.c: Initialise rtin_dev and rtout_dev

2002-11-21  John ffitch  <jpff@codemist.co.uk>

	* oscbnk.c (vco2init): replaced to fix bugs in setting default parameters

	* express.c: Use printf rather than putstrg

	* otran.c: Removed putstrg from here as not used

	* mididevice.c: new code from Istvan for real-time MIDI input under Win32

	* rtalsa.c: New code from Istvan

2002-11-16  John  <jpff@xenakis>

	* util2/mixer/xtrct.c (ExtractSound): removed incorrect
	declaration of samples which stopped extraction except from start
	(main): Called init-getstring

2002-11-14  John ffitch  <jpff@cage>

	* modal4.c (agogobelset1):
	* midiout.c (kvar_out_on_set1): removed deprecated code

	* argdecode.c (usage): Corrected typo in message 425

2002-11-13  John ffitch  <jpff@xenakis>

	* flanger.c (wguide2set): Should have checked arg1 and looked at arg2

	* vdelay.c:
	* ugsc.c:
	* ugmoss.c:
	* ugens7.c:
	* ugens4.c:
	* ugens3.c:
	* sndwarp.c:
	* pitch.c:
	* oscils.c:
	* oscbnk.c
	* grain.c:
	* flanger.c:
	* biquad.c: Use macros all over

	* cs.h (XINARG1, XINARG2, XINARG3, XINARG4): New macros to look at
	x flags for first 4 arguments (so we can straighten this out)

2002-11-06  John  <jpff@codemist.co.uk>

	* jpff_glue.c: Only declare/use playopen_ etc if RTAUDIO is defined

2002-11-04  John ffitch  <jpff@cage>

	* sdif2adsyn.c (main): Minor changes to variables and
	initialisation 

2002-11-02  John ffitch  <jpff@cage>

	* soundin.c (soundin): Code changed system address, so need a
	local array for r.

2002-10-30  John ffitch  <jpff@xenakis>

	* lowpassr.c (lowprx): Use k field, fixing bug
	(lowpr_setx): Initialise k and also okr/okf which were not 
	(lowpr, lowpr_set): Same

	* lowpassr.h: Added k as field to LOWPRX and LOWPR

	* fgens.c (gen08): Minor fixes to stop compiler warnings
	(gen01raw): return after error
	(gen18): ditto

	* midirecv.c (m_chanmsg): Deal with case when  msb=1 and lsb is
	not known

2002-10-28  John  <jpff@cage>

	* fgens.c (gen01raw, gen01): Same

	* oscbnk.c (oscbnk_flen_setup): Moved function so will compile on 68000

	* sfont.c (SfPlay_set, SfPlayMono_set, SfInstrPlay_set) 
	(SfInstrPlayMono_set): use ioffset and other minor changes

	* sfont.h: 
	* entry1.c: Added additional option arg to sfont opcodes

	* sfont.c (SfPlay_set): Changes from Steven Yi to bring in line
	with SfPlayMono

2002-10-28  John ffitch  <jpff@xenakis>

	* fgens.c (ftRESET): fence post error in freeing flist

	* cwin.cpp (cwin_exit): Call csoundReset

	* main.c (mainRESET): Changed order of resets

	* memalloc.c (all_free): Reset apsize as well

2002-10-20  John  <jpff@cage>

	* control.c (readvalues): removed \n from the read from the Tcl/Tk
	process 

2002-10-15  John ffitch  <jpff@cage>

	* VERSION 4.22

	* soundio.c (floatran_noscl): New code
	(floatrecv_noscl): ditto
	(iotranset): Use it
	(iotranset): twice

2002-10-14  John ffitch  <jpff@xenakis>

	* uggab.c (resony): Use the local buffer so as not to overwrite
	(rsnsety): Initialise buffer

	* uggab.h: Added buffer field to RESONY

2002-10-14  John ffitch  <jpff@xenakis>

	* ugens5.c (areson): Ensure areson can use same answer variable as
	input 

2002-10-13  John  <jpff@codemist.co.uk>

	* swrite.c (swrite): 
	* sort.c (sort): 
	* sread.c (sread, getop): 
	* musmon.c (playevents): Add q score event

	* entry2.c: Added mute opcode

	* pitch.c (mute_inst): New function

	* pitch.h: Added MUTE structure

	* otran.c (tranRESET): Free instrumentName structure

	* cs.h: Added muted field to INSTRTXT which is a short and aids
	padding! 
	(GLOBALS_): Added instrumentName to globals

2002-10-12  John  <jpff@codemist.co.uk>

	* insert.c (insert): Added code to pad parameters with zero if too
	few provided.

2002-10-09  John  <jpff@codemist.co.uk>

	* uggab.c (posckk, poscaa, poscka, poscak): replace poscil

	* entry1.c: Added poscil as _kk, _ka, _ak, _aa opcode

	* fgens.c (fgens): Allow non power-of-two table sizes (negative lenth)
	(gen10): use rem rather than mask so allows non-power-of-two

	* memalloc.c (all_free): call rlsmemfiles

	* diskin.c (newsndinset): Set length right at beginnin
	(sreadinew): Add WAV to list of types with known header info

2002-10-08  John ffitch  <jpff@codemist.co.uk>

	* wave.c (wavReWriteHdr): 
	* soundio.c (sfopenout): 
	* sndinfo.c (sndinfo): 
	* diskin.c (newsndinset, soundinew): 
	* aiff.c (is_aiff_formtype):
	* aifc.c (aifcReWriteHdr): Changed non-ANSI tell to call to lseek
	for completeness
	(aifcReadHeader): Ditto
	(is_aifc_formtype): Ditto
	(aifcReWriteHdr): Use SEEK_SET instead of 0 which could be wrong

	* FL_graph.cpp: and the rest of the winFLTK support.  May merge
	later.

	* winFLTK.c: New code to replace winX11.c using FLTK rather than
	raw X

2002-10-07  John ffitch  <jpff@codemist.co.uk>

	* memalloc.c (all_free): and here
	* memfiles.c (rlsmemfiles): Add nulling of memfiles for reentrance

	* oscbnk.c:  many changes in vco2 (and related) code (Istvan)

	* oscbnk.h:  similarly to oscbnk.c, all vco2 stuff was replaced by
	new version 

	* entry2.c: replaced entry for "vco2init" 

2002-10-06  John  <jpff@codemist.co.uk>

	* soundin.c (sndinset): Patch from RWD to reopen input; still
	looks wrong

2002-10-03  John  <jpff@codemist.co.uk>

	* rtcoreaudio.c: 
	* mw_menu.c: 
	* midirecv.c: 
	* cscore_main.c: Improved deprecated declarations

2002-09-28  John  <jpff@codemist.co.uk>

	* insert.h: Added 8 to args in XOUT (Istvan)

	* fgens.c (ftRESET): call vco2_tables_destroy()

	* oscbnk.c:   added vco2 and related opcodes (Istvan)

	* oscbnk.h: New structures for vco2 (Istvan)

	* diskin.c (newsndinset): Fix related to skip time going beyond
	file end

	* ugmoss.c (vcomb): Changes from Pete Moss
	(valpass): Ditto

2002-09-26  John  <jpff@codemist.co.uk>

	* butter.c (butter_filter): Deal with underflow on pentiums which
	gets seriously lost (RWD's idea)

2002-09-25  John  <jpff@codemist.co.uk>

	* uggab.c (loopseg): Wrap segments
	(lpshold): Ditto and other fixes

2002-09-22  Istvan Varga  <jpff@codemist.co.uk>

	* linevent.c: Added global_kcounter instead of kcounter

2002-09-21  John ffitch  <jpff@codemist.co.uk>

	* cs.h (GLOBALS_): Added global forms of ksmps etc

	* oload.c: Added initialisation

	* insert.h: New typedef INSTRNAME, OPCOD_IOBUFS, UOPCODE, XIN,
	XOUT, SETKSMPS

	* jpff_glue.c (csoundMessageS): New function like csoundMessageV
	but to stdout

	* main.c (install_signal_handler): Leave SIGALRM
	alone if FLTK in use
	(dribble_printf): Make it dribble, and use csoundMessageS to use
	stdout 

2002-09-21  Istvan Varga  <jpff@codemist.co.uk>

	* cs.h (OPCODE, ENDOP): Added these and renumber

	* disprep.c (printv): print (int) p1 instead of insno (works
	better with user defined opcodes)

	* entry2.c: Added oscilikt, osciliktp and oscilikts

	* jpff_glue.c (MakeXYin): Arguments should be MYFLT

	* oscbnk.h: Added OSCKT and OSCKTP structures

	* oscbnk.c: various optimisations in oscbnk, grain2, and grain3
	minor bug fix in oscbnk
	new opcodes oscilikt, oscilikts, and osciliktp
	 bug fix in error checking code of all oscilikt opcodes

2002-09-20  John ffitch  <jpff@codemist.co.uk>

	* soundin.c (soundin): Generalise to <24 channels

	* soundio.h: Change r1 to r[0] etc in SOUNDIN

2002-09-18  John ffitch  <jpff@codemist.co.uk>

	* fgens.c (ftRESET): Free table space as well

	* rdorch.c (splitline): Generation of temporary labels was wrong in
	then/else 

2002-09-17  John ffitch  <jpff@codemist.co.uk>

	* musmon.c (cleanup): Only close scfp if not already closed

	* express.c (express): Need to treat a(k) as a special case as
	well as i(k)

2002-09-16  John ffitch  <jpff@codemist.co.uk>

	* cwin.cpp (CArg::OnOrchestra): Promote use of unified files

2002-09-08  John  <jpff@codemist.co.uk>

	* express.c (express): Silly error of && replaced by || in
	precedence of | and #

	* ugmoss.c: Rounded conversions in and/or/xor/not

2002-08-30  John  <jpff@codemist.co.uk>

	* cwin.cpp (Run): Set O and cglob from O_ and cglob_

	* soundio.c: recopen and playopen changed to use float rather than
	MYFLT
	(sfopenin): Cast sr to (float) in call of recopen
	(sfopenout): and in recplay

2002-08-25  John  <jpff@codemist.co.uk>

	* soundin.c (soundin): Use an array for outputs rather than case
	statement.  Generalises but possibly slower

2002-08-24  John  <jpff@codemist.co.uk>

	* pvsanal.c (pvsynthset): Check size of buffers as well as existence
	(pvsanalset): Ditto

2002-08-21  John ffitch  <jpff@codemist.co.uk>

	* VERSION 4.21
	
	* cmath.c (ipow): Added normalisation and check for NaN
	(kpow): Check
	(apow): Check more complex here

2002-08-20  John ffitch  <jpff@codemist.co.uk>

	* fgens.c: Code for ftload, ftloadk, ftsave and ftsavek

	* entry2.c: Added ftload and ftsave

2002-07-21  John  <jpff@codemist.co.uk>

	* aops.c: added ink, outk, invalue, and outvalue opcodes

	* rdorch.c: added 'z' output type

2002-07-18  John  <jpff@codemist.co.uk>

	* Incorporated the API code which meant minor changes in ustub.h,
	winX11.c, oload.c, one_file.c, cs.h, cwindow.h, rt*.c, and other
	places.  main.c in all anal directory modified.

2002-07-18  John ffitch  <jpff@xenakis.codemist.co.uk>

	* rdorch.c:
	* otran.c:
	* insert.c (ingoto, kngoto, subinstrset,subinstr): New code from matt

	* insert.h (SUBINSR): new structure

	* soundio.c (longtran): fixed RWD bug that could result in
	overflows in some cases with positive out of range samples) 

	* cs.h: removed definitions of "dv32768" variable that is no longer needed

	* cvanal.c (takeFFT): 
	* hrtferX.c (hrtferxk): 
	* grain4.c (grand, grainsetv4): bug in random code with incorrect scaling

	* oload.c (oload): removed code related to dv32768

	* pvanal.c (takeFFTs): 
	* ugens3.c (adsyn): use dbfs_to_float instead of dv32768

	* ugens4.c: removed declaration of short_to_dbfs as it is not needed(Istvan)
	  (plukset, krand, arand, rhset, randh, riset, randi): fixed a
	  large number of RWD bugs, all related to 0dbfs scaling of 16 bit
	  random numbers (completely wrong); replaced all occurrences of
	  dv32768 with DV32768, and removed all DBFS code 

2002-07-14  John  <jpff@xenakis.codemist.co.uk>

	* midiops.c (mctlset, maftset): fixed bugs in initialisation code (Istvan)


2002-07-13  John  <jpff@cage.codemist.co.uk>

	* soundin.c (dbfs_init): printing to stderr so as not to confuse
	-o stdout

2002-07-12  John  <jpff@cage.codemist.co.uk>

	* musmon.c: Printing of amplitudes done with new function
	print_maxamp including colour printing.. (Istvan)

	* ugens2.c (tabli): Fixed bug in no-wrap case
	(tabl3): Ditto
	
	* ugensa.c (newpulse, fogset): Ditto

	* ugens7.c (newpulse): Newpulse only if not iskip
	(fofset0): Skip lots of initialisation if iskip

	* ugensa.h (struct): 
	* ugens7.h: Added iskip argument to FOFS and FOGS

	* pvoc.c: 
	* midisend.c: 
	* main.c (set_rt_priority): 
	* dpwelib.h: FreeBSD case

	* aops.c (rtclock): Include <unistd.h> in Linux case

	* LINUXaudio.c (setsndparms): FreeBSD code

2002-07-10  John  <jpff@cage.codemist.co.uk>

	* oload.c (oload): Fencepost error in when to enlarge
	strsets vector

	* anal/convol/makef: 
	* anal/convol/main.c: New files

	* anal/makef (cvl): Include compilation of cvanal stand-alone

2002-07-09  John  <jpff@cage.codemist.co.uk>

	* soundio.c (audwrt4): #ifdef'ed out as not used

2002-07-04  John ffitch  <jpff@xenakis.codemist.co.uk>

	* sread.c (sget1): Make failure to include an include file into a
	hard error using scorerr

	* rdorch.c (rdorchfile, rdorchfile): Allow {{ }} long strings
	(splitline): 

	* sread.c (getscochar): Trap $ without a name (thanks to Maurizio)

	* ugens5.c: Make lprdadr flexible rather than 20 long
	(lpcRESET, lprdset, lpslotset, lpitpset): 

2002-07-03  John  <jpff@cage.codemist.co.uk>

	* ugens6.c (a_k_set): New function

2002-07-02  John  <jpff@cage.codemist.co.uk>

	* dl_opcodes.c (csoundLoadAllOpcodes): Early exit if no libraries
	to load

2002-06-29  John  <jpff@cage.codemist.co.uk>

	* util2/envext/envext.c (main): 

	* util2/mixer/extract.c (main): 

	* util2/mixer/xtrct.c (main): 

	* util2/mixer/mixer.c (main): 

	* util2/scale.dir/scale.c (main): 

	* util2/dnoise.dir/dnoise.c (main): 

	* util2/dnoise.dir/srconv.c (main): Initialise dbfs stuff

2002-06-28  John  <jpff@cage.codemist.co.uk>

	* windin.c (xyinset): 

	* wave-terrain.c (scanhinit, scantinit): 

	* ugsc.c (resonzset): 

	* ugrw2.c (krsnset): Return after initerror

	* ugrw1.c (zir): initerror->warning

	* uggab.c (rsnsety): 

	* ugens5.c (rsnset, rsnsetx): 

	* ugens1.c (evxset): 

	* spectra.c (spdspset, spfilset): 

	* schedule.c (lfoset): 

	* scansynx.c (scsnux_init, scsnux_init, scsnsx_init): 

	* scansyn.c (scsnu_init, scsns_init): 

	* pitch.c (pinkset): 

	* midiops.c (cpstmid, chctlset): 

	* midiops2.c (midic7set): Return after initerror

	* follow.c (flwset): initerror replaced by warning as it can carry
	on here

	* disprep.c (fftset): Return after initerror

2002-06-27  John  <jpff@codemist.co.uk>

	* dumpf.c (kdmpset, kdmp2set, kdmp3set, kdmp4set, krdset) 
	(krd2set, krd3set, krd4set): Return after initerror

2002-06-24  John  <jpff@cs.bath.ac.uk>

	* entry1.c: Changes arguments of vco to "xxikppovo"

2002-06-22  John  <jpff@cage.codemist.co.uk>

	* ustub.h (perferror): Added dummy definition

	* vpvoc.c (ktableseg, ktablexseg, voscili): 

	* vdelay.c (vdelay, vdelay3, vdelayxw, vdelayxs, vdelayxws) 
	(vdelayxq, vdelayxwq): 

	* ugmoss.c (vcomb, valpass): 

	* uggab.c (vibrato, vibr): 

	* ugens9.c (convolve): 

	* ugens8.c (pvoc): 

	* ugens7.c (fof): 

	* ugens6.c (delay, delayr, delayw, deltap, deltapi, deltapn) 
	(deltap3, deltapx, deltapxw, comb, alpass, reverb, pan): 

	* ugens4.c (buzz, gbuzz, pluck): 

	* ugens3.c (foscil, foscili, adsyn): 

	* ugens2.c (ktable, tablefn, ktabli, ktabl3, tabli, tabl3, kosc1) 
	(kosc1i, osciln, koscil, osckk, oscka, oscak, oscaa, koscli) 
	(osckki, osckai, oscaki, oscaai, koscl3, osckk3, oscka3, oscak3) 
	(oscaa3): 

	* spectra.c (noctdft, specdisp, specptrk, specsum, specaddm)
	(specdiff, specscal, spechist, specfilt): 

	* spat3s.c (spat3d, spat3di): 

	* spat3d.c (spat3d, spat3di): 

	* space.c (space, spdist): 

	* soundin.c (soundin): 

	* sndwarp.c (sndwarp, sndwarpst): 

	* pvinterp.c (pvbufread, pvinterp, pvcross): 

	* pvadd.c (pvadd): 

	* pitch.c (pitch, adsynt, hsboscil, pitchamdf, kphsorbnk) 
	(phsorbnk, Fosckk, Foscak, Foscka, Foscaa, trnseg): 

	* oscils.c (tablexkt): 

	* oscbnk.c (oscbnk, grain2, grain3, rnd31k, rnd31a): 

	* nlfilt.c (nlfilt): 

	* hrtferX.c (hrtferxk): 

	* grain.c (ags): 

	* grain4.c (graingenv4): 

	* disprep.c (kdsplay, kdspfft, tempest): 

	* biquad.c (vco): initerror->perferror
	(nestedap): Ditto

2002-06-20  John ffitch  <jpff@xenakis.codemist.co.uk>

	* ugens1.c (linseg, kxpseg, expseg, knvlpx, envlpx): Should use
	perferror rather than initerror, and return

2002-06-17  John  <jpff@cage.codemist.co.uk>

	* Removed tabs and trailing spaces throughout (again)

2002-06-15  John  <jpff@cage.codemist.co.uk>

	* csdl.h: New file to be used in dynamic libraries

	* dl_opcodes.c (csoundLoadAllOpcodes): New code for Linux to load
	dynamic libraries.

	* main.c (create_opcodlst): Call csoundLoadAllOpcodes in any case

	* argdecode.c (decode_long): make static, and add opcode-lib= option

2002-06-13    <jpff@cs.bath.ac.uk>

	* scansynx.c (scsnsmapx): New code

2002-06-10  John  <jpff@cage.codemist.co.uk>

	* oload.c: Initialisation of tran_0dbfs was in wrong place

	* window.c: Initialise exitFn to NULL
	(dispexit): More checking -- to deal with case when no exitFn

	* one_file.c (deleteOrch): make global

	* main.c (remove_plname): make global (was static)
	(remove_scnam): ditto

	* entry2.c: Initialisation method for linevent

2002-06-01  John  <jpff@cage.codemist.co.uk>

	* VERSION 4.20
	
	* midiops.c (pchmidib): Same for pitchbend_value expansion

	* linevent.c (RTLineset): Local copy of Linepine to avoid OSX
	compiler bug

	* rdscor.c (flushline): Get local copy of scfp as mac OSX compiler
	has a bug in getc/macro expansion
	(scanflt): Ditto
	(dumpline): Ditto
	(rdscor): Ditto

	* wave.c (write_wavpeak): different scale if 0DBFS

	* vpvoc.c (vpvset): different scale if 0DBFS

	* ugens8.c (pvset): different scale if 0DBFS

	* ugens4.c: (arand, krandh, randh, krandi, randi): different scale
	if 0DBFS 

	* ugens3.c (adsyn, adsyn): different scale if 0DBFS

	* soundio.c: 
	(shortran, longtran, floatran, int24ptran, shortrecv, longrecv) 
	(floatrecv): different scale if 0DBFS

	* soundin.c: (getsndin, soundin): different scale if 0DBFS

	* rdorch.c (argtyp, argtyp): different scale if 0DBFS

	* pvxanal.c (chan_split): different scale if 0DBFS

	* pvinterp.c (pvinterpset, pvcrossset): different scale if 0DBFS

	* pvanal.c (pvanal): different scale if 0DBFS

	* pstream.c (pvx_loadfile): different scale if 0DBFS

	* pitch.c: different scale if 0DBFS

	* otran.c (tranRESET, otran, plgndx): different scale if 0DBFS

	* oload.c: (oloadRESET, oload): different scale if 0DBFS

	* main.c: (MAIN): different scale if 0DBFS

	* lpanal.c (lpanal): different scale if 0DBFS

	* hrtferX.c (hrtferxk): different scale if 0DBFS

	* hetro.c (hetro, writesdif): different scale if 0DBFS

	* grain4.c (grainsetv4, grand): different scale if 0DBFS

	* diskin.c: (sreadinew, sndwrt1, sndwrtu) 
	(sndwrt2rev, sndwrt2, sndwrt3, sndwrt3rev, sndwrt4rev, sndwrt4):
	different scale if 0DBFS 

	* cvanal.c (takeFFT): different scale if 0DBFS

	* aops.c (dbfsamp): different scale if 0DBFS
	(ampdbfs, aampdbfs): 

	* aiff.c (write_aiffpeak): scale peak chunk

	* physutil.h: dbfs_to_float

	* cs.h: Declare e0dbfs, dbfs_to_float
	tran_0dbfs in cglob
	

2002-05-30  John  <jpff@cage.codemist.co.uk>

	* linevent.c: Changes from matt

	* opcode.h: new file

	* opcode.c: Internal reorganisation from matt

	* entry2.c: New opcodes midinoteoff, midinoteonkey, midinoteoncps,
	midinoteonoct, midinoteonpch, midipolyaftertouch, midicontrolchange,
	midiprogramchange, midichannelaftertouch, midipitchbend, mididefault
	
	* midiinterop.c: 
	* midiinterop.h: New code, from Michael Gogins with some changes

2002-05-21  John  <jpff@cage.codemist.co.uk>

	* midirecv.c (m_chanmsg): reset aftertouch
	(m_chanmsg): Use mapping array
	(FMidiOpen): Additional check for null channel

	* midiops.c (midichn, pgmassign): New code

	* entry2.c: new opcodes midichn, pgmassign, scantable, scanhammer

	* wave-terrain.c (scanhinit): New code
	(scantinit, scantPerf): Also new code

2002-05-21  John ffitch  <jpff@xenakis.codemist.co.uk>

	* filopen.c (catpath): use characters rather than strings

	* pvfileio.c (pvoc_openfile): added search of SADIR if not a full
	path and not in current directory

2002-05-17  John ffitch  <jpff@xensakis.codemist.co.uk>

	* oscils.c (tablexkt): Function corrected in cubic interpolation
	case, and strings updated

	* midirecv.c (m_chinsno): Missing argument in printf added
	(FMidiOpen): Allow Format 1 with single track

2002-05-15  John ffitch  <jpff@cage.codemist.co.uk>

	* clfilt.c: New version with more cases

2002-05-05  John  <jpff@codemist.co.uk>

	* physmod.c (clarinset): p->v_time should be initialised
	(clarinset): amp is not know at init time so do it all on first
	cycle


2002-04-30  John  <jpff@codemist.co.uk>

	* entry2.c: Added clfilt opcode

	* fft.c (fftRESET): New function to clear lroot

	* disprep.c (disprepRESET): New function to clear fftcoefs

2002-04-28  John  <jpff@codemist.co.uk>

	* entry2.c: Added xscanmap opcode

	* scansynx.h (struct PSCSNMAPX): New struct

	* scansynx.c (scsnmapx_init, scsnmapx): New code for xscanmap
	(scsnux_hammer): Add XALL and correct code

2002-04-27  John  <jpff@codemist.co.uk>

	* argdecode.c (argdecodeRESET): New function to reset static
	stdinassgn

	* main.c (mainRESET): Added argdecodeRESET

	* fgens.c (gen30): Replaced with new version from Istvan

2002-04-21  John  <jpff@codemist.co.uk>

	* sndinfUG.c (filepeak): Ensure channel is properly rounded

	* pvfileio.c (pvoc_getframes): Add setting of rc to nframes in
	bytereverse case

	* midiout.c (release_set): No need to check MIDIoutDone

	* main.c (MAIN): Check for null scorename or empty string

	* dnoise.c (dnoise): various changes to mill_macintosh stuff

	* argdecode.c: Message 1704 was wrong in source

	* aifc.c:
	* aiff.h: Change name of ApplicationSpecificChunk to
	AIFFAppSpecificChunk (avoiding mac problems

2002-04-17  John ffitch  <jpff@codemist.co.uk>

	* otran.c (insprep): Assignment to ngotos was unnecessary

2002-04-04  John  <jpff@codemist.co.uk>

	* diskin.c (sndwrtf): 32/64 float problem fixed (Istvan)
	(sndwrtfrev): Ditto

2002-04-01  John  <jpff@codemist.co.uk>

	* pitch.c (Fosckk, Foscak, Foscka, Foscaa): New experimental code
	for oscil without power-of-two

2002-03-31  John  <jpff@codemist.co.uk>

	* everywhere: glob -> cglob as it clashes on MacOSX

2002-03-29  John  <jpff@codemist.co.uk>

	* sread.c (sget1): Must not call flushlin after #include

2002-03-28  John  <jpff@codemist.co.uk>

	* VERSION 4.19

	* midirecv.c (m_chanmsg): Removed code relating to non-functioning
	sysex

2002-03-26  John  <jpff@codemist.co.uk>

	* soundin.c (getsndin): Various incorrect MYFLT changed to float
	(getsndin): twice

2002-03-24  John  <jpff@codemist.co.uk>

	* biquad.c (vcoset): Changes from Hans
	(vco):

	* vbap_sixteen.c (vbap_SIXTEEN): removed references to p->counter
	as never given a value

	* vbap_four.c (vbap_FOUR_moving): Correct typo

2002-03-23  John  <jpff@codemist.co.uk>

	* oscbnk.c (grain2): Whole function replaced (istvan)

2002-03-19  John  <jpff@codemist.co.uk>

	* fgens.c (gen33,gen34): New gens

2002-03-18  John  <jpff@codemist.co.uk>

	* entry2.c: Make second argument of vcomb and valpass an x-rate

	* fgens.c: Interpolation in gen18

	* ugmoss.c: Revised code from pete moss

2002-03-13  John  <jpff@codemist.co.uk>

	* entry2.c: Added terrain opcode

	* wave-terrain.h:
	* wave-terrain.c: New file

2002-03-12  John  <jpff@codemist.co.uk>

	* midiops2.c (midic7):
	* insert.c (turnoff): rename curip to lcurip to avoid macro problems

	* cmath.c: holdrand moved to glob structure

	* ugens3.c: All over loscal -> LOSCAL

	* cs.h (LOSCAL): Defined as a constant

2002-03-11  John  <jpff@codemist.co.uk>

	* argdecode.c (longusage): New function
	(decode_long): Complete all options

2002-03-10  John  <jpff@codemist.co.uk>

	* pitch.c (isense): Now works in unix case

	* vbap_zak.c (vbap_zak_moving, vbap_zak): Off by one?
	(vbap_zak_init): Initialisation of gains vectors was wrong

	* vbap_eight.c (vbap_EIGHT_init): Change malloc to auxalloc, and
	adjust structure.  Also use 'natural' output addresses
	(vbap_EIGHT_moving_init): Ditto

	* Ditto for vbap_four and vbap_sixteen

2002-03-09  John  <jpff@codemist.co.uk>

	* cs.h: Define GLOBALS
	(onept, log10d20): made macros

	* main.c: Deploy a globals structure

2002-02-26  John ffitch  <jpff@weir>

	* rdorch.c (getoptxt): Another fix in z,y,Z type arguments which
	affected event opcode (matt)

	* musmon.c (musmon): Correct editing error in ~MacClassic case

2002-02-21  John ffitch  <jpff@cs.bath.ac.uk>

	* sfont.c (fill_SfPointers): Add a skip for unknown chunks

2002-02-19  John  <jpff@codemist.co.uk>

	* argdecode.c (argdecode): Changed -- to -O and started to add
	--long options

2002-02-17  John  <jpff@codemist.co.uk>

	* sread.c (getscochar, sread): Adjust str if inputs changes

	* argdecode.c (argdecode): ignore --sched option
	* main.c (set_rt_priority): New code for Linux scheduling (Istvan)

2002-02-16  John  <jpff@codemist.co.uk>

	* rdorch.c (getoptxt): Allow name translation on answerless opcodes

	* musmon.c (musmon):
	* main.c (MAIN): Added BETA message if appropriate

	* rdorch.c (getoptxt): Allow more x-rate arguments (why not?)

	* soundio.c (sfopenout): Typo in->out in PIPE code, and added
	modification of AIFC type to IRCAM

2002-02-15  John  <jpff@codemist.co.uk>

	* fgens.c (gen12): Change name from gen22 at Gabriel's request

	* ugens4.c (pluck): Wrong error message (X_1478->X_1480)

	* sfheader.c (readheader): Clear the hdr structure before use

	* cwin.cpp (cwin_exit): Call _exit rather than exit

	* musmon.c (musmon): Change to setting of O.inbufsamps, now from
	O.oMaxLag

2002-02-14  John  <jpff@codemist.co.uk>

	* VERSION 4.18

	* cwin.cpp (OnMIDI): Added dialog and new class to deal with MIDI
	Not yet complete

	* ugmoss.c (dconv): i was not initialised

	* rdorch.c (splitline): C-comment fails if */ is at beginning of
	a line

2002-02-13  John  <jpff@codemist.co.uk>

	* rtwin32.c: Fixes from RWD to separate in and out devices

	* rdorch.c (rdorchfile):
	* sread.c (sread): Changes so nesting of #include is unlimited

2002-02-12  John  <jpff@codemist.co.uk>

	* pvdlg.cpp (DoDataExchange): Remove incorrect frame-size test

	* ugens4.c (riset): Typo (p->rand<1) should be (p->rand<<1)
	(riset): Also an else missing
	(riset): Rewrite clock/old initialisation

2002-01-31    <jpff@codemist.co.uk>

	* sfont.c (ChangeByteOrder): reverse bytes in MACOSX, and a number
	of bugs fixed in this one function

	* entry2.c: Added oscils, lphasor, tablexkt  opcodes

	* oscils.c, oscils.h: new files

2002-01-30    <jpff@codemist.co.uk>

	* oscbnk.c: small changes all over

	* oscbnk.h: Some fields removed

	* spat3d.c (spat3d_init_wall): Revisions from Istvan
	(spat3d_wall_perf):  and many others

	* spat3d.h: New fields

2002-01-26    <jpff@codemist.co.uk>

	* cs.h (PMAX): Increased to 1000, which will waste some space.....

	* oload.h (GVBAS): Redefine as VBAS + PMAX as in comment

	* fgens.c (FTPMAX): Increased to 150

	* insert.c (orcompact): Call doadr if exixts

	* cscrorfns.c, express.c, fgens.c, insert.c, main.c, memalloc.c,
	musmon.c, oload.c, otran.c, rdorch.c, soundin.c, ugens3.c,
	ugens5.c, ugrw1.c: Made RESET code into mainstream

	* sfont.c (SoundFontLoad): Arcane bug fix in threaded activity

	* window.c (dispkill): Protect against no kill fn

	* getstring.c (init_getstring): SSOUND fix

	* argdecode.c (usage): In reentrant case do not die

	* musmon.c (musmon): External MIDI again
	Make kcnt externally visible

	* midirecv.c (csoundDefaultMidiOpen): New code for SSOUND
	(sensMidi): Allow user-defined MIDI input in SSOUND

	* memalloc.c (mfree): Check is all is NULL first (Michael)

	* main.c: Main main into MAIN and define macros for it to simplify
	going around

	* filopen.c (die): IN SSOUND case throw message

	* fgens.c (ftRESET): Revised for SSOUND (Michael)
	(gen22): Renamed from gen18 as that was misleading!

	* cscorfns.c (cscoreRESET): Fixes from Michael Gogins

	* cs.h: Added deinit field to OPDS and OENTRY

2002-01-22    <jpff@codemist.co.uk>

	* filopen.c: undef tell macro before using <unix.h> on mac

	* sndinfUG.c (filelen): Use aydsize field of p
	(getsndinfo): and set this field
	(getsndinfo): New code to look at -i file on command line

	* sndinfUG.h (struct): Added audsize to structures

	* sysdep.h (SYS5): Define in macintosh case

	* soundio.c (iotranset): Added check for rtplay in AE_FLOAT case

	* main.c (main):  mill_macintosh -> mac_classic

	* linevent.c (RTLineset): mac_classic case needs setvbuf call
	(RTclose): similar

	* cs.h (POLL_EVENTS): Corrected mac optional stuff

2002-01-20    <jpff@codemist.co.uk>

	* sread.c (operate): Added bitwise operations
	(getscochar): Added bit operations to [], possibly wrong precedence?

	* gets.r: Added new strings and corrections

	* rdorch.c (getoptxt): Decoding or y z and Z arguments changed
	(intyperr): Additional argument for expected type

2002-01-13    <jpff@codemist.co.uk>

	* ugmoss.c (not_k, not_a): New code

	* fgens.c (hfgens):
	(fgens): Remove message about increasing number of tables

	* scansynx.c (scsnux_init): Add range check

2002-01-11    <jpff@codemist.co.uk>

	* ugens6.c (cmbset): Initialise p->coef to zero

2002-01-08    <jpff@codemist.co.uk>

	* entry2.c: Added opcode vcomb, valpass and ftmorf

	* ugmoss.h: New structures for new code

	* ugmoss.c (dconv): Code revised and optimised (Pete)
	(and_kk, and_kk, and_aa, and_ak, and_ka, or_kk, or_aa, or_ak)
	(or_ka, xor_kk, xor_aa, xor_ak, xor_ka): New functions for bit
	arithmetic
	(vcombset, vcomb, valpass, ftmorfset, ftmorf):  New code

	* fgens.c (gen18): New GEN from Pete Moss

2002-01-06    <jpff@codemist.co.uk>

	* VERSION 4.17

	* fgens.c (ftRESET): clear ftevt as well
	(ftgen): Allow gens 23 and 28 in ftgen opcode with strings

	* util2/mixer/extract.c (main):
	* util2/mixer/xtrct.c (main):
	* util2/mixer/mixer.c (main):
	* sysdep.h:
	* dpwelib.h:
	* pvoc.c:
	* pvanal.c (pvanal):
	* musmon.c (musmon):
	* main.c (main):
	* lpanal.c:
	* linevent.c:
	* filopen.c (isfullpath):
	* dsputil.c:
	* midirecv.c: Removed ZPC options

2002-01-05    <jpff@codemist.co.uk>

	* rdorch.c (getoptxt): Gabriel's (?) typo corrected

	* aops.c (ftchnls): added code for same
	* entry1.c: added opcode ftchnls

2002-01-01    <jpff@codemist.co.uk>

	* aops.c (cpsoctinit):
	* fgens.c (gen11):
	* physmod.c (BowTabl_lookup):
	* ugens7.c (newpulse):
	* ugensa.c (newpulse):
	* ugsc.c (phaser2): Use intpow function

	* ugens4.c (buzz): Minor optimisation
	(gbuzz): also minor optimisations
	(gbuzz): Use version of pow for integers, as should be faster

2001-12-31    <jpff@codemist.co.uk>

	* insert.c (infoff): Revised code from Gabriel for delaying off
	event during release

	* fgens.c (gen32): New gen (Istvan)

2001-12-27    <jpff@codemist.co.uk>

	* schedule.c (ktriginstr): From re to make initialisation in
	score order

2001-12-25    <jpff@codemist.co.uk>

	* scansyn.c: pinterp was plain wrong

2001-12-22    <jpff@codemist.co.uk>

	* entry2.c: Added k-rate active opcode

	* scansyn.c (scsnu_init): Space was wrong size in PHASE_INTERP !=
	3 case.

	* entry2.c: Added event opcode (is it needed?)

	* linevent.c (eventOpcode): New code from matt

	* musmon.c (playevents): Revised code from rasmus

2001-12-21    <jpff@codemist.co.uk>

	* musmon.c (playevents): Fixed another memory leak (re)
	(playevents): and reorganisation
	(sensevents): Same fixes

2001-12-19    <jpff@codemist.co.uk>

	* entry1.c: parsing of tablew was wrong in that it failed to check
	k- and a-rate versions.  Same for tablewkt

	* main.c: Include <string.h>

	* scansyn.c (listadd): The list of instances was not used properly.

2001-12-16    <jpff@codemist.co.uk>

	* spat3d.c (spat3di): Check for depth should be against maxdep not
	mindep

	* otran.c (otran): Reworked default sr/kr/ksmps code

	* oload.c: Initialise esr etc from trans_sr etc so defaults work

2001-12-14    <jpff@codemist.co.uk>

	* pvanal.c (pvanal):
	* lpanal.c (lpanal):
	* hetro.c (filedump, writesdif):
	* fout.c (outfile_set, koutfile_set, fiopen, kinfile_set)
	(i_infile):
	* sfont.c (SoundFontLoad): Removed code which changed access
	options for sfont files and others as it seems totally wrong
	to me.

2001-12-12    <jpff@codemist.co.uk>

	* musmon.c (sensevents): Free memory in schedule case
	(playevents): Ditto

2001-12-11    <jpff@codemist.co.uk>

	* sfont.c (SoundFontLoad): In access stuff after looking in SSDIR
	and SFDIR the check should be on pathnam.  Still not sure why it
	does this!

2001-12-09    <jpff@codemist.co.uk>

	* VERSION 4.16

2001-12-08    <jpff@codemist.co.uk>

	* main.c (signal_to_string): Not for OSX

2001-12-07    <jpff@codemist.co.uk>

	* fgens.c (besseli): #define out
	* pvxanal.c (besseli): use this version

2001-12-06    <jpff@cs.bath.ac.uk>

	* musmon.c (fillbuffer): Fix to allow scheduled events (matt)

2001-12-05    <jpff@codemist.co.uk>

	* fgens.c (besseli): Do all calculation in doubles as the MYFLTs
	were a delusion.

	* pvxanal.c (pvxanal): Check for all versions of .pvx wrt case

	* ugens1.c (klnseg): Rewrite to avoid rounding error, but at a
	cost

2001-12-04    <jpff@cs.bath.ac.uk>

	* cwin.cpp (cwin_args): Remove zapping of O.outformat

	* ugens8.c: corrected reading of pvocex files for multiple notes
	(RWD)

	* soundio.c: Added floating noscasler and better checking

2001-12-01    <jpff@codemist.co.uk>

	* sread.c (sread): Added x to score language

	* ugens1.c (xdsrset): Make last segment very long

	* pvlook.c (pvlook): Added calls to POLL_EVENTS

	* vpvoc.c (vpvoc): initerror should be perferror

	* ugrw1.c (zkr): Call warning rather than perferror

	* uggab.c (trig):
	* ugensa.c (fog):
	* ugens7.c (fof): return needed after perferror

	* ugens5.c (lpread): initerror should be perferror
	(lpinterpol): initerror should be perferror
	(lpread): return needed after perferror

	* singwave.c (make_Modulatr, make_SingWave):  Returns
	after perferror and also make make_Modulatr return a 1 if it failed

	* ugens4.c (pluck):
	* ugens1.c (knvlpx):
	* pitch.c (macset):
	* physmod.c (clarinset, fluteset, bowedset, brassset):
	* modal4.c (make_Modal4, marimbaset, vibraphnset, agogobelset):
	* mandolin.c (mandolinset): return needed after perferror

	* fm4op.c (make_FM4Op, FM4Op_loadWaves, tubebellset, rhodeset)
	(wurleyset, heavymetset, b3set, FMVoiceset, percfluteset): Returns
	after perferror and also make FM4Op_loadWaves return a 1 if it failed.

	* aops.c (cpstun_i, cpstun, inz): return needed after perferror

	* ugens1.c (adsrset1): Change test for empty segment to <= 0 from <

2001-11-21    <jpff@codemist.co.uk>

	* winEPS.c: Minor fix for Irix6.5

	* musmon.c: Reorganisation from matt to allow external calling

2001-11-20    <jpff@codemist.co.uk>

	* soundio.c: Arg to open should not have b option

2001-11-19    <jpff@codemist.co.uk>

	* fgens.c: New gens 30 and 31 (Istvan)

	* soundin.c (sndgetset): Count was off-by-one in skipping

	* cvanal.c (takeFFT): Do not normalise raw or IRCAM formats

2001-11-18    <jpff@codemist.co.uk>

	* oscbnk.c (grain2set): New code
	(grain2, grain3set, grain3, rnd31set, rnd31i, rnd31k): New code (Istvan)

	* ugens6.c (deltap3): As below

	* vdelay.c (vdelay3): Optimisations from Istvan

	* *ALL OVER* introduce mac_classic and mills_macintosh macros

	* winEPS.c (PS_MakeGraph): Deal file file directory separator

	* soundio.c (sfopenout): Simplify last case

	* rtmacintosh.c (rtclose): Remove code marked HACK

	* pvoc.c: Use sysdep.h rather than special code

	* pvfileio.c: change write(files[ofd]->fd,(const char*)&... to
	write(files[ofd]->fd,(char*)&.... to compile on Mac

	* getstring.c (getstring): More cautious test for strings

2001-11-16  John ffitch  <jpff@weir>

	* ugsc.c (svf): if provided Q is too small force to 1
	(svf): Optimise code

2001-11-14  John ffitch  <jpff@weir>

	* soundio.c (sfopenout): Added IRCAM format to 3:2000 case

2001-11-11    <jpff@codemist.co.uk>

	* sfont.c (SoundFontLoad): Extensive rewrite so it looks in
	multiple directories.

	* filopen.c: make ssdirpath and sfdirpath external

2001-11-10  John ffitch  <jpff@weir>

	* biquad.c (moogvcf): check max is acceptable; if zero make 1

2001-11-07    <jpff@codemist.co.uk>

	* ugrw1.c (zakRESET): New function (Gabriel)

	* main.c (mainRESET): Added zakRESET

	* sfont.c: Corrected various constants

	* ugsc.c (resonr): Improved speed by using immediate variables
	rather than indirect.
	(resonz): ditto

2001-11-04    <jpff@codemist.co.uk>

	* sread.c (sread): Remove call to extend_nxp after label again as
	it was wrong.  Allow salcblk to do this safely

2001-10-29    <jpff@codemist.co.uk>

	* biquad.c (rezzy): Protect filter if rez is zero

	* sread.c (getpfld): if ( = ) should have been if ( == )
	(getpfld): twice

2001-10-22    <jpff@codemist.co.uk>

	* sread.c (sget1): Apparent off-by-one error in macro args fixed
	(expand_nxp): Should be mcalloc rather than mmalloc
	(salcinit): Ditto

2001-10-20    <jpff@codemist.co.uk>

	* sfont.c (SoundFontLoad): Improved error message when failing to open

2001-10-13    <jpff@codemist.co.uk>

	* pvfileio.c (pvoc_updateheader): Change variable pos to signed

2001-10-07    <jpff@codemist.co.uk>

	* cwin.cpp: Added BUTTON_DAC and supporting functions

	* oscbnk.h (OSCBNK_PHS2INT): Revised definition to improve phase
	calc (Ivan)

2001-10-06    <jpff@codemist.co.uk>

	* fgens.c: Extend fgen table to 42
	(gen24, gen40, gen41, gen42): New code

	* uggab.c (ikRangeRand, aRangeRand, randomi_set, krandomi)
	(randomi, randomh_set, krandomh, randomh, random3_set, random3)
	(random3a): New Code

	* entry2.c: Added opcode cuserrnd and function urd

	* uggab.c (ikDiscreteUserRand, aDiscreteUserRand)
	(ikContinuousUserRand, aContinuousUserRand): New code

2001-10-01    <jpff@codemist.co.uk>

	* uggab.c (jitters_set, jitter_set, jitter2_set): Added
	initialisation of p->phs

	* pvread.c (pvreadset):
	* ugens8.c (pvset): Added additional checks (RWD)

2001-09-29    <jpff@codemist.co.uk>

	* VERSION 4.15

	* getstring.c (getstring): Added a second argument to be the
	default string
	(init_getstring): Allow null db

	* aops.c (cpstun_i, cpstun): New functions

	* oscbnk.h:
	* oscbnk.c: New code

	* entry2.c: Added oscbnk

	* spat3d.c (spat3d): Corrected mindep to maxdep (Istvan)

	* uggab.c (jitter2_set, jitter2, jitter_set, jitter, jitters_set)
	(jitters, jittersa): New code from Gabriel

	* uggab.h: Added JITTER, JITTER2 and JITTERS

	* cmath.c (seedrand): Added holdrand to remember last random
	number (for vibrato)

	* entry2.c: Added vibrato and vibr; jitter, jitter2, jspline

	* uggab.c (vibrato_set, vibrato, vibr_set, vibr): New code from Gabriel

	* uggab.h: Added VIBRATO and VIBR

2001-09-02    <jpff@codemist.co.uk>

	* schedule.c (triginset): Added code from re to enable proper
	i-time operation
	(ktriginstr): and enable deferred-action instrument turnoff

2001-08-31  John ffitch  <jpff@weir>

	* biquad.c (biquada): New code

	* entry1.c: Added biquada opcode

2001-08-26    <jpff@codemist.co.uk>

	* cwin.rc: Correct layout

	* ugens1.c (adsrset1): Clear out space if not skipping init

	* musmon.c (gettempo): New function
	* midiops.h (struct GTEMPO):
	* entry2.c: Add tempoval opcode

2001-08-25    <jpff@codemist.co.uk>

	* pvanal.c (pvanal): Allow .pvx, .Pvx etc

	* soundio.c (int24ptran): Need to output 0/1/2 or 1/2/3 depending
	on endianness

	* argdecode.c: Add declaration of readOptions

	* vdelay.c (reverbx_set): The division by esr was not assigned

	* entry1.c: Entry for soundin had 4 too few m's

2001-08-20    <jpff@codemist.co.uk>

	* pvxanal.c (pvxanal): Add total_sampsread

	* main.c (main): Call init_pvsys to be sure

2001-08-19    <jpff@codemist.co.uk>

	* VERSION 4.13 (yes i know should have been 4.14)

	* uggab.c (lpshold, loopseg, loopseg_set): New code

	* mxfft.c:
	* pvxanal.c:
	* pvsanal.c:
	* pstream.c
	* pvfileio.c: New code

	* memalloc.c: changes to avoid potential memory leaks

	* memfiles.c (find_memfile): New function
	(add_memfil): new function

	* sndinfUG.c (filelen): Handle pvoxex files
	(filepeak): Handle peak-chunks in all formats
	(anal_filelen): New function

	* ugens8.h: Added fields frInc and chans to PVOC structure

	* ugens8.c: Support for pvocex
	(pvset): Ditto
	(pvoc): Concern about memory leak
	(pvx_loadfile): New function

	* pvread.c (pvocex_loadfile): New function
	Support for pvocex files
	(pvreadset): Ditto

	* pvanal.c: Added pvstream stuff

	* entry2.c: Added opcodes =_f, pvsanal, pvsynth, pvsadsyn,
	pvscross, pvsfread, pvsmaska, pvsftw, pvsftr, pvsinfo

	* rdorch.c (argtyp): Allow f type, and simplify code
	(getoptxt): Ditto
	(intyperr): Ditto

	* otran.c: Added pvstreaming; include pstream.h, new variables
	lclpcnt and lclnxtpcnt
	(otran): Initialise lblnxtpcnt
	(otran): set in ip structure
	(insprep): Initialise lplnxtcpcnt
	(lclnamset): Recognise f variables
	(lcloffndx): ditto

	* cs.h: filename array larger in MEMFIL
	new field lblpcnt in INSTRTXT

2001-08-17    <jpff@codemist.co.uk>

	* soundio.c:
	* midirecv.c:
	* linevent.c: Added MACOSX case

2001-08-14    <jpff@codemist.co.uk>

	* entry1.c: Added deltapx and deltapxw opcodes

	* ugens6.h: Structures for deltap

	* ugens6.c (tapxset, deltapx, deltapxw): New functions

	* vdelay.c: patches from Istvan

	* entry2.c: Added spat3d. spat3di and spat3dt

	* spat3d.h:
	* spat3d.c: New code

2001-08-13    <jpff@codemist.co.uk>

	* bbcut.h:
	* bbcut.c: New code

	* entry2.c: Added bbcut opcodes

2001-08-08  J P Fitch  <jpff@maths.bath.ac.uk>

	* midirecv.c (sensMidi): Stupid typing error lost MIDI on Mac
	(Thanks to matt pointing this out)

2001-08-01    <jpff@codemist.co.uk>

	* oload.c (oload): Changed test for integer overflow to unsigned short

	* express.c:
	* otran.c: Removed (commented out) various messages about
	extending pools etc

2001-07-14  John ffitch  <jpff@weir>

	* ugens4.h: New field in GBUZZ to remember last

	* ugens4.c (gbuzz): Remember last value to get sign of small denom
	case right
	(gbzset): Initial last to +1

2001-07-01    <jpff@codemist.co.uk>

	* makedb.c:
	* getstring.c:
	* Makefile: Changed extension from .txt to .xmg to avoid
	confusions

2001-06-18    <jpff@codemist.co.uk>

	* soundin.c (sndgetset):
	(sndinset): Use the field

	* soundio.h: Added a datapos field to SOUNDIN

	* lowpassr.h: Added data for recalculation avoidance

	* lowpassr.c (lowpr): Recalculate coefficients only if there has
	been a change
	(lowprx): Ditto

2001-06-14    <jpff@cage.codemist.co.uk>

	* wave.c:
	* soundio.h:
	* soundio.c:
	* soundin.c (getstrformat, getsizformat, bytrev3, sndgetset)
	* sndinfUG.c (filelen, getsndinfo):
	* sfheader.c (readheader): 24bit support

	* diskin.c (sngetset, newsndinset, soundinew, sndwrt3)
	(sndwrt3rev, sndwrtfrev, sndo1set, sndo1set): 24bit support and
	bug fixes

	* cwin.cpp (class CArg, OnInitDialog):
	* cvanal.c (takeFFT):
	* argdecode.c (argdecode):
	* aiff.c (aiffReadHeader): Added 24bit support
	(write_aiffpeak): Ditto

2001-06-06  J P Fitch  <jpff@maths.bath.ac.uk>

	* fout.c (infile_set): Bug fix from Gabriel

2001-05-26    <jpff@cage.codemist.co.uk>

	* ugens8.c (pvset): Remember value of mfp which seemed to be
	missing

2001-05-24    <jpff@cage.codemist.co.uk>

	* soundin.c: Add n-channel support message, and change t0 input
	from upto 24 channels.

	* soundio.h: Changes to SOUNDIN structure to match

	* english-strings: new string 1556

2001-05-20    <jpff@cage.codemist.co.uk>

	* vpvoc.c (vpvset):
	* ugens9.c (cvset):
	* ugens5.c (lprdset):
	* ugens3.c (adset):
	* soundin.c (sndgetset):
	* sndinfUG.c (getsndinfo):
	* pvread.c (pvreadset):
	* pvinterp.c (pvbufreadset, pvinterpset):
	* pvadd.c (pvaddset):
	* diskin.c (newsndinset, sndo1set):
	* OSC-sock.c (osc_send_set):
	* ugens8.c (pvset): Fence post.  Need to check <= to use strset.

2001-05-18    <jpff@cage.codemist.co.uk>

	* fgens.c (gen01raw): No need to check p->channel greater than
	ALLCHNLS with new value of that variable

	* cs.h (ALLCHNLS): redefined as 0x7fff which is maximum positive

2001-05-15    <jpff@cage.codemist.co.uk>

	* dnoise.c: Merge back macintosh changes

	* babo.c (bround): changed name to avoid macintosh problems

2001-05-12    <jpff@broom.codemist.co.uk>

	* perf.c (InitSioux): Make title string a Pascal string

2001-05-09    <jpff@cage.codemist.co.uk>

	* pvanal.c (pvanal): Added -H option to control window type
	(Hamming/hanning)
	(takeFFTs): Use window type from variable WindowType

2001-05-05    <jpff@cage.codemist.co.uk>

	* VERSION 4.13

	* dnoise on macintosh fixed etc

	* argdecode.c (argdecode): Added -@ option to read command line
	from a file, using readOptions from csd format

2001-05-04    <jpff@cage.codemist.co.uk>

	* linevent.c (sensLine): read may have got more than one line.
	Fix due to Timo Thomas

2001-05-03    <jpff@cage.codemist.co.uk>

	* memfiles.c (LoadFile): Remove unused argument foo
	(ldmemfile): and in call

	* pvoc.c (PVReadFile): Remove function as seems unused

2001-05-01    <jpff@cage.codemist.co.uk>

	* soundio.c (sfopenout): Added /dev/dsp as a synonym for dac on
	GNU/Linux

2001-04-18    <jpff@cage.codemist.co.uk>

	* vdelay.c (vdelay): Ensure delay line is 1 longer for safety

2001-04-14    <jpff@cage.codemist.co.uk>

	* pitch.h (struct PFUN): and structure

	* pitch.c (pfun): New function

	* entry2.c: Added p() function

2001-04-08    <jpff@cage.codemist.co.uk>

	* insert.c: Declaration of opcodlst was wrong; make OENTRY*

	* vdelay.c (reverbx_set): Rewrote memory allocation to avoid
	nested auxch as that does not work
	(reverbx): and change usage in here

2001-04-07    <jpff@cage.codemist.co.uk>

	* vdelay.c (reverbx_set): Increase size of auxalloc call as it was
	too small.

2001-04-03    <jpff@cage.codemist.co.uk>

	* one_file.c (readOptions): Move the argv++ to after the tracing;
	and then remove totally as it is wrong

2001-03-25    <jpff@cage.codemist.co.uk>

	* VERSION 4.12

	* hetro.c (hetro): Need %lf in case 'M' as it is double (thanks to
	Jim Croson)

2001-03-20  J P Fitch  <jpff@maths.bath.ac.uk>

	* vdelay.c (vdelayxw,vdelayxws,vdelayxwq): Modifications from Ivan

2001-03-18    <jpff@cage.codemist.co.uk>

	* rtwin32.c (recopen): Typing error (OUT instead of IN) corrected
	(thanks to Bobby McNulty Junior)

2001-03-06    <jpff@cage.codemist.co.uk>

	* vdelay.c: Added opcodes

	* entry1.c: Added opcodes vdelayxwq, vdelayxws, vdelayxw,
	vdelayxq, vdelayxs and vdelayx

	* soundio.h:
	* sfheader.h: Ircam format should be float (not MYFLT)

2001-03-04    <jpff@cage.codemist.co.uk>

	* uggab.c (mirror): A return added in xlow >= xhigh case

2001-02-28    <jpff@cage.codemist.co.uk>

	* midiops.c (imidiaft, maftset, midiaft): New code for polyaft opcode

	* entry1.c: Added polyaft opcode

	* ugmoss.c: New file
	* ugmoss.h: New file

	* entry2.c: Added dconv opcode

2001-02-24    <jpff@cage.codemist.co.uk>

	* pitch.c (maca): Ensure that it can be used with overlapping
	answer and argument variable
	(mac): Ditto

	* sread.c (expand_nxp): New function to expand space, and called
	from a number of places some new.

	* vdelay.c (reverbx_set): Correct level problem in reverb2

	* uggab.c (sum): Ensure that it can be used with overlapping
	answer and argument variable
	(product): Ditto

2001-02-21  John ffitch  <jpff@weir>

	* rdorch.c (rdorchfile):
	* sread.c (sget1): Allow escaped # in macro body

2001-02-18    <jpff@cage.codemist.co.uk>

	* swrite.c: Allow sign after exponential (thanks to Paul Isaacson)

2001-02-17    <jpff@cage.codemist.co.uk>

	* ugens6.c (delay): Allow input signal to be the same as output signal
	(log001): Make a #define constant rather than a variable

2001-02-14    <jpff@cage.codemist.co.uk>

	* vdelay.c (reverbx): Copy the input into the temp buffer for the
	combs so input and output variables can be the same.

2001-02-13    <jpff@cage.codemist.tc>

	* main.c (signal_to_string): Renamed sig2str as signal_to_string
	to avoid possible name clashes

2001-02-13    <jpff@wol.codemist.tc>

	* one_file.c: Define L_tmpnam in Windows case as was too small.
	Also put the extensions back

2001-02-07    <jpff@cage.codemist.tc>

	* one_file.c: Changed calls to tmpnam so they do not add the .orc
	or other extension as that seems to kill Windows2K

2001-02-06    <jpff@cage.codemist.tc>

	* one_file.c (blank_buffer): Failed to increment i!!  Thanks
	Gabriel.

2001-02-04    <jpff@cage.codemist.tc>

	* VERSION 4.11

	* pitch.h (struct): New field noinsert

	* pitch.c (waveset): Correct case when pointers meet

2001-02-03    <jpff@cage.codemist.tc>

	* main.c (main): and use it

	* one_file.c (read_unified_file): Change argument to be char **

2001-01-31    <jpff@cage.codemist.tc>

	* pitch.c (wavesetset): Make length test for <=1 incase of MIDI use

2001-01-27    <jpff@cage.codemist.tc>

	* util2/dnoise.dir/dnoise.c (main): Some messages corrected

2001-01-26    <jpff@cage.codemist.tc>

	* one_file.c (read_unified_file): remove strcpy as there was no
	guarantee of sufficient space

2001-01-21    <jpff@cage.codemist.tc>

	* lpanal.c (gauss): Removed false code based on assumption of pivot.

2001-01-20    <jpff@cage.codemist.tc>

	* entry2.c: Added barriage opcode

	* pitch.c (wavesetset): New function
	(waveset): New function and opcode

2001-01-12  John ffitch  <jpff@weir>

	* aifc.c (aifcReadHeader): General confusions fixed I hope (thanks
	RWD and Jim Crosson)

	* cwin.cpp (DisplayText): New function for flashtext

2001-01-11  John ffitch  <jpff@weir>

	* soundio.c (sfopenin, sfopenout): "devaudio" has 8 characters not 7!

	* entry1.c: rtclock_i should not have had an argument
	but ftlen_i should

2001-01-06    <jpff@cage.codemist.tc>

	* nsliders.tk (settext): New code to display text boxes
	(deltext): and to delete them

	* control.c (textflash): New function to display text windows

	* control.h (struct): New TXTWIN structure

2001-01-05    <jpff@cage.codemist.tc>

	* VERSION 4.10

	* soundio.c (sfopenout): Allow devaudio# and dac# as realtime
	players.

2001-01-02    <jpff@cage.codemist.tc>

	* physmod.c: Comment out DLineA_clear as not used

	* hrtferX.c (hrtferxk): Make crossfade unused as it created clicks

	* express.c (copystring): New function -- like strdup but uses
	mmalloc
	(express): use copystring rather than fixed size arguments

2000-12-31    <jpff@cage.codemist.tc>

	* util2/mixer/mixer.c (main): make default output have .wav or
	.aif tag as in main system

2000-12-30    <jpff@cage.codemist.tc>

	* util2/dnoise.dir/: new utility to remove noise from
	samples

	* entry1.c: Added tbvcf opcode

	* biquad.c (tbvcfset, tbvcf): New code from Hans

2000-12-29    <jpff@cage.codemist.tc>

	* entry2.c: Change name of opcode to "sensekey"

	* entry1.c: Change vco to have optional arguments

	* rdorch.c (splitline): A little more cautious in /* ... */
	comments wrt newlines.
	(splitline): and fix some unclear bug by rewriting

2000-12-23    <jpff@cage.codemist.tc>

	* entry2.c: Added keyhit as an opcode

	* entry1.c: rtclock opcode as _i and _k

	* aops.c (rtclock): Support for reading rt-clock

	* ugens4.c (rndset): Allow seed from clock is >1
	(rhset, riset): Ditto

	* entry2.c: Entry for sense was wrong (needs 2 rather than 3 as no init)

2000-12-20    <jpff@cage.codemist.tc>

	* entry1.c: Added additional optional argument to comb and alpass

	* ugens6.c (cmbset): Allow delay in samples for comb and alpass

	* ugens6.h (COMB): Add insmps optional argument to COMB

2000-12-18    <jpff@cage.codemist.tc>

	* vbap_zak.c (vbap_zak_control, vbap_zak_moving_control):
	* vbap_sixteen.c (vbap_SIXTEEN_control)
	(vbap_SIXTEEN_moving_control):
	* vbap_eight.c (vbap_EIGHT_control, vbap_EIGHT_moving_control):
	* vbap_four.c (vbap_FOUR_control, vbap_FOUR_moving_control):
	It was possible for these to overwrite; loop now starts at 1

	* sfheader.c (writeheader):
	* midirecv.c:
	* linevent.c (RTLineset): Minor preprocessing error

	* cs.h: Set _macintosh when necessary

2000-12-17    <jpff@cage>

	* entry2.c: New opcode lpf18

	* pitch.h (struct LPF18):
	* pitch.c (lpf18set, lpf18db): New code for LPF with 18dB falloff.

2000-12-15    <jpff@cage>

	* swrite.c: Replaced fltout by fprintf -- still not sure about this!

	* pitch.c (ksense): Added use of _kbhit and _getch for Windows/DOS

	* pvdlg.cpp (DoDataExchange): Two cases were plain wrong!

2000-12-14    <jpff@cage>

	* lpanal.c: Some general code tidying

2000-12-11    <jpff@cage>

	* many files: standardise on _macintosh flag

2000-12-08    <jpff@cage>

	* argdecode.c (argdecode): Set utility title in mac

	* soundio.c (audwrt4): Skip code for now
	(audwrtrev4): Ditto

	* soundin.c (getsndin): from matt -- only set gain if positive

2000-12-08  J P Fitch  <jpff@maths.bath.ac.uk>

	* aops.c (dbfsamp):
	(ampdbfs):
	(aampdbfs): New code for full scale dB

2000-12-08    <jpff@cage>

	* argdecode.c (argdecode): Added call to create_opcodlst to ensure
	opcode list is made.

	* main.c (create_opcodlst): Cannot be static as needed elsewhere,
	like opcodes

2000-12-07    <jpff@cage>

	* sfont.c (fill_SfPointers): Added check for sfont format, and new
	X_1555

2000-12-06    <jpff@cage>

	* entry2.c: Added varicol opcode

	* pitch.c (varicolset):
	(varicol): New code for variable coloured noise.

	* pitch.h (struct): New structure for variable coloured noise

2000-12-05    <jpff@wol>

	* Cwin.cpp (OnSliders): Display sliders 1 rather than zero

2000-12-03    <jpff@cage>

	* VERSION 4.09: released

	* pluck.c:
	* wavegde.c: Rewrite significant parts; in particular remove
	general filter for 3 point FIR which is all that is used

2000-11-27    <jpff@cage>

	* aiff.c (aiffReadHeader): Str X_65 had arguments in wrong order
	in printf

2000-11-26    <jpff@cage>

	* pluck.c (pluckExcite): Move pickup point from here
	(pluckGetSamps): To here

2000-11-25    <jpff@cage>

	* wavegde.c (error): String 259 was wrong

	* pluck.c (pluckPluck): Change spurious floating point constants
	to FL() or integer.

2000-11-24    <jpff@cage>

	* uggab.c (lposc_set): Change from Gabriel/Rasmus

	* ugens3.c (loscil3): Added check for exact end of loop
	(loscil):
	(loscil):
	(loscil3): on advice from Hedman

2000-11-21    <jpff@cage>

	* fgens.c: Declare gen16 and add to table
	(gen16): New function

2000-11-19    <jpff@cage>

	* sftype.h:
	* sf.h: Corrected MSVC pack command

	* pitch.h: NSEG and TRANSEG structures

	* pitch.c (trnset, trnseg, ktrnseg): New code for transeg opcode

	* entry2.c: transeg opcode

2000-11-18    <jpff@cage>

	* ugens1.c (xsgset): Fixed potential bug in xsgset with reusing vector

	* sf.h: Added pack(1) for macintosh

2000-11-12    <jpff@cage>

	* sfont.c (filter_string): new function to remove unprintable
	characters which kill xterms etc

2000-11-06    <jpff@cage>

	* sfheader.c (readheader): Inadvertent change of
	AUDIO_ENCODING_FLOAT to AUDIO_ENCODING_MYFLT
	(writeheader): and again

2000-10-25    <jpff@cage>

	* entry2.c: setctrl allowed string argument

	* nsliders.tk: New function, setlab

	* control.c (ocontrol): Added case 4 to set label to slider

2000-10-16    <jpff@cage>

	* one_file.c (checkVersion): New function to allow version
	checking in .csd files
	(read_unified_file): And call it

2000-10-14    <jpff@cage>

	* ugens4.c (BIPOLAR): New constant
	(krand):
	(arand):
	(krandh):
	(randh):
	(krandi):
	(randi): Make 31-bit PRNG give bipolar results.

	* entry2.c: Added babo opcode

	* babo.c:
	* babo.h: New code [Note special copyright terms] from Nicola

	* ustub.h: Add peakchunks

	* oload.c (instance):
	* otran.c (insprep):
	* oload.h (LABELIM): Changed MINSHORT to MIN_SHORT to avoid silly
	problems

2000-10-11    <jpff@cage>

	* aiff.c (aiffWriteHdr):
	(aiffReWriteHdr):
	* wave.c (wavWriteHdr): Do not write PEAK if not wanted
	(wavReWriteHdr): Ditto

	* argdecode.c (argdecode): Case K for peak chunks

	* main.c (main): Add peakchunk variable

2000-10-08    <jpff@cage>

	* BeAudio.c:
	* Makefile.be:
	* argdecode.c:
	* cs.h:
	* main.c:
	* midirecv.c:
	* midisend.c:
	* rtBe.c:
	* sysdep.h:
	* vbap.c:
	* winBe.c: BeOS patches from Jens Kilian

2000-10-01    <jpff@cage>

	* one_file.c (readOptions): Added // and /* */ comments

	* rtlinux.c: Changed some floats to MYFLT (thanks to Nicola Bernardini)

2000-09-30    <jpff@cage>

	* vdelay.c: Simplified constants for cc_time and ca_time; comment
	out the original nreverb code

	* entry2.c: Made reverbx the nreverb code as it is a strict superset

2000-09-27    <jpff@cage>

	* vdelay.c (reverbx_set):
	(reverbx): New code, replacing vreverb code.

	* entry2.c: Added reverbx from re (replacing vreverb)

2000-09-25  J P Fitch  <jpff@maths.bath.ac.uk>

	* wave.c (wavReWriteHdr): One case of MYFLOAT should have been
	float (Nicola B.)

2000-09-24    <jpff@cage>

	* entry2.c: Added vreverb opcode

	* vdelay.c (vreverb_set): New code
	(vreverb): New code

	* vdelay.h (VREV): new struct

	* pitch.c (ksense): New code to read keyboard input

	* main.c (create_opcodlst): New function to create entry table
	from bits.
	(main): and use it

	* rdorch.c: Changed opcodlst to * from []
	* oload.c:
	* otran.c:
	* opcode.c:
	* schedule.c

	* oload.c: Add declarations of opcodlst and oplstend as really
	here

	* entry1.c:
	* entry2.c: Replace entry.c

2000-09-22    <jpff@cage>

	* pitch.c (ksense): Added CWIN version of keysensing

2000-09-21  John Fitch  <jpff@lansky>

	* VERSION 4.08

	* musmon.c (musmon):
	* main.c (main): Change banner to indicate 64bit version

2000-09-19  John Fitch  <jpff@wol>

	* CSliders.cpp: New code for buttons and checks

	* CSliders.h: Ditto

	* Cwin.cpp: and the same

	* control.c (check_set):
	(check):
	(button_set):
	(button): Added for Windows

2000-09-17    <jpff@cage>

	* dumpf.c (nkread): Reading needs to take account of MYFLT

	* entry.c: Added button and checkbox opcodes

	* control.c (check_set):
	(check):
	(button_set):
	(button): New functions; also reorganise code for starting and reading

	* nsliders.tk: Added title. and pack -after for sliders.  Should
	allow placement of buttons

	* pitch.c (impulse,impulse_set): Code for mpulse opcode

2000-09-16    <jpff@cage.codemist.tc>

	* entry.c: Added impulse opcode (mpulse)

2000-08-27  John ffitch  <jpff@weir>

	* phisem.c (bambooset): Shake_damp needs to be set; maybe on
	others as well?
	(wuterset): Ditto
	(sleighset): Ditto
	(guiroset): Ditto
	(tambourset): Ditto

2000-08-18    <jpff@cage>

	* Rename window.h to cwindow.h to avoid Windows problem.  Change
	in many files including makefiles

	* ALL:  FLOAT -> MYFLT to avoid problems with Windows

	* hetro.c:
	* soundio.c:
	* pitch.c:
	* aifc.c:
	* aiff.c:
	* aops.c:
	* argdecode.c:
	* biquad.c:
	* bowedbar.c:
	* butter.c:
	* cmath.c:
	* cross2.c:
	* cs.h:
	* cscorfns.c:
	* cvanal.c:
	* dam.c:
	* dcblockr.c:
	* diskin.c:
	* disprep.c:
	* dsputil.c:
	* dsputil.h:
	* dumpf.c:
	* extract.c:
	* fft.c:
	* fgens.c:
	* flanger.c:
	* fm4op.c:
	* follow.c:
	* fout.c:
	* grain.c:
	* grain4.c:
	* hrtferX.c:
	* insert.c:
	* interpol.c:
	* linevent.c:
	* locsig.c:
	* lowpassr.c:
	* lpanal.c:
	* lptrkfns.c:
	* mandolin.c:
	* midiops.c:
	* midiops2.c:
	* midiops3.c:
	* midiout.c:
	* midirecv.c:
	* modal4.c:
	* moog1.c:
	* moog1.h:
	* musmon.c:
	* musmon.c:
	* nlfilt.c:
	* oload.c:
	* otran.c:
	* phisem.c:
	* physmod.c:
	* physutil.h:
	* pluck.c:
	* ptrigtbl.h:
	* pvadd.c:
	* pvanal.c:
	* pvinterp.c:
	* pvocext.c:
	* pvread.c:
	* rdscor.c:
	* repluck.c:
	* revsets.h:
	* scansyn.c:
	* schedule.c:
	* sfont.c:
	* shaker.c:
	* singwave.c:
	* sndinfo.c:
	* sndwarp.c:
	* soundin.c:
	* soundio.h:
	* space.c:
	* spectra.c:
	* sread.c:
	* sysdep.h:
	* twarp.c:
	* ugens1.c:
	* ugens2.c:
	* ugens3.c:
	* ugens4.c:
	* ugens5.c:
	* ugens6.c:
	* ugens7.c:
	* ugens8.c:
	* ugens9.c:
	* ugensa.c:
	* uggab.c:
	* ugrw1.c:
	* ugrw2.c:
	* ugsc.c:
	* vbap.c:
	* vbap.h:
	* vbap_eight.c:
	* vbap_four.c:
	* vbap_sixteen.c:
	* vbap_zak.c:
	* vdelay.c:
	* vpvoc.c:
	* wavegde.c:
	* winEPS.c:
	* wincwin.c:
	* windin.c:
	* window.c: Deal with floating constants and in a few places
	corrected confusions between float and FLOAT

	***** SPELL-CHECKED TO HERE *****
	
2000-08-17    <jpff@cage>

	* soundio.c: flinbufp and floutbufp shoudl be float (not FLOAT)

	* pitch.c (GardnerPink_init): Variable float -> FLOAT

	* fout.c (infile_float): Sort out confusion between float and
	FLOAT

	* ugens1.h (struct EXPSEG2): float -> FLOAT

2000-08-15    <jpff@cage>

	* anal/adsyn/makef (OBJS): Include sdif code

	* sdif-mem.c:
	* sdif.c:
	* sdif.h:
	* sdif-mem.h: New file (SDIF again)

	* text.h (X_MAXNUM): Increase to 1551

	* Hetro.c: added SDIF stuff

2000-08-14    <jpff@cage>

	* midisend.c: Added FreeBSD code for soundcard

	* argdecode.c (usage): Error message number changed for dithering
	to 1537.

2000-08-13    <jpff@cage>

	* entry.c: Add optinal argument to guiro -- a bug fix

	* sread.c (sget1): Typing error ommits c== in c=='_', twice

2000-08-07    <jpff@cage>

	* VERSION 4.07

	* midiops.c (mctlset): Change default value to lo setting

2000-08-06    <jpff@cage>

	* entry.c: Added opcodes cabasa, "crunch", "sekere", "sandpaper",
	"stix", "guiro", "tambourine", "bamboo", "waterdrip", "sleighbells"

	* phisem.c:
	* phisem.h: New files for phisem instruments from STK 3.1

2000-08-05    <jpff@cage>

	* vbap.c (choose_ls_triplets): Move array connections to malloced
	space as rather too big for some architectures.

	* vdelay.c (nreverb): Set time to 0.001 instead of zero which
	gives inf values.  Also test for <=0 rather than just negative.
	Also change error message 356
	(reverb2_play): Ditto

2000-08-02    <jpff@cage>

	* main.c (install_signal_handler): Added support for OS/2

2000-07-30    <jpff@cage>

	* soundin.c (sreadin): Added WAV to code for AIFF/AIFC

2000-07-25    <jpff@cage>

	* swrite.c (fpnum): Allow E and e format in numbers

2000-07-22    <jpff@cage>

	* bowedbar.c: File file from STK3.1
	* bowedbar.h: File file from STK3.1
	* entry.c: Added wgbowedbar opcode

2000-07-17    <jpff@cage>

	* modal4.c (vibraphnset): Strike position was not set at all
	(agogobelset): Strike position now used, and modified gains

	* fm4op.c: All over changed ADSR parameters to STK3.1 values

2000-07-16    <jpff@cage>

	* physutil.c (ADSR_setAllTimes): New function to keep in step with STK3.1

	* modal4.c (agogobelset): Change filter gains to value in STK3.1
	(marimbaset): Ditto

2000-07-14    <jpff@cage>

	* aiff.c (aiffReadHeader): Added missing argument to message

2000-07-13    <jpff@cage>

	* filopen.c (sssfinit): Editing error corrected ## -> #

	* physmod.c (bowedset): Instantiated teh length/2 code as in later STK

2000-07-02  John Fitch  <jpff@wol>

	* pvlook.c: Added code to log output from Windows

	* pvlookdlg.cpp: Added dialog info for output

2000-07-01  John Fitch  <jpff@lansky>

	* pvdlg.cpp (DoDataExchange): Check for illegal hopsize was backwards

2000-07-01    <jpff@cage>

	* sread.c (getscochar):
	* rdorch.c (rdorchfile): Patch (in part) from Istvan Varga for _
	in macro names more safely

2000-06-26    <jpff@cage>

	* entry.c: Added clip opcode

	* one_file.c (createSample): New function to read base64 encoded
	samples
	(read_base64): New function to allow multiple use
	(deleteSamp): Delete samples created
	(read_unified_file): Added <CsSampleB filename=%d> option
	and <CsFileB filename=%s>
	(createFile): Create file locally if safe from Base64

2000-06-23    <jpff@cage>

	* util1/sortex/xmain.c (fopen_path):
	* util1/sortex/smain.c (fopen_path): $s should be %s twice

2000-06-19    <jpff@cage>

	* rdorch.c (rdorchfile):
	* sread.c (sget1): Allow _ as a part of a macro name

	* one_file.c (createMIDI2): Added Base64 encoded MIDI files
	(read_unified_file): and direct to it

2000-05-28    <jpff@cage>

	* VERSION 4.06

	* entry.c: Added trigseq and seqtime opcodes

2000-05-26    <jpff@cage>

	* pitch.c: Added pinkish code.

	* pitch.h (struct): Added PINKISH structure

	* entry.c: Added pinkish opcode (re)

2000-05-25    <jpff@cage>

	* entry.c: Added opcodes sfplay3, sfplay3m, sfinstr3, sfinstr3m

	* sfont.c etc: many changes.  Lots of ANSI corrections and layout

2000-05-14    <jpff@cage>

	* entry.c: control and setctrl for Tcl/Tk and renamed for CWin

	* sliders.tk: New file (needs serch paths?)

	* control.c: Added Tcl/Tk version of sliders

2000-05-13    <jpff@cage>

	* getstring.c (init_getstring): Removed unnecessary new name
	variable, as also wrong!

2000-05-10    <jpff@cage>

	* aops.c (inall): Change to read a single numbered channel only

2000-05-09    <jpff@cage>

	* vbap.h: Added zak opcoes, increased channels to 64

	* vbap_zak.c: New file

	* entry.c: Added vbap_zak opcodes

2000-05-08    <jpff@cage>

	* schedule.c: Change to triggering on negative triggers etc

	* midirecv.c:
	(MidiOpen):
	(MidiOpen): Added OS2 support

	* main.c (main): Added OS2 support

2000-05-07    <jpff@cage>

	* soundio.c (audwrite_norm):
	(audwrite): Make Heartbeat==3 use title bar in CWIN case

	* fgens.c (gen23): Use fopenin rather than fopen
	(gen28): Ditto

	* filopen.c (fopenin): Like openin, but also looks in INCDIR

	* vpvoc.c: Check that there is a segment table

	* aops.c (outz): New opcode to link XAK to output
	(inz): and input to zak

	* cs.h (MAXCHNLS): Change max number of channels to larger number 256

	* aops.c (inn): New function for below
	(in16):
	(in32):
	(inall): New opcodes for larger numbers of channels

	* entry.c: Added opcodes inx, in32 and inc

2000-05-02    <jpff@cage>

	* makefile (CSRCH): Added vbap.c vbap_four.c vbap_eight.c vbap_sixteen.c

	* vbap.c:
	* vbap_four.c:
	* vbap_eight.c:
	* vbap_sixteen.c:
	* vbap.h: New files for VBAP opcodes

	* entry.c: Added vbap opcodes

2000-04-26    <jpff@cage>

	* entry.c: Change madsr to call madsrset as below

	* ugens1.c (adsrset1): Only set xtra time if in MIDI
	context. Rename function from adsrset
	(adsrset): New function to use above
	(madsrset): Ditto

2000-04-23    <jpff@cage>

	* rdorch.c (getoptxt): Decode out->outx/outX

	* aops.c (outn): new function to handle multi-channel outouts
	(outx):
	(outX): Use for 16 and 32
	(outch): New code to write to numbered channel
	(outall): Write all channels of any number

	* aops.h: New structures OUTX and OUTCH

	* entry.c: New opcodes 2outx, out32 and outch

2000-04-22    <jpff@cage>

	* sread.c (getpfld): Check for curmem overflow in the loops
	(yeak!)

2000-04-21    <jpff@cage>

	* sftype.h:
	* sf.h: Added PACKED and pack() attributes

2000-04-16    <jpff@cage>

	* entry.c: Added additional argument to scans

	* scansyn.c (scsns_init): Made oscil_interp a selectable variable,
	defaulting to 4
	(scsns_play): And at play time

	* scansyn.h (struct): Added variables to select interpolation scheme

2000-04-10  John Fitch  <jpff@cage>

	* VERSION 4.05 released

	* fout.c (outfile_int_head):
	(close_files):
	* soundio.c (sfcloseout):
	(audwrite_norm):
	(audwrite):
	* wave.c (write_wavpeak):
	(wavReWriteHdr):
	* aifc.c (aifcReWriteHdr):
	* aiff.c (aiffReWriteHdr): Added verbose argument to control peak
	message

2000-04-04    <jpff@cage>

	* winX11.c (DrawGraph): Patch to deal with large graphs (David
	Ogborn)

2000-04-04  J P Fitch  <jpff@maths.bath.ac.uk>

	* fgens.c (gen23): Corrected deferred case

2000-04-03    <jpff@cage>

	* fgens.c: patched from David Ogborn

2000-04-03  J P Fitch  <jpff@maths.bath.ac.uk>

	* diskin.c (sreadinew): More peak stuff
	(sngetset): Ditto

2000-04-03    <jpff@cage>

	* util1/sortex/xmain.c (dies): Define this function
	* util1/sortex/smain.c (dies): Define this function

2000-04-02    <jpff@cage>

	* musmon.c (playevents): remove calls to write peak chunk as done
	elsewhere

	* soundio.c (audwrite_norm): Added normalisation stuff for WAVE floats
	(audwrtrev4): Same here
	(audwrt4): Abd fir none bytereversing version
	(sfopenout): FLOATS and LONGS now similar
	Call non-reversing fixups correctly

2000-03-31    <jpff@cage>

	* soundin.c: Changes all over to take account of gain stuff

	* sndinfo.c (sndinfo): Small change in case no data

	* sread.c (sread): Check can open file

	* one_file.c (read_unified_file): Check file was opned OK
	(createScore): Ditto

	* wave.c (wavWriteHdr): many changes to set correct variable-header
	length etc (RWD)
	(wavReWriteHdr): Ditto

	* aiff.c (aiffWriteHdr): Incorporate Peak chunk fully
	(aiffReWriteHdr): ditto
	(aiffReadHeader): ditto
	(aiffReadHeader): ditto
	(write_aiffpeak): Correct code (all RWD)

	* aifc.c: Extensive incorporation of Peak chuncks and other such
	(RWD)

2000-03-26  John ffitch  <jpff@maths.bath.ac.uk>

	* entry.c: Added opcodes scsnu,scsns, sfload, sfpreset, sfplay,
	sfplaym, sfplist, sfilist, sfpassign, sfinstrm, sfinstr

	* sf.h, sftype.h sfenum.h:
	* sfont.c: New files

2000-03-26  John  <jpff@cage>

	* midiops3.c:
	* midiops3.h: Change char to unsigned char throughout

2000-03-25  John  <jpff@cage>

	* scansyn.[ch]: New file implementing scanned synthesis

	* rdorch.c (lblfound): realloc forgot to multiply by
	sizeof(LBLREQ)
	(lblrequest): Did not extend in this case.

	* main.c (main): Added general signal handler to call exit so can
	do temporary clean-up

2000-03-22  John  <jpff@cage>

	* musmon.c (musmon): Remove extraneous fclose(scfp)

2000-03-21  John ffitch  <jpff@maths.bath.ac.uk>

	* soundio.c (bytetran): Add optional dithering of output

	* main.c: Added declaration of dither_output

	* argdecode.c: Added -Z option, and new string 1485

2000-03-17  John ffitch  <jpff@maths.bath.ac.uk>

	* VERSION 4.04 (Linux only: no notes)

	* ugens5.c (atone): output could destroy input before it was used.
	(atonex):  Ditto

2000-02-22  John ffitch  <jpff@maths.bath.ac.uk>

	* otran.c (otran): Calculation of tran_kr was wrong

2000-02-20  John ffitch  <jpff@montague>

	* VERSION 4.03

	* ugens4.c (krand): Added support for a base value
	(arand):
	(krandh):
	(randh):
	(krandi):
	(randi):

	* aiff.c (aiffReadHeader): If no loop in sample, pretend loops
	whole sample (experimental at present)

	* sfheader.c: Move definition of maxpos etc to this file

	* sndinfo.c: Change size of arrays to MAXCHNLS

2000-02-15  John ffitch  <jpff@montague>

	* soundio.h: New structures for peaks

	* wave.c (write_wavpeak):
	* aiff.c (write_aiffpeak): New function

	* musmon.c (playevents): Call functions to write peak chunk

	* grain.c (agsset): Clear buffer if reusing

2000-02-13  John ffitch  <jpff@montague>

	* wave.c (wavReadHeader): Started support for WAV loops

	* wave.h: Added smpl and SampleLoop structures

	* schedule.c (lfoa): Calculation of inc was wrong

2000-02-12  John ffitch  <jpff@montague>

	* ugens3.c (losset): Default base freq to middle C if missing

	* entry.c: follow2 opcode

	* follow.c (envset):
	(envext): New code

	* follow.h (struct ENV): New structure

2000-02-07  John Fitch  <jpff@wol>

	* one_file.c (mytmpnam): New function in WIN32 case

	* cs.h: Use mytmpnam of WIN32 systems

2000-02-06  John Fitch  <jpff@lansky>

	* util2/scale.dir/scale.c (main): Added code for M and P options
	(FindAndReportMax): Make return a value of maximum

2000-02-04  J P Fitch  <jpff@maths.bath.ac.uk>

	* util2/pvlook/pvl_main.c: Add #include for <stdio.h>

2000-02-03  John ffitch  <jpff@montague>

	* pvanal.c (pvanal): Set trfil to stdout in code rather than in
	initialisation.

	* midirecv.c (FMidiOpen): Set mfp to stdin in the open code rather
	than in initialisation.

	* getstring.c (init_getstring): #endif was one wrong line which
	broke CSTRINGS mechanism

2000-01-29  John ffitch  <jpff@montague>

	* VERSION 4.02

	* sread.c (ifa): Need tp set prvp2 in . and + cases, as well a ^

2000-01-13  John ffitch  <jpff@weir>

	* diskin.c, insert.c, memfiles.c, midirecv.c, pvanal.c
	* rtaudio.c, rtdirectX.c, rtwin32.c, wincwin.c, window.c, winwat.c
	Change IGNORE to IGN to please Windows

2000-01-07  John ffitch  <jpff@weir>

	* musmon.c (musmon): Close the scfp file (sorted score) so it can
	be deleted.

2000-01-06  John ffitch  <jpff@weir>

	* insert.c (kperf): Removed check for interaction in instr loop

2000-01-05  John ffitch  <jpff@weir>

	* rtwin32.c: Change type of indev to HWAVEIN as it should have been

	* schedule.c (queue_event): Added cast to float for insno

	* cwin.cpp (OnHScroll): Incorrect & changed to &&
	(AfterSizeChange): Ditto

	* cs.h (POLL_EVENTS): Error in cwin case?

	* ugrw1.c (tablew): Incorrect & changed to &&
	(ktablew): Ditto

1999-12-05  John ffitch  <jpff@montague>

	* fgens.c (gen23): Allow for negative numbers in reading, and
	initilaise p in open case.

	* insert.c (kperf): On Windows and Mac/BeOs silences were too
	long, possibly upto 127 cycles too long.

1999-11-27  John ffitch  <jpff@montague>

	* midiops3.c: Throughout slider code ensure min++ is obeyed after
	the assignment (undefined in ANSI C)

1999-11-23    <jpff@wol>

	* Cwin.cpp (cwin_exit): Use special code rather than AwaitInput,
	using wait_for_char variable
	(cwin_exit): Ditto
	(OnChar): Set  wait_for_char every time

1999-11-21  John ffitch  <jpff@montague>

	* VERSION 4.01

	* uggab.c (resony): Read flag field for log or linear separation

	* uggab.h: New field in RESONY structure

	* entry.c: Change in arguments to resony

	* schedule.c (queue_event): New function to schedule score events
	into future
	(schedule): Call insert_event or queue_event depending on when;
	note midi will only work on now events
	(kschedule): Same fix.

1999-11-20  John Fitch  <jpff@wol>

	* wincwin.c (DrawGraph): Add call to cwin_paint back

	* cwin.cpp (cwin_show): If picture in ontop do not redraw

1999-11-20  John ffitch  <jpff@montague>

	* all_strings, english-strings: Make version number print in x.xx
	format (237)

	* space.c (space): Use local variables rather than p->ch1 etc (RK)

1999-11-18  John ffitch  <jpff@montague>

	* pvinterp.c (pvbufreadset):
	* pvread.c (pvreadset): Change test to less than 128 for small
	frame size (RK)

1999-11-18  John Fitch  <jpff@montague>

	* argdecode.c (usage): Added message for -t0 and also error string
	425

1999-11-07  John ffitch  <jpff@montague>

	* VERSION 4.00 -- Version for CD-ROM

	* midirecv.c: Added AMIGA loading of <sgtty.h>

	* musmon.c (musmon): Only complain about no score if also no line
	events.

	* main.c (main): In normal use use a temporary for scorename and
	playscore; if -t0 use score.srt

	* argdecode.c (argdecode): usurp -t0 to mean keep tempraries

1999-11-02  John ffitch  <jpff@montague>

	* flanger.c (wguide2): Separate a- and k- rate cases, for speed
	against mixing
	(wguide1): Ditto

	* english-strings: Added error message 424

1999-10-31  John ffitch  <jpff@montague>

	* VERSION 3.591

	* shaker.c (shakerset): Do not crash is number of beans is zero

	* fgens.c (gen21): Ensure a scale of zero is make 1 if argument is
	missing

	* midirecv.c (MidiOpen): Misplaced #endif moved (<nicb@axnet.it>)

1999-10-25  John ffitch  <jpff@montague>

	* otran.c (insprep): Remove reassignment to nlabels, so it will
	act as a maximum.

1999-10-24  John ffitch  <jpff@montague>

	* rdorch.c (skiporchar): New function to skip to end of line,
	string or file

	* fgens.c (besseli): Make besseli a double->double function
	(gen20): rewrite kaiser case for effeciency and accuracy

	* cmath.h: Make besseli a double->double function

	* ugens6.c (delwset): Remove nulling of last_delayr
	(delrset): Check for first-delayr rather than last-delatr (Groh)

1999-10-16  John ffitch  <jpff@montague>

	* one_file.c (createScore):
	(createOrchestra): Use fputs rather than fprintf as should not
	interpret formats

1999-10-11  John ffitch  <jpff@montague>

	* VERSION 3.59

	* one_file.c (deleteScore): no longer static (same for sconame)

	* main.c (main): If no score given generate f0 86400 score, and
	arrange to delete at end

1999-10-10  John ffitch  <jpff@lansky>

	* main.c (main): Rearrange order of code to allow MIDI
	initialisation

	* one_file.c (my_fgets): New function to deal with PC/Unix/Mac
	files equally.

	* entry.c: Added ktableseg for tutorials

	* midiop2.c:
	* midiops3.h: Separate SLIDER* structs and code

	* entry.c: Correct structs for sliders

1999-10-09  John ffitch  <jpff@montague>

	* otran.c (constndx): Initial poolcount set to 1 for SSTRCOD

	* vpvoc.c (vpvset): If a table is given use it rather than
	remembered table[x]seg

	* vpvoc.h (struct): New field in VPVOC structure for optional
	argument to set table from f ops

	* one_file.c (createMIDI): Skip to newline after reading a MIDI file
	(read_unified_file): Set O.FMidiin if a MIDI file was given

1999-10-05  John ffitch  <jpff@montague>

	* linevent.c: If event is e no not complain about number of args

	* insert.c (MIDIinsert): Deal with pset in MIDI case
	(MIDIinsert): No error if psetdata set

	* one_file.c (read_unified_file): Only change Midi file if read
	(createMIDI): set flag

	* ugens1.h: Extra field xtra in LINSEG and EXPSEG

	* ugens1.c (mxdsrset): Added additional argument to length of release
	(lsgset): Set xtra to -1
	(adsrset): Deal with additional release
	(lsgrset): Set to -1
	(klnsegr):
	(linsegr):
	(xsgrset):
	(expsegr):
	(kxpsegr): More of same change

1999-10-02  John ffitch  <jpff@montague>

	* biquad.c:
	* entry.c: removed "nlalp" pending clarification of IPR

1999-09-26  John ffitch  <jpff@montague>

	* ugens5.c (tonset): Initialise constants more carefully
	(tonsetx): The same
	(tone): The same
	(tonex): The same
	(atone): The same
	(atonex): The same

	* ugens1.c (klnseg): Rewritten to be same as linseg wrt new
	segments

1999-09-25  John ffitch  <jpff@montague>

	* nlfilt.c (nlfilt): Protect L field

	* cross2.c (Xsynthset): Stop changing ovlp and take new field
	(Xsynth): Use new field

	* windin.c (xyinset): Protect a number of fields

	* grain.c (ags): Stop p->kglen being overwritten

	* vdelay.c (nreverb): Ensure p->hdif and p->time are not overwritten

	* repluck.c (wgpsetin): Ensure p->plk is not changed

	* otran.c (constndx): Removed attempt to have unique constants as
	it breaks otherthings, not understood

1999-09-22  John ffitch  <jpff@montague>

	* ugsc.c (phaser1set): Fix array limitations
	(phaser2set): Similar

1999-09-22  John ffitch  <jpff@montague>

	* entry.c: Added phaser1, phaser2 and lowpass2

	* ugsc.c (phaser1):
	(phaser2):
	(lp2): New code

1999-09-12  John ffitch  <jpff@montague>

	* entry.c: Adjust args to wguide1/wguid2

	* aops.c (powoftwoa): New function
	(logbasetwoa): New function

1999-09-09  John ffitch  <jpff@montague>

	* express.c (express): Added a^p case whicg was missing

	* entry.c: removed opcodes from entry as well

	* ugrw1.c: remove deprecated instime[sk]

	* dumpf.c: Remove depricated names

1999-09-08  John ffitch  <jpff@montague>

	* biquad.c (nlalp):
	(nlalp_set): New functions

	* biquad.h (struct NLALP): New structure

	* entry.c: Added nlalp

1999-09-07  John ffitch  <jpff@montague>

	* musmon.c (musmon): Change commented-out test to O.Linein

1999-09-05  John ffitch  <jpff@montague>

	* schedule.c: New code for schedkwhen

	* musmon.c (playevents):
	* insert.c (kperf): Look for orcevents as well

	* cs.h: Added OrcEvts field to OPARMS

	* entry.c: Add schedkwhen

	* ugens2.c (kphsor): Make phs a double, and consequent changes
	(phsor): phase and incr double, and consequents

	* ugens2.h: Make curphs double rather than FLOAT

	* uggab.c (posc):
	(kposc):
	(posc3):
	(kposc3):  Allow negative freq

	* cwin.cpp (cwin_args): Set FMidiin when teh profile has one

	* ugens4.c (pluck): Error check for kcps exceeding sample rate

	* fgens.c (fgens): Typing error == instead of =

1999-08-30  John ffitch  <jpff@montague>

	* otran.c (constndx): Sharing constants leads to problems so make
	each one unique

1999-08-29  John ffitch  <jpff@montague>

	* pitch.c (pitch): Slight code shifting (re)

	* pitch.c (phsorbnk): New code for new opcode

1999-08-27  John ffitch  <jpff@montague>

	* VERSION 3.58

	* entry.c: New opcode pitchamdf

	* pitch.c (pitchamdfset):
	(medianvalue):
	(pitchamdf): New functions

1999-08-25  John ffitch  <jpff@montague>

	* midiops.h: Removed MIDIVAL and MIDISCL as they are really MIDIKMB

	* midiops.c (midibset): Initialise prvbend as it was random
	(pitchbend_value): reinstate null check

	* entry.c: New opcodes adsynt and hsboscil

	* pitch.c (adsyntset):
	(adsynt):
	(hsboscset):
	(hsboscil): New functions

	* pitch.h (struct ADSYNT, HSBOSC): New structs

1999-08-23  John ffitch  <jpff@montague>

	* repluck.c (streson): Change sign of output sample

	* one_file.c (eat_to_eol): New function to handle comments in <>
	context.
	(readOptions): Alow empty lines

	* sread.c (ifa): in case3 with warpin check for i or f opcodes

1999-08-20  John ffitch  <jpff@montague>

	* ugensa.c (fogset):
	* ugens7.c (fofset0): Only allocate space if phs is positive; may
	allow legato

	* dumpf.c (krdset):
	(krd2set):
	(krd3set):
	(krd4set): openout shoudl have been openin

	* midisend.c: Define __RPCASYNC_H__ for VC++ v6 (Michael Gogins)

	* sread.c (sget1):
	* rdorch.c (rdorchfile): Deal with spaces in macro definitions (re)

	* one_file.c (read_unified_file): Close unf file before return

1999-08-05  John ffitch  <jpff@maths.bath.ac.uk>

	* wincwin.c (MakeXYin):
	(ReadXYin): Rewritten to use whole screen

1999-08-04  John ffitch  <jpff@maths.bath.ac.uk>

	* sread.c (sget1):
	* rdorch.c (rdorchfile): Make number of arguments flexible in macros

1999-08-02  John ffitch  <jpff@maths.bath.ac.uk>

	* VERSION 3.57

	* pitch.c (cpuperc): New function to set cpu load
	(maxalloc): Ditto
	(prealloc): Ditto

	* cs.h: Added cpuload field to INSTRTXT

1999-08-02  J P Fitch  <jpff@maths.bath.ac.uk>

	* argdecode.c (argdecode): variable outformch made static
	(argdecode): Make it a warning rather than an error to have two
	values

	* main.c (main): [rasmus ekman] the default sampel size was set
	before the .csd decode.  Now moved to after

1999-08-01  John Fitch  <jpff@lansky>

	* physmod.c (DLineA_tick): Test for wrapround was wrong

1999-08-01  John Fitch  <jpff@montague>

	* vdelay.h: Added nreverb header to this fiel and remove nreverb.h

	* modal4.c (marimbaset): multiple strikes controlled by optional
	arguments

	* entry.c: marimba gains two optional arguments

	* modal4.c (marimbaset): Triple strike could not happen; fixed.
	Also made messages look at message level

1999-07-31  John ffitch  <jpff@lansky>

	* argdecode.c (argdecode): Make utility decode table driven, and
	add pvlook

	* util2/pvlook/pvl_main.c: New file to call pvlook

	* pvlook.c: New file (from Richard Karpen) changed to utility

1999-07-30  John ffitch  <jpff@montague>

	* ugens6.c (delrset):
	(delwset):
	(tapset):  Added FIFO

	* ugens6.h: Added delay FIFO to DELAYR

1999-07-29  John Fitch  <jpff@lansky>

	* diskin.c: Reconstructed after matt

	* insert.c: Reworked all POLLEVENTS stuff after matt

	* sndinfUG.c: New file for interrogation of snd files

	* entry.c: Added filelen, filenchnls, filesr and filepeak opcodes

	* musmon.c (playevents): Simplification of calls to POLLEVENTS

	* fout.c: mark non ANSI stuff as not on macintosh

	* one_file.c (macgetstring): Renamed function from getstring

	* argdecode.c (argdecode): -P option for Macintosh

1999-07-26  John Fitch  <jpff@montague>

	* aops.c (init_powers):
	(init_logs):
	(powoftwo_set):
	(logbasetwo_set):
	(powoftwo):
	(logbasetwo): New functions for fast 2^ and log_2

	* sread.c (sget1): Change test to >MARGS rather than >=MARGS

	* cscormai.c (main): Call init_getstring

	* natben.c: New file (for cscormai.c really, but could be used
	elsewhere)

1999-07-26  John ffitch  <jpff@lansky>

	* fgens.c (gen23): Added deferred allocation by counting first
	(fgens): Admit gen23 for deferred
	(hfgens): Ditto

	* ugens1.c (xsgset2): New function
	(expseg2): New function

	* entry.c: Added expsega

1999-07-25  John Fitch  <jpff@lansky>

	* rdorch.c (getoptxt): DIVZ case was confused with peak case;
	changed tag to 0xfffc
	* entry.c: Ditto

	* insert.c (beatexpire): Count deallocation
	(timexpire): Ditto

1999-07-25  John ffitch  <jpff@weir>

	* entry: Added active opcode

	* pitch.c (instcount): New function to recover active count

	* insert.c (insert,MIDIinsert): Count new activation
	(deact): and uncount

	* cs.h: Added active filed to INSTRTXT

	* ugens4.c (buzz):
	(gbuzz): Take absolute value on khd and suppress warning

1999-07-20  John Fitch  <jpff@maths.bath.ac.uk>

	* rtwin32.c: Reworking by RWD after NT experience

1999-07-20  J P Fitch  <jpff@maths.bath.ac.uk>

	* pitch.c (clockset): Got clocks wrong in setup -- all mapped to
	clock 0

1999-07-19  John ffitch  <jpff@montague>

	* RELEASED VERSION 3.56

	* one_file.c (blank_buffer): new function to allow blank lines in
	gap

	* fout.c: New file
	* fout.h: New file

1999-07-18  John Fitch  <jpff@lansky>

	* winX11.c (ExitGraph): Ignore any errors

1999-07-18  John ffitch  <jpff@montague>

	* sread.c (getscochar): Allowed @ in arithmetic part, and @@ for
	guard.  Gives next power of 2 up, between 1 and 0x40000000
	Also corrected ~ case

1999-07-10  John ffitch  <jpff@montague>

	* uggab.c (fold): New function (after Gabriel, but optimised)
	(fold_set):

	* entry.c: Added resony, fold opcodes

	* uggab.c (rsnsety):
	(resony): New functions (after Gabriel to remove restriction)

	* uggab.h (struct): New structures for resony and fold

1999-07-08  John ffitch  <jpff@weir>

	* insert.c (insert): Added psetdata handling on insert

1999-06-27    <jpff@wol>

	* Cwin.cpp (class CSenv): Dialog to set SSDIR etc
	(CArg): Remember last env in registry, and reset in non-null

	* winsound.rc: New Dialog for setting environment

1999-06-26    <jpff@wol>

	* getstring.c (init_getstring): Ensure name is remembered in
	Winsound

	* Cwin.cpp (OnEditOrch): Change to NOWAIT spawn of editor
	(OnEditScore): Ditto
	(cwin_exit): Interrupt playing if character typed

1999-06-26  John Fitch  <jpff@lansky>

	* follow.c (follow): Read off end of input; change to post
	increment

1999-06-20  John ffitch  <jpff@montague>

	* VERSION 3.55 released

	* util1/scot/main.c (main):
	* util2/mixer/extract.c (main):
	* util2/mixer/mixer.c (main):
	* lpanal.c (lpanal):
	* sndinfo.c:
	* pvanal.c: Accept -j

	* getstring.c (init_getstring): Look for environment variable
	CSSTRNGS as well

	* argdecode.c (argdecode): Skip -j option

	* main.c (main): init_getstring needs arguments

	* getstring.c (init_getstring): Check for a -j command line
	parameter to change strings database.  Messy!

1999-06-15  J P Fitch  <jpff@maths.bath.ac.uk>

	* cwin.cpp (OnExtras): Set Beatmode as well as Cmdtempo when needed

1999-06-05  John ffitch  <montague>

	* aops.c: editting error, LIB1 rather than LIBA in asin to log10
	(thanks Nicola)

1999-06-04  John Fitch  <jpff@maths.bath.ac.uk>

	* getstring.c (init_getstring): Change error string

1999-05-30  John ffitch  <jpff@montague>

	* mandolin.c (mandolin): Rescale sound to get amplitude correct
	(infoTick): allDone was not initialised

	* mandolin.c (mandolinset): Added 50Hz as lowest frequency for Mandolin

1999-05-29  John Fitch  <jpff@lansky>

	* rdorch.c (getoptxt): Allow Z as an argument type for a list
	strating with a kvar, and alternating with avar

1999-05-29  John ffitch  <jpff@montague>

	* ugens3.c (loscil3): There was no multiply by the amplitude.

1999-05-28  John ffitch  <jpff@weir>

	* cwin.cpp (cwin_args): Do not add .wav/.aif if dac/devaudio

1999-05-27  John Fitch  <jpff@lansky>

	* text.h: New message

	* pitch.c (mac, macset): Added new opcode

	* ugsc.h:
	* ugsc.c: New files

	* entry.c: Added opcodes svfilter, hilbert, resonr, resonz. mac

1999-05-24  John Fitch  <jpff@lansky>

	* ugens4.c (buzz): Report knh <=0 once once per note
	(gbuzz): Same

	* ugens4.h: New field reported in BUZZ/GBUZZ to suppress excess messages

1999-05-20  J P Fitch  <jpff@maths.bath.ac.uk>

	* ugens1.c (linseg):
	(linsegr):
	(klnsegr):
	(kxpsegr):
	(expsegr):
	(klnseg):  Test for out of count was wrong -- replaced
	by <=

1999-05-17  J P Fitch  <jpff@maths.bath.ac.uk>

	* VERSION 3.54 released

	* getstring.c: New file

	* cs.h: #include text.h

	* makedb.c: New file  to build strings database

1999-05-10  John ffitch  <jpff@montague>

	* ALL FILES nearly: Added STR macro to strings in preparation for
	localisation.  Later changed to Str 'cos of Irix4

	* text.h: new file for localisation.

1999-04-27  John Fitch  <jpff@lansky>

	* uggab.c (product): New code

	* entry.c: New opcode product

1999-04-27  J P Fitch  <jpff@maths.bath.ac.uk>

	* entry.c: Rename nsamp to nsamp_i so it can be used!

1999-04-18  John ffitch  <jpff@wol>

	* main.c (main): Check for .csd and .CSD as DOS messes endings

1999-04-17  John ffitch  <jpff@weir>

	* biquad.c (biquad): Optimise by using local variables more
	(pareq): The same
	(rezzy): The same
	(moogvcf): Same

1999-04-10  John ffitch  <jpff@weir>

	* fgens.c (fgens): Added 0.5 to avoid rounding problems

	* musmon.c (playevents):
	* linevent.c: Accept e event

1999-04-09  John ffitch  <jpff@weir>

	* entry.c: Added sum opcode

	* uggab.c (sum): Added new function

	* biquad.c (pareq): Changes /2 to *0.5, and stopped recalculation
	of sqrt

1999-04-06  John ffitch  <jpff@weir>

	* rdorch.c (getoptxt): Gabriel changes for y and z argument types

1999-04-05  John ffitch  <jpff@weir>

	* fm4op.c (FM4Op_loadWaves): Initialise w_time array to zero

1999-04-02  John ffitch  <jpff@weir>

	* cwin.cpp (cwin_args): Add .wav or .aif if no . in name

	* soundio.c (sfopenout): Default name to test.wav test.aif or test
	depending on filetyp

	* rdorch.c (rdorchfile): Check for argument being too long

	* argdecode.c (argdecode): Section brackets neded in case 'o' due
	to #ifdef badly used.

1999-04-01  John ffitch  <jpff@weir>

	* pvread.c (pvreadset): Correct error mesage to say PVREAD rather
	than PVOC

1999-03-31  John ffitch  <jpff@weir>

	* biquad.c (vco):
	* vpvoc.c (voscili):
	* ugens7.c:
	* ugens4.c:
	* ugens3.c:
	* pvadd.c (pvadd):
	* spectra.c:
	* grain.c (ags):
	* disprep.c (tempeset):
	* ugensa.c:
	* ugens2.c: PMASK -> PHMASK for clarity, avoiding Solaris problem
	and consistency with Barry's sources.

1999-03-25  John ffitch  <jpff@montague>

	* soundio.c (sfopenout): Piped output must be raw or IRCAM
	format.  Force AIFF and WAv to IRCAM

1999-03-23  John ffitch  <jpff@montague>

	* cmath.c (irate randoms): All improved coding to minor effect

1999-03-21  John ffitch  <jpff@montague>

	* VERSION 3.53

	* sread.c (getscochar): Accept ~ to indicate a random number

	* entry.c: Added pitch opcode

	* pitch.h:
	* pitch.c: New file

	* physmod.c (flute): Code improvements to save reading variables
	inside nsmps loop.

1999-03-20  John ffitch  <jpff@montague>

	* sysdep.h (tell): Define tell is SYS5 case as it seems to be rare

1999-03-19  J P Fitch  <jpff@maths.bath.ac.uk>

	* entry.c: use 0xffd for peak opcode

	* rdorch.c (getoptxt): Use code 0xffd for discrimination on first
	argument (and not answer)

1999-03-19  John ffitch  <jpff@montague>

	* soundin.c (soundin):
	* diskin.c (soundinew): only do code after filend in ngoto is
	strictly positive

1999-03-14  John Fitch  <jpff@lansky>

	* midiops.c (cpsmidi): Remove pitchbend stuff from cpsmidi

	* entry.c: Size field in aftouch was wrong

1999-03-11  J P Fitch  <jpff@maths.bath.ac.uk>

	* sread.c (stof): NeXT fix confusing ramps

1999-03-11  John Fitch  <jpff@lansky>

	* physmod.c (clarinset):
	(fluteset):
	(bowedset):
	(brassset): Assume 50Hz lowest freq if not given

1999-03-10  John Fitch  <jpff@maths.bath.ac.uk>

	* physmod.c (fluteset): Assume intital amplitude is maximum to
	avoid a problem with zero.  Do not understand this yet, but
	something to do with ADSR AttackRate.

1999-03-09  John ffitch  <jpff@montague>

	* entry.c: opcode envlpxr had wrong structure, so could have
	crashed

1999-03-05  John Fitch  <jpff@lansky>

	* mandolin.c (mandolinset): Allow for skipping initialisation, and
	add error check.

	* shaker.h: File not transferred to PC leading to crashes

1999-02-21  John ffitch  <jpff@montague>

	* entry.c: Change names ondur/ondur2 to the more natural
	noteondur/noteondur2
	Also chanctrl base opcode was missing

	* aops.c (ftlen): Change to call ftnp2find so any deferred table
	is loaded before giving teh length.

1999-02-20  John Fitch  <jpff@lansky>

	* ustub.h: Added declaration of currevent

	* vdelay.c (vdelay3): Setting of v0 could be wrong (possibly?)

	* pvadd.c (pvaddset):
	* pvinterp.c (pvcrossset):
	(pvbufreadset):
	(pvinterpset):
	* ugens9.c (cvset):
	* ugens5.c (lprdset):
	* ugens3.c (adset):
	* soundin.c (sndgetset):
	* diskin.c (newsndinset): Added support for string arguments in
	score (GAB)

	* rtnext.c: New file

	* Makefile:
	* diskin.c:
	* entry.c:
	* linevent.c:
	* midirecv.c:
	* sfheader.c:
	* soundin.c:
	* soundio.c:
	* soundio.h:
	* sread.c:
	* ugens2.c: Added NeXT code


1999-02-18  J P Fitch  <jpff@maths.bath.ac.uk>

	* entry.c: The ftsr opcode got lost

	* biquad.c (nestedapset): New code
	(nestedap): New code
	(lorenzset): New code
	(lorenz): New code

	* biquad.h: Added NESTEDAP and LORENZ struct

1999-02-14  John ffitch  <jpff@montague>

	VERSION 3.52

	* dumpf.c: Added readk code

	* dumpf.h: Added KREAD structures

	* entry.c: Added readk, readk2, readk3 and readk4

	* ugens6.c (deltap): Safer test for tap point
	(deltapi): Ditto
	(deltapn): Ditto
	(deltap3): Ditto

	* swrite.c (pfout):
	(expramp):  Allow () as alternatives to {}

	* sread.c (operate): Added % and ^ to arithmetic operations
	(getscochar): Ditto

	* uggab.h: Add structs for poscil and lposcil

	* uggab.c: Add code for poscil and lposcil and cubic forms

	* entry.c: Added poscil and lposcil, poscil3 and lposcil3

	* follow.c (follow): Make it follow max abs value rather than max
	and min separately.  Recode for speed as well.
	(flwset): Recoding for speed later

1999-02-13  John Fitch  <jpff@montague>

	* sread.c (getscochar): Typing error strlen(b+1)=>strlen(b)+1

1999-02-13  John ffitch  <jpff@weir>

	* ugens5.c (rsnsetx): Test for new buffer was wrong
	(tonsetx): Ditto

1999-02-12  John ffitch  <jpff@montague>

	* ugrw1.c: Deprecated itable* opcodes

	* modal4.c: Added deprecated message to agogobel

	* entry.c: Changed all iout* to outi*, kout* to outk*
	ion/ioff -> noteon/noteoff. 
	midic#/imidi# unified
	ctrl#/ictrl# unified
	itable* -> tablei* with deprecated version with message

1999-02-11  John ffitch  <jpff@montague>

	* entry.c: Changes islider# to slider#_i, similar for slider# and
	dummy entry.
	ilimit removed for limit_i etc, itableleng itimes/k

1999-02-09  John ffitch  <jpff@montague>

	* ugens5.c (tonsetx): Only create buffer of states if initialising
	and buffer not present.  Should remove some clicks.
	(rsnsetx): Same change

1999-02-08  J P Fitch  <jpff@maths.bath.ac.uk>

	* aiff.c (aiffReadHeader): Recognise Name, Author, Copyright and
	Annotation chunks

1999-02-07  John Fitch  <jpff@lansky>

	* oload.h: LABELIM needs to reference nlabels rather than NLABELS

	* otran.c (insprep): Ensure that goto list is long enough, not
	just expanded -- probably not necessary

	* rdorch.c (rdorchfile): Need to extend srclin array as well as
	linadr array when run out of lines.

1999-02-06  John ffitch  <jpff@montague>

	* entry.c: Change distort1 to appoo at HM's suggestion

1999-02-05  John ffitch  <jpff@montague>

	* aiff.c (aiffReadHeader): Skip unknown chunks

	* biquad.c (biquadset): If reinit field is not zero skip
	initialisation

	* entry.c: Added optional extra arg to biquad to control reinit

1999-01-31  John ffitch  <jpff@weir>

	* VERSION 3.511

	* rtaudio.c: split into platform specific bits, and Makefile
	changed for this.

	* midiops.c (pitchbend_value): Remove subtraction (and comment)
	as now handled in midirecv.c

	* entry.c: all 3 midip_k opcodes shoudl have thread of 3
	* distort1 should have thread of 4 not 5

	* physmod.c (fluteset): Length of deay line set wrong if optional
	last argument omitted

1999-01-27  J P Fitch  <jpff@maths.bath.ac.uk>

	* ugens1.c (adsrset): Length incorrectly set in MIDI subcase.

	* diskin.c (newsndinset): Function replaced from matt

1999-01-26  John ffitch  <jpff@weir>

	* sndwarp.c (sndwarp): New line from RK to handle rounding oddity
	(sndwarpst): Ditto

1999-01-26  J P Fitch  <jpff@maths.bath.ac.uk>

	* rdorch.c (fopen_path): Correct typing error of $s instead of %s

1999-01-26  J P Fitch  <jpff@lansky>

	* biquad.c
	* butter.c
	* cmath.c
	* dsputil.c
	* dsputil.h
	* filter.c
	* locsig.c
	* lpanal.c
	* modal4.c
	* oload.c
	* pvinterp.c
	* space.c
	* spectra.c
	* ugens8.c
	* vpvoc.c
	* wavegde.c
	* ugens3.c
	* fgens.c
	* prototype.h: Removed variable pi and twopi and used macros
	instead.  In places improved code (ie use TWOPI rather than
	2.0*pi) and in spectra.c corrected constants

1999-01-25  John ffitch  <jpff@weir>

	* express.c (express): Deal with ^ when second argument is c k or i

1999-01-24  John Fitch  <jpff@montague>

	* VERSION 3.51

	* rdorch.c (rdorchfile): Change treatment of \ line continuations

1999-01-24  John Fitch  <jpff@lansky>

	* main.c (main): If argdecode returns zero then exit as all done

1999-01-24  John ffitch  <jpff@weir>

	* one_file.c (readOptions): Lines starting ; or # treated as
	comments.  Also options starting ; or # end line

	* follow.c (follow): Improved coding, removing divison etc

1999-01-23  John ffitch  <jpff@montague>

	* entry.c: Added xadsr and mxadsr opcodes

	* ugens1.c (adsrset): Added release stuff for MIDI case
	(xdsrset): New function
	(mxdsrset): New function

1999-01-23  John ffitch  <jpff@weir>

	* one_file.c: Changed some printing to _DEBUG only

	* main.c (main): Check for empty score string as well as null in
	.csd case

	* ugens1.c (adsrset): Calculation of length remaining corrected

	* cwin.cpp (OnOrchestra): Look for .csd files as well

1999-01-22  J P Fitch  <jpff@montague>

	* one_file.c (readOptions): Check for \r as well as \n as terminator

1999-01-19  John ffitch  <jpff@montague>

	* sread.c (sget1): Allow /* */comments in scores

	* rdorch.c (splitline): Correct /* */ comments

	* ugens2.c (koscl3): Bug in reading table fixed

1999-01-17  John Fitch  <jpff@montague>

	* argdeccode.c: Take account of AE_24INT in part

	* soundio.h: Added AE_24INT

	* cmath.c (ipow, apow, kpow):
	* cmath.h: (POW) rename pow filed to powerOf to avoid Mac problem

	* physmod.c (bowed): All code for setting frequency and betaratio
	was wrong; re-writen.

1999-01-16  John ffitch  <jpff@montague>

	* entry.c: Added envlpxr opcode which was missing

1999-01-15  John ffitch  <jpff@montague>

	* physmod.c (bowed): Set slope field as was missing

1999-01-13  J P Fitch  <jpff@montague>

	* VERSION 3.50

	* otran.c (otran): Zeroing instrument table started in wrong place
	(insprep): Reset ngotos and nlabels at start of function

1999-01-12  John ffitch  <jpff@montague>

	* vdelay.c (deltapn): Added deltapn

1999-01-10  John ffitch  <jpff@montague>

	* biquad.c and biquad.h: Added pareq opcode

	* ugens6.c (deltap3): New function

	* ugens2.c: Cubic interpolating versions of foscl, loscil and table

	* entry.c: Change parameter of foscil(i) to xkxxkio

	* ugens3.h (FOSC): Added new fields for below

	* ugens3.c (foscili):
	(foscil): Make more parameters a-rate possibly

	* entry.c: Added p parameter to moodvcf

	* biquad.h (MOOGVCF): and max field

	* biquad.c (moogvcf): Added max scaling

1999-01-04  John Fitch  <jpff@lansky>

	* entry.c: slider (MIDI) opcodes added

	* midiops3.h:
	* midiops3.c: New files

	* entry.c: Added Gabriel Maldonado's slider opcodes

1999-01-04  John Fitch  <jpff@montague>

	* ugens2.c (koscl3):
	(osckk3):
	(oscka3):
	(oscak3):
	(oscaa3): New code for oscilators with cubic interpolation

	* entry.c: Added oscil3 family of opcodes

1998-12-29  John Fitch  <jpff@lansky>

	* ugens1.c (adsrset): Adjust ADSR for sustain too short etc

1998-12-25  John ffitch  <jpff@weir>

	* aops.c: Added mod?? functions

	* entry.c: Added mod?? opcodes

	* express.c (express): Added % operator as mod, somewhat odd as a
	float.

	* entry.c: octmidib had flag wrong (editing error I suspect)

	* midiops.c (icpsmidib_i):
	(octmidib_i):
	(pchmidib_i): New functions

	* entry.c: *midib in i context needs new functions so it is
	initialised

	* cs.h: Remove posbend field as not used now.

	* midirecv.c (m_chanmsg): Remove posbend field
	(m_chinsno): Send pchbend field

	* midiops.c (pitchbend_value): Use pchbend field rather than posbend

1998-12-20  John Fitch  <jpff@lansky>

	* version.h; VERSION 3.494

	* main.c (main): Decode .csoundrc file

	* argdecode.c: New file with argdecode funcion

	* main.c (main): Call argdecode rather than in line

	* one_file.c (readOptions): Implement reading of options, calling
	argdecode

	* schedule.c (lfok): Phase calculation for sine was wromg
	(schedule): Added code to kill stragglers on reinit
	(schedwatch): Clear list when done
	(kschedule): Ditto

1998-12-19  John Fitch  <jpff@lansky>

	* schedule.c (kschedule): Argument count in call to insert_event
	was wrong by one

1998-12-12  John Fitch  <jpff@lansky>

	* entry.c: New opcode streson

	* repluck.c (stresonset,streson): New functions

	* repluck.h: New structure STRES

1998-12-01  John ffitch  <jpff@weir>

	* rdorch.c (lexerr): Variable mm had incorrect initialisation (re)

1998-11-24  John ffitch  <jpff@montague>

	* physmod.c (bowedset): Set 'unknown state' values to -1 as the
	value of zero could be found in the product.

1998-11-21  John ffitch  <jpff@montague>

	* ugens4.c (arand): Correct a typing error which gave noise in
	short rand vresion.

1998-11-20  John Fitch  <jpff@lansky>

	* aiff.c, cvanal.c, filopen.c, hetro.c, insert.c, linevent.c:
	* lpanal.c, main.c, memalloc.c, memfiles.c, midirecv.c, midisend.c:
	* musmon.c, mw_menu.c, one_file.c, otran.c, pvanal.c, pvoc.c:
	* rdorch.c, rtaudio.c, sfheader.c, sndinfo.c, soundio.c, wave.c:
	* windin.c, dpwelib.h, scot.h, sysdep.h, cs.h:
	Changed __MWERKS__ for macintosh so as not to confuse the BeOS
	port

1998-11-18  John ffitch  <jpff@wol>

	* PVDLG.CPP (DoDataExchange): Confusion over hopsize and frame
	ince sorted out

	* Cwin.cpp (OnExtras): Move saving of profile into tested area so
	m_midiselector is valid (rasmus ekman)

1998-11-16  John ffitch  <jpff@montague>

	* express.c (express): Start to add ^ to expressions for pow

1998-11-14  John Fitch  <jpff@lansky>

	* VERSION 4.392

	* aiff.c (aiffReadHeader): Make message understand n-channels

	* wave.c (wavReadHeader): Added line giving file name as helps
	sndinfo.  Also extended to multi-channel

	* rdorch.c (getorchar): Ignore ^Z from a file so as not to upset
	MS-DOS files

	* ugens4.c: Incorporate new 31bit rand into old opcodes with
	selector

	* ugens4.h (struct): Added new field to RAND RANDI and RANDH to
	select which PRNG

1998-11-14  John ffitch  <jpff@montague>

	* rdorch.c (getoptxt): Use linopnum to check size as flag rather
	than many calls to strcmp
	(getoptxt): Change wrong out[sqho] to a warning and patch

	* entry.c: Added dummy pow (I had forgotten)

	* rdorch.c (getoptxt): Added pow to list of translation opcodes

1998-11-09  John Fitch  <jpff@lansky>

	* entry.c: Added opcodes rand2, rand2h and rand2i

	* ugens4.c: New set of random operators based on 31 bit Park
	Miller PRNG using Linus Schrage's method for a better version

1998-11-09  John ffitch  <jpff@montague>

	* midirecv.c: Many changes in LINUX code

1998-11-08  John ffitch  <jpff@weir>

	* rdorch.c (getoptxt): Added filter2, and fixed bug in intrpol
	(should be ntrpol).

	* dumpf.c (old_kdmpset, old_kdmp2set, old_kdmp3set, old_kdmp4set):
	New functions for kdmpset etc with warning

	* entry.c: New opcode midion (same as kon), and rename kon2 as
	midion2.  Added dump for kdump etc.  kfilter2 and filter2 as filter2_z

	* midiout.c (kvar_out_on_set1): New function, same as
	kvar_out_on_set except prints message asking to use midion.

1998-11-07  John ffitch  <jpff@montague>

	* midiout.h (struct): Many new structures

	* midiops2.h (MIDIIN): New struct

	* oload.h: New type PCTL_INIT

	* entry.c: Added opcodes pctrlinit and dpctrlinit (GAB)
	midiin, midiout kon2 nrpn cpstmid

	* oload.c (instance): Channel searching (GAB?)
	(ctlinit): New function

	* midisend.c: Changes to LINUX code

	* midiout.c (iout_on):
	(iout_off):
	(iout_on_dur_set):
	(moscil):
	(kvar_out_on):
	(out_controller):
	(out_aftertouch):
	(out_poly_aftertouch):
	(out_progchange):
	(out_controller14):
	(out_pitch_bend): Channel has 1 subtracted (GAB)

	* midiout.c (xtratim): Extend only more required

	* midiops.c (aftouch):
	(imidictl):
	(midictl):
	(pchmidib):
	(octmidib):
	(cpsmidi):
	(icpsmidib):
	(kcpsmidib):
	(ipchbend):
	(kpchbend):  Use MIDI_VALUE or pitchbend_value

	* midiops.c (massign): Additional code to check instr exists

	* midiops.c (MIDI_VALUE):
	(pitchbend_value): Added new macros to check null case

1998-11-03  John ffitch  <jpff@weir>

	* vdelay.c (vdelay): At last someone [Ed Hall] has sorted out this
	confused comparison
	(vdelay): and again

	* ugens6.c (comb): Alpha exponential problem [Ed Hall]

	* sread.c (salcblk):
	* otran.c (otran): Alpha alighment again [Ed Hall]

	* opcode.c (list_opcodes): Deal with setting n in a beter and
	portable way [Ed Hall]

	* oload.c (oload): On alpha need to ensure alignment [Ed Hall]

	* insert.c (showallocs): On Alpha print in %p format [Ed Hall]

	* soundio.c (audwrite_norm):
	* linevent.c:
	* aiff.c: Added LINUX to non-options (was MAC only) [Ed Hall)]

1998-11-02  John ffitch  <jpff@montague>

	* ugens1.c (adsrset): segsrem set one too high I think.

1998-11-01  John ffitch  <jpff@montague>

	* hetro.c (TWOPI): Correct constant from 6.28308530 to 6.28318530

1998-10-29  John ffitch  <jpff@montague>

	* linevent.c:
	* soundio.c:
	* rtaudio.c: pipe etc renaming for LINUX as well as SGI

1998-10-25  John ffitch  <jpff@wol>

	* schedule.h:
	* schedule.c: New files

1998-10-25  John ffitch  <jpff@weir>

	* insert.c: Make tieflag visible for schedule
	 (showallocs): Make visible externally

1998-10-22  John ffitch  <jpff@weir>

	* entry.c: Added schedule and schedwhen

1998-10-20  John ffitch  <jpff@lansky>

	* version.h: VERSION 3.49

1998-10-20  John ffitch  <jpff@wol>

	* entry.c: Added envlpr opcode

	* ugens1.c (evrset):
	(knvlpxr):
	(envlpxr): New functions

	* ugens1.h (struct ENVLPR): Replaced definition as was not used
	anyway

1998-10-19  John Fitch  <jpff@lansky>

	* entry.c: ntrpol incorrectly specified

	**************** Send to Matt and Dave **********************

1998-10-18  John ffitch  <jpff@weir>

	* entry.c: Added madsr opcode, uses linsegr and adsr code

1998-10-18 John ffitch   <jpff@wol>

	* sread.c (getpfld): Allow {} and ~ characters in scores
	(ifa): ^ refers to previous event of any instrument; needs new
	variable which is set to -1 and reinitialialed at sections etc

	* swrite.c (pfout): Added {} as calls to expramp and ~ to randramp
	(expramp): New function
	(randramp): New function

1998-10-17  John ffitch  <jpff@wol>

	* entry.c: Added opcodes biquad, moogvcf and rezzy

	* biquad.c:
	* biquad.h: New files

	* musmon.c (musmon): Change name CsMidiOpen to MacMidiOpen

	* midisend.c: Support for MAC

	* midirecv.c: MAC declaration of MacSensMidi
	(m_chanmsg): Now global
	(m_chn_init): Now global
	(sensMidi): Code for MAC

	* main.c (main): Minor changes for MWERKS
	(dribble_printf): New MAC version

	* aifc.c (aifcReadHeader): Changes for Matt

1998-10-13 John ffitch   <jpff@wol>

	* version.h: VERSION 3.49

1998-10-11 John ffitch   <jpff@wol>

	* entry.c: New opcode adsr

	* ugens1.c (adsrset): Added adsr opcode to link to linseg

1998-10-11  John ffitch  <jpff@weir>

	* swrite.c (swrite): Avoid extra space at end of score components

1998-10-11 John ffitch   <jpff@wol>

	* cs.h: Mke size field in OENTRY a short again!!

	* swrite.c (swrite): REemoved some extra code in Unix sources

	* Pvread.h (struct PVREAD): Make fftBuf of type AUXCH

	* Pvread.c (pvreadset): Fill in fftBuf as a dynamic structure with
	auxmalloc
	(pvread): And in its single place of use

1998-10-07  John ffitch  <jpff@weir>

	* ugens8.h (PVFRAMSIZE): Increased to 8196 and consequent changes

	* cs.h: Make size field in OENTRY an int

1998-10-06  John ffitch  <jpff@weir>

	* fgens.c (gen23): New table generator

	* entry.c: Added wguide1 and wguide2

	* aiff.h (Float32Name): Change at Matt's suggestion

	* main.c (main): Call fflush in case 'V'

	* soundin.c (sndgetset): Remember curr_func_sr in gen struct

	* fgens.c (gen01raw): Added memory of curr_func_sr

1998-10-05  John ffitch  <jpff@weir>

	* aops.c (ftsr): Put ftsr back!

	* entry.c: rename to ntrpol

1998-09-19    <jpff@wol>

	* entry.c: Added intrpol_X opcodes and trig

	* uggab.c:
	* uggab.h: New files

	* rdorch.c (getoptxt): Translate mirror and wrap in _i context

1998-09-16    <jpff@wol>

	* ugens5.c (tonsetx): New function after Maldonado
	(tonex): Ditto
	(atonex): Ditto
	(rsnsetx): Ditto
	(resonx): Ditto

	* entry.c: Added opcodes tonex atonex resonx

	* ugens5.h: Added TONEX and RESONX structures

1998-08-25  John ffitch  <jpff@weir>

	* musmon.c (musmon): Load orchestra before opening MIDI file

1998-08-24  John ffitch  <jpff@weir>

	* entry.c: Entry for specptrk not in agreement with manual
	specdisp shudl have last argument optional

1998-08-23  John ffitch  <jpff@weir>

	* oload.c (oload): NULL out new part of strsets when extending

1998-08-22  John ffitch  <jpff@weir>

	* ugens4.c (rhset): Correctiosn to older version
	(buzz): Change the error on knh<=0 to warning and assume 1

1998-08-21  John ffitch  <jpff@weir>

	* spectra.h:
	* spectra:c Added spectrum opcode

	* rdorch.c: Allow w op s,.. opcodes

	* fgens.c (GENUL): Added this function to stand for unknown gens

	* entry.c: Add spectrum opcode

1998-08-20  John ffitch  <jpff@weir>

	* entry.c: Rename kport -> portk etc

	* wincwin.c: Remove tracing

	* sread.c (sget1): Another attempt at the interaction between \
	and comments

	* entry.c: ktableseg and ktablexseg renamed as tableseg and
	tablexseg

	* midirecv.c (MidiOpen): Ensure m_chnbp array is NULLed
	and re-layout

	* soundio.c:
	* soundin.c:
	* sndinfo.c:
	* main.c:
	* diskin.c:
	* aifc.c: Change string AIFC to AIFF-C for consistency

	* midirecv.c (m_chanmsg): Add PROGRAM_TYPE case as was missing

	* opcode.c: In full case try to maintain better layout

	* lowpassr.c: Various adjustments

	* opcode.c: Change to 3 columns

1998-08-19  John ffitch  <jpff@weir>

	* sread.c (sread): Correct typing error od 1.1 to 1.0
	(ifa): Only warp p3 in i case

1998-08-18  John ffitch  <jpff@weir>

	* ugens5.c (reson): Save value of asig at end
	(areson): ditto

1998-08-15  John ffitch  <jpff@weir>

	* vpvoc.c (vpvset):
	* ugens9.c (cvset):
	* ugens8.c (pvset):
	* ugens5.c (lprdset):
	* ugens3.c (adset):
	* pvread.c (pvreadset):
	* pvinterp.c (pvbufreadset):
	* pvadd.c (pvaddset):
	* diskin.c (newsndinset): Allow strset in opening

	* oload.h (STRSMAX): Reduce this to 8 as it grows

	* oload.c (oload): Make strsmax a variable and expand table as
	required

1998-08-07  John ffitch  <jpff@weir>

	* lowpassr.h
	* lowpassr.c: New code

	* entry.c: Added opcodes lowres, lowresx and vlowres

	* oload.c (instance): Deal with strset and pset specially

	* otran.c: Make ngotos visible

	* soundin.c (sndgetset): Treat strsets in opening a file

	* soundio.c (sfopenout): Treat output null as /dev/null

	* sfheader.c (rewriteheader): Support for /dev/null selection

	* cwin.cpp (set_up_argv): Allocate 1 longer to argv as it was bust

1998-08-06  John ffitch  <jpff@weir>

	* otran.c: Make nlabel visible externally

	* oload.c (oload): Try copying string in STRSET
	(instance): Make nlabels into an extern and allocate lopds
	dynamically.

	* otran.c (otran): Deal with strset specially

1998-08-05  John ffitch  <jpff@weir>

	* musmon.c (beep): On CWIN use system function Beep

1998-08-04  John ffitch  <jpff@weir>

	* midirecv.c (m_chinsno): Check diasslowed instr 0

	* sread.c (getscochar):
	* rdorch.c (getorchar): Map '\r' to '\n'

	* midirecv.c (m_chanmsg): Chsange O.SusPThresh to non zero

	* cs.h: Remove O.SusPThresh field

	* cwin.cpp (class CSextras): Remove m_pedal and all references

1998-08-03  John ffitch  <jpff@weir>

	* rdorch.c (LENMAX): Reduce LENMAX to 100 as rather too generous

1998-08-02  John ffitch  <jpff@weir>

	* RELEASE VERSION 3.484

1998-08-01  John ffitch  <jpff@weir>

	* sread.c (sread): Introduce warp_factor for local time warping --
	multiple scales etc.  Defaults to 1.0, reset at section.  Uses v

	* rdorch.c (lexerr):
	* sread.c (scorerr): Initialise mm

	* soundio.c: Changes to reporting in sfopenin/out

	* aifc.c (aifcWriteHdr): Argument order in memcpy wrong

1998-07-31  John ffitch  <jpff@weir>

	* rdorch.c (splitline): Use realloc rather than alloc and copy for
	extending groups (twice)

1998-07-29  John ffitch  <jpff@weir>

	* entry.c: Change addxx to add_xx etc

	* express.c (express): Another place where ki should be i_k
	Also change tags to _xx

	* flanger.c (flanger): Fix a JPff error in flanger

1998-07-28  John ffitch  <jpff@weir>

	* entry.c: Last argument to flanger shoudl be v (optional 0.5 default)

	* sread.c (sget1): Use fopen_path function

	* rdorch.c (fopen_path): New function to use pathnames in include
	 -- and elsewhere perhaps
	 (rdorchfile): Use function

1998-07-26  John ffitch  <jpff@weir>

	* sread.c (scorerr): New function for score errors in macros etc
	(getscochar): Give it an argument to say if we are expanding $ and [

1998-07-25  John ffitch  <jpff@weir>

	* lpanal.c (alpol): Removed reclaration of arrays a and x from
	alpol as it was inside the loop!

	* cwin.cpp (cwin_ensure_screen): Make it into a int function for
	new POLL_EVENTS()

	* aifc.c: New File

	* aiff.c (is_aiff_formtype): New function

	* aiff.h: AIFC-32 float support (MWERK only??)

	* windin.c (xyin): MWERKS version

	* wave.c (wavResetFrameSize): New fn for MWERKS

	* soundio.c:
	* sfheader.c:
	* sndinfo.c: MWERKS and AIFC support

	* rtaudio.c: MWEKS support all over

	* main.c: MWERKS suport and changes for AIFC

	* wavegde.c:
	* sysdep.h:
	* pvinterp.c:
	* pvanal.c:
	* otran.c (insprep):
	* musmon.c:
	* midirecv.c:
	* memfiles.c:
	* memalloc.c (memdie):
	* lpanal.c (lpanal):
	* linevent.c:
	* insert.c (kperf):
	* hetro.c (hetro): Added MWERK support

	* fgens.c: fmax renamed maxfnum 'cos of MWERKS name conflict

	* ftgen.h (MAXFNUM): Chane of name from fmax

	* filopen.c:
	* DPWELIB.H: MWERKS support

	* cvanal.c (cvanal): Add MWEKS to SYMANTEC if defined

	* cs.h (POLL_EVENTS): Make -i in cases when not used

	* butter.c: Added MWERKS support

1998-07-24  John ffitch  <jpff@weir>

	* opcode.c (list_opcodes): Comparison stops at _ by copying
	strings

	* sread.c (sget1): heck #include file opened

	* rdorch.c: Use linepos rather than the broken atbol
	(rdorchfile): Check that #include file can be opened

1998-07-23  John ffitch  <jpff@weir>

	* rdorch.c:
	* sread.c: Allow digits in macro names in both definition and use,
	by isdigit when not first chararcter

1998-07-22  John ffitch  <jpff@weir>

	* soundin.c (sndgetset): Bug fix from Matt

1998-07-21  John ffitch  <jpff@weir>

	* rdorch.c (getoptxt): Translate to divz_..; and for oscil(i_..

	* entry.c: Put _ in divz opcodes and oscil(i)

1998-07-20  John ffitch  <jpff@weir>

	* entry.c: Make gauss etc using the translate flag

	* rdorch.c (getoptxt): Us a flag of 0xffff to indicate ned for
	name translation.  Move various midi ops to this syste

1998-07-19  John ffitch  <jpff@weir>

	* main.c: Removed all references to Scot

	* fgens.c: Changed GEN01 to GEN1 in error messages etc.
	(gen20): Replaced large declared arrays with mmalloc'ed space
	which extends.

	* physmod.c (JetTabl_lookup): Remove fictious JetTable class, as
	it did not use the provious value.
	(flute): Change arguements to JetTabl_looup

	* flute.h: Added lastJet field
	Remove JetTabl field as not used

	* physmod.c (flute): Reorganise flute, setting of frequency when
	changed only etc.  Sounds better.
	(fluteset): Minor initialisations of lastFreq and lastJet.

1998-07-18  John ffitch  <jpff@weir>

	* physmod.c (DLineA_setDelay): Check that it is initialised; also
	fix serious typo in initialisation skip.

	* otran.c (otran): I had missed changing string "r=" to "=_r"
	Also check string has second char of _ rather than first of r

	* sread.c: New variable (flushing) to indicate when not to deal
	with [] things in scores
	(getscochar): Use it
	(flushlin): And set it

1998-07-17  John ffitch  <jpff@weir>

	* physmod.c: For all physical models in theis file, if lowestfreq
	is negative, skip initialisation. (clarinet, flute, bowed, brass)

1998-07-13  John ffitch  <jpff@weir>

	* flanger.h:
	* flanger.c: New file

	* entry.c: Added flanger entry

	* fgens.c (fgens): It cleared new part of table one too soon
	(hfgens): Ditto twice [Thanks Matt]

1998-07-11  John ffitch  <jpff@weir>

	* otran.c (otran): It checked against MAXINSNO rather than
	maxinsno and so wiped out all instrs over 200!

	* fgens.c (gen01raw): Check against ALLCHNS-1 rather than 4 for
	channel count.
	(gen04): Suspected editing error as it went off end of the array.
	Moved an assignment outside loop.  Should check old code.

	* winsound.rc: Change OK button to Render

	* ugens4.c (rhset): If seed provided is greated that 1 use it
	directly rather than scaling.

	* entry.c: Many function renames from axxx -> xxx_a etc

	* express.c (express): Make functions have _k at end rather than k
	at start.  Fixes name polution problems.

1998-07-10  John ffitch  <jpff@weir>

	* sfheader.h: Remove readopensf macro as not used anywhere!

1998-06-27    <jpff@montague>

	* otran.c (otran): Mistype of MAXINSNO instead of maxinsno

1998-06-25  John ffitch  <jpff@wol>

	* entry.c: Removed voscili
	* vpvoc.c:

1998-06-24  John ffitch  <jpff@wol>

	* entry.c: Removed extra argument in shaker opcode

1998-06-24  J P Fitch  <jpff@maths.bath.ac.uk>

	* shaker.h: Removed numtimes from structure as not used.

1998-06-23  J P Fitch  <jpff@maths.bath.ac.uk>

	* version.h: VERSION 3.483

	* entry.c: Arguments for aftouch were wrong; made 2 optional

	* otran.c (otran): Allow STRSET in header blk

1998-06-15  J P Fitch  <jpff@maths.bath.ac.uk>

	* diskin.c (newsndinset): Bug fix from Matt

	* soundin.c (sndgetset): Bug fix from Matt

1998-06-02    <jpff@wol>

	* version.h: VERSION 3.482

1998-05-29    <jpff@wol>

	* Fgens.c (ftresdisp): Only call display if not already displayed
	displayed new variable.  Many tables were getting displayed
	twice.  May be better ways to do this though
	(fgens): Initialised this variable

1998-05-20  John ffitch  <jpff@weir>

	* linevent.c (sensLine): If n negative Linend was wrongly set

1998-05-17    <jpff@wol>

	* rdorch.c (rdorchfile): Make stray # into a warning rather than error
	(getorchar): Remember when at start of line
	(rdorchfile): Only check # when at beginning of line

1998-05-15  John ffitch  <jpff@wol>

	* sread.c (sread): Correct 'b' case of character in score which is
	unwanted.

	* wincwin.c (DrawGraph): Remove call to cwin_paint which was
	causing each graph to nbe drawn twice

1998-05-14  John ffitch  <jpff@wol>

	* Cwin.cpp (cwin_args): Set o.outbufsamps from oMaxLag from
	profile.
	(OnExtras): Set value to half m_buffer.

	* pvdlg.cpp (Cpvdlg): Editing errors had left LPC in the
	initialisations

	* ugens5.c (tone):
	(atone): 
	(areson): Coding improvements

	* soundio.c: Remove incorrect sol support (actually elsewhere)

	* rtaudio.c: Added solaris support from Sweden

	* winX11.c: Added casrs to (Window) in various unnecssary places

	* solarisAudio.h:
	* solarisAudio.c: New files

	* cs.h (VARGMAX): Increase to 801 as I cannot see how to make
	dynmaic yet.

1998-05-11  John ffitch  <jpff@wol>

	* sread.c (getop): Include 'c' as valid score opcode

1998-05-09  John ffitch  <jpff@weir>

	* FLUTE.H: lastamp field defined

	* sread.c (sread): Introduce 'c' as score option to reset a clock
	base, declare variable, and add top2 fields

1998-05-08  John ffitch  <jpff@weir>

	* PHYSMOD.C (flute): Reset maxPressure aas a result of k-rate amp

1998-05-02    <jpff@wol>

	* rdorch.c: Changes to record names of files and macros and line
	numbers; new function lexerr to decode all this.

1998-04-28  John ffitch  <jpff@weir>

	* main.c (main): Allow SET SFOUTYP=IRCAM, and -J option to set
	it.

	* soundio.h (TYP_IRCAM): Define new constant

1998-04-27  J P Fitch  <jpff@maths.bath.ac.uk>

	* otran.c (otran): Need to NULL realloced proportion of instrtxtp
	array.

1998-04-22  J P Fitch  <jpff@maths.bath.ac.uk>

	* version.h: Version 3.481

	* dcblockr.h:
	* dcblockr.c: New file

	* entry.c: Added dcblock opcode

1998-04-21  John ffitch  <jpff@weir>

	* cross2.c (Xsynthset): The treatment of the base of the buffer
	would lead to problems with second use or memory recovery.  Do not
	change base.

1998-04-16  J P Fitch  <jpff@maths.bath.ac.uk>

	* rtaudio.c (rtclose): Use *pcurp2

	* musmon.c: Make new variable pcurp2 for WIN32 case.

	* ugensa.c (newpulse): Extra line setting ovp->formphs added at
	suggestion of rasmus.ekman

1998-04-15  John ffitch  <jpff@weir>

	* VERSION 3.48

Tue Apr 14 12:41:54 1998    <jpff@montague>

	* oload.c: Remove second declaration of gbloffbas as reduntant.

1998-04-12  John ffitch  <jpff@weir>

	* util1/sortex/xmain.c (synterr): Added definition

	* util1/sortex/smain.c (synterr): Added definition of synterr

	* shaker.h: New field, freq, for below.

	* shaker.c (shaker): Take acount of frequency argument by calling
	the filter.

	* soundio.c (audwrite_norm): Heartbeat formats 1 (as before), 2
	(string if .s) and 3 (time in output).
	(audwrite): The same

	* main.c (main): Accept a digit after -H for various styles of
	reporting

1998-04-12  John Fitch  <jpff@lansky>

	* space.h:
	* locsig.h:
	* locsig.c:
	* space.c: New files

	* entry.c: Added new opcodes for location/space

	* fgens.c: Added gen28 to tables
	(fgens): Defer allocation for gen28 as well
	(hfgens): Same

1998-04-10    <jpff@wol>

	* linevent.c (RTLineset): Allow pipes as input to -L

	* entry.c: Added printk2 opcode

	* ugrw1.c (printk2set):
	(printk2): New functions for new opcode

	* ugrw1.h (struct): PRINTK2 added

	* linevent.c (RTLineset): Set no buffering if no fcntl function
	case

	* rtaudio.c (rtplay): Coding changes to stop re-evaluations
	[Windows version]
	Many changes to record for Windows and closing

1998-04-08    <jpff@wol>

	* ugensa.c (newpulse): Change to *fund!=0 case [Ekman]

	* ugens7.c (fof): Treat fractions of grain properly in fof2 case
	[Ekman]

	* entry.c: asin, acos and atan renamed sininv, cosinv and taninv
	Also rename atan2 as taninv2

1998-04-05  John ffitch  <jpff@weir>

	* entry.c: Aded atan2 operations

	* aops.c: Added atan2 operations

1998-04-05    <jpff@wol>

	* sread.c (getscochar): Add /* */ comments in scores

	* rdorch.c (copy_arglist): New function to copy argument
	definition from fixed buffer to new space
	(getoptxt): Use fixed nxtarglist and copy
	(getoptxt): Optional arguments are special case

	* diskin.c (newsndinset): Round error fix from Matt.

1998-04-04    <jpff@wol>

	* rdorch.c (rdorchfile): Moved allocation of ARGSPACE to place
	where orchestra size is known.
	(rdorchfile): Extend ortext area as needed.

1998-04-03    <jpff@wol>

	* rdorch.c (getoptxt): Try to extend ARGSPACE array with realloc

	* cwin.cpp (OnMouseMove): Remember mouse position on movement

	* wincwin.c (MakeXYin): Implement
	(ReadXYin): Implement

1998-04-02    <jpff@wol>

	* sread.c: Many changes to add macros and repeats

1998-03-27    <jpff@wol>

	* pvadd.c: New file
	* pvadd.h: New file
	* entry.c: Add pvadd opcode

1998-03-26  J P Fitch  <jpff@maths.bath.ac.uk>

	* filopen.c (WR_OPTS): Correct order so Microsoft format is seen
	before WIN32 (which is really Watcom I guess)

1998-03-24    <jpff@wol>

	* rdorch.c (splitline): Added support for C-style comments

1998-03-23    <jpff@wol>

	* rdorch.c: Major changes to add macro facility, #include also

1998-03-16    <jpff@wol>

	* midirecv.c (m_chanmsg): Change insalloc to instrtxtp->instance

	* oload.c: Remove declaration of insalloc

	* insert.c (insdealloc): Removed reference to insalloc array as
	never initialised.  Use instance field of instrtxtp instead

1998-03-15    <jpff@wol>

	* physmod.c (bowed): DlineL_setDelat was not set if no vibrato

1998-03-14    <jpff@wol>

	* physutil.c (DLineL_setDelay): Add check for delay too big

	* physmod.c (fluteset): Remove calls to OnePole and DCBlock clear

	* physutil.c (DCBlock_clear):  remove
	(OnePole_clear): Remove

	* physutil.h: Remove lastOutput from OnePole and DCBlock

	* AIFF.C (aiffReadHeader): SEEK_CUR -> SEEK_SET
	(aiffReadHeader): twice

1998-03-13    <jpff@wol>

	* FILOPEN.C: Add WR_OPTS case for MSVC

1998-03-06    <jpff@wol>

	* Cwin.cpp (OnExtras): Set O.FMidiin when a midi file is
	specified
	(OnMidifile): Add *.mf midi files to types recognised

1998-03-04  J P Fitch  <jpff@maths.bath.ac.uk>

	* physmod.c (clarinset):
	(fluteset):
	(bowedset):
	(brassset): Cannot be sure frequency given, so reorganise
	initialisation of frequency, including moving code to the
	performance function

1998-03-01    <jpff@wol>

	* cwin.cpp (cwin_exit): Use cwin_full_program_name for repeat use
	rather than plain winsound; hence does not have to be in search
	path

	* otran.c (otran): and use argument

	* rdorch.c (getoptxt): Give function an argument for reinit

1998-02-27    <jpff@wol>

	* lptrkfns.c (TWOPI): Replace variables by #defines

	* cross2.c (getmag): max was not intitalised so could have
	random results.

	* vdelay.c (multitap_set): max was not intitalised so could have
	random results.

1998-02-25    <jpff@wol>

	* physmod.c (bowed): When checking to see if betaRatio has changed
	one needs to incorporate frequency.  Made lastbeta field into
	product of beta and freq
	(bowedset) Consequence of above

1998-02-22    <masjpf@WOL>

	* soundio.c (sfopenin): Added | syntax in -i files
	(sfopenout): and -o files
	(sfclosein): Deal with pipes in closing
	(sfcloseout): and the other kind

1998-02-21  John Fitch  <jpff@lansky>

	* soundin.c (sreadin): Denormalise floating WAV files

	* rtaudio.c (getWaveOutDevices): New Function
	(getWaveOutName): New Function
	(playopen): Allow menu selection if device

	* midisend.c (openMIDIout): Replace NULL be 0 twice for ignored
	arguments
	(openMIDIout): Firest argument to sscanf missing!

	* dpwelib.h: Add _MSC_VER as well as SYS5 for strchr etc

	* soundio.c (audwrite_norm): New function for normalised floats
	(sfopenout): And arrange to call it

	* hetro.c (hetro):
	* sndinfo.c (sndinfo): exit onlt for non-CWIN

	* lpanal.c (lpanal): Use return in CWIN rather than exit
	(lpanal): Again

	* pvanal.c (pvanal): Use exit if in CWIN variant

	* ugens3.c: Moved declaration of isintab to top

	* wave.c: Many changes for completing floating samples

	* memalloc.c (memreset): Correct typing error

1998-02-17  J P Fitch  <jpff@maths.bath.ac.uk>

	* entry.c: Added nreverb opcode, and make reverb2 the same

	* nreverb.h: New file

	* vdelay.c (nreverb): New function
	(nreverb_set): New function
	(reverb2_play):
	(reverb2_set): Removed (well #defined out)

1998-02-05  John Fitch  <jpff@lansky>

	* rdorch.c (getoptxt): Add 'h' case

1998-02-01  John Fitch  <jpff@lansky>
	* VERSION.H: 3.473

	* shaker.c (shaker): Change type of shake to float

	* shaker.h: Removed shake_times as not used.  Also change some
	longs to int.

1998-01-19  John Fitch  <jpff@lansky>

	* VERSION.H: 3.47

	* hetro.c: Make hmax a short so gets written correctly.

1998-01-07  John Fitch  <jpff@lansky>

	* fm4op.c (hammondB3): Only reset frequencies if there is a
	modulation, and do it inside main loop

1998-01-06  John Fitch  <jpff@lansky>

	* aops.c: Added tan, asin, acos, sinh, cosh, tanh, log10 support

	* entry.c: Added functions tan, asin, acos, sinh, cosh, tanh, log10

1998-01-02  John Fitch  <jpff@lansky>

	* entry.c: Added entries for tablekt and tableikt having found
	them in ugens2.c

1997-12-31  John Fitch  <jpff@lansky>

	* mandolin.c (mandolin): Arrange frequency is at k rate
	(mandolinset): If no lowest frequency need to multiply by 0.9
	-- minimum suggested detune.

	* mandolin.c: NEW FILE

	* physutil.c (ADSR_setReleaseRate):
	(ADSR_setDecayRate):
	(ADSR_setAttackRate):  Correction by NORM_RATE was missing.

	* fm4op.c (FM4Alg4_tick): Corrected mistaken use of wave[0] 4
	times.

	* shaker.h:
	* singwave.h:
	* moog1.h:
	* fm4op.h:
	* shaker.c:
	* singwave.c:
	* moog1.c:
	* fm40op.c: NEW FILE

1997-12-28  John Fitch  <jpff@lansky>

	* fgens.c (fgens): Apparent 'hole' at 300 tables.  Fix this?

	* filter.c (FPMAX): Change name from FMAX as that is used elsewhere

1997-12-26  John Fitch  <jpff@lansky>

	* ugensa.h: Make riphs field unsigned as Watcom gave false
	negative anser!

	* ugens2.c (kosc1): Will not compile with Symantec PowerC so
	remove optimisations
	(koscil): Ditto

1997-12-24  John Fitch  <jpff@lansky>

	* sread.c (getpfld): Allow E and e in numbers

1997-12-23  J P Fitch  <jpff@maths.bath.ac.uk>

	* entry.c: Added atan in three forms

	* aops.c: Added atan function.

1997-12-20  John Fitch  <jpff@lansky>

	* wincwin.c (MakeGraph): Remove caption and call to cwin_show
	(DrawGraph): Added call to cwin_show

	* cwin.cpp (class CGrapicsWindow): Add methods for Next and Prev
	Added vectors to remember old graphs
	(Clear): Copy old picture to teh vectors if not already saved.
	(Next): Next function to cycle through graphs
	(Prev): And previosu graph
	Altered menus etc to fit, and calls from main window

1997-12-19  John Fitch  <jpff@lansky>

	* rtaudio.c (playopen): Select win_dev in WIN32 if in range, else
	zero.
	Declare win_dev.

	* soundio.c (sfopenin): Accept devaudio# and adc# as valid RT
	audio in WIN32 situation.

1997-12-17  John Fitch  <jpff@lansky>

	* vibraphn.h:
	* marimba.h:
	* modal4.h:
	* modal4.c: New File, for marimba, vibraphone and agogobel

1997-12-15  John Fitch  <jpff@lansky>

	* fgens.c (gen01raw): Added check that length actually exceeded

1997-12-10  John Fitch  <jpff@lansky>

	* util2/exports/het_import.c (main): And again

	* util2/exports/het_export.c (main): Deal with header

Sat Dec 06 16:44:29 1997  John Fitch  <jpff@weir>

	* ugens3.c (adsyn): Get pointer to partials
	(adset): Read header and allocate space via aux

	* ugens3.h (ADSYN): Make ptlptrs into an aux structure

	* hetro.c (filedump): Write a header of number of partials

1997-11-24  John Fitch  <jpff@lansky>

	* sread.c (sget1): Deal with \ escapes

1997-11-23  John Fitch  <jpff@lansky>

	* soundin.c (sndgetset): Prepare for AIFC
	(newsndinset): Ditto
	(sndo1set): Ditto

	* soundio.c (sfcloseout): Add TYP_AIFC in preparation
	(sfopenin): Ditto
	(sfopenout): Ditto
	(sfopenout): Ditto

	* aiff.h: Added CommChunk3 definition

	* soundio.h (TYP_AIFC): Define new constant

	* cs.h: Added maxamps field to AIFFDAT structure

1997-11-20  J P Fitch  <jpff@maths.bath.ac.uk>

	* wave.c (wavReadHeader): Allow floats in input of WAV
	(wavWriteHdr): Allow floats in writing headers.

	* main.c (main): Allow WAV format floats

1997-11-18  John Fitch  <jpff@lansky>

	* fgens.c: Increased number of gens to 27; added gen25 and gen27.


1997-11-15  John Fitch  <jpff@lansky>

	* entry.c: Added opcode wgclar, wgflute, wgbow, wgbrass, marimba,
	vibes, agogobel, shaker, fmbell, fmrhode, fmwurlie, fmmetal, fmb3,
	fmvoice, fmpercfl

	* clarinet.h:
	* flute.h:
	* bowed.h:
	* brass.h:
	* physmod.c:
	* physutil.h:
	* physutil.c: New File

	* rdorch.c: Make lblreq into a dynamic object
	(rdorchfile): Alloc space to lblreq and initialise lblmax
	(lblrequest): Rewrite to use arrary access
	(lblfound): Rewrite to allow growth of lblreq space
	(lblchk): And again

1997-11-09  John Fitch  <jpff@lansky>

	* sread.c (ifa): Allow ^n in second field of score
	(getpfld): Admit ^ in scores

1997-11-01  John Fitch  <jpff@lansky>

	* makefile:
	* Makefile:
	* cross2.c:
	* all_files: Rename cross.c as cross2.c for consistency

1997-10-30  John Fitch  <jpff@lansky>

	* midisend.c: Further revision on LINUX version
	In SGI case ensure only one call to write (for 2 or 3 bytes) for
	each MIDI output call.

	* main.c: Added LINUX-specific forward declarations
	(main): -Q option in LINUX

1997-10-28  John Fitch  <jpff@lansky>

	* midisend.c: Various LINUX changes

	* ugens1.c (xsgrset): Setting of relestim was missing

1997-10-27  John Fitch  <jpff@lansky>

	* midiops2.c (TRUE): Protect definition in case already exists

1997-10-26  John Fitch  <jpff@lansky>

	* midisend.c: Added LINUX code

	* ugens1.c (lsgset): Allocation of segment space only checked for
	NULL and not being long enough (the common bug!) -- by inspection
	(lsgset): Wrote off end of SEG list.

	* SGIplay.c (play_on): Argument format to ANSI
	(play_set): Ditto ... and other functions

	* midiops2.c (initc7): Added void type
	(initc14): Ditto
	(initc21): Ditto

	* vpvoc.c (vpvset): Declaration of ldmemfil corrected

	* pvread.c (pvreadset): Declaration of ldmemfil corrected

	* pvinterp.c (pvbufreadset): Many %d -> %ld

	* scxtract.c (scxtract): Make functiomn type explicit

	* pvanal.c (takeFFTs): Correct format %d -> %ld

	* ugens7.c: Forward declaration of newpulse made ANSI

	* ugens4.c: Forward declarations of rand15 and rand16 made ANSI

	* ugens2.c (ptblchk): Added void type

	* ugens1.c (lsgset): Remopve variable d as not used

	* midirecv.c (m_chanmsg): Unwrapped ambiguous code

	* insert.c (MIDIinsert): Removed m_chnbp as not used

	* express.c (express): Added cast to char*

	* otran.c (constndx): Added cast to float* in case of C++ compiler

	* ugrw1.c (itablew): Declaration on ktablew
	(tableng): %f in format should be %p, or argument dereferenced
	(itableng): Ditto
	(tablegpw): Ditto
	(printksset): Remove false \c and \p cases
	(zawm): Unwrapped undefined code

	* fgens.c: Argument type in declaration of gen01raw

	* entry.c: Use sndwarpgetset

	* sndwarp.c (sndwarpset): Remove sndwarpset as not used

	* repluck.c (wgpsetin): Correct no-pluck case, and some code
	reorganisation to save space flapping

1997-10-15  John Fitch  <jpff@lansky>

	* aops.c (cps2pch): Corrected a rounding error in table case.
	(cpsxpch): Ditto

1997-10-12  John Fitch  <jpff@lansky>

	* ugens4.h:
	* ugens4.c:
	* ugens3.h:
	* ugens3.c:
	* entry.c: Remove doscil and poscil

1997-10-10  J P Fitch  <jpff@maths.bath.ac.uk>

	* aops.h (struct XENH): Correct argument order to fit documentation

	* cross.c (Xsynthset): Need to check that previous buffer is big
	enough (same bug as was in grain)
	(Xsynth): Re-construct due to JPff errors
	(Xsynth): Wrapping of n was at odd place??

1997-09-30  John Fitch  <jpff@lansky>

	* ugens2.c (itblchk): Replace NULL by 0 for types

Wed Sep 24 15:10:38 1997  J P ffitch  <jpff@maths.bath.ac.uk>

	* midirecv.c: Prototype for midNotesOff

	* musmon.c: Need a prototype for xturnon

	* zroots.c, laguer.c, nrutil.c: Removed,  Code moved into filter.c

Tue Sep 16 07:54:37 1997  John ffitch  <jpff@weir>

	* wavegde.c pluck.c filter.c zroots.c complex.c laguer.c
	nrutil.c: New files for plucked string and filter opcodes

	* cmath.c (seedrand): If seed of the random number is given as
	zero, seed from clock.

	* entry.c: Added new opcodes wgpluck, filter2, kfilter2, and zfilter2

	* repluck.c:
	* repluck.h (struct): Rename WGPLUCK to WGPLUCK2

	* entry.c: Renamed wgpluk to wgpluck2, and renamed structure

	* midirecv.c (m_chinsno): Remove test for maxinsno as there is no
	such thing really!

	* ugens2.c (ftkrchk): Moved return to end so all routes return a
	value.

	* rdorch.c (rdorchfile): Revise as MACRO now claimed by ADI

Thu Sep 11 16:31:41 1997  John ffitch  <jpff@weir>

	* cwin.cpp (OnGShow): Remove code related to backtrace as irrelevent
	(OnStop): Added stop and continue menu items as also as ^S-^Q
	These changes allow scrolling etc

Wed Sep 10 11:49:53 1997  John ffitch  <jpff@weir>

	* ugrw1.c (ftkrchkw): This function did not return any value in
	one case.  Make it return 1

	* otran.c (otran): Make sure ksmps is integer

	* ugrw1.c (timesr):
	(timesr):
	(instimes):
	(printkset):
	(printk):
	(printk):
	(printksset):
	(printks): Changed 1/ekr to onedkr to save division
	(zkset): Change value 0 for a float* to NULL as that is what is meant
	(zakinit): Do this twice more, (and for declarations)
	(zaset): Also for zastart

Mon Sep 08 20:12:58 1997  John ffitch  <jpff@weir>

	* ugens3.c: Prototype for turnoff

	* hrtferX.c: Removed function round as not used

Fri Sep 05 11:44:30 1997  John ffitch  <jpff@weir>

	* ugrw1.c (peakk): Changed abs to fabs which is clearly what is
	needed.  Use of abs changes to int and then back. (Whittle code)
	(peaka): Ditto

Thu Sep 04 11:54:26 1997  John ffitch  <jpff@weir>

	* ugrw1.c (printksset): Tidyup string decode to make it compatable
	with C wrt \ character.  Still needs work.

	* otran.c (otran): Allocate instrtxtp dynamically and allow to
	grow with mrealloc.  Removes restricton on largest instrument
	number.

	* musmon.c (playevents):
	* midirecv.c (m_chinsno):
	(m_chn_init):
	* oload.c (oload): New variable maxinsno replaces constant

Wed Sep 03 10:55:46 1997  John ffitch  <jpff@weir>

	* fgens.c (hfgens): If automatic numbering, it did not always
	allocate space in table

	* rdorch.c (getoptxt): Count 'm' in defaults section to remove
	error in ftgen

	* insert.c (MIDIinsert): Remove aging and overlap stuff

	* cs.h: Removed olap and age fields in INSDS

	* midiops.c: Removed midiolap and midiage

	* entry,c: Removed octdown and noctdft opcodes, also midiolap and
	midiage

	* spectra.c: Removed code for octdown as it is ADI proprietry


Fri Aug 29 15:25:59 1997  John ffitch  <jpff@weir>

	* util2/mixer/mixer.c (main):
	* cwin.cpp (class CArg):
	* wave.c (wavReadHeader):
	* soundio.c (iotranset):
	* soundin.c (sndo1set etc):
	* main.c (main):
	* LINUXaudio.c (setsndparms):
	* soundio.h (AE_UNCH): Renamed from AE_BYTE to AE_UNCH

Thu Aug 28 12:27:48 1997  John ffitch  <jpff@weir>

	* rtaudio.c (playopen): New variable ntmp as multiple use of ndev
	was causing problems.

	* dpwelib.h:
	* dsputil.c: Removed nested comments

	* repluck.c: New file

	* entry.c: Added wgpluck and repluck opcodes

Wed Aug 27 14:35:52 1997  John ffitch  <jpff@weir>

	* ugens5.c: Reorder code so RESET might work
	Declare DumpPoles instead of DumpPolesF, and comment out call!

Tue Aug 26 11:35:48 1997  John ffitch  <jpff@weir>

	* cross.c: Incorporated fhtfun.c into cross.c

	* fhtfun.c: REMOVE file

	* UTIL2/scale.dir/scale.c: Declarations of functions

	* midiops2.c: New file

	* entry.c: Added midicontroller message stuff

	* midiops2.h: New file

	* grain4.c (graingenv4): Code tidy on *xx++ type code
	(envv4): Change way of commenting out to #ifdef never


1997-08-20  John Fitch  <jpff@lansky>

	* midisend.c (send_midi_message):
	(note_on):
	(note_off):
	(control_change):
	(after_touch):
	(program_change):
	(pitch_bend):
	(poly_after_touch): Wrote WIN32 code for these as calls to
	midiOutShortMsg
	(openMIDIout): Open device 0 only for now

	* midioops.h (MD_CHANPRESS, etc): MIDI opcodes

	* midiout.c: Added calls to openMIDIout in each initialisation
	function.  May seem expensive but is minimal disturbance.

1997-08-18  John Fitch  <jpff@lansky>

	* SENT TO DAVE

	* midisend.c: Totally new file

1997-08-17  John Fitch  <jpff@lansky>

	* pvanal.c (pvanal):
	* lpanal.c (lpanal):
	* cvanal.c (cvanal):
	* hetro.c (filedump): Ensure analysis file is read-write.  Some
	systems seem to get this wrong

	* rtaudio.c (playopen): If more than 1 possible output in WIN32
	then allow user to choise which.  Also added some more checking
	(rtplay): Remove called to waveOutUnprepareHeader and
	waveOutPrepareHeader as they seem unnecessary (according to GAB)
	(rtclose): Change strategy for wrap-up

	* midiout.h: New file (Gabriel M)

	* midiout.c: New file (Gabriel M)

	* entry.c: Added MIDI output opcodes

1997-08-11  John Fitch  <jpff@lansky>

	* rdorch.c: Added type 'h' to argument type -- needed in MIDI

1997-08-06  John Fitch  <jpff@lansky>

	* ugens1.h: Define struct EXXPSEG

	* ugens1.c (xsgrset): Rewrite function

1997-08-05  John Fitch  <jpff@lansky>

	* otran.c: Remove txtcpy in favour of memcpy, and define macro

1997-08-01  John Fitch  <jpff@lansky>

	* dam.h: New file

	* dam.c: New file

	* makefile (dam.u): Added dam target

	* entry.c: Added dam opcode

1997-07-13  John Fitch  <jpff@lansky>

	* cross.c: New File

	* fhtfun.c: New File (support for cross)

	* ugens2.c (oscnset): New function
	(osciln): New function (for osciln opcode)

	* ugens2.h: New structure OSCILN

	* entry.c: Declarations for cross2 opcode
	Also osciln opcode

	* soundio.h (IOBUFSAMPS): Larger default buffers for Windows95

1997-07-07  John Fitch  <jpff@lansky>

	* ugens1.h: New fields in EXPSEG

	* entry.c: Added expsegr

	* ugens1.c (xsgrset):
	(kxpsegr):
	(expsegr): New functions

	* ugens3.h: New structure DOSC

	* oload.c (instance): Set chanel if MIDI

	* insert.c (insert): Add check for MIDI instruments from score

1997-07-05  John Fitch  <jpff@lansky>

	* ugens3.c (dosset, doscil): New functions

	* entry.c: Added doscil opcode

	* soundin.c (sndwrt1):
	(sndwrtu):
	(sndwrt2rev):
	(sndwrt2):
	(sndwrt4rev):
	(sndwrt4):
	(sndwrtf): New functions

	* soundio.h: New structs SNDCOM, SNDOUT and SNDOUTS

	* soundin.c (sndo1set): New function
	(soundout): New function
	(sndo2set):
	(soundouts): New but null functions

	* soundio.h (SNDOUTSMPS): New constant

	* midiops.c (ipchbend): New function
	(kbndset): New function
	(kpchbend): New function

	* entry.c: Added ipchbend and kpchbend, modify pchbend
	Added soundout.  Also soundouts but I think it is a failure

Sun Jun 22 11:54:43 1997  John Fitch  <jpff@lansky>

	* midirecv.c: Many changes and new functions for revised MIDI code

	* cs.h: New struct DPARM, DKLST and DPEXCL

	* ugens1.c (klnseg): Rewrite
	(lsgset): Rewrite
	(linseg): Rewrite

	* ugens1.h: Defien SEG type/struct

	* oload.c (oload): Define dvensmps

	* ugens1.h: Add new fields to LINSEG for releases

	* rdorch.c (rdorchfile): Added MACRo support

Tue Jun 17 15:48:29 1997  John Fitch  <jpff@maths.bath.ac.uk>

	* entry.c: Added linsegr opcode

Mon Jun 16 21:50:39 1997  John Fitch  <jpff@lansky>

	* rdorch.c (rdorchfile): Treat \ ... \n as ignorable

Fri Jun 13 21:34:01 1997  John Fitch  <jpff@lansky>

	* entry.c: Added turnon opcode

Tue Jun 10 09:02:58 1997  John Fitch  <jpff@lansky>

	* midiops.c (ichanctl):
	(chctlset):
	(chanctl): New functions

	* midiops.h: Added CHANCTL structure

	* entry.c: Added chanctrl opcodes

Mon Jun  9 21:43:27 1997  John Fitch  <jpff@lansky>

	* entry.c: Added extra optional argument to [ik]midictrl

	* midiops.c (mctlset): Added scaling

	* midiops.h: Changed MIDICTL to lo and hi from sc and base

	* midiops.c (imidictl):
	(midictl): Added scaling

	* midiops.h: Added MIDIMAP structure

	* entry.c: Added optonal arguments to veloc

	* midiops.c (veloc): Added scaling to veloc
	Removed f128 in favour of a constant

Sat Jun  7 20:06:53 1997  John Fitch  <jpff@lansky>

	* entry.c: Added ftlptim opcode

	* ugens4.c (posset): New function
	(poscil): New function

	* ugens4.h: POSC structure

	* entry.c: Added rnd and birnd in i and k formats
	Added poscil

	* aops.c (rnd1):
	(birnd1): New functions for direct use in orchestras

Fri Jun  6 09:20:31 1997  John Fitch  <jpff@lansky>

	* cs.h: Added posbend field to MCHNBLK

Thu Jun  5 21:48:00 1997  John Fitch  <jpff@lansky>

	* cs.h: Added mdepends field to INSTRTXT

Wed Jun  4 11:46:03 1997  John Fitch  <jpff@lansky>

	* aiff.c (aiffReadHeader): initialised markersp to NULL

Tue May 27 08:17:57 1997  John Fitch  <jpff@lansky>

	* cs.h: Added #defines for VSET etc

	* oload.h (struct): Lots of new structures for Vprogs and the like

	* midiops.h: Added MASSIGN and CTLINIT structures

Sun May 25 17:22:09 1997  John Fitch  <jpff@lansky>

	* ftgen.h: New file

	* entry.c: Entry for ftgen opcode

	* fgens.c (hfgens): New code
	(ftgen): New code; together for ftgen opcode

Sat May 24 18:36:41 1997  John Fitch  <jpff@lansky>

	* cs.h: Added fno to FUNC

Tue May 20 10:29:02 1997  John Fitch  <jpff@lansky>

	* ugens7.c (harmset): New function (BV)
	(harmon): Ditto

	* entry.c: Entry for harmon

	* ugens7.h (struct): Added HARMON struct

Mon May 19 21:51:31 1997  John Fitch  <jpff@lansky>

	* ugensa.c (newpulse): Changes abs to fabs as that is clearly what
	is needed.

Mon May 19 12:20:51 1997  John Fitch  <jpff@maths.bath.ac.uk>

	* winX11.c: Added include of <stdio.h>

Mon May 19 08:50:44 1997  John Fitch  <jpff@lansky>

	* rdscor.c (scanflt): treat comments when reading a number

Sat May 17 17:31:47 1997  John Fitch  <jpff@lansky>

	* cscormai.c (scfopen): Move this function from rdscor.c as only
	used in stand-alone cscore

	* rdscor.c: Delete scfopen function

Fri May 16 10:01:41 1997  John Fitch  <jpff@lansky>

	* memalloc.c (memdie): Made function void type

	* ugens5.c: Added int type to currentLPCSlot, and moved to top of
	file

	* midirecv.c: Added int type to sexcnt

	* winX11.c: Added int type for winstance

Sat May 10 23:44:12 1997  John Fitch  <jpff@lansky>

	* ugrw1.c: Change name of times function to timesr to avoid
	problems with Mac

	* entry.c: Change name of times function to timesr to avoid
	problems with Mac

Wed May  7 21:04:55 1997  John Fitch  <jpff@lansky>

	* butter.c (butter_filter): Changed declaration on n to long for
	consistency.

Sun May  4 08:58:44 1997  John Fitch  <jpff@lansky>

	* version.h: NEW VERSION 3.46

	* fgens.c (fgens): Expand the number of tables available
	dynamically.
	Declare fmax etc
	(gen04): (ftfind): (ftfindp): (ftnp2find): FMAX->fmax

	* rtaudio.c (RTwavclose): New function to close on early exit
	(playopen): Minor revisions to Win95, including CWIN->_WIN32
	(rtplay): Change _WIN32 way of playing buffers
	(rtclose): Change _WIN32 close down

	* prototyp.h: Add argument to getoptxt if RESET

	* soundin.c (soundinreset): New function protected by RESET
	(sndinset): Reset file position if already open
	(soundin): Check initialisation
	(soundinew): Check initialisation

	* sndwarp.c (sndwarp):
	(sndwarpst): Check initialisation

	* rdorch.c (orchreset): New function protected by RESET
	(getoptxt): Added argument if RESET and use it for reseting

	* memalloc.c (memreset): New function protected by RESET

	* fgens.c (ftreset): New function protected by RESET; code tidying

	* cscorfns.c (cscorereset): New function protected by RESET
	Also some code shuffling

Sat May  3 19:38:45 1997  John Fitch  <jpff@lansky>

	* spectra.c (koctdown): (octdown): (noctdft): (spdspset): (specdisp):
	(specptrk): (specsum): (specaddm): (spdifset): (specdiff):
	(spsclset): (specscal): (sphstset): (spechist): (spfilset):
	(specfilt): Check initialisations

	* musmon.c (musreset): New function protected by RESET

	* disprep.c (kdsplay): (kdspfft): (dspfft):
	(tempest): Check initialisation

	* otran.c (tranreset): New function protected by RESET

	* oload.c (oloadreset): New function protected by RESET

	* ugens3.c (foscil):
	(foscili): (adsyn): Check initialisations

	* ugens4.c (buzz): (gbuzz): (pluck): Check initialisation

	* ugens5.c (lpcreset): New function protected by RESET
	(lpinterpol): (lpread): Check initialisation

	* wave.c (wavReadHeader): Set hdrsize to include non-data chunks

	* grain4.c (graingenv4): Check initialisation

	* ugens9.c (convolve): Check initialisation

	* insert.c (insertreset): New function, protected by RESET
	(insert): Only print new alloc message if messages 2 set
	(initerror): Check there is an ids
	(perferror): and a pds

	* grain.c (ags): Check initialisation
	(ags): Check for zero density

	* express.c (expreset): New function, protected by RESET macro

	* hrtferX.c (hrtferxk): Check initialisation

	* ugens2.c (ktable): (table): (ktabli): (tabli): (kosc1):
	(kosc1i): (koscil): (osckk): (oscka): (oscak): (oscaa):
	(koscli): (osckki): (osckai): (oscaki):
	(oscaai): Check initialisation

	* ugens7.c (fof): Check initialisation

	* ugens6.c (delay): (delayr): (delayw): (deltap):
	(deltapi): (comb): (alpass): (reverb):
	(pan): Check initialisation

	* ugens8.c (pvoc): Check initialisation

	* sread.c (pcopy): Another place where fabs is needs in case of
	negative p3 in score.

	* nlfilt.c (nlfilt): Check initialisation

	* ugens1.c: Remove register declarations
	(klnseg): (linseg): (kxpseg): (expseg):
	(knvlpx): (envlpx): Check for initialisations

	* vdelay.c (vdelay):
	(multitap_play): (reverb2_play): Check for initialisation

	* pvinterp.c (pvbufread): (pvinterp):
	(pvcross): Check they are initialised

	* vpvoc.c (ktableseg):(ktablexseg): (voscili):
	(vpvoc): Check they are initialised

	* winX11.c (myXprintLines): ANSIfied function

	* pvoc.c:
	* dsputil.c: Removed FLOATARG as it is a mistaken idea

	* pvoc.h:
	* dsputil.h: Removed non ANSI stuff, and the horrid FLOATARG

	* aoscilx.c (aoscilxplay): Check opcode is initialised

	* follow.c (flwset): Check that length given is not zero (RWD
	suggestion but moved to init function)

Sun Apr 27 13:06:00 1997  John Fitch  <jpff@lansky>

	* cscormai.c (main): Added dribble initialisation
	(dribble_printf): New function
	(err_printf): New function

	* Makefile, makefile: Added new files

	* all_files: Added new files

	* ugensa.h: New file

	* ugensa.c: New file for FOG

	* entry.c: Add opcode fog

Sun Mar 23 18:08:01 1997  John Fitch  <jpff@lansky>

	* otran.c (otran): Revise check for consistent sr/kr=ksmps
	(otran): Check for finishing inside an instrument

Fri Mar 21 21:21:22 1997  John Fitch  <jpff@lansky>

	* entry.c: Added diskin opcode

	* soundin.c: New code for diskin opcode (Matt Ingalls)

	* diskin.h: New file

	* cs.h (DFLT_SR): Change to 44100
	(DFLT_KR): Change to 4410
	(DFLT_KSMPS): Remains 10 (!)

	* ugens2.c: Changes to table stuff (Whittle)

Thu Mar 20 22:17:00 1997  John Fitch  <jpff@lansky>

	* entry.c: Put Whittle opcodes back

	* fgens.c (ftfindp): New function (Whittle)

Wed Mar 19 13:25:43 1997  John Fitch  <jpff@lansky>

	* otran.c (otran): Set initial tran_{sr,kr,ksmps} to -1 and
	correct in otran.

Sun Mar 16 12:26:50 1997  John Fitch  <jpff@lansky>

	* ugens8.c (pvoc): Simplify initialisation when specwp greater
	than zero. (Richard Karpen)

Sat Mar  8 15:30:34 1997  John Fitch  <jpff@lansky>

	* hrtferX.c: Declaration of bytrevhost

	* main.c: Added #include <ctype.h> for isdigit

Fri Mar  7 13:16:37 1997  John Fitch  <jpff@maths.bath.ac.uk>

	* main.c (err_printf): Same error as before -- code in wrong
	order.  No idea how it got undone.

	* rtaudio.c (playopen): Comment out line about BitsPerSample on advice

Fri Mar  7 09:54:31 1997  John Fitch  <jpff@lansky>

	* opcode.c (list_opcodes): Use mmalloc/mfree rather than
	malloc/free
	(list_opcodes): Reorganize argument to mmalloc as well

Thu Mar  6 21:43:31 1997  John Fitch  <jpff@lansky>

	* entry.c: Added entry for soundin2

	* soundin.c (soundin2): New function, implements soundin2
	(sndinset): Initialisation for soundin2 added

	* soundio.h: Added new fields to SOUNDIN structure for soundin2

Wed Mar  5 10:59:32 1997  John Fitch  <jpff@lansky>

	* hrtferX.c (hrtferxkSet): Reverse bytes after reading HRTFcompact
	if necessary (as shown by byrevhost)

	* Makefile (CSRCS): CSRC7 was missing from CSRCS!
	* makefile (CSRCS): CSRC7 was missing from CSRCS!

Tue Mar  4 14:24:47 1997  John Fitch  <jpff@maths.bath.ac.uk>

	* opcode.c (list_opcodes): The malloc did not get enough memory --
	needed multiplication by the sizeof thingy

Tue Feb 25 10:33:22 1997  John Fitch  <jpff@lansky>

	* aops.c: Removed register declarations

	* wave.c: Removed various register declarations

	* swrite.c (fltout): Reinstated multiplication by precmult for
	LINUX only.  This is still wrong way to do it!

Tue Feb 18 08:57:08 1997  John Fitch  <jpff@lansky>

	* sread.c: Remove register declarations throughout
	(stof): Replace body by call to strtod for simplicity and shorter
	code. (Experimental I guess)

Sun Feb 16 15:49:57 1997  John Fitch  <jpff@lansky>

	* sread.c (ifa): Take absoulte value of previous p3 when reading a
	score, in order to deal with portamento etc

Fri Feb 14 21:49:51 1997  John Fitch  <jpff@lansky>

	* midirecv.c (m_chanmsg): Further midi chages to controllers from
	Mike Berry

Thu Feb 13 21:01:42 1997  John Fitch  <jpff@lansky>

	* midiops.h: sc and base fields in MIDICTRL
	and irange field in MIDIVAL

	* midiops.c (midibset): New function from Mike Berry
	(cpsmidib): Allow scaled pitchbend
	(octmidib): Ditto
	(pchmidib): Ditto
	(mctlset): Deal with controller 0

	* rdorch.c (getoptxt): Add code from Mile Berry to fix bug that
	prevented an opcode with only optional arguments from properly
	loading defaults

	* entry.c: Declared midisetb
	Added optional argument to ipchmidib, ioctmidib, icpsmidib,
	kpchmidib, koctmidib, kcpsmidib, imidictrl, kmidictrl.  Needed
	initialisation for some

Fri Feb  7 08:15:28 1997  John Fitch  <jpff@lansky>

	* ugens7.c (fof): In penultimate line removed * in *ar++ as it
	does not do anything, and I think it is spurious.  Also remove
	register declarayions all over

Wed Feb  5 17:53:54 1997  John Fitch  <jpff@lansky>

	* ugens7.c (newpulse): Corrected code (JPff mistake)

Mon Feb  3 09:48:32 1997  John Fitch  <jpff@lansky>

	* version.h (SUBVER): CHANGE VERSION NUMBER TO 3.45

	* swrite.c (fltout): Remove precmult as it does nothing and
	increase precision by one digit

	* sndwarp.c (sndwarpstgetset): New code from Richard Karpen
	(sndwarpstset): Ditto
	(sndwarpst): Ditto

	* fgens.c (ftfindp): Remove Whittle code

Sun Feb  2 12:22:01 1997  John Fitch  <jpff@lansky>

	* util2/mixer/mixer.c (main): Moved line assigning to O.filetyp to
	before AIFF/WAV sanity checks
	(MixSound): Second argument to audtran was size when shoudl have
	been length

Sat Feb  1 16:43:33 1997  John Fitch  <jpff@lansky>

	* swrite.c (fltout): Work in doubles internally (RK), but then
	replaced by fprintf anyway??

	* ugens2.c: Remove Whittle code

	* ugens2.h: Remove Whittle code

	* main.c (main): Add -z0 and -z1

	* Remove ugrw* from makefiles

	* entry.c: Remove Whittle opcodes

Tue Jan 28 07:54:58 1997  John Fitch  <jpff@lansky>

	* entry.c: Add fof2 opcode

	* ugens7.c (fofset0): Rename fofset and add argument to
	distinguish fof and fof2 initialisation ; also set fmtmod field in
	fof call only
	(fofset): Call fofset0 with true
	(fofset2): Call fofset0 with false
	(fof): fof and fof2 cases differ at start of loop
	(newpulse): Deal with fof2 case at end

	* ugens7.h: Add glissbas and sampct fields to OVRLAP
	and foftype field to FOFS

	* opcode.c: New file

	* prototyp.h: Added declaration of list_opcodes

	* main.c (main): Add -z option to list opcodes

Sun Jan 26 14:02:06 1997  John Fitch  <jpff@lansky>

	* cmath.c (auniform): Add new function for completeness
	(ikuniform): Ditto

	* ugens2.c: Changes to table stuff (Whittle)

	* ugens2.h: Added pfn field to TABLE for Whittle

	* ugrw1.c: New file (Whittle)

	* ugrw2.c: New file (Whittle)

	* prototyp.h: Added declaration of ftfindp

	* fgens.c (ftfindp): New function (Whittle)

	* ugens2.c: Remove register declarations

Fri Jan 24 18:52:01 1997  John Fitch  <jpff@lansky>

	* cmath.c: Removed register declarations throughout; also some
	improved layout of comments

Mon Jan 20 08:48:56 1997  John Fitch  <jpff@lansky>

	* lpanal.c (lpanal): Return after exit for compiler
	(lpanal): Only declare polyReal and polyImag if used

	* linevent.c (sensLine): Comment out unused variables

	* ieee80.c: Remove nested comment

	* hetro.c (hetro): Add a return after exit to keep compilers quiet

	* fft.c: Remove nested comments in 3 places, and a print
	statement

	* aiff.c (aiffReadHeader): Comment out unused vaiables

	* main.c (main): By use of %n arrange that a numeric argument can
	be follwed directly by another argument.

Wed Jan 15 20:39:12 1997  John Fitch  <jpff@lansky>

	* window.c (DummyRFn): Made it return zero rather than 1 as there
	does not seem to be an error here.  Thanks Marc!

Sat Jan 11 16:53:59 1997  John Fitch  <jpff@lansky>

	* vdelay.h: Added istod field to VDEL struct

	* entry.c: Add optional istod argument to vdelay

	* vdelay.c (vdelset): Skip initialisation if istod set

	* ugens6.c: Removed register declarations

	* vdelay.h (struct): Added istor field to STVB

	* vdelay.c (reverb2_set): Skip initialisation if istor set and
	have buffers.

	* entry.c: Added optional istor argument to reverb2

	* butter.c (bbutset):
	(butset):  Skip initialisation if istor non-zero

	* butter.h (struct): Added istor filed to BFIL and BBFIL

	* entry.c: Added optional extra argument to all butterworth
	filters

Tue Jan  7 10:32:09 1997  John Fitch  <jpff@lansky>

	* version.h (SUBVER): CHANGE VERSION NUMBER TO 3.44 in Windows

	* winsound.rc: Added postscript and Oldformat fields to DIALOG_1
	and DIALOG_LPC respectively.  Some reshuffling to make it fit

	* cwin.cpp (class CArg): Added m_postscript member
	(class CArg): and afx command
	(CArg): Set m_postscript from profile
	(OnInitDialog): Set initial value of Postscript
	(cwin_args): Set O.postscript after dialog

	* lpcdlg.cpp (class Clpcdlg): Added oldf to constructor, and
	m_oldf to the members.
	(class Clpcdlg): New afx OnOldFormat
	(Clpcdlg): Use oldf in constructor
	(lpanal_dialog): Oldf stuff

Mon Jan  6 10:25:31 1997  John Fitch  <jpff@lansky>

	* version.h (SUBVER): CHANGE VERSION NUMBER TO 3.44

	* aops.c (cpsxpch): Added table form of cpsxpch and cps2pch

	* lpanal.c (lpanal): Various fixes after new code.

Sun Jan  5 23:17:19 1997  John Fitch  <jpff@lansky>

	* ugens5.c (lpslotset): New function
	(lpitpset): New function
	(lpinterpol): New function
	: other changes throughout

	* ugens5.h: New field in LPREAD
	*  (struct): New structures

	* lpc.h (LP_MAGIC2): New definition

	* lpanal.c: Incorporated Marc Reseibois' alternative format.  Many
	changes all over

Sat Jan  4 19:25:23 1997  John Fitch  <jpff@lansky>

	* oload.c: Added postscript filed to initialisation of O structure

	* main.c (main): Remove O initialisation as in wrong place

Fri Jan  3 14:39:30 1997  John Fitch  <jpff@maths.bath.ac.uk>

	* Files sent to Mills College

Thu Jan  2 17:29:17 1997  John Fitch  <jpff@lansky>

	* main.c: Make scorename a global for winEPS
	Add initialisation of O fields

	* winEPS.c: New file for Encapsulated PostScript output

	* cs.h: Added postscript field

	* window.c (display):
	(dispexit):
	(dispset): Call Postscript stuff

	* main.c (main): Added -G option fopr Postscript printing

	* hrtferX.c: New code for 3D sound

	* entry.c: Added hrtfer opcode

Mon Dec 30 16:13:40 1996  John Fitch  <jpff@lansky>

	* entry.c: Added opcodes "sndwarp", "ktableseg", "ktablexseg",
	"voscili", "vpvoc", "pvread", "pvcross", "pvbufread", "pvinterp"

	* pvinterp.c:
	* pvread.c:
	* vpvoc.c:
	* sndwarp.c: New files added, from Richard Karpen, with some
	optimisations.

Sun Dec 29 13:15:57 1996  John Fitch  <jpff@lansky>

	* aops.c (cps2pch): New functiomn for ET tuning
	(cpsxpch): Remove attempt at optional arguments

	* entry.c: Added cps2pch for ET tunings

	* linevent.c: (sensLine): Use strtod to read floating argument rather
	than use longs.  Untested!

Fri Dec 27 14:42:53 1996  John Fitch  <jpff@lansky>

	* util2/exports/het_export.c (err_printf): Define it
	(dribble_printf): Define it

	* util2/exports/pv_export.c (err_printf): Define it
	(mfree): Define it

Fri Dec 20 17:45:34 1996  John Fitch  <jpff@lansky>

	* rtaudio.c (rtclose): Modify close down for arbitrary buffers

	* ugens3.c (adset): Change length of filnam to MAXNAME

	* ugens5.c: Change length of lpfilnam to MAXNAME

	* ugens9.c (cvset): Change length of cvfilnam to MAXNAME

	* ugens8.c: Change length of pvfilnam to MAXNAME

	* cs.h (MAXNAME): Defined here

	* filopen.c (isfullpath): In PC case (and Atari) check for a: type
	names as well as /
	(MAXNAME): removed from this file

Mon Dec 02 15:23:53 1996    <jpff@maths.bath.ac.uk>

	* AOPS.c (cpsxpch): New function of equal temprament not 12/octave

	* AOPS.h (XENH): Structure for tuning

Fri Nov 27 14:49:00 1996  John Fitch  <jpff@ardindrean>

	* rdscor.c (rdscor): Added comments after 'e'

Tue Nov 26 16:40:26 1996    <jpff@maths.bath.ac.uk>

	* cwin.cpp: Added NONSTOP feature and a button to control it

Mon Nov 04 15:38:40 1996  John Fitch  <jpff@ardindrean>

	* FILOPEN.C (openin): If the file does not exist but SFDIR does it
	fails to notice a non-existent file.  Remove an else!

Mon Oct 28 10:13:55 1996  John Fitch  <jpff@ardindrean>

	* RDORCH.C (synterr): Remove register declarations; so new layout

Thu Oct 24 15:36:34 1996    <jpff@maths.bath.ac.uk>

	* VDELAY.c (vdelset): Only zero buffer if not new
	(multitap_set): Ditto
	(multitap_play): Remove division for assignment

Mon Oct 21 21:08:52 1996    <jpff@maths.bath.ac.uk>

	* version.h: (SUBVER): CHANGE VERSION NUMBER TO 3.43

	* rtaudio.c (playopen): Fixed allocation of buffer in CWIN case
	(rtplay): Use quadruple bufering correctly

Thu Oct 17 18:44:10 1996  John Fitch  <jpff@ardindrean>

	* VDELAY.c (multitap_set): Fixed the regular bug in allocation of
	buffer.

Thu Oct 17 17:34:15 1996    <jpff@maths.bath.ac.uk>

	* butter.c: New variable pidsr, set in both setters and used for
	pi/esr

Thu Oct 17 16:26:20 1996  John Fitch  <jpff@Ardindrean>

	* CMATH.c: Many code tidying operation -- all minor

Wed Oct 09 16:27:49 1996  John Fitch  <jpff@ardindrean>

	* rtaudio.c (playopen): Allocate each buffer with its own
	GlobalAlloc/GlobalLock

Tue Oct 08 16:10:24 1996  John Fitch  <jpff@ardindrean>

	* LPCDLG.CPP (class Clpcdlg): Added graphics selection -- most of
	code was there but not visible!

Tue Oct 08 15:29:09 1996  John Fitch  <jpff@ardindrean>

	* CWIN.CPP (OnOrchestra): Change title of dialog window and hide
	read-only button
	(OnScore): Change title of dialog window and hide read-only button
	(OnSoundfile): Change title of dialog window

Mon Sep 30 14:06:52 1996    <jpff@ardindrean>

	* grain4.c (graingenv4): Took array access out of loop with direct
	increments and similar use of local names

Fri Sep 13 10:45:09 1996  John Fitch  <jpff@lansky>

	* vdelay.c (vdelset): Bracket expression to get binding right
	(vdelset): Check size of buffer as well as existence (cf grain)
	(vdelay): Ensure max delay is at least 1
	(vdelset): Clear at least one slot

Thu Aug 15 05:36:11 1996  John Fitch  <jpff@lansky>

	* version.h (SUBVER): CHANGE VERSION NUMBER TO 3.42

	* memalloc.c (mcalloc): If calls for 0 bytes do not give an error

	* memalloc.c (memdie): Add argument to print size of failure
	(mfree): Use 0 argument for free
	(mrealloc): In CWIN set negative
	(mrealloc): Add argument in general case
	(mmalloc): Add argument in general case
	(mcalloc): Add argument in general case

Mon Jul 22 08:49:44 1996  John Fitch  <jpff@lansky>

	* fgens.c (gen21): Argument for Weibull ignore p6 so shuffle them
	down.
	(gen21): Check for at least 1 argument first, and treat the other
	two specials in the switch; saves code and very little cost.

	* cmath.c (exprand): I think algorithm was wrong in assuming
	lambda always 1.  Allowed range and lambda
	(biexprand): Code had lambda as always 1; make parameter 1/lambda
	(pcauchrand): Code was plain wrong

	* fgens.c (gen21): Add range to exponential distribution as well
	as spread.

	* cmath.h: Change prototype

	* cmath.c (unifrand): Add argument so as to give a range.

Sat Jul 20 18:55:39 1996  John Fitch  <jpff@lansky>

	* cmath.c (cauchrand): Limit answers to [-1,1]. Despite theory of
	99.9% I get some outside.
	(pcauchrand): The same range limiting.

	* fgens.c (gen21): For type 7 and 8 (Cauchy) it asked for an
	additional argument, and ignored the usual one.  As it was
	undocumented fixed to one argument

Tue Jul 16 09:29:48 1996  John Fitch  <jpff@lansky>

	* cwin.cpp (OnInitDialog): Format buttons started at _8 rather
	than _U8.

	* version.h (SUBVER): CHANGE VERSION NUMBER TO 3.41

	* rtaudio.c (rtplay): Triple buffering system
	(playopen): Create 3 buffers from one GlobalAlloc call
	(rtclose): Flush buffers before Reset. [All CWIN case]

Mon Jul 15 11:31:02 1996  John Fitch  <jpff@lansky>

	* rtaudio.c (rtplay): Remove the memcpy and cycle buffers.  Get
	WHDR_DONE correct and other simplifications.

Sun Jul 14 12:35:14 1996  John Fitch  <jpff@lansky>

	* rtaudio.c: Added draft Windows Multimedia support
	(playopen): Ditto
	(rtplay): Ditto
	(rtclose): Ditto

Tue Jul  9 21:25:27 1996  John Fitch  <jpff@lansky>

	* util2/mixer/xtrct.c: Change name of variable time to stime cos
	the Irix6.2 system complains.

Fri Jul  5 20:51:58 1996  John Fitch  <jpff@lansky>

	* all_files: SGIplay.c was missing

Sun Jun 16 20:58:01 1996  John Fitch  <jpff@lansky>

	* soundio.c (sfcloseout): Make datasize into unsigned long
	(especially for 68K)

Wed Jun 12 08:09:35 1996  John Fitch  <jpff@lansky>

	* wave.c (wavReadHeader): Add cast to (void*) 'cos Mac compiler
	complained

	* Transferred files to MAC

Mon Jun 10 08:59:57 1996  John Fitch  <jpff@lansky>

	* version.h (SUBVER): CHANGE VERSION NUMBER TO 3.40

	* wincwin.c: Include <string.h> and add variaous ignoring of
	arguments.
	(DrawGraph): Add cwin_paint() call

	* util2/exports/lpc_export.c:
	* util2/exports/het_import.c: Include <stdlib.h> which had been
	missed

	* ugens9.c:
	* ugens8.c: Move inclusion of <math.h> earlier to avoid an arcane
	VC problem

	* filopen.c: Add _WIN32 to definitions of RD_OPTS and WR_OPTS
	(openin): After open the test should be >=0

	* fgens.c (gen20): Remove register storage class from array as
	upsets VC and does no good anyway

	* pvanal.c (pvanal):
	* lpanal.c (lpanal):
	* hetro.c (hetro):
	* cvanal.c (cvanal):
	* fgens.c (gen01raw): Check on negative return from sndgetset as
	consequence of previous change

	* soundin.c (sndgetset): Change function to return -1 on failure
	instead of 0 as that does not rely on zero being in use for stdin
	(SAsndgetset): Also return -1 on failure

Sun Jun  9 16:31:48 1996  John Fitch  <jpff@lansky>

	* sysdep.h: Add _WIN32 support

	* pvoc.c: Add _WIN32 support

	* main.c (main): Add _WIN32
	(main): and again for SYS5

	* scot.c (efindword): Change type to void

	* scot.h: Change type of efindword to void

	* dsputil.c (hypot): Define hypot as _hypot for Visual C++

	* vdelay.c (reverb2_play): Change return type to void

	* midirecv.c (MidiOpen): Add _WIN32 to SYMANTEC
	Add _WIN32 to list of o/s which to not load ioctl.h
	(MidiOpen): Add _WIN32 to non SYS5 list
	(MidiOpen): Add _WIN32 to systems without ioctl

	* wave.c (wavReWriteHdr): Value check on result of lseek was wrong.
	(wavReadHeader): Add code to skip odd chunks in reading a header

	* dpwelib.h: Add _WIN32 to systems which include <stdlib.h>

	* linevent.c (RTclose): Add _WIN32 to list of systems which do not
	know about fcntl
	(RTLineset): Ditto

	* dumpf.c (kdmpset): Change test on openout to <0
	(kdmp2set): Ditto
	(kdmp3set): Ditto
	(kdmp4set): Ditto

Sat Jun  8 16:11:56 1996  John Fitch  <jpff@lansky>

	* cmath.c (gaussrand): Change floating value for n to an integer

Mon Jun  3 08:35:11 1996  John Fitch  <jpff@lansky>

	* lpanal.c (lpanal): Allocate coef and cc dynamically

	* hetdlg.cpp (DoDataExchange): Remove limit of 50 in number of
	harmonics

	* hetro.c (hetro): Allocate MAGS and FREQS dynamically
	(hetro): Allow more than HMAX harmonics
	(filedump): Allocate mags and freqs dynamically

Sun Jun  2 12:53:06 1996  John Fitch  <jpff@lansky>

	* cwin.cpp (cwin_almost_ensure_screen):
	(cwin_ensure_screen):
	(cwin_poll_window_manager):
	(CMainWindow): Change GetSystemTime -> GetLocalTime

	* memalloc.c (mfree): New function
	(all_free): Do not free NULL pointers

	* prototyp.h: Declare mfree

	* wguide.c (wgpset):
	* sread.c (sfree):
	* sndinfo.c (sndinfo):
	* rdorch.c (rdorchfile): (splitline):
	* pvoc.c (PVFree):
	* otran.c (otran): (insprep):
	* oload.c (oload):
	* memfiles.c (rlsmemfiles):
	* insert.c (orcompact):
	* hetro.c (hetro): (filedump):
	* fgens.c (fgens): (gn1314): (ftalloc):
	* cscorfns.c (filclose):
	* auxfd.c (auxalloc): (auxchfree):
	* aiff.c (aiffReadHeader):
		change free -> mfree

Thu May  2 21:37:23 1996  John Fitch  <jpff@lansky>

	* version.h (SUBVER): CHANGE VERSION NUMBER TO 3.39

	* butter.c (ROOT2): Define ROOTS as a macro rather than
	recalculate it for each k-rate

	* memalloc.c: CWIN only -- allow a flexible number of allocs by
	reallocing the array.

Thu Apr 18 11:00:11 1996  John Fitch  <jpff@lansky>

	* grain.c (ags): Optimisations in many places to save
	recalculation and memory fetches.  Moves some stuff out of inner
	loop.

	* grain.h (struct): Changed type of PGRA.pr to float

Thu Mar 28 08:35:43 1996  John Fitch  <jpff@lansky>

	* version.h (SUBVER): CHANGE VERSION NUMBER TO 3.38

	* main.c (main): Add date of compilation to banner

	* musmon.c (musmon): Add date of compilation to banner

	* musmon.c (musmon): Removed test for !O.RTevents as it seems to
	stop score tables being read in MIDI case.

Thu Mar 21 09:29:42 1996  John Fitch  <jpff@xenakis>

	* main.c (main): Add LATTICE to SYNANTEC to avoid a setlinebuf

	* midirecv.c: Add LATTICE to options with PC stuff

	* linevent.c (RTLineset): Add LATTICE to options when do not use
	fcntl etc

Tue Mar  5 23:13:51 1996  John Fitch  <jpff@lansky>

	* sread.c (copylin): Change EOF to EOL in structure.  Mends bug
	about bad characters.

Sat Feb 24 14:56:31 1996  John Fitch  <jpff@lansky>

	* otran.c (putop): Correct typing error of \t instead of \n

Sun Feb 18 11:37:15 1996  John Fitch  <jpff@lansky>

	* version.h (SUBVER): CHANGE VERSION NUMBER TO 3.37

	* rdscor.c (scanflt): Use fscanf rather than read floats character
	at a time.  Not sure that this is necessarily a good thing.

	* hetro.c (hetro): Added a check that -hn has n>=1 (David Whelan)

Sat Feb 17 11:53:57 1996  John Fitch  <jpff@lansky>

	* musmon.c (musmon): Close dribble file at end

	* auxfd.c (fdchprint):
	* express.c (putoklist) (putokens):
	* midirecv.c (sensFMidi):
	* musmon.c:
	* otran.c:
	* rdorch.c:
	* rdscor.c (dumpline):
	* winascii.c (DrawAscii): use putc to dribble file as well

	* version.h: NEW FILE to carry version numbers only

	* cs.h: include version.h

	* swrite.c:
	* sort.c:
	* pvoc.c:
	* ieee80.c: Include cs.h to declare dribble stuff

	* util2/scale.dir/scale.c:
	* util2/mixer/xtrct.c:
	* util2/mixer/mixer.c: Added -- option and change all
	printf/stderr printing to new style

	* cs.h: Add extern declaration of dribble

	* lpanal.c (lpanal):
	* pvanal.c (pvanal):
	* hetro.c (hetro): Added -- option to log

Fri Feb 16 07:37:55 1996  John Fitch  <jpff@lansky>

	* util2/sndinfo/main.c (main): ANSIfy and add dribble stuff

	* util2/mixer/xtrct.c:
	* util2/envext/envext.c:
	* util1/sortex/smain.c:
	* util1/sortex/xmain.c:
	* anal/pvoc/main.c:
	* anal/lpc/main.c:
	* anal/adsyn/main.c: Added functions dribble_printf and err_printf

Thu Feb 15 10:13:40 1996  John Fitch  <jpff@lansky>

	* DECaudio.c
	* DECplay.c
	* blaster.c
	* cvanal.c
	* hetro.c
	* ieee80.c
	* linevent.c
	* lpanal.c
	* main.c
	* memalloc.c
	* midirecv.c
	* musmon.c
	* otran.c
	* pvanal.c
	* pvoc.c
	* rdorch.c
	* rtaudio.c
	* sfheader.c
	* sort.c
	* spectra.c
	* sread.c
	* swrite.c
	* twarp.c
	* wave.c
	* winSGI.c
	* winbor.c
	* winfg.c
	* winwat.c: fprintf(stderr,...) -> err_printf(...)

	* main.c (dribble_printf): New function to write to stdout and
	dribble.
	(err_printf): dito for stderr.

	* cs.h: Macro printf to dribble_printf and declare it.

	* main.c (endif): Make -- option for a log/dribble file.  Declare
	dribble variable.

Mon Feb 12 08:53:29 1996  John Fitch  <jpff@lansky>

	* musmon.c (musmon): Added guard to opening O.playscore as at
	least Linux barfs (thabks to Richard Furse).

Thu Feb  1 09:41:00 1996  John Fitch  <jpff@lansky>

	* lpanal.c (gauss): Change all *(b+..) of b[...] for clarity
	(alpol): Calcular error at end more simply -- less arithmetic but
	some danger of overflow (but I think not)

Mon Jan 29 09:51:34 1996  John Fitch  <jpff@lansky>

	* lpanal.c (lpanal, alpol): Allocate array x once in lpanal rather
	than on every call of alpol.
	(gauss): Similar for aold

Sun Jan 28 15:50:00 1996  John Fitch  <jpff@lansky>

	* lpanal.c (alpol): Optimise a pow(..., 2.0) to a product

	* mw_menu.c (dlgUtilLpAnal): Set mark in box for Verbose and
	Graphics boxs
	(dlgUtilPvAnal): The same.
	(dlgFileOpen): Allow direct editing of orc and sco file names.
	Also requires change in Csound.rsrc
	(dlgUtilLpAnal): Added a Debug option and corrected verbose to
	give -v1

Mon Jan 22 08:53:45 1996  John Fitch  <jpff@lansky>

	* Csound.rsrc: (Mac only) added titles to dialogs and fixed
	mini-typo in dialog linking

Sun Jan 21 20:15:40 1996  John Fitch  <jpff@lansky>

	* musmon.c (musmon): Remove call to RTclose as atexit does it

	* linevent.c (RTLineset): Use atexit to arrange call to RTclose

Sun Jan 14 21:25:06 1996  John Fitch  <jpff@lansky>

	* sysdep.h:
	* soundio.c:
	* pvoc.c:
	* otran.c:
	* mw_menu.c:
	* midirecv.c:
	* memfiles.c:
	* main.c:
	* linevent.c:
	* filopen.c:
	* dpwelib.h:
	* cs.h: Changed THINK_C to SYMANTEC as need to modify their
	library as bug in I/O.

Sun Jan  7 14:49:44 1996  John Fitch  <jpff@lansky>

	* Change type of cscore to void for consistency

Thu Jan  4 08:15:53 1996  John Fitch  <jpff@lansky>

	* grain4.c (graingenv4): Changed a 1.0* to a float for speed

	* cs.h (SUBVER): CHANGE VERSION NUMBER TO 3.36

	* grain.c (agsset): Added a size check in the decision to get a
	new buffer. 

Wed Jan  3 07:46:39 1996  John Fitch  <jpff@lansky>

	* winX11.c (ExitGraph): Added a check to the CSNOSTOP environment
	variable to avoid the final wait for click.

Mon Jan  1 18:56:08 1996  John Fitch  <jpff@lansky>

	* main.c (endif): Need an exit(0) after call to cvanal

Thu Dec 28 16:55:27 1995  John Fitch  <jpff@lansky>

	* util2/mixer/mixer.c (MixSound): In output buffer step by number
	of channels
	* util2/mixer/mixer.c: Added prototypes and includes

Wed Dec 27 21:16:29 1995  John Fitch  <jpff@lansky>

	* util2/mixer/mixer.c (InitScaleTable): Deal with same x values in
	table in different way.
	* util2/mixer/mixer.c (MixSound): Add code to handle stereo etc
	inputs correctly, with additional field in structure.

Mon Dec 25 14:38:20 1995  John Fitch  <jpff@lansky>

	* util2/mixer/mixer.c (main): Added AE_BYTE format
	(bytetran): New function

Fri Dec 22 10:14:06 1995  John Fitch  <jpff@lansky>

	* grain4.c (grainsetv4): Various spelling corrections and minor
	optimisations.  Also changes exit(1) to initerror calls and return.

Tue Dec 19 09:34:52 1995  John Fitch  <jpff@lansky>

	* cs.h: Upped VERSION to 3.35

	* grain4.c: NEW FILE for granular synthesis

	* entry.c: Added buthp, butlp, butbp, butbr as synonyms for
	butterXX, and convle and an abbreive for convolve.
	Added grain4 operator

	* cs.h: Added a next field in MEMFIL to relax memfiles.c

	* memfiles.c (rlsmemfiles): Adjust to delete from the revised structure
	(ldmemfile): Follow list of MEMFILs while looking for file

Sat Dec 16 14:35:22 1995  John Fitch  <jpff@lansky>

	* mw_menu.c: Added utilities dialogs, and other stuff.

	* pvanal.c (takeFFTs): Added POLL_EVENTS at end of loop

	* lpanal.c (lpanal): Added call to POLL_EVENTS at end of loop for
	Mac and PC.

	* winsound.ico, dream.ico: Changed to have screen background

Sun Dec  3 09:35:05 1995  John Fitch  <jpff@lansky>

	* soundio.c (audwrite): For macintosh make heartbeat use the
	metronome cursor.

	* rdscor.c (rdscor): Close score file at EOF.

Sat Dec  2 18:04:03 1995  John Fitch  <jpff@lansky>

	* main.c (main): Correct the check for WAV+format and AIFF+format

Tue Nov 21 07:22:20 1995  John Fitch  <jpff@lansky>

	* soundio.h: (solaris) include <multimedia/audio_device.h>

	* soundio.c: (solaris) define audiofd variable
	(sfopenout): (solaris) write header specially

	* sfheader.c: Solaris support, include <unistd.h>
	(readheader): No need for ininfop, and do rewind (solaris)
	(writeheader): Solaris has different checks for devaudio when
	opening.

	* rtaudio.c: Add solaris support

	* rdorch.c: Include <unistd.h> for solaris

	* midirecv.c: Add Solaris support

	* makefile: Added Solaris2.4 library stuff

Mon Oct 30 07:16:41 1995  John Fitch  <jpff@lansky>

	* cwin.h: Remove referrences to Greek.

Sun Oct 29 10:27:53 1995  John Fitch  <jpff@lansky>

	* winsound.rc: Modified Dialog_1 for unsigned 8bit and reshape
	Made file names wider, and reposition on screen

	* cs.h (SUBVER): Increased to 34

	* wave.c (wavWriteHdr): Set len0 filed to databytes+36 as
	suggested by Mohr
	(wavReWriteHdr): Set len0 to 8 bytes less than end -- seems odd
	(wavReadHeader): Force BYTE format

	* soundio.c (iotranset): Set up BYTE format, twice
	(bytetran): New function for unsigned 8-bit samples
	(bzerotran): New function ditto
	(byterecv): New function ditto

	* soundin.c (getstrformat): Add AE_BYTE format
	(getsizformat): formatsiz longer for new format, and test against
	AE_LAST
	(sndgetset): Add AE_BYTE
	(getsndin): BYTE format again, in all and select channel forms
	(soundin): BYTE format

	* rtaudio.c: Includes and defines for LINUX
	(recopen): Open for LINUX
	(playopen): Open and set volume for LINUX
	(rtrecord): Get LINUX bytes
	(rtplay): Write LINUX bytes
	(rtclose): and LINUX close

	* midirecv.c: Add #defines for LINUX

	* makefile: Comment on options for LINUX

	* soundio.h (AE_BYTE): Defined for unsigned 8bit
	(AE_LAST): Defined for checking purposes

	* main.c (main): Added -8 option for unsigned 8bit samples.
	(main):  In WAV format must be -8 or -s format
 	(main): Add -V for volume option (LINUX only)
	(usage): and extend message tp reflect all this

	* cs.h: Added Volume field to OPARMS structure for LINUX only

Mon Oct 23 09:53:37 1995  John Fitch  <jpff@lansky>

	* cs.h (SUBVER): Up subversion number to 33

	* cwin.cpp (cwin_args): Set play_on_exit to false unless it is a
	WAV format.
	(CDialog): Add OnPlay method

	* dialogs.h: Add check box for play on exit

	* winsound.rc: Add Check box for play_on_exit

Sun Oct 22 21:31:06 1995  John Fitch  <jpff@lansky>

	* cwin.cpp (cwin_exit): Added code to play sound file on exit and
	a flag set.  No link to set flag yet.

Tue Oct 17 22:37:08 1995  John Fitch  <jpff@lansky>

	* main.c (main): Add printing of Version number at start; may
	revise this.

Mon Oct 16 21:07:23 1995  John Fitch  <jpff@lansky>

	* pvdlg.cpp (Cpvdlg::Cpvdlg): Initialise input and output from
	registry
	(pvanal_dialog): Write file names back to registry

	* lpcdlg.cpp (Clpcdlg::Clpcdlg): Initialise input and output from
	registry
	(lpanal_dialog): Write file names back to registry

	* hetdlg.cpp (Chetdlg::Chetdlg): Initialise input and output from
	registry
	(hetro_dialog): Write file names back to registry

	* cvdlg.cpp (Ccvdlg::Ccvdlg): Initialise input and output from
	registry
	(cvanal_dialog): Write file names back to registry

Mon Oct 16 06:06:57 1995  John Fitch  <jpff@lansky>

	* cwin.cpp: Remove declaration of CTheApp class

	* cwin.h: Move delaration of CTheApp class to C++ section and get
	external reference to theApp

	* cwin.cpp: Generally remove Symbol fonts and Greek
	(CArg::CArg): Initialise from the registry
	(cwin_args): Write values back to registry
	(CArg): Declare csound_section
	(CArg::OnExtras): Initialize and save in registry
	(CArg::OnInitDialog): Initialise butons as in registry
	(CSextras::DoDataExchange): Use DDX to initialise check boxes
	rather than methods

	* wave.c (wavWriteHdr): Improved comments

Sun Oct  1 16:43:18 1995  John Fitch  <jpff@lansky>

	* WINDOWS Version: Now can distribute cwin.cpp and associated
	files

Sun Sep 24 09:44:59 1995  John Fitch  <jpff@lansky>

	* DOS VERSION: Renames cspent.* to csound.* and change the project
	accordingly.

Wed Sep 20 21:33:40 1995  John Fitch  <jpff@lansky>

	* oload.c (oload): In test for inconsistent sr/kr!=ksmps add extra
	printing to look for possible MAC bug.

Sat Aug 12 15:38:36 1995  John Fitch  <jpff@maths.bath.ac.uk>

	* memfiles.c (RD_OPTS): Extra cases for DOSGCC, LATTICE and the rest
	(LoadFile): IGNORE foo argument, and use RD_OPTS as arg to open

Sun Jul 30 10:20:57 1995  John Fitch  <jpff@maths.bath.ac.uk>

	* oload.c (oload): Mac specific STasks -> POLL_EVENTS

	* winascii.c (MakeAscii): Add second (unused) argument so agrees
	with design
	(DrawAscii): POLL_EVENTS in the loop (not mac only STasks)

	* rdorch.c: For SUN computers need to define SEEK_SET etc as their
	compiler is not true ANSI
	(splitline): Mac specific STasks -> POLL_EVENTS

	* scsort.c: include cs.h for POLL_EVENTS
	(scsort): Now a void function, and Mac specific STasks -> POLL_EVENTS

	* otran.c (insprep): Remove unused variable newlabs
	(insprep): Remove unused variable newlarg
	(insprep): Mac only STasks -> POLL_EVENTS
	(constndx): Remove old (commented out) code to read numbers as the
	scanf version seems more secure.

	* insert.c (kperf): Layout
	(kperf): Changed Mac specific STasks to POLL_EVENTS for generality
	(rireturn): Explicit IGNORE of argument to keep compiler quiet
	(reinit): Add explicit cast to keep type system sweet

	* cs.h: Include <stdlib.h>
	: __ZTC__ -> __ZPC__ and WATCOMC support
	: LATTICE C support incorporated from Atari
	: Declare structures only if in C (not C++)
	Declare POLL_EVENTS as STasks in Mac, nothing in C, and leave in
	WINDOWS; for CWIN need to macro fprintf and printf to
	window-writing versions

Sat Jul 29 15:22:05 1995  John Fitch  <jpff@lansky>

	* soundio.h: ANSI only prototypes

	* filopen.c: Declare soundfile_pointer if on MetroWerks compiler
	(sssfinit): Add __MWERKS__ to THINK_C
	(isfullpath): Add __MWERKS__ to THINK_C
	(catpath): Add __MWERKS__ to THINK_C
	(unquote): Add __MWERKS__ to THINK_C
	: Definition of RD_OPTS and WR_OPTS for MetroWerks
	Define O_BINARY if not done already and use in teh RD/WR OPTS
	(openout): Not defined for MWERKS, and totally new version, and
	define tell

	* soundio.c (audwrite): POLL_EVENTS after heartbeat
	(sfopenout): For Mac direct output is in AE_SHORT format
	(sfopenout): Add Mac Headers and Creator (Mac only!)
	(chartran): Add cast to long as appropriate

	* sfheader.c (readheader): MetroWerks support (for powerPc)
	(readheader): Remove unused variable n
	(readheader): Tidy up #if...#elif... structure
	(readheader): Do a SEEK to end before closing file to get size,
	rather than use calculated value, and better general case
	(writeheader): Add casts in call to write
	(writeheader): Support fotr Mac file type moved elsewhere

Sat Jul 15 15:11:47 1995  John Fitch  <jpff@lansky>

	* pvanal.c: ANSI prototypes only
	__ZTC__ -> __ZPC__ so Mac compiles
	(pvanal): Now an int valued function, and calls dialog in WINDOWS
	case
	(pvanal): Added -V and -v options for tracing, and print PV data
	if verbose is set
	(quit): Change usage message for -v and -V
	(takeFFTs): IGNORE outputPVH argument
	(takeFFTs): Do not print simple messages is verbose is set
	(takeFFTs): but print it later in detail
	(PrintBuf): Print trace to the trace file

	* pvoc.c: __ZTC__ -> __ZPC__

	* ustub.h: __ZTC__ -> __ZPC__

	* musmon.c (musmon): __ZTC__ -> __ZPC__
	(musmon): Added calls to POLL_EVENTS all over the place
	(musmon): If LINEin in use call RTClose as part of clean up
	(playevents): Call POLL_EVENTS in the loop

	* lpanal.c: __ZTC__ -> __ZPC__
	(lpanal): Now a int valued function, returning non zero for success
	(lpanal): Remove unused variable nsamps
	(lpanal): Call dialog system for WINDOWS
	(lpanal): __ZTC__ -> __ZPC__
	(lpanal): Remove unused variable fp2

	* linevent.c: Declare stdmode to save old mode of tty
	(RTLineset): __ZTC__ -> __ZPC__
	(RTLineset): Remember old tty mode in stdmode (UNIX only)
	(RTclose): If output was to tty restore the mode in UNIX cases
	[Last two fix bug about disapprearing Xterms]
	(sensLine): ANSI header

	* sysdep.h: __ZTC__ -> __ZPC__

	* dsputil.c: Change  __ZTC__ to __ZPC_ and add support for WATCOMC
	(Rect2Polar): Remove unused variable pha
	(MakeHalfWin): Removed unused variable a,b and i

	* dpwelib.h: Change  __ZTC__ to __ZPC__ as it interferes with
	Macintosh compiler

	* midirecv.c: __ZTC__ -> __ZPC__
	(MidiOpen): IGNORE arg if not SGI
	(m_timcod_QF): IGNORE arguments
	(m_song_pos): IGNORE arguments
	(m_song_sel): IGNORE arguments

	* main.c: __ZTC__ -> __ZPC__
	: for Windows declare dialog functions, and rename main to cwin_main
	(main): add POLL_EVENTS and for Windows call cwin_atexit to free
	space; call dialog system
	(main): WATCOM C support
	(dialog_arguments): WINDOWS only call dialog for arguments

Tue Jun 11 11:30:15 1995  John Fitch  <jpff@maths.bath.ac.uk>

	* memalloc.c (all_free): WINDOWS only function to return all space
	controlled by at_exit; record up to 1024 blocks
	(mcalloc): Record space (WINDOWS only)
	(mmalloc): Record space (WINDOWS only)
	(mrealloc): Record space (WINDOWS only)

Sun Jul  9 16:51:13 1995  John Fitch  <jpff@lansky>

	* hetro.c (hetro): Make it a int function rather than void, and
	add dialog support for Windows
	(hetro): POLL_EVENTS() added, and also some debugging code

Thu Jun  8 08:49:11 1995  John Fitch  <jpff@lansky>

	* ugens9.c: Correct prototype for writeFromCircBuf

	* ugens3.c (losset): Proper ANSI prototype for ftnp2find

	* wave.c (wavReadHeader): IGNORE fname argument

	* winwat.c (my_term): IGNORE argument
	(MakeGraph): IGNORE arguments
	(DrawGraph): Remove unused variables ma,mi and c
	(DrawGraph): and nx and ny
	(KillGraph): IGNORE argument
	(MakeXYin): IGNORE arguments
	(ReadXYin): IGNORE argument

	* winfg.c (MakeGraph): Add some debugging as it sometimes get
	screen wrong

	* disprep.c (tempeset): Comment out unused variables coef and
	log001
	(tempest): Remove unused xscale variable

	* ugens8.c: Remove unused variables fzero and fone
	(pvset): Remove unused variables cp and pvp
	(pvoc): Remove unused variables nsmps and samp

	* vdelay.c (ESR): Extra brackets
	(reverb2_play): Remove unused variable temp, and shorten some
	warnings (for 286!)

Sun Jun  4 13:40:29 1995  John Fitch  <jpff@lansky>

	* scot.c: ANSIfied all declarations
	* scot.h: and the same

	* prototyp.h: Change hetro, lpanal, pvanal and cvanal into
	returning int so the dialogs can indicate success; declare macro
	IGNORE for general use, and for CWIN declare all_free function

	* ieee80.c (myUlongToDouble): Layout
	(myDoubleToUlong): Layout

	* window.c: ANSI prototypes
	(DummyFn2): IGNORE arguments
	(DummyFn1): IGNORE arguments
	(RdXYDummy): IGNORE arguments
	(dispinit): The functions assigned are now differentiated as their
	type differ
	(dispkill): ANSI format
	(display): ANSI format

	* fft.c (FFT2torlpacked): Removed unused variable mm
	(FFT2realpacked): Removed unused variable mm
	(FFT2rawpacked): Removed unused variable i

Sat Jun  3 17:29:39 1995  John Fitch  <jpff@lansky>

	* express.c (express): Remove unused variable p

Sun May 14 18:15:18 1995  John Fitch  <jpff@lansky>

	* dumpf.c (nkdump): Increase precision of output from %4.2 to %6.4
	in two places

Sat May 13 10:19:24 1995  John Fitch  <jpff@lansky>

	*  aiff.c:  various debugging statements added, all commented out.


Thu Apr 27 15:47:36 1995  John Fitch  <jpff@lansky>

	* sndinfo.c (sndinfo): Add POLL_EVENTS at the start of the
	function (not sure it is necessary?)

	* cvanal.c (cvanal): Added support for cvanal_dialog in Windows
	(quit): Return 1 rather than zero in exit.
	(takeFFT): Added call to POLL_EVENTS() twice
	(cvanal): Return 1 as value (true)

	* blaster.c: In dmaChannel structure use shorts instead of ints
	(SB_DMA2): Remove macro for DMA2 as now table driven
	(sb_wait): Count down check so to avoid a hang
	(sbplay): Mask Channel down to 2 bits (not necessary but clean)

Sun Feb 26  1995  John Fitch  <jpff@maths.bath.ac.uk>

	* winSGI.c (Graphable): ANSI void added
	(drawAxes): and again

	* window.h: ANSI format prototypes only

	* winX11.c: ANSI prototypes only
	(myXwinWait): ANSI declaration
	(myXwait): ANSI declaration
	(myXWaitForExpose): ANSI declaration
	(Graphable): ANSI declaration
	(MakeWindow): ANSI declaration
	(MakeGraph): ANSI declaration
	(MakeXYin): ANSI declaration
	(DrawGraph): ANSI declaration
	(ReadXYin): ANSI declaration
	(KillWin): ANSI declaration
	(KillGraph): ANSI declaration
	(KillXYin): ANSI declaration
	(ExitGraph): ANSI declarationoa