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
|
/* nyqsrc/sndfnint.c -- interface to nyqsrc/sndfmt.h,
* nylsf/sndfile.h, nyqsrc/sound.h, nyqsrc/add.h,
* nyqsrc/avg.h, nyqsrc/compose.h, nyqsrc/convolve.h,
* nyqsrc/downsample.h, nyqsrc/fft.h, nyqsrc/inverse.h,
* nyqsrc/multiseq.h, nyqsrc/resamp.h, nyqsrc/resampv.h,
* nyqsrc/samples.h, nyqsrc/sndmax.h, nyqsrc/sndread.h,
* nyqsrc/sndseq.h, nyqsrc/sndsliders.h,
* nyqsrc/sliderdata.h, nyqsrc/sndwritepa.h, nyqsrc/yin.h,
* nyqsrc/nyq-osc-server.h, nyqsrc/trigger.h,
* nyqsrc/lpanal.h, nyqsrc/phasevocoder.h,
* nyqsrc/pvshell.h, tran/abs.h, tran/allpoles.h,
* tran/alpass.h, tran/alpasscv.h, tran/alpassvv.h,
* tran/amosc.h, tran/areson.h, tran/aresonvc.h,
* tran/aresoncv.h, tran/aresonvv.h, tran/atone.h,
* tran/atonev.h, tran/biquadfilt.h, tran/buzz.h,
* tran/chase.h, tran/clip.h, tran/congen.h,
* tran/const.h, tran/coterm.h, tran/delaycc.h,
* tran/delaycv.h, tran/eqbandvvv.h, tran/exp.h,
* tran/follow.h, tran/fmosc.h, tran/fromobject.h,
* tran/fromarraystream.h, tran/gate.h, tran/ifft.h,
* tran/instrclar.h, tran/instrclarall.h,
* tran/instrclarfreq.h, tran/instrsax.h,
* tran/instrsaxall.h, tran/instrsaxfreq.h,
* tran/integrate.h, tran/log.h, tran/lpreson.h,
* tran/maxv.h, tran/offset.h, tran/oneshot.h,
* tran/osc.h, tran/partial.h, tran/pluck.h, tran/prod.h,
* tran/pwl.h, tran/quantize.h, tran/recip.h,
* tran/reson.h, tran/resonvc.h, tran/resoncv.h,
* tran/resonvv.h, tran/sampler.h, tran/scale.h,
* tran/shape.h, tran/sine.h, tran/siosc.h, tran/slope.h,
* tran/sqrt.h, tran/tapf.h, tran/tapv.h, tran/tone.h,
* tran/tonev.h, tran/upsample.h, tran/white.h,
* tran/stkrev.h, tran/stkpitshift.h, tran/stkchorus.h,
* tran/instrbow.h, tran/instrbowedfreq.h,
* tran/instrbanded.h, tran/instrmandolin.h,
* tran/instrsitar.h, tran/instrmodalbar.h,
* tran/instrflute.h, tran/instrflutefreq.h,
* tran/instrfluteall.h, tran/fmfb.h, tran/fmfbv.h,
* nyqsrc/sndwrite.h */
#ifndef mips
#include "stdlib.h"
#endif
#include "xlisp.h"
extern LVAL s_true;
#define cvboolean(i) ((i) ? s_true : NIL)
#define testarg2(e) (moreargs() ? (e) : (getflonum(xltoofew())))
#define xlgaanynum() (floatp(*xlargv) ? getflonum(nextarg()) : \
(fixp(*xlargv) ? (double) getfixnum(nextarg()) : \
getflonum(xlbadtype(*xlargv))))
#define getboolean(lval) ((lval) != NIL)
extern LVAL RSLT_sym;
#include "sndfmt.h"
#include "sndfile.h"
#include "sound.h"
/* xlc_snd_set_latency -- interface to C routine snd_set_latency */
/**/
LVAL xlc_snd_set_latency(void)
{
double arg1 = getflonum(xlgaflonum());
double result;
xllastarg();
result = snd_set_latency(arg1);
return cvflonum(result);
}
/* xlc_soundp -- interface to C routine soundp */
/**/
LVAL xlc_soundp(void)
{
LVAL arg1 = xlgetarg();
boolean result;
xllastarg();
result = soundp(arg1);
return cvboolean(result);
}
/* xlc_hz_to_step -- interface to C routine hz_to_step */
/**/
LVAL xlc_hz_to_step(void)
{
double arg1 = testarg2(xlgaanynum());
double result;
xllastarg();
result = hz_to_step(arg1);
return cvflonum(result);
}
/* xlc_snd_set_logical_stop -- interface to C routine set_logical_stop_time */
/**/
LVAL xlc_snd_set_logical_stop(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
xllastarg();
set_logical_stop_time(arg1, arg2);
return NIL;
}
/* xlc_log -- interface to C routine xlog */
/**/
LVAL xlc_log(void)
{
double arg1 = getflonum(xlgaflonum());
double result;
xllastarg();
result = xlog(arg1);
return cvflonum(result);
}
/* xlc_snd_sref -- interface to C routine snd_sref */
/**/
LVAL xlc_snd_sref(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double result;
xllastarg();
result = snd_sref(arg1, arg2);
return cvflonum(result);
}
/* xlc_sref_inverse -- interface to C routine snd_sref_inverse */
/**/
LVAL xlc_sref_inverse(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double result;
xllastarg();
result = snd_sref_inverse(arg1, arg2);
return cvflonum(result);
}
/* xlc_snd_stop_time -- interface to C routine snd_stop_time */
/**/
LVAL xlc_snd_stop_time(void)
{
sound_type arg1 = getsound(xlgasound());
double result;
xllastarg();
result = snd_stop_time(arg1);
return cvflonum(result);
}
/* xlc_snd_time -- interface to C routine snd_time */
/**/
LVAL xlc_snd_time(void)
{
sound_type arg1 = getsound(xlgasound());
double result;
xllastarg();
result = snd_time(arg1);
return cvflonum(result);
}
/* xlc_snd_srate -- interface to C routine snd_srate */
/**/
LVAL xlc_snd_srate(void)
{
sound_type arg1 = getsound(xlgasound());
double result;
xllastarg();
result = snd_srate(arg1);
return cvflonum(result);
}
/* xlc_snd_t0 -- interface to C routine snd_t0 */
/**/
LVAL xlc_snd_t0(void)
{
sound_type arg1 = getsound(xlgasound());
double result;
xllastarg();
result = snd_t0(arg1);
return cvflonum(result);
}
/* xlc_snd_xform -- interface to C routine snd_xform */
/**/
LVAL xlc_snd_xform(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
double arg6 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_xform(arg1, arg2, arg3, arg4, arg5, arg6);
return cvsound(result);
}
/* xlc_block_watch -- interface to C routine block_watch */
/**/
LVAL xlc_block_watch(void)
{
long arg1 = getfixnum(xlgafixnum());
xllastarg();
block_watch(arg1);
return NIL;
}
/* xlc_sound_nth_block -- interface to C routine sound_nth_block */
/**/
LVAL xlc_sound_nth_block(void)
{
sound_type arg1 = getsound(xlgasound());
long arg2 = getfixnum(xlgafixnum());
long result;
xllastarg();
result = sound_nth_block(arg1, arg2);
return cvfixnum(result);
}
/* xlc_snd_copy -- interface to C routine sound_copy */
/**/
LVAL xlc_snd_copy(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type result;
xllastarg();
result = sound_copy(arg1);
return cvsound(result);
}
/* xlc_snd_print -- interface to C routine sound_print */
/**/
LVAL xlc_snd_print(void)
{
LVAL arg1 = xlgetarg();
long arg2 = getfixnum(xlgafixnum());
xllastarg();
sound_print(arg1, arg2);
return NIL;
}
/* xlc_snd_play -- interface to C routine sound_play */
/**/
LVAL xlc_snd_play(void)
{
LVAL arg1 = xlgetarg();
xllastarg();
sound_play(arg1);
return NIL;
}
/* xlc_stats -- interface to C routine stats */
/**/
LVAL xlc_stats(void)
{
xllastarg();
stats();
return NIL;
}
/* xlc_snd_print_tree -- interface to C routine sound_print_tree */
/**/
LVAL xlc_snd_print_tree(void)
{
sound_type arg1 = getsound(xlgasound());
xllastarg();
sound_print_tree(arg1);
return NIL;
}
/* xlc_snd_scale -- interface to C routine sound_scale */
/**/
LVAL xlc_snd_scale(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = sound_scale(arg1, arg2);
return cvsound(result);
}
/* xlc_snd_zero -- interface to C routine sound_zero */
/**/
LVAL xlc_snd_zero(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = sound_zero(arg1, arg2);
return cvsound(result);
}
/* xlc_step_to_hz -- interface to C routine step_to_hz */
/**/
LVAL xlc_step_to_hz(void)
{
double arg1 = testarg2(xlgaanynum());
double result;
xllastarg();
result = step_to_hz(arg1);
return cvflonum(result);
}
#include "add.h"
/* xlc_snd_add -- interface to C routine snd_add */
/**/
LVAL xlc_snd_add(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_add(arg1, arg2);
return cvsound(result);
}
#include "avg.h"
/* xlc_snd_avg -- interface to C routine snd_avg */
/**/
LVAL xlc_snd_avg(void)
{
sound_type arg1 = getsound(xlgasound());
long arg2 = getfixnum(xlgafixnum());
long arg3 = getfixnum(xlgafixnum());
long arg4 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_avg(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "compose.h"
/* xlc_snd_compose -- interface to C routine snd_compose */
/**/
LVAL xlc_snd_compose(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_compose(arg1, arg2);
return cvsound(result);
}
#include "convolve.h"
/* xlc_snd_convolve -- interface to C routine snd_convolve */
/**/
LVAL xlc_snd_convolve(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_convolve(arg1, arg2);
return cvsound(result);
}
#include "downsample.h"
/* xlc_snd_down -- interface to C routine snd_down */
/**/
LVAL xlc_snd_down(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_down(arg1, arg2);
return cvsound(result);
}
#include "fft.h"
/* xlc_snd_fft -- interface to C routine snd_fft */
/**/
LVAL xlc_snd_fft(void)
{
sound_type arg1 = getsound(xlgasound());
long arg2 = getfixnum(xlgafixnum());
long arg3 = getfixnum(xlgafixnum());
LVAL arg4 = xlgetarg();
LVAL result;
xllastarg();
result = snd_fft(arg1, arg2, arg3, arg4);
return (result);
}
#include "inverse.h"
/* xlc_snd_inverse -- interface to C routine snd_inverse */
/**/
LVAL xlc_snd_inverse(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_inverse(arg1, arg2, arg3);
return cvsound(result);
}
#include "multiseq.h"
/* xlc_snd_multiseq -- interface to C routine snd_make_multiseq */
/**/
LVAL xlc_snd_multiseq(void)
{
LVAL arg1 = xlgetarg();
LVAL arg2 = xlgetarg();
LVAL result;
xllastarg();
result = snd_make_multiseq(arg1, arg2);
return (result);
}
#include "resamp.h"
/* xlc_snd_resample -- interface to C routine snd_resample */
/**/
LVAL xlc_snd_resample(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_resample(arg1, arg2);
return cvsound(result);
}
#include "resampv.h"
/* xlc_snd_resamplev -- interface to C routine snd_resamplev */
/**/
LVAL xlc_snd_resamplev(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type arg3 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_resamplev(arg1, arg2, arg3);
return cvsound(result);
}
#include "samples.h"
/* xlc_snd_from_array -- interface to C routine snd_from_array */
/**/
LVAL xlc_snd_from_array(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
LVAL arg3 = xlgetarg();
sound_type result;
xllastarg();
result = snd_from_array(arg1, arg2, arg3);
return cvsound(result);
}
/* xlc_snd_samples -- interface to C routine snd_samples */
/**/
LVAL xlc_snd_samples(void)
{
sound_type arg1 = getsound(xlgasound());
long arg2 = getfixnum(xlgafixnum());
LVAL result;
xllastarg();
result = snd_samples(arg1, arg2);
return (result);
}
/* xlc_snd_length -- interface to C routine snd_length */
/**/
LVAL xlc_snd_length(void)
{
sound_type arg1 = getsound(xlgasound());
long arg2 = getfixnum(xlgafixnum());
long result;
xllastarg();
result = snd_length(arg1, arg2);
return cvfixnum(result);
}
/* xlc_snd_maxsamp -- interface to C routine snd_maxsamp */
/**/
LVAL xlc_snd_maxsamp(void)
{
sound_type arg1 = getsound(xlgasound());
double result;
xllastarg();
result = snd_maxsamp(arg1);
return cvflonum(result);
}
/* xlc_snd_fetch -- interface to C routine snd_fetch */
/**/
LVAL xlc_snd_fetch(void)
{
sound_type arg1 = getsound(xlgasound());
LVAL result;
xllastarg();
result = snd_fetch(arg1);
return (result);
}
/* xlc_snd_fetch_array -- interface to C routine snd_fetch_array */
/**/
LVAL xlc_snd_fetch_array(void)
{
sound_type arg1 = getsound(xlgasound());
long arg2 = getfixnum(xlgafixnum());
long arg3 = getfixnum(xlgafixnum());
LVAL result;
xllastarg();
result = snd_fetch_array(arg1, arg2, arg3);
return (result);
}
#include "sndmax.h"
/* xlc_snd_max -- interface to C routine sound_max */
/**/
LVAL xlc_snd_max(void)
{
LVAL arg1 = xlgetarg();
long arg2 = getfixnum(xlgafixnum());
double result;
xllastarg();
result = sound_max(arg1, arg2);
return cvflonum(result);
}
#include "sndread.h"
/* xlc_snd_read -- interface to C routine snd_make_read */
/**/
LVAL xlc_snd_read(void)
{
unsigned char * arg1 = getstring(xlgastring());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
long arg4 = getfixnum(xlgafixnum());
long arg5 = getfixnum(xlgafixnum());
long arg6 = getfixnum(xlgafixnum());
long arg7 = getfixnum(xlgafixnum());
long arg8 = getfixnum(xlgafixnum());
double arg9 = testarg2(xlgaanynum());
double arg10 = testarg2(xlgaanynum());
long arg11 = 0;
long arg12 = 0;
LVAL result;
xllastarg();
xlprot1(result);
result = snd_make_read(arg1, arg2, arg3, &arg4, &arg5, &arg6, &arg7, &arg8, &arg9, &arg10, &arg11, &arg12);
{ LVAL *next = &getvalue(RSLT_sym);
*next = cons(NIL, NIL);
car(*next) = cvfixnum(arg4); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvfixnum(arg5); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvfixnum(arg6); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvfixnum(arg7); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvfixnum(arg8); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvflonum(arg9); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvflonum(arg10); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvfixnum(arg11); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvfixnum(arg12);
}
xlpop();
return (result);
}
#include "sndseq.h"
/* xlc_snd_seq -- interface to C routine snd_sndseq */
/**/
LVAL xlc_snd_seq(void)
{
sound_type arg1 = getsound(xlgasound());
LVAL arg2 = xlgetarg();
sound_type result;
xllastarg();
result = snd_sndseq(arg1, arg2);
return cvsound(result);
}
#include "sndsliders.h"
/* xlc_snd_slider -- interface to C routine snd_slider */
/**/
LVAL xlc_snd_slider(void)
{
long arg1 = getfixnum(xlgafixnum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_slider(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "sliderdata.h"
#include "sndwritepa.h"
#include "yin.h"
/* xlc_snd_yin -- interface to C routine snd_yin */
/**/
LVAL xlc_snd_yin(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
long arg4 = getfixnum(xlgafixnum());
LVAL result;
xllastarg();
result = snd_yin(arg1, arg2, arg3, arg4);
return (result);
}
#include "nyq-osc-server.h"
#include "trigger.h"
/* xlc_snd_trigger -- interface to C routine snd_trigger */
/**/
LVAL xlc_snd_trigger(void)
{
sound_type arg1 = getsound(xlgasound());
LVAL arg2 = xlgetarg();
sound_type result;
xllastarg();
result = snd_trigger(arg1, arg2);
return cvsound(result);
}
#include "lpanal.h"
/* xlc_snd_lpanal -- interface to C routine snd_lpanal */
/**/
LVAL xlc_snd_lpanal(void)
{
LVAL arg1 = xlgetarg();
long arg2 = getfixnum(xlgafixnum());
LVAL result;
xllastarg();
result = snd_lpanal(arg1, arg2);
return (result);
}
#include "phasevocoder.h"
/* xlc_snd_phasevocoder -- interface to C routine snd_phasevocoder */
/**/
LVAL xlc_snd_phasevocoder(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_phasevocoder(arg1, arg2, arg3);
return cvsound(result);
}
#include "pvshell.h"
#include "abs.h"
/* xlc_snd_abs -- interface to C routine snd_abs */
/**/
LVAL xlc_snd_abs(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_abs(arg1);
return cvsound(result);
}
#include "allpoles.h"
/* xlc_snd_allpoles -- interface to C routine snd_allpoles */
/**/
LVAL xlc_snd_allpoles(void)
{
sound_type arg1 = getsound(xlgasound());
LVAL arg2 = xlgetarg();
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_allpoles(arg1, arg2, arg3);
return cvsound(result);
}
#include "alpass.h"
/* xlc_snd_alpass -- interface to C routine snd_alpass */
/**/
LVAL xlc_snd_alpass(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_alpass(arg1, arg2, arg3);
return cvsound(result);
}
#include "alpasscv.h"
/* xlc_snd_alpasscv -- interface to C routine snd_alpasscv */
/**/
LVAL xlc_snd_alpasscv(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type arg3 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_alpasscv(arg1, arg2, arg3);
return cvsound(result);
}
#include "alpassvv.h"
/* xlc_snd_alpassvv -- interface to C routine snd_alpassvv */
/**/
LVAL xlc_snd_alpassvv(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_alpassvv(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "amosc.h"
/* xlc_snd_amosc -- interface to C routine snd_amosc */
/**/
LVAL xlc_snd_amosc(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
sound_type arg6 = getsound(xlgasound());
double arg7 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_amosc(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
return cvsound(result);
}
#include "areson.h"
/* xlc_snd_areson -- interface to C routine snd_areson */
/**/
LVAL xlc_snd_areson(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
long arg4 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_areson(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "aresonvc.h"
/* xlc_snd_aresonvc -- interface to C routine snd_aresonvc */
/**/
LVAL xlc_snd_aresonvc(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
double arg3 = testarg2(xlgaanynum());
long arg4 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_aresonvc(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "aresoncv.h"
/* xlc_snd_aresoncv -- interface to C routine snd_aresoncv */
/**/
LVAL xlc_snd_aresoncv(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type arg3 = getsound(xlgasound());
long arg4 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_aresoncv(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "aresonvv.h"
/* xlc_snd_aresonvv -- interface to C routine snd_aresonvv */
/**/
LVAL xlc_snd_aresonvv(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
long arg4 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_aresonvv(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "atone.h"
/* xlc_snd_atone -- interface to C routine snd_atone */
/**/
LVAL xlc_snd_atone(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_atone(arg1, arg2);
return cvsound(result);
}
#include "atonev.h"
/* xlc_snd_atonev -- interface to C routine snd_atonev */
/**/
LVAL xlc_snd_atonev(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_atonev(arg1, arg2);
return cvsound(result);
}
#include "biquadfilt.h"
/* xlc_snd_biquad -- interface to C routine snd_biquadfilt */
/**/
LVAL xlc_snd_biquad(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
double arg6 = testarg2(xlgaanynum());
double arg7 = testarg2(xlgaanynum());
double arg8 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_biquadfilt(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
return cvsound(result);
}
#include "buzz.h"
/* xlc_snd_buzz -- interface to C routine snd_buzz */
/**/
LVAL xlc_snd_buzz(void)
{
long arg1 = getfixnum(xlgafixnum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
sound_type arg5 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_buzz(arg1, arg2, arg3, arg4, arg5);
return cvsound(result);
}
#include "chase.h"
/* xlc_snd_chase -- interface to C routine snd_chase */
/**/
LVAL xlc_snd_chase(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_chase(arg1, arg2, arg3);
return cvsound(result);
}
#include "clip.h"
/* xlc_snd_clip -- interface to C routine snd_clip */
/**/
LVAL xlc_snd_clip(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_clip(arg1, arg2);
return cvsound(result);
}
#include "congen.h"
/* xlc_snd_congen -- interface to C routine snd_congen */
/**/
LVAL xlc_snd_congen(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_congen(arg1, arg2, arg3);
return cvsound(result);
}
#include "const.h"
/* xlc_snd_const -- interface to C routine snd_const */
/**/
LVAL xlc_snd_const(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_const(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "coterm.h"
/* xlc_snd_coterm -- interface to C routine snd_coterm */
/**/
LVAL xlc_snd_coterm(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_coterm(arg1, arg2);
return cvsound(result);
}
#include "delaycc.h"
/* xlc_snd_delay -- interface to C routine snd_delay */
/**/
LVAL xlc_snd_delay(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_delay(arg1, arg2, arg3);
return cvsound(result);
}
#include "delaycv.h"
/* xlc_snd_delaycv -- interface to C routine snd_delaycv */
/**/
LVAL xlc_snd_delaycv(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type arg3 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_delaycv(arg1, arg2, arg3);
return cvsound(result);
}
#include "eqbandvvv.h"
/* xlc_snd_eqbandvvv -- interface to C routine snd_eqbandvvv */
/**/
LVAL xlc_snd_eqbandvvv(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
sound_type arg4 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_eqbandvvv(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "exp.h"
/* xlc_snd_exp -- interface to C routine snd_exp */
/**/
LVAL xlc_snd_exp(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_exp(arg1);
return cvsound(result);
}
#include "follow.h"
/* xlc_snd_follow -- interface to C routine snd_follow */
/**/
LVAL xlc_snd_follow(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
long arg5 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_follow(arg1, arg2, arg3, arg4, arg5);
return cvsound(result);
}
#include "fmosc.h"
/* xlc_snd_fmosc -- interface to C routine snd_fmosc */
/**/
LVAL xlc_snd_fmosc(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
sound_type arg6 = getsound(xlgasound());
double arg7 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_fmosc(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
return cvsound(result);
}
#include "fromobject.h"
/* xlc_snd_fromobject -- interface to C routine snd_fromobject */
/**/
LVAL xlc_snd_fromobject(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
LVAL arg3 = xlgetarg();
sound_type result;
xllastarg();
result = snd_fromobject(arg1, arg2, arg3);
return cvsound(result);
}
#include "fromarraystream.h"
/* xlc_snd_fromarraystream -- interface to C routine snd_fromarraystream */
/**/
LVAL xlc_snd_fromarraystream(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
LVAL arg3 = xlgetarg();
sound_type result;
xllastarg();
result = snd_fromarraystream(arg1, arg2, arg3);
return cvsound(result);
}
#include "gate.h"
/* xlc_snd_gate -- interface to C routine snd_gate */
/**/
LVAL xlc_snd_gate(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
double arg6 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_gate(arg1, arg2, arg3, arg4, arg5, arg6);
return cvsound(result);
}
#include "ifft.h"
/* xlc_snd_ifft -- interface to C routine snd_ifft */
/**/
LVAL xlc_snd_ifft(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
LVAL arg3 = xlgetarg();
long arg4 = getfixnum(xlgafixnum());
LVAL arg5 = xlgetarg();
sound_type result;
xllastarg();
result = snd_ifft(arg1, arg2, arg3, arg4, arg5);
return cvsound(result);
}
#include "instrclar.h"
/* xlc_snd_clarinet -- interface to C routine snd_clarinet */
/**/
LVAL xlc_snd_clarinet(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_clarinet(arg1, arg2, arg3);
return cvsound(result);
}
#include "instrclarall.h"
/* xlc_snd_clarinet_all -- interface to C routine snd_clarinet_all */
/**/
LVAL xlc_snd_clarinet_all(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
sound_type arg6 = getsound(xlgasound());
sound_type arg7 = getsound(xlgasound());
double arg8 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_clarinet_all(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
return cvsound(result);
}
#include "instrclarfreq.h"
/* xlc_snd_clarinet_freq -- interface to C routine snd_clarinet_freq */
/**/
LVAL xlc_snd_clarinet_freq(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_clarinet_freq(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "instrsax.h"
/* xlc_snd_sax -- interface to C routine snd_sax */
/**/
LVAL xlc_snd_sax(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_sax(arg1, arg2, arg3);
return cvsound(result);
}
#include "instrsaxall.h"
/* xlc_snd_sax_all -- interface to C routine snd_sax_all */
/**/
LVAL xlc_snd_sax_all(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
sound_type arg6 = getsound(xlgasound());
sound_type arg7 = getsound(xlgasound());
sound_type arg8 = getsound(xlgasound());
sound_type arg9 = getsound(xlgasound());
double arg10 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_sax_all(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
return cvsound(result);
}
#include "instrsaxfreq.h"
/* xlc_snd_sax_freq -- interface to C routine snd_sax_freq */
/**/
LVAL xlc_snd_sax_freq(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_sax_freq(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "integrate.h"
/* xlc_snd_integrate -- interface to C routine snd_integrate */
/**/
LVAL xlc_snd_integrate(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_integrate(arg1);
return cvsound(result);
}
#include "log.h"
/* xlc_snd_log -- interface to C routine snd_log */
/**/
LVAL xlc_snd_log(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_log(arg1);
return cvsound(result);
}
#include "lpreson.h"
/* xlc_snd_lpreson -- interface to C routine snd_lpreson */
/**/
LVAL xlc_snd_lpreson(void)
{
sound_type arg1 = getsound(xlgasound());
LVAL arg2 = xlgetarg();
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_lpreson(arg1, arg2, arg3);
return cvsound(result);
}
#include "maxv.h"
/* xlc_snd_maxv -- interface to C routine snd_maxv */
/**/
LVAL xlc_snd_maxv(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_maxv(arg1, arg2);
return cvsound(result);
}
#include "offset.h"
/* xlc_snd_offset -- interface to C routine snd_offset */
/**/
LVAL xlc_snd_offset(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_offset(arg1, arg2);
return cvsound(result);
}
#include "oneshot.h"
/* xlc_snd_oneshot -- interface to C routine snd_oneshot */
/**/
LVAL xlc_snd_oneshot(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_oneshot(arg1, arg2, arg3);
return cvsound(result);
}
#include "osc.h"
/* xlc_snd_osc -- interface to C routine snd_osc */
/**/
LVAL xlc_snd_osc(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
double arg6 = testarg2(xlgaanynum());
double arg7 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_osc(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
return cvsound(result);
}
#include "partial.h"
/* xlc_snd_partial -- interface to C routine snd_partial */
/**/
LVAL xlc_snd_partial(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
sound_type arg3 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_partial(arg1, arg2, arg3);
return cvsound(result);
}
#include "pluck.h"
/* xlc_snd_pluck -- interface to C routine snd_pluck */
/**/
LVAL xlc_snd_pluck(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_pluck(arg1, arg2, arg3, arg4, arg5);
return cvsound(result);
}
#include "prod.h"
/* xlc_snd_prod -- interface to C routine snd_prod */
/**/
LVAL xlc_snd_prod(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_prod(arg1, arg2);
return cvsound(result);
}
#include "pwl.h"
/* xlc_snd_pwl -- interface to C routine snd_pwl */
/**/
LVAL xlc_snd_pwl(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
LVAL arg3 = xlgetarg();
sound_type result;
xllastarg();
result = snd_pwl(arg1, arg2, arg3);
return cvsound(result);
}
#include "quantize.h"
/* xlc_snd_quantize -- interface to C routine snd_quantize */
/**/
LVAL xlc_snd_quantize(void)
{
sound_type arg1 = getsound(xlgasound());
long arg2 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_quantize(arg1, arg2);
return cvsound(result);
}
#include "recip.h"
/* xlc_snd_recip -- interface to C routine snd_recip */
/**/
LVAL xlc_snd_recip(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_recip(arg1);
return cvsound(result);
}
#include "reson.h"
/* xlc_snd_reson -- interface to C routine snd_reson */
/**/
LVAL xlc_snd_reson(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
long arg4 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_reson(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "resonvc.h"
/* xlc_snd_resonvc -- interface to C routine snd_resonvc */
/**/
LVAL xlc_snd_resonvc(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
double arg3 = testarg2(xlgaanynum());
long arg4 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_resonvc(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "resoncv.h"
/* xlc_snd_resoncv -- interface to C routine snd_resoncv */
/**/
LVAL xlc_snd_resoncv(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type arg3 = getsound(xlgasound());
long arg4 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_resoncv(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "resonvv.h"
/* xlc_snd_resonvv -- interface to C routine snd_resonvv */
/**/
LVAL xlc_snd_resonvv(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
long arg4 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_resonvv(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "sampler.h"
/* xlc_snd_sampler -- interface to C routine snd_sampler */
/**/
LVAL xlc_snd_sampler(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
double arg6 = testarg2(xlgaanynum());
sound_type arg7 = getsound(xlgasound());
long arg8 = getfixnum(xlgafixnum());
sound_type result;
xllastarg();
result = snd_sampler(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
return cvsound(result);
}
#include "scale.h"
/* xlc_snd_normalize -- interface to C routine snd_normalize */
/**/
LVAL xlc_snd_normalize(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_normalize(arg1);
return cvsound(result);
}
#include "shape.h"
/* xlc_snd_shape -- interface to C routine snd_shape */
/**/
LVAL xlc_snd_shape(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_shape(arg1, arg2, arg3);
return cvsound(result);
}
#include "sine.h"
/* xlc_snd_sine -- interface to C routine snd_sine */
/**/
LVAL xlc_snd_sine(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_sine(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "siosc.h"
/* xlc_snd_siosc -- interface to C routine snd_siosc */
/**/
LVAL xlc_snd_siosc(void)
{
LVAL arg1 = xlgetarg();
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
sound_type arg5 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_siosc(arg1, arg2, arg3, arg4, arg5);
return cvsound(result);
}
#include "slope.h"
/* xlc_snd_slope -- interface to C routine snd_slope */
/**/
LVAL xlc_snd_slope(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_slope(arg1);
return cvsound(result);
}
#include "sqrt.h"
/* xlc_snd_sqrt -- interface to C routine snd_sqrt */
/**/
LVAL xlc_snd_sqrt(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_sqrt(arg1);
return cvsound(result);
}
#include "tapf.h"
/* xlc_snd_tapf -- interface to C routine snd_tapf */
/**/
LVAL xlc_snd_tapf(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_tapf(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "tapv.h"
/* xlc_snd_tapv -- interface to C routine snd_tapv */
/**/
LVAL xlc_snd_tapv(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_tapv(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "tone.h"
/* xlc_snd_tone -- interface to C routine snd_tone */
/**/
LVAL xlc_snd_tone(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_tone(arg1, arg2);
return cvsound(result);
}
#include "tonev.h"
/* xlc_snd_tonev -- interface to C routine snd_tonev */
/**/
LVAL xlc_snd_tonev(void)
{
sound_type arg1 = getsound(xlgasound());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_tonev(arg1, arg2);
return cvsound(result);
}
#include "upsample.h"
/* xlc_snd_up -- interface to C routine snd_up */
/**/
LVAL xlc_snd_up(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_up(arg1, arg2);
return cvsound(result);
}
#include "white.h"
/* xlc_snd_white -- interface to C routine snd_white */
/**/
LVAL xlc_snd_white(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_white(arg1, arg2, arg3);
return cvsound(result);
}
#include "stkrev.h"
/* xlc_snd_stkrev -- interface to C routine snd_stkrev */
/**/
LVAL xlc_snd_stkrev(void)
{
long arg1 = getfixnum(xlgafixnum());
sound_type arg2 = getsound(xlgasound());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_stkrev(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "stkpitshift.h"
/* xlc_snd_stkpitshift -- interface to C routine snd_stkpitshift */
/**/
LVAL xlc_snd_stkpitshift(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_stkpitshift(arg1, arg2, arg3);
return cvsound(result);
}
#include "stkchorus.h"
/* xlc_snd_stkchorus -- interface to C routine snd_stkchorus */
/**/
LVAL xlc_snd_stkchorus(void)
{
sound_type arg1 = getsound(xlgasound());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_stkchorus(arg1, arg2, arg3, arg4, arg5);
return cvsound(result);
}
#include "instrbow.h"
/* xlc_snd_bowed -- interface to C routine snd_bowed */
/**/
LVAL xlc_snd_bowed(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_bowed(arg1, arg2, arg3);
return cvsound(result);
}
#include "instrbowedfreq.h"
/* xlc_snd_bowed_freq -- interface to C routine snd_bowed_freq */
/**/
LVAL xlc_snd_bowed_freq(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_bowed_freq(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "instrbanded.h"
/* xlc_snd_bandedwg -- interface to C routine snd_bandedwg */
/**/
LVAL xlc_snd_bandedwg(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
long arg3 = getfixnum(xlgafixnum());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_bandedwg(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "instrmandolin.h"
/* xlc_snd_mandolin -- interface to C routine snd_mandolin */
/**/
LVAL xlc_snd_mandolin(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
double arg6 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_mandolin(arg1, arg2, arg3, arg4, arg5, arg6);
return cvsound(result);
}
#include "instrsitar.h"
/* xlc_snd_sitar -- interface to C routine snd_sitar */
/**/
LVAL xlc_snd_sitar(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_sitar(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "instrmodalbar.h"
/* xlc_snd_modalbar -- interface to C routine snd_modalbar */
/**/
LVAL xlc_snd_modalbar(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
long arg3 = getfixnum(xlgafixnum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_modalbar(arg1, arg2, arg3, arg4, arg5);
return cvsound(result);
}
#include "instrflute.h"
/* xlc_snd_flute -- interface to C routine snd_flute */
/**/
LVAL xlc_snd_flute(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
double arg3 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_flute(arg1, arg2, arg3);
return cvsound(result);
}
#include "instrflutefreq.h"
/* xlc_snd_flute_freq -- interface to C routine snd_flute_freq */
/**/
LVAL xlc_snd_flute_freq(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_flute_freq(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "instrfluteall.h"
/* xlc_snd_flute_all -- interface to C routine snd_flute_all */
/**/
LVAL xlc_snd_flute_all(void)
{
double arg1 = testarg2(xlgaanynum());
sound_type arg2 = getsound(xlgasound());
sound_type arg3 = getsound(xlgasound());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
sound_type arg6 = getsound(xlgasound());
sound_type arg7 = getsound(xlgasound());
double arg8 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_flute_all(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
return cvsound(result);
}
#include "fmfb.h"
/* xlc_snd_fmfb -- interface to C routine snd_fmfb */
/**/
LVAL xlc_snd_fmfb(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
double arg4 = testarg2(xlgaanynum());
double arg5 = testarg2(xlgaanynum());
sound_type result;
xllastarg();
result = snd_fmfb(arg1, arg2, arg3, arg4, arg5);
return cvsound(result);
}
#include "fmfbv.h"
/* xlc_snd_fmfbv -- interface to C routine snd_fmfbv */
/**/
LVAL xlc_snd_fmfbv(void)
{
double arg1 = testarg2(xlgaanynum());
double arg2 = testarg2(xlgaanynum());
double arg3 = testarg2(xlgaanynum());
sound_type arg4 = getsound(xlgasound());
sound_type result;
xllastarg();
result = snd_fmfbv(arg1, arg2, arg3, arg4);
return cvsound(result);
}
#include "sndwrite.h"
/* xlc_snd_save -- interface to C routine sound_save */
/**/
LVAL xlc_snd_save(void)
{
LVAL arg1 = xlgetarg();
long arg2 = getfixnum(xlgafixnum());
unsigned char * arg3 = getstring(xlgastring());
long arg4 = getfixnum(xlgafixnum());
long arg5 = getfixnum(xlgafixnum());
long arg6 = getfixnum(xlgafixnum());
long arg7 = getfixnum(xlgafixnum());
double arg8 = 0.0;
long arg9 = 0;
double arg10 = 0.0;
LVAL arg11 = xlgetarg();
double result;
xllastarg();
result = sound_save(arg1, arg2, arg3, arg4, arg5, arg6, arg7, &arg8, &arg9, &arg10, arg11);
{ LVAL *next = &getvalue(RSLT_sym);
*next = cons(NIL, NIL);
car(*next) = cvflonum(arg8); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvfixnum(arg9); next = &cdr(*next);
*next = cons(NIL, NIL);
car(*next) = cvflonum(arg10);
}
return cvflonum(result);
}
/* xlc_snd_overwrite -- interface to C routine sound_overwrite */
/**/
LVAL xlc_snd_overwrite(void)
{
LVAL arg1 = xlgetarg();
long arg2 = getfixnum(xlgafixnum());
unsigned char * arg3 = getstring(xlgastring());
double arg4 = testarg2(xlgaanynum());
long arg5 = getfixnum(xlgafixnum());
long arg6 = getfixnum(xlgafixnum());
long arg7 = getfixnum(xlgafixnum());
long arg8 = getfixnum(xlgafixnum());
double arg9 = 0.0;
double result;
xllastarg();
result = sound_overwrite(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, &arg9);
{ LVAL *next = &getvalue(RSLT_sym);
*next = cons(NIL, NIL);
car(*next) = cvflonum(arg9);
}
return cvflonum(result);
}
|