/usr/lib/python2.7/dist-packages/csnd6.py is in python-csound 1:6.02~dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.11
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_csnd6', [dirname(__file__)])
except ImportError:
import _csnd6
return _csnd6
if fp is not None:
try:
_mod = imp.load_module('_csnd6', fp, pathname, description)
finally:
fp.close()
return _mod
_csnd6 = swig_import_helper()
del swig_import_helper
else:
import _csnd6
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
try:
import weakref
weakref_proxy = weakref.proxy
except:
weakref_proxy = lambda x: x
class SwigPyIterator(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _csnd6.delete_SwigPyIterator
__del__ = lambda self : None;
def value(self): return _csnd6.SwigPyIterator_value(self)
def incr(self, n=1): return _csnd6.SwigPyIterator_incr(self, n)
def decr(self, n=1): return _csnd6.SwigPyIterator_decr(self, n)
def distance(self, *args): return _csnd6.SwigPyIterator_distance(self, *args)
def equal(self, *args): return _csnd6.SwigPyIterator_equal(self, *args)
def copy(self): return _csnd6.SwigPyIterator_copy(self)
def next(self): return _csnd6.SwigPyIterator_next(self)
def __next__(self): return _csnd6.SwigPyIterator___next__(self)
def previous(self): return _csnd6.SwigPyIterator_previous(self)
def advance(self, *args): return _csnd6.SwigPyIterator_advance(self, *args)
def __eq__(self, *args): return _csnd6.SwigPyIterator___eq__(self, *args)
def __ne__(self, *args): return _csnd6.SwigPyIterator___ne__(self, *args)
def __iadd__(self, *args): return _csnd6.SwigPyIterator___iadd__(self, *args)
def __isub__(self, *args): return _csnd6.SwigPyIterator___isub__(self, *args)
def __add__(self, *args): return _csnd6.SwigPyIterator___add__(self, *args)
def __sub__(self, *args): return _csnd6.SwigPyIterator___sub__(self, *args)
def __iter__(self): return self
SwigPyIterator_swigregister = _csnd6.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
def new_intp(*args):
return _csnd6.new_intp(*args)
new_intp = _csnd6.new_intp
def delete_intp(*args):
return _csnd6.delete_intp(*args)
delete_intp = _csnd6.delete_intp
def intp_getitem(*args):
return _csnd6.intp_getitem(*args)
intp_getitem = _csnd6.intp_getitem
def intp_setitem(*args):
return _csnd6.intp_setitem(*args)
intp_setitem = _csnd6.intp_setitem
def new_floatp(*args):
return _csnd6.new_floatp(*args)
new_floatp = _csnd6.new_floatp
def delete_floatp(*args):
return _csnd6.delete_floatp(*args)
delete_floatp = _csnd6.delete_floatp
def floatp_getitem(*args):
return _csnd6.floatp_getitem(*args)
floatp_getitem = _csnd6.floatp_getitem
def floatp_setitem(*args):
return _csnd6.floatp_setitem(*args)
floatp_setitem = _csnd6.floatp_setitem
def new_doublep(*args):
return _csnd6.new_doublep(*args)
new_doublep = _csnd6.new_doublep
def delete_doublep(*args):
return _csnd6.delete_doublep(*args)
delete_doublep = _csnd6.delete_doublep
def doublep_getitem(*args):
return _csnd6.doublep_getitem(*args)
doublep_getitem = _csnd6.doublep_getitem
def doublep_setitem(*args):
return _csnd6.doublep_setitem(*args)
doublep_setitem = _csnd6.doublep_setitem
class intArray(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, intArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, intArray, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _csnd6.new_intArray(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_intArray
__del__ = lambda self : None;
def __getitem__(self, *args): return _csnd6.intArray___getitem__(self, *args)
def __setitem__(self, *args): return _csnd6.intArray___setitem__(self, *args)
def cast(self): return _csnd6.intArray_cast(self)
__swig_getmethods__["frompointer"] = lambda x: _csnd6.intArray_frompointer
if _newclass:frompointer = staticmethod(_csnd6.intArray_frompointer)
intArray_swigregister = _csnd6.intArray_swigregister
intArray_swigregister(intArray)
def intArray_frompointer(*args):
return _csnd6.intArray_frompointer(*args)
intArray_frompointer = _csnd6.intArray_frompointer
class floatArray(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, floatArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, floatArray, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _csnd6.new_floatArray(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_floatArray
__del__ = lambda self : None;
def __getitem__(self, *args): return _csnd6.floatArray___getitem__(self, *args)
def __setitem__(self, *args): return _csnd6.floatArray___setitem__(self, *args)
def cast(self): return _csnd6.floatArray_cast(self)
__swig_getmethods__["frompointer"] = lambda x: _csnd6.floatArray_frompointer
if _newclass:frompointer = staticmethod(_csnd6.floatArray_frompointer)
floatArray_swigregister = _csnd6.floatArray_swigregister
floatArray_swigregister(floatArray)
def floatArray_frompointer(*args):
return _csnd6.floatArray_frompointer(*args)
floatArray_frompointer = _csnd6.floatArray_frompointer
class doubleArray(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, doubleArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, doubleArray, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _csnd6.new_doubleArray(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_doubleArray
__del__ = lambda self : None;
def __getitem__(self, *args): return _csnd6.doubleArray___getitem__(self, *args)
def __setitem__(self, *args): return _csnd6.doubleArray___setitem__(self, *args)
def cast(self): return _csnd6.doubleArray_cast(self)
__swig_getmethods__["frompointer"] = lambda x: _csnd6.doubleArray_frompointer
if _newclass:frompointer = staticmethod(_csnd6.doubleArray_frompointer)
doubleArray_swigregister = _csnd6.doubleArray_swigregister
doubleArray_swigregister(doubleArray)
def doubleArray_frompointer(*args):
return _csnd6.doubleArray_frompointer(*args)
doubleArray_frompointer = _csnd6.doubleArray_frompointer
CSOUND_SUCCESS = _csnd6.CSOUND_SUCCESS
CSOUND_ERROR = _csnd6.CSOUND_ERROR
CSOUND_INITIALIZATION = _csnd6.CSOUND_INITIALIZATION
CSOUND_PERFORMANCE = _csnd6.CSOUND_PERFORMANCE
CSOUND_MEMORY = _csnd6.CSOUND_MEMORY
CSOUND_SIGNAL = _csnd6.CSOUND_SIGNAL
CSOUND_EXITJMP_SUCCESS = _csnd6.CSOUND_EXITJMP_SUCCESS
CSOUNDINIT_NO_SIGNAL_HANDLER = _csnd6.CSOUNDINIT_NO_SIGNAL_HANDLER
CSOUNDINIT_NO_ATEXIT = _csnd6.CSOUNDINIT_NO_ATEXIT
CSOUND_CALLBACK_KBD_EVENT = _csnd6.CSOUND_CALLBACK_KBD_EVENT
CSOUND_CALLBACK_KBD_TEXT = _csnd6.CSOUND_CALLBACK_KBD_TEXT
CSFTYPE_UNIFIED_CSD = _csnd6.CSFTYPE_UNIFIED_CSD
CSFTYPE_ORCHESTRA = _csnd6.CSFTYPE_ORCHESTRA
CSFTYPE_SCORE = _csnd6.CSFTYPE_SCORE
CSFTYPE_ORC_INCLUDE = _csnd6.CSFTYPE_ORC_INCLUDE
CSFTYPE_SCO_INCLUDE = _csnd6.CSFTYPE_SCO_INCLUDE
CSFTYPE_SCORE_OUT = _csnd6.CSFTYPE_SCORE_OUT
CSFTYPE_SCOT = _csnd6.CSFTYPE_SCOT
CSFTYPE_OPTIONS = _csnd6.CSFTYPE_OPTIONS
CSFTYPE_EXTRACT_PARMS = _csnd6.CSFTYPE_EXTRACT_PARMS
CSFTYPE_RAW_AUDIO = _csnd6.CSFTYPE_RAW_AUDIO
CSFTYPE_IRCAM = _csnd6.CSFTYPE_IRCAM
CSFTYPE_AIFF = _csnd6.CSFTYPE_AIFF
CSFTYPE_AIFC = _csnd6.CSFTYPE_AIFC
CSFTYPE_WAVE = _csnd6.CSFTYPE_WAVE
CSFTYPE_AU = _csnd6.CSFTYPE_AU
CSFTYPE_SD2 = _csnd6.CSFTYPE_SD2
CSFTYPE_W64 = _csnd6.CSFTYPE_W64
CSFTYPE_WAVEX = _csnd6.CSFTYPE_WAVEX
CSFTYPE_FLAC = _csnd6.CSFTYPE_FLAC
CSFTYPE_CAF = _csnd6.CSFTYPE_CAF
CSFTYPE_WVE = _csnd6.CSFTYPE_WVE
CSFTYPE_OGG = _csnd6.CSFTYPE_OGG
CSFTYPE_MPC2K = _csnd6.CSFTYPE_MPC2K
CSFTYPE_RF64 = _csnd6.CSFTYPE_RF64
CSFTYPE_AVR = _csnd6.CSFTYPE_AVR
CSFTYPE_HTK = _csnd6.CSFTYPE_HTK
CSFTYPE_MAT4 = _csnd6.CSFTYPE_MAT4
CSFTYPE_MAT5 = _csnd6.CSFTYPE_MAT5
CSFTYPE_NIST = _csnd6.CSFTYPE_NIST
CSFTYPE_PAF = _csnd6.CSFTYPE_PAF
CSFTYPE_PVF = _csnd6.CSFTYPE_PVF
CSFTYPE_SDS = _csnd6.CSFTYPE_SDS
CSFTYPE_SVX = _csnd6.CSFTYPE_SVX
CSFTYPE_VOC = _csnd6.CSFTYPE_VOC
CSFTYPE_XI = _csnd6.CSFTYPE_XI
CSFTYPE_UNKNOWN_AUDIO = _csnd6.CSFTYPE_UNKNOWN_AUDIO
CSFTYPE_SOUNDFONT = _csnd6.CSFTYPE_SOUNDFONT
CSFTYPE_STD_MIDI = _csnd6.CSFTYPE_STD_MIDI
CSFTYPE_MIDI_SYSEX = _csnd6.CSFTYPE_MIDI_SYSEX
CSFTYPE_HETRO = _csnd6.CSFTYPE_HETRO
CSFTYPE_HETROT = _csnd6.CSFTYPE_HETROT
CSFTYPE_PVC = _csnd6.CSFTYPE_PVC
CSFTYPE_PVCEX = _csnd6.CSFTYPE_PVCEX
CSFTYPE_CVANAL = _csnd6.CSFTYPE_CVANAL
CSFTYPE_LPC = _csnd6.CSFTYPE_LPC
CSFTYPE_ATS = _csnd6.CSFTYPE_ATS
CSFTYPE_LORIS = _csnd6.CSFTYPE_LORIS
CSFTYPE_SDIF = _csnd6.CSFTYPE_SDIF
CSFTYPE_HRTF = _csnd6.CSFTYPE_HRTF
CSFTYPE_VST_PLUGIN = _csnd6.CSFTYPE_VST_PLUGIN
CSFTYPE_LADSPA_PLUGIN = _csnd6.CSFTYPE_LADSPA_PLUGIN
CSFTYPE_SNAPSHOT = _csnd6.CSFTYPE_SNAPSHOT
CSFTYPE_FTABLES_TEXT = _csnd6.CSFTYPE_FTABLES_TEXT
CSFTYPE_FTABLES_BINARY = _csnd6.CSFTYPE_FTABLES_BINARY
CSFTYPE_XSCANU_MATRIX = _csnd6.CSFTYPE_XSCANU_MATRIX
CSFTYPE_FLOATS_TEXT = _csnd6.CSFTYPE_FLOATS_TEXT
CSFTYPE_FLOATS_BINARY = _csnd6.CSFTYPE_FLOATS_BINARY
CSFTYPE_INTEGER_TEXT = _csnd6.CSFTYPE_INTEGER_TEXT
CSFTYPE_INTEGER_BINARY = _csnd6.CSFTYPE_INTEGER_BINARY
CSFTYPE_IMAGE_PNG = _csnd6.CSFTYPE_IMAGE_PNG
CSFTYPE_POSTSCRIPT = _csnd6.CSFTYPE_POSTSCRIPT
CSFTYPE_SCRIPT_TEXT = _csnd6.CSFTYPE_SCRIPT_TEXT
CSFTYPE_OTHER_TEXT = _csnd6.CSFTYPE_OTHER_TEXT
CSFTYPE_OTHER_BINARY = _csnd6.CSFTYPE_OTHER_BINARY
CSFTYPE_UNKNOWN = _csnd6.CSFTYPE_UNKNOWN
class CSOUND_PARAMS(_object):
"""Proxy of C++ CSOUND_PARAMS class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CSOUND_PARAMS, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CSOUND_PARAMS, name)
__repr__ = _swig_repr
__swig_setmethods__["debug_mode"] = _csnd6.CSOUND_PARAMS_debug_mode_set
__swig_getmethods__["debug_mode"] = _csnd6.CSOUND_PARAMS_debug_mode_get
if _newclass:debug_mode = _swig_property(_csnd6.CSOUND_PARAMS_debug_mode_get, _csnd6.CSOUND_PARAMS_debug_mode_set)
__swig_setmethods__["buffer_frames"] = _csnd6.CSOUND_PARAMS_buffer_frames_set
__swig_getmethods__["buffer_frames"] = _csnd6.CSOUND_PARAMS_buffer_frames_get
if _newclass:buffer_frames = _swig_property(_csnd6.CSOUND_PARAMS_buffer_frames_get, _csnd6.CSOUND_PARAMS_buffer_frames_set)
__swig_setmethods__["hardware_buffer_frames"] = _csnd6.CSOUND_PARAMS_hardware_buffer_frames_set
__swig_getmethods__["hardware_buffer_frames"] = _csnd6.CSOUND_PARAMS_hardware_buffer_frames_get
if _newclass:hardware_buffer_frames = _swig_property(_csnd6.CSOUND_PARAMS_hardware_buffer_frames_get, _csnd6.CSOUND_PARAMS_hardware_buffer_frames_set)
__swig_setmethods__["displays"] = _csnd6.CSOUND_PARAMS_displays_set
__swig_getmethods__["displays"] = _csnd6.CSOUND_PARAMS_displays_get
if _newclass:displays = _swig_property(_csnd6.CSOUND_PARAMS_displays_get, _csnd6.CSOUND_PARAMS_displays_set)
__swig_setmethods__["ascii_graphs"] = _csnd6.CSOUND_PARAMS_ascii_graphs_set
__swig_getmethods__["ascii_graphs"] = _csnd6.CSOUND_PARAMS_ascii_graphs_get
if _newclass:ascii_graphs = _swig_property(_csnd6.CSOUND_PARAMS_ascii_graphs_get, _csnd6.CSOUND_PARAMS_ascii_graphs_set)
__swig_setmethods__["postscript_graphs"] = _csnd6.CSOUND_PARAMS_postscript_graphs_set
__swig_getmethods__["postscript_graphs"] = _csnd6.CSOUND_PARAMS_postscript_graphs_get
if _newclass:postscript_graphs = _swig_property(_csnd6.CSOUND_PARAMS_postscript_graphs_get, _csnd6.CSOUND_PARAMS_postscript_graphs_set)
__swig_setmethods__["message_level"] = _csnd6.CSOUND_PARAMS_message_level_set
__swig_getmethods__["message_level"] = _csnd6.CSOUND_PARAMS_message_level_get
if _newclass:message_level = _swig_property(_csnd6.CSOUND_PARAMS_message_level_get, _csnd6.CSOUND_PARAMS_message_level_set)
__swig_setmethods__["tempo"] = _csnd6.CSOUND_PARAMS_tempo_set
__swig_getmethods__["tempo"] = _csnd6.CSOUND_PARAMS_tempo_get
if _newclass:tempo = _swig_property(_csnd6.CSOUND_PARAMS_tempo_get, _csnd6.CSOUND_PARAMS_tempo_set)
__swig_setmethods__["ring_bell"] = _csnd6.CSOUND_PARAMS_ring_bell_set
__swig_getmethods__["ring_bell"] = _csnd6.CSOUND_PARAMS_ring_bell_get
if _newclass:ring_bell = _swig_property(_csnd6.CSOUND_PARAMS_ring_bell_get, _csnd6.CSOUND_PARAMS_ring_bell_set)
__swig_setmethods__["use_cscore"] = _csnd6.CSOUND_PARAMS_use_cscore_set
__swig_getmethods__["use_cscore"] = _csnd6.CSOUND_PARAMS_use_cscore_get
if _newclass:use_cscore = _swig_property(_csnd6.CSOUND_PARAMS_use_cscore_get, _csnd6.CSOUND_PARAMS_use_cscore_set)
__swig_setmethods__["terminate_on_midi"] = _csnd6.CSOUND_PARAMS_terminate_on_midi_set
__swig_getmethods__["terminate_on_midi"] = _csnd6.CSOUND_PARAMS_terminate_on_midi_get
if _newclass:terminate_on_midi = _swig_property(_csnd6.CSOUND_PARAMS_terminate_on_midi_get, _csnd6.CSOUND_PARAMS_terminate_on_midi_set)
__swig_setmethods__["heartbeat"] = _csnd6.CSOUND_PARAMS_heartbeat_set
__swig_getmethods__["heartbeat"] = _csnd6.CSOUND_PARAMS_heartbeat_get
if _newclass:heartbeat = _swig_property(_csnd6.CSOUND_PARAMS_heartbeat_get, _csnd6.CSOUND_PARAMS_heartbeat_set)
__swig_setmethods__["defer_gen01_load"] = _csnd6.CSOUND_PARAMS_defer_gen01_load_set
__swig_getmethods__["defer_gen01_load"] = _csnd6.CSOUND_PARAMS_defer_gen01_load_get
if _newclass:defer_gen01_load = _swig_property(_csnd6.CSOUND_PARAMS_defer_gen01_load_get, _csnd6.CSOUND_PARAMS_defer_gen01_load_set)
__swig_setmethods__["midi_key"] = _csnd6.CSOUND_PARAMS_midi_key_set
__swig_getmethods__["midi_key"] = _csnd6.CSOUND_PARAMS_midi_key_get
if _newclass:midi_key = _swig_property(_csnd6.CSOUND_PARAMS_midi_key_get, _csnd6.CSOUND_PARAMS_midi_key_set)
__swig_setmethods__["midi_key_cps"] = _csnd6.CSOUND_PARAMS_midi_key_cps_set
__swig_getmethods__["midi_key_cps"] = _csnd6.CSOUND_PARAMS_midi_key_cps_get
if _newclass:midi_key_cps = _swig_property(_csnd6.CSOUND_PARAMS_midi_key_cps_get, _csnd6.CSOUND_PARAMS_midi_key_cps_set)
__swig_setmethods__["midi_key_oct"] = _csnd6.CSOUND_PARAMS_midi_key_oct_set
__swig_getmethods__["midi_key_oct"] = _csnd6.CSOUND_PARAMS_midi_key_oct_get
if _newclass:midi_key_oct = _swig_property(_csnd6.CSOUND_PARAMS_midi_key_oct_get, _csnd6.CSOUND_PARAMS_midi_key_oct_set)
__swig_setmethods__["midi_key_pch"] = _csnd6.CSOUND_PARAMS_midi_key_pch_set
__swig_getmethods__["midi_key_pch"] = _csnd6.CSOUND_PARAMS_midi_key_pch_get
if _newclass:midi_key_pch = _swig_property(_csnd6.CSOUND_PARAMS_midi_key_pch_get, _csnd6.CSOUND_PARAMS_midi_key_pch_set)
__swig_setmethods__["midi_velocity"] = _csnd6.CSOUND_PARAMS_midi_velocity_set
__swig_getmethods__["midi_velocity"] = _csnd6.CSOUND_PARAMS_midi_velocity_get
if _newclass:midi_velocity = _swig_property(_csnd6.CSOUND_PARAMS_midi_velocity_get, _csnd6.CSOUND_PARAMS_midi_velocity_set)
__swig_setmethods__["midi_velocity_amp"] = _csnd6.CSOUND_PARAMS_midi_velocity_amp_set
__swig_getmethods__["midi_velocity_amp"] = _csnd6.CSOUND_PARAMS_midi_velocity_amp_get
if _newclass:midi_velocity_amp = _swig_property(_csnd6.CSOUND_PARAMS_midi_velocity_amp_get, _csnd6.CSOUND_PARAMS_midi_velocity_amp_set)
__swig_setmethods__["no_default_paths"] = _csnd6.CSOUND_PARAMS_no_default_paths_set
__swig_getmethods__["no_default_paths"] = _csnd6.CSOUND_PARAMS_no_default_paths_get
if _newclass:no_default_paths = _swig_property(_csnd6.CSOUND_PARAMS_no_default_paths_get, _csnd6.CSOUND_PARAMS_no_default_paths_set)
__swig_setmethods__["number_of_threads"] = _csnd6.CSOUND_PARAMS_number_of_threads_set
__swig_getmethods__["number_of_threads"] = _csnd6.CSOUND_PARAMS_number_of_threads_get
if _newclass:number_of_threads = _swig_property(_csnd6.CSOUND_PARAMS_number_of_threads_get, _csnd6.CSOUND_PARAMS_number_of_threads_set)
__swig_setmethods__["syntax_check_only"] = _csnd6.CSOUND_PARAMS_syntax_check_only_set
__swig_getmethods__["syntax_check_only"] = _csnd6.CSOUND_PARAMS_syntax_check_only_get
if _newclass:syntax_check_only = _swig_property(_csnd6.CSOUND_PARAMS_syntax_check_only_get, _csnd6.CSOUND_PARAMS_syntax_check_only_set)
__swig_setmethods__["csd_line_counts"] = _csnd6.CSOUND_PARAMS_csd_line_counts_set
__swig_getmethods__["csd_line_counts"] = _csnd6.CSOUND_PARAMS_csd_line_counts_get
if _newclass:csd_line_counts = _swig_property(_csnd6.CSOUND_PARAMS_csd_line_counts_get, _csnd6.CSOUND_PARAMS_csd_line_counts_set)
__swig_setmethods__["compute_weights"] = _csnd6.CSOUND_PARAMS_compute_weights_set
__swig_getmethods__["compute_weights"] = _csnd6.CSOUND_PARAMS_compute_weights_get
if _newclass:compute_weights = _swig_property(_csnd6.CSOUND_PARAMS_compute_weights_get, _csnd6.CSOUND_PARAMS_compute_weights_set)
__swig_setmethods__["realtime_mode"] = _csnd6.CSOUND_PARAMS_realtime_mode_set
__swig_getmethods__["realtime_mode"] = _csnd6.CSOUND_PARAMS_realtime_mode_get
if _newclass:realtime_mode = _swig_property(_csnd6.CSOUND_PARAMS_realtime_mode_get, _csnd6.CSOUND_PARAMS_realtime_mode_set)
__swig_setmethods__["sample_accurate"] = _csnd6.CSOUND_PARAMS_sample_accurate_set
__swig_getmethods__["sample_accurate"] = _csnd6.CSOUND_PARAMS_sample_accurate_get
if _newclass:sample_accurate = _swig_property(_csnd6.CSOUND_PARAMS_sample_accurate_get, _csnd6.CSOUND_PARAMS_sample_accurate_set)
__swig_setmethods__["sample_rate_override"] = _csnd6.CSOUND_PARAMS_sample_rate_override_set
__swig_getmethods__["sample_rate_override"] = _csnd6.CSOUND_PARAMS_sample_rate_override_get
if _newclass:sample_rate_override = _swig_property(_csnd6.CSOUND_PARAMS_sample_rate_override_get, _csnd6.CSOUND_PARAMS_sample_rate_override_set)
__swig_setmethods__["control_rate_override"] = _csnd6.CSOUND_PARAMS_control_rate_override_set
__swig_getmethods__["control_rate_override"] = _csnd6.CSOUND_PARAMS_control_rate_override_get
if _newclass:control_rate_override = _swig_property(_csnd6.CSOUND_PARAMS_control_rate_override_get, _csnd6.CSOUND_PARAMS_control_rate_override_set)
__swig_setmethods__["nchnls_override"] = _csnd6.CSOUND_PARAMS_nchnls_override_set
__swig_getmethods__["nchnls_override"] = _csnd6.CSOUND_PARAMS_nchnls_override_get
if _newclass:nchnls_override = _swig_property(_csnd6.CSOUND_PARAMS_nchnls_override_get, _csnd6.CSOUND_PARAMS_nchnls_override_set)
__swig_setmethods__["nchnls_i_override"] = _csnd6.CSOUND_PARAMS_nchnls_i_override_set
__swig_getmethods__["nchnls_i_override"] = _csnd6.CSOUND_PARAMS_nchnls_i_override_get
if _newclass:nchnls_i_override = _swig_property(_csnd6.CSOUND_PARAMS_nchnls_i_override_get, _csnd6.CSOUND_PARAMS_nchnls_i_override_set)
__swig_setmethods__["e0dbfs_override"] = _csnd6.CSOUND_PARAMS_e0dbfs_override_set
__swig_getmethods__["e0dbfs_override"] = _csnd6.CSOUND_PARAMS_e0dbfs_override_get
if _newclass:e0dbfs_override = _swig_property(_csnd6.CSOUND_PARAMS_e0dbfs_override_get, _csnd6.CSOUND_PARAMS_e0dbfs_override_set)
__swig_setmethods__["daemon"] = _csnd6.CSOUND_PARAMS_daemon_set
__swig_getmethods__["daemon"] = _csnd6.CSOUND_PARAMS_daemon_get
if _newclass:daemon = _swig_property(_csnd6.CSOUND_PARAMS_daemon_get, _csnd6.CSOUND_PARAMS_daemon_set)
def __init__(self):
"""__init__(CSOUND_PARAMS self) -> CSOUND_PARAMS"""
this = _csnd6.new_CSOUND_PARAMS()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CSOUND_PARAMS
__del__ = lambda self : None;
CSOUND_PARAMS_swigregister = _csnd6.CSOUND_PARAMS_swigregister
CSOUND_PARAMS_swigregister(CSOUND_PARAMS)
class CS_AUDIODEVICE(_object):
"""Proxy of C++ CS_AUDIODEVICE class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CS_AUDIODEVICE, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CS_AUDIODEVICE, name)
__repr__ = _swig_repr
__swig_setmethods__["device_name"] = _csnd6.CS_AUDIODEVICE_device_name_set
__swig_getmethods__["device_name"] = _csnd6.CS_AUDIODEVICE_device_name_get
if _newclass:device_name = _swig_property(_csnd6.CS_AUDIODEVICE_device_name_get, _csnd6.CS_AUDIODEVICE_device_name_set)
__swig_setmethods__["device_id"] = _csnd6.CS_AUDIODEVICE_device_id_set
__swig_getmethods__["device_id"] = _csnd6.CS_AUDIODEVICE_device_id_get
if _newclass:device_id = _swig_property(_csnd6.CS_AUDIODEVICE_device_id_get, _csnd6.CS_AUDIODEVICE_device_id_set)
__swig_setmethods__["rt_module"] = _csnd6.CS_AUDIODEVICE_rt_module_set
__swig_getmethods__["rt_module"] = _csnd6.CS_AUDIODEVICE_rt_module_get
if _newclass:rt_module = _swig_property(_csnd6.CS_AUDIODEVICE_rt_module_get, _csnd6.CS_AUDIODEVICE_rt_module_set)
__swig_setmethods__["max_nchnls"] = _csnd6.CS_AUDIODEVICE_max_nchnls_set
__swig_getmethods__["max_nchnls"] = _csnd6.CS_AUDIODEVICE_max_nchnls_get
if _newclass:max_nchnls = _swig_property(_csnd6.CS_AUDIODEVICE_max_nchnls_get, _csnd6.CS_AUDIODEVICE_max_nchnls_set)
__swig_setmethods__["isOutput"] = _csnd6.CS_AUDIODEVICE_isOutput_set
__swig_getmethods__["isOutput"] = _csnd6.CS_AUDIODEVICE_isOutput_get
if _newclass:isOutput = _swig_property(_csnd6.CS_AUDIODEVICE_isOutput_get, _csnd6.CS_AUDIODEVICE_isOutput_set)
def __init__(self):
"""__init__(CS_AUDIODEVICE self) -> CS_AUDIODEVICE"""
this = _csnd6.new_CS_AUDIODEVICE()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CS_AUDIODEVICE
__del__ = lambda self : None;
CS_AUDIODEVICE_swigregister = _csnd6.CS_AUDIODEVICE_swigregister
CS_AUDIODEVICE_swigregister(CS_AUDIODEVICE)
class CS_MIDIDEVICE(_object):
"""Proxy of C++ CS_MIDIDEVICE class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CS_MIDIDEVICE, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CS_MIDIDEVICE, name)
__repr__ = _swig_repr
__swig_setmethods__["device_name"] = _csnd6.CS_MIDIDEVICE_device_name_set
__swig_getmethods__["device_name"] = _csnd6.CS_MIDIDEVICE_device_name_get
if _newclass:device_name = _swig_property(_csnd6.CS_MIDIDEVICE_device_name_get, _csnd6.CS_MIDIDEVICE_device_name_set)
__swig_setmethods__["interface_name"] = _csnd6.CS_MIDIDEVICE_interface_name_set
__swig_getmethods__["interface_name"] = _csnd6.CS_MIDIDEVICE_interface_name_get
if _newclass:interface_name = _swig_property(_csnd6.CS_MIDIDEVICE_interface_name_get, _csnd6.CS_MIDIDEVICE_interface_name_set)
__swig_setmethods__["device_id"] = _csnd6.CS_MIDIDEVICE_device_id_set
__swig_getmethods__["device_id"] = _csnd6.CS_MIDIDEVICE_device_id_get
if _newclass:device_id = _swig_property(_csnd6.CS_MIDIDEVICE_device_id_get, _csnd6.CS_MIDIDEVICE_device_id_set)
__swig_setmethods__["midi_module"] = _csnd6.CS_MIDIDEVICE_midi_module_set
__swig_getmethods__["midi_module"] = _csnd6.CS_MIDIDEVICE_midi_module_get
if _newclass:midi_module = _swig_property(_csnd6.CS_MIDIDEVICE_midi_module_get, _csnd6.CS_MIDIDEVICE_midi_module_set)
__swig_setmethods__["isOutput"] = _csnd6.CS_MIDIDEVICE_isOutput_set
__swig_getmethods__["isOutput"] = _csnd6.CS_MIDIDEVICE_isOutput_get
if _newclass:isOutput = _swig_property(_csnd6.CS_MIDIDEVICE_isOutput_get, _csnd6.CS_MIDIDEVICE_isOutput_set)
def __init__(self):
"""__init__(CS_MIDIDEVICE self) -> CS_MIDIDEVICE"""
this = _csnd6.new_CS_MIDIDEVICE()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CS_MIDIDEVICE
__del__ = lambda self : None;
CS_MIDIDEVICE_swigregister = _csnd6.CS_MIDIDEVICE_swigregister
CS_MIDIDEVICE_swigregister(CS_MIDIDEVICE)
class csRtAudioParams(_object):
"""Proxy of C++ csRtAudioParams class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csRtAudioParams, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csRtAudioParams, name)
__repr__ = _swig_repr
__swig_setmethods__["devName"] = _csnd6.csRtAudioParams_devName_set
__swig_getmethods__["devName"] = _csnd6.csRtAudioParams_devName_get
if _newclass:devName = _swig_property(_csnd6.csRtAudioParams_devName_get, _csnd6.csRtAudioParams_devName_set)
__swig_setmethods__["devNum"] = _csnd6.csRtAudioParams_devNum_set
__swig_getmethods__["devNum"] = _csnd6.csRtAudioParams_devNum_get
if _newclass:devNum = _swig_property(_csnd6.csRtAudioParams_devNum_get, _csnd6.csRtAudioParams_devNum_set)
__swig_setmethods__["bufSamp_SW"] = _csnd6.csRtAudioParams_bufSamp_SW_set
__swig_getmethods__["bufSamp_SW"] = _csnd6.csRtAudioParams_bufSamp_SW_get
if _newclass:bufSamp_SW = _swig_property(_csnd6.csRtAudioParams_bufSamp_SW_get, _csnd6.csRtAudioParams_bufSamp_SW_set)
__swig_setmethods__["bufSamp_HW"] = _csnd6.csRtAudioParams_bufSamp_HW_set
__swig_getmethods__["bufSamp_HW"] = _csnd6.csRtAudioParams_bufSamp_HW_get
if _newclass:bufSamp_HW = _swig_property(_csnd6.csRtAudioParams_bufSamp_HW_get, _csnd6.csRtAudioParams_bufSamp_HW_set)
__swig_setmethods__["nChannels"] = _csnd6.csRtAudioParams_nChannels_set
__swig_getmethods__["nChannels"] = _csnd6.csRtAudioParams_nChannels_get
if _newclass:nChannels = _swig_property(_csnd6.csRtAudioParams_nChannels_get, _csnd6.csRtAudioParams_nChannels_set)
__swig_setmethods__["sampleFormat"] = _csnd6.csRtAudioParams_sampleFormat_set
__swig_getmethods__["sampleFormat"] = _csnd6.csRtAudioParams_sampleFormat_get
if _newclass:sampleFormat = _swig_property(_csnd6.csRtAudioParams_sampleFormat_get, _csnd6.csRtAudioParams_sampleFormat_set)
__swig_setmethods__["sampleRate"] = _csnd6.csRtAudioParams_sampleRate_set
__swig_getmethods__["sampleRate"] = _csnd6.csRtAudioParams_sampleRate_get
if _newclass:sampleRate = _swig_property(_csnd6.csRtAudioParams_sampleRate_get, _csnd6.csRtAudioParams_sampleRate_set)
def __init__(self):
"""__init__(csRtAudioParams self) -> csRtAudioParams"""
this = _csnd6.new_csRtAudioParams()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_csRtAudioParams
__del__ = lambda self : None;
csRtAudioParams_swigregister = _csnd6.csRtAudioParams_swigregister
csRtAudioParams_swigregister(csRtAudioParams)
class RTCLOCK(_object):
"""Proxy of C++ RTCLOCK_S class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, RTCLOCK, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, RTCLOCK, name)
__repr__ = _swig_repr
__swig_setmethods__["starttime_real"] = _csnd6.RTCLOCK_starttime_real_set
__swig_getmethods__["starttime_real"] = _csnd6.RTCLOCK_starttime_real_get
if _newclass:starttime_real = _swig_property(_csnd6.RTCLOCK_starttime_real_get, _csnd6.RTCLOCK_starttime_real_set)
__swig_setmethods__["starttime_CPU"] = _csnd6.RTCLOCK_starttime_CPU_set
__swig_getmethods__["starttime_CPU"] = _csnd6.RTCLOCK_starttime_CPU_get
if _newclass:starttime_CPU = _swig_property(_csnd6.RTCLOCK_starttime_CPU_get, _csnd6.RTCLOCK_starttime_CPU_set)
def __init__(self):
"""__init__(RTCLOCK_S self) -> RTCLOCK"""
this = _csnd6.new_RTCLOCK()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_RTCLOCK
__del__ = lambda self : None;
RTCLOCK_swigregister = _csnd6.RTCLOCK_swigregister
RTCLOCK_swigregister(RTCLOCK)
class opcodeListEntry(_object):
"""Proxy of C++ opcodeListEntry class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, opcodeListEntry, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, opcodeListEntry, name)
__repr__ = _swig_repr
__swig_setmethods__["opname"] = _csnd6.opcodeListEntry_opname_set
__swig_getmethods__["opname"] = _csnd6.opcodeListEntry_opname_get
if _newclass:opname = _swig_property(_csnd6.opcodeListEntry_opname_get, _csnd6.opcodeListEntry_opname_set)
__swig_setmethods__["outypes"] = _csnd6.opcodeListEntry_outypes_set
__swig_getmethods__["outypes"] = _csnd6.opcodeListEntry_outypes_get
if _newclass:outypes = _swig_property(_csnd6.opcodeListEntry_outypes_get, _csnd6.opcodeListEntry_outypes_set)
__swig_setmethods__["intypes"] = _csnd6.opcodeListEntry_intypes_set
__swig_getmethods__["intypes"] = _csnd6.opcodeListEntry_intypes_get
if _newclass:intypes = _swig_property(_csnd6.opcodeListEntry_intypes_get, _csnd6.opcodeListEntry_intypes_set)
def __init__(self):
"""__init__(opcodeListEntry self) -> opcodeListEntry"""
this = _csnd6.new_opcodeListEntry()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_opcodeListEntry
__del__ = lambda self : None;
opcodeListEntry_swigregister = _csnd6.opcodeListEntry_swigregister
opcodeListEntry_swigregister(opcodeListEntry)
class CsoundRandMTState(_object):
"""Proxy of C++ CsoundRandMTState_ class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundRandMTState, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundRandMTState, name)
__repr__ = _swig_repr
__swig_setmethods__["mti"] = _csnd6.CsoundRandMTState_mti_set
__swig_getmethods__["mti"] = _csnd6.CsoundRandMTState_mti_get
if _newclass:mti = _swig_property(_csnd6.CsoundRandMTState_mti_get, _csnd6.CsoundRandMTState_mti_set)
__swig_setmethods__["mt"] = _csnd6.CsoundRandMTState_mt_set
__swig_getmethods__["mt"] = _csnd6.CsoundRandMTState_mt_get
if _newclass:mt = _swig_property(_csnd6.CsoundRandMTState_mt_get, _csnd6.CsoundRandMTState_mt_set)
def __init__(self):
"""__init__(CsoundRandMTState_ self) -> CsoundRandMTState"""
this = _csnd6.new_CsoundRandMTState()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundRandMTState
__del__ = lambda self : None;
CsoundRandMTState_swigregister = _csnd6.CsoundRandMTState_swigregister
CsoundRandMTState_swigregister(CsoundRandMTState)
class PVSDATEXT(_object):
"""Proxy of C++ pvsdat_ext class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PVSDATEXT, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PVSDATEXT, name)
__repr__ = _swig_repr
__swig_setmethods__["N"] = _csnd6.PVSDATEXT_N_set
__swig_getmethods__["N"] = _csnd6.PVSDATEXT_N_get
if _newclass:N = _swig_property(_csnd6.PVSDATEXT_N_get, _csnd6.PVSDATEXT_N_set)
__swig_setmethods__["sliding"] = _csnd6.PVSDATEXT_sliding_set
__swig_getmethods__["sliding"] = _csnd6.PVSDATEXT_sliding_get
if _newclass:sliding = _swig_property(_csnd6.PVSDATEXT_sliding_get, _csnd6.PVSDATEXT_sliding_set)
__swig_setmethods__["NB"] = _csnd6.PVSDATEXT_NB_set
__swig_getmethods__["NB"] = _csnd6.PVSDATEXT_NB_get
if _newclass:NB = _swig_property(_csnd6.PVSDATEXT_NB_get, _csnd6.PVSDATEXT_NB_set)
__swig_setmethods__["overlap"] = _csnd6.PVSDATEXT_overlap_set
__swig_getmethods__["overlap"] = _csnd6.PVSDATEXT_overlap_get
if _newclass:overlap = _swig_property(_csnd6.PVSDATEXT_overlap_get, _csnd6.PVSDATEXT_overlap_set)
__swig_setmethods__["winsize"] = _csnd6.PVSDATEXT_winsize_set
__swig_getmethods__["winsize"] = _csnd6.PVSDATEXT_winsize_get
if _newclass:winsize = _swig_property(_csnd6.PVSDATEXT_winsize_get, _csnd6.PVSDATEXT_winsize_set)
__swig_setmethods__["wintype"] = _csnd6.PVSDATEXT_wintype_set
__swig_getmethods__["wintype"] = _csnd6.PVSDATEXT_wintype_get
if _newclass:wintype = _swig_property(_csnd6.PVSDATEXT_wintype_get, _csnd6.PVSDATEXT_wintype_set)
__swig_setmethods__["format"] = _csnd6.PVSDATEXT_format_set
__swig_getmethods__["format"] = _csnd6.PVSDATEXT_format_get
if _newclass:format = _swig_property(_csnd6.PVSDATEXT_format_get, _csnd6.PVSDATEXT_format_set)
__swig_setmethods__["framecount"] = _csnd6.PVSDATEXT_framecount_set
__swig_getmethods__["framecount"] = _csnd6.PVSDATEXT_framecount_get
if _newclass:framecount = _swig_property(_csnd6.PVSDATEXT_framecount_get, _csnd6.PVSDATEXT_framecount_set)
__swig_setmethods__["frame"] = _csnd6.PVSDATEXT_frame_set
__swig_getmethods__["frame"] = _csnd6.PVSDATEXT_frame_get
if _newclass:frame = _swig_property(_csnd6.PVSDATEXT_frame_get, _csnd6.PVSDATEXT_frame_set)
def __init__(self):
"""__init__(pvsdat_ext self) -> PVSDATEXT"""
this = _csnd6.new_PVSDATEXT()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_PVSDATEXT
__del__ = lambda self : None;
PVSDATEXT_swigregister = _csnd6.PVSDATEXT_swigregister
PVSDATEXT_swigregister(PVSDATEXT)
class ORCTOKEN(_object):
"""Proxy of C++ ORCTOKEN class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ORCTOKEN, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ORCTOKEN, name)
__repr__ = _swig_repr
__swig_setmethods__["type"] = _csnd6.ORCTOKEN_type_set
__swig_getmethods__["type"] = _csnd6.ORCTOKEN_type_get
if _newclass:type = _swig_property(_csnd6.ORCTOKEN_type_get, _csnd6.ORCTOKEN_type_set)
__swig_setmethods__["lexeme"] = _csnd6.ORCTOKEN_lexeme_set
__swig_getmethods__["lexeme"] = _csnd6.ORCTOKEN_lexeme_get
if _newclass:lexeme = _swig_property(_csnd6.ORCTOKEN_lexeme_get, _csnd6.ORCTOKEN_lexeme_set)
__swig_setmethods__["value"] = _csnd6.ORCTOKEN_value_set
__swig_getmethods__["value"] = _csnd6.ORCTOKEN_value_get
if _newclass:value = _swig_property(_csnd6.ORCTOKEN_value_get, _csnd6.ORCTOKEN_value_set)
__swig_setmethods__["fvalue"] = _csnd6.ORCTOKEN_fvalue_set
__swig_getmethods__["fvalue"] = _csnd6.ORCTOKEN_fvalue_get
if _newclass:fvalue = _swig_property(_csnd6.ORCTOKEN_fvalue_get, _csnd6.ORCTOKEN_fvalue_set)
__swig_setmethods__["optype"] = _csnd6.ORCTOKEN_optype_set
__swig_getmethods__["optype"] = _csnd6.ORCTOKEN_optype_get
if _newclass:optype = _swig_property(_csnd6.ORCTOKEN_optype_get, _csnd6.ORCTOKEN_optype_set)
__swig_setmethods__["next"] = _csnd6.ORCTOKEN_next_set
__swig_getmethods__["next"] = _csnd6.ORCTOKEN_next_get
if _newclass:next = _swig_property(_csnd6.ORCTOKEN_next_get, _csnd6.ORCTOKEN_next_set)
def __init__(self):
"""__init__(ORCTOKEN self) -> ORCTOKEN"""
this = _csnd6.new_ORCTOKEN()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_ORCTOKEN
__del__ = lambda self : None;
ORCTOKEN_swigregister = _csnd6.ORCTOKEN_swigregister
ORCTOKEN_swigregister(ORCTOKEN)
class TREE(_object):
"""Proxy of C++ TREE class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, TREE, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, TREE, name)
__repr__ = _swig_repr
__swig_setmethods__["type"] = _csnd6.TREE_type_set
__swig_getmethods__["type"] = _csnd6.TREE_type_get
if _newclass:type = _swig_property(_csnd6.TREE_type_get, _csnd6.TREE_type_set)
__swig_setmethods__["value"] = _csnd6.TREE_value_set
__swig_getmethods__["value"] = _csnd6.TREE_value_get
if _newclass:value = _swig_property(_csnd6.TREE_value_get, _csnd6.TREE_value_set)
__swig_setmethods__["rate"] = _csnd6.TREE_rate_set
__swig_getmethods__["rate"] = _csnd6.TREE_rate_get
if _newclass:rate = _swig_property(_csnd6.TREE_rate_get, _csnd6.TREE_rate_set)
__swig_setmethods__["len"] = _csnd6.TREE_len_set
__swig_getmethods__["len"] = _csnd6.TREE_len_get
if _newclass:len = _swig_property(_csnd6.TREE_len_get, _csnd6.TREE_len_set)
__swig_setmethods__["line"] = _csnd6.TREE_line_set
__swig_getmethods__["line"] = _csnd6.TREE_line_get
if _newclass:line = _swig_property(_csnd6.TREE_line_get, _csnd6.TREE_line_set)
__swig_setmethods__["locn"] = _csnd6.TREE_locn_set
__swig_getmethods__["locn"] = _csnd6.TREE_locn_get
if _newclass:locn = _swig_property(_csnd6.TREE_locn_get, _csnd6.TREE_locn_set)
__swig_setmethods__["left"] = _csnd6.TREE_left_set
__swig_getmethods__["left"] = _csnd6.TREE_left_get
if _newclass:left = _swig_property(_csnd6.TREE_left_get, _csnd6.TREE_left_set)
__swig_setmethods__["right"] = _csnd6.TREE_right_set
__swig_getmethods__["right"] = _csnd6.TREE_right_get
if _newclass:right = _swig_property(_csnd6.TREE_right_get, _csnd6.TREE_right_set)
__swig_setmethods__["next"] = _csnd6.TREE_next_set
__swig_getmethods__["next"] = _csnd6.TREE_next_get
if _newclass:next = _swig_property(_csnd6.TREE_next_get, _csnd6.TREE_next_set)
__swig_setmethods__["markup"] = _csnd6.TREE_markup_set
__swig_getmethods__["markup"] = _csnd6.TREE_markup_get
if _newclass:markup = _swig_property(_csnd6.TREE_markup_get, _csnd6.TREE_markup_set)
def __init__(self):
"""__init__(TREE self) -> TREE"""
this = _csnd6.new_TREE()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_TREE
__del__ = lambda self : None;
TREE_swigregister = _csnd6.TREE_swigregister
TREE_swigregister(TREE)
CSOUND_CONTROL_CHANNEL = _csnd6.CSOUND_CONTROL_CHANNEL
CSOUND_AUDIO_CHANNEL = _csnd6.CSOUND_AUDIO_CHANNEL
CSOUND_STRING_CHANNEL = _csnd6.CSOUND_STRING_CHANNEL
CSOUND_PVS_CHANNEL = _csnd6.CSOUND_PVS_CHANNEL
CSOUND_VAR_CHANNEL = _csnd6.CSOUND_VAR_CHANNEL
CSOUND_CHANNEL_TYPE_MASK = _csnd6.CSOUND_CHANNEL_TYPE_MASK
CSOUND_INPUT_CHANNEL = _csnd6.CSOUND_INPUT_CHANNEL
CSOUND_OUTPUT_CHANNEL = _csnd6.CSOUND_OUTPUT_CHANNEL
CSOUND_CONTROL_CHANNEL_NO_HINTS = _csnd6.CSOUND_CONTROL_CHANNEL_NO_HINTS
CSOUND_CONTROL_CHANNEL_INT = _csnd6.CSOUND_CONTROL_CHANNEL_INT
CSOUND_CONTROL_CHANNEL_LIN = _csnd6.CSOUND_CONTROL_CHANNEL_LIN
CSOUND_CONTROL_CHANNEL_EXP = _csnd6.CSOUND_CONTROL_CHANNEL_EXP
class controlChannelHints_t(_object):
"""Proxy of C++ controlChannelHints_s class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, controlChannelHints_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, controlChannelHints_t, name)
__repr__ = _swig_repr
__swig_setmethods__["behav"] = _csnd6.controlChannelHints_t_behav_set
__swig_getmethods__["behav"] = _csnd6.controlChannelHints_t_behav_get
if _newclass:behav = _swig_property(_csnd6.controlChannelHints_t_behav_get, _csnd6.controlChannelHints_t_behav_set)
__swig_setmethods__["dflt"] = _csnd6.controlChannelHints_t_dflt_set
__swig_getmethods__["dflt"] = _csnd6.controlChannelHints_t_dflt_get
if _newclass:dflt = _swig_property(_csnd6.controlChannelHints_t_dflt_get, _csnd6.controlChannelHints_t_dflt_set)
__swig_setmethods__["min"] = _csnd6.controlChannelHints_t_min_set
__swig_getmethods__["min"] = _csnd6.controlChannelHints_t_min_get
if _newclass:min = _swig_property(_csnd6.controlChannelHints_t_min_get, _csnd6.controlChannelHints_t_min_set)
__swig_setmethods__["max"] = _csnd6.controlChannelHints_t_max_set
__swig_getmethods__["max"] = _csnd6.controlChannelHints_t_max_get
if _newclass:max = _swig_property(_csnd6.controlChannelHints_t_max_get, _csnd6.controlChannelHints_t_max_set)
__swig_setmethods__["x"] = _csnd6.controlChannelHints_t_x_set
__swig_getmethods__["x"] = _csnd6.controlChannelHints_t_x_get
if _newclass:x = _swig_property(_csnd6.controlChannelHints_t_x_get, _csnd6.controlChannelHints_t_x_set)
__swig_setmethods__["y"] = _csnd6.controlChannelHints_t_y_set
__swig_getmethods__["y"] = _csnd6.controlChannelHints_t_y_get
if _newclass:y = _swig_property(_csnd6.controlChannelHints_t_y_get, _csnd6.controlChannelHints_t_y_set)
__swig_setmethods__["width"] = _csnd6.controlChannelHints_t_width_set
__swig_getmethods__["width"] = _csnd6.controlChannelHints_t_width_get
if _newclass:width = _swig_property(_csnd6.controlChannelHints_t_width_get, _csnd6.controlChannelHints_t_width_set)
__swig_setmethods__["height"] = _csnd6.controlChannelHints_t_height_set
__swig_getmethods__["height"] = _csnd6.controlChannelHints_t_height_get
if _newclass:height = _swig_property(_csnd6.controlChannelHints_t_height_get, _csnd6.controlChannelHints_t_height_set)
__swig_setmethods__["attributes"] = _csnd6.controlChannelHints_t_attributes_set
__swig_getmethods__["attributes"] = _csnd6.controlChannelHints_t_attributes_get
if _newclass:attributes = _swig_property(_csnd6.controlChannelHints_t_attributes_get, _csnd6.controlChannelHints_t_attributes_set)
def __init__(self):
"""__init__(controlChannelHints_s self) -> controlChannelHints_t"""
this = _csnd6.new_controlChannelHints_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_controlChannelHints_t
__del__ = lambda self : None;
controlChannelHints_t_swigregister = _csnd6.controlChannelHints_t_swigregister
controlChannelHints_t_swigregister(controlChannelHints_t)
class controlChannelInfo_t(_object):
"""Proxy of C++ controlChannelInfo_s class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, controlChannelInfo_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, controlChannelInfo_t, name)
__repr__ = _swig_repr
__swig_setmethods__["name"] = _csnd6.controlChannelInfo_t_name_set
__swig_getmethods__["name"] = _csnd6.controlChannelInfo_t_name_get
if _newclass:name = _swig_property(_csnd6.controlChannelInfo_t_name_get, _csnd6.controlChannelInfo_t_name_set)
__swig_setmethods__["type"] = _csnd6.controlChannelInfo_t_type_set
__swig_getmethods__["type"] = _csnd6.controlChannelInfo_t_type_get
if _newclass:type = _swig_property(_csnd6.controlChannelInfo_t_type_get, _csnd6.controlChannelInfo_t_type_set)
__swig_setmethods__["hints"] = _csnd6.controlChannelInfo_t_hints_set
__swig_getmethods__["hints"] = _csnd6.controlChannelInfo_t_hints_get
if _newclass:hints = _swig_property(_csnd6.controlChannelInfo_t_hints_get, _csnd6.controlChannelInfo_t_hints_set)
def __init__(self):
"""__init__(controlChannelInfo_s self) -> controlChannelInfo_t"""
this = _csnd6.new_controlChannelInfo_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_controlChannelInfo_t
__del__ = lambda self : None;
controlChannelInfo_t_swigregister = _csnd6.controlChannelInfo_t_swigregister
controlChannelInfo_t_swigregister(controlChannelInfo_t)
def csoundInitialize(*args):
"""csoundInitialize(int flags) -> int"""
return _csnd6.csoundInitialize(*args)
def csoundCreate(*args):
"""csoundCreate(void * hostData) -> CSOUND *"""
return _csnd6.csoundCreate(*args)
def csoundDestroy(*args):
"""csoundDestroy(CSOUND * arg1)"""
return _csnd6.csoundDestroy(*args)
def csoundGetVersion():
"""csoundGetVersion() -> int"""
return _csnd6.csoundGetVersion()
def csoundGetAPIVersion():
"""csoundGetAPIVersion() -> int"""
return _csnd6.csoundGetAPIVersion()
def csoundParseOrc(*args):
"""csoundParseOrc(CSOUND * csound, char const * str) -> TREE"""
return _csnd6.csoundParseOrc(*args)
def csoundCompileTree(*args):
"""csoundCompileTree(CSOUND * csound, TREE root) -> int"""
return _csnd6.csoundCompileTree(*args)
def csoundDeleteTree(*args):
"""csoundDeleteTree(CSOUND * csound, TREE tree)"""
return _csnd6.csoundDeleteTree(*args)
def csoundCompileOrc(*args):
"""csoundCompileOrc(CSOUND * csound, char const * str) -> int"""
return _csnd6.csoundCompileOrc(*args)
def csoundEvalCode(*args):
"""csoundEvalCode(CSOUND * csound, char const * str) -> double"""
return _csnd6.csoundEvalCode(*args)
def csoundInitializeCscore(*args):
"""csoundInitializeCscore(CSOUND * arg1, FILE * insco, FILE * outsco) -> int"""
return _csnd6.csoundInitializeCscore(*args)
def csoundCompileArgs(*args):
"""csoundCompileArgs(CSOUND * arg1, int argc, char ** argv) -> int"""
return _csnd6.csoundCompileArgs(*args)
def csoundStart(*args):
"""csoundStart(CSOUND * csound) -> int"""
return _csnd6.csoundStart(*args)
def csoundCompile(*args):
"""csoundCompile(CSOUND * arg1, int argc, char ** argv) -> int"""
return _csnd6.csoundCompile(*args)
def csoundPerform(*args):
"""csoundPerform(CSOUND * arg1) -> int"""
return _csnd6.csoundPerform(*args)
def csoundPerformKsmps(*args):
"""csoundPerformKsmps(CSOUND * arg1) -> int"""
return _csnd6.csoundPerformKsmps(*args)
def csoundPerformBuffer(*args):
"""csoundPerformBuffer(CSOUND * arg1) -> int"""
return _csnd6.csoundPerformBuffer(*args)
def csoundStop(*args):
"""csoundStop(CSOUND * arg1)"""
return _csnd6.csoundStop(*args)
def csoundCleanup(*args):
"""csoundCleanup(CSOUND * arg1) -> int"""
return _csnd6.csoundCleanup(*args)
def csoundReset(*args):
"""csoundReset(CSOUND * arg1)"""
return _csnd6.csoundReset(*args)
def csoundGetSr(*args):
"""csoundGetSr(CSOUND * arg1) -> double"""
return _csnd6.csoundGetSr(*args)
def csoundGetKr(*args):
"""csoundGetKr(CSOUND * arg1) -> double"""
return _csnd6.csoundGetKr(*args)
def csoundGetKsmps(*args):
"""csoundGetKsmps(CSOUND * arg1) -> uint32_t"""
return _csnd6.csoundGetKsmps(*args)
def csoundGetNchnls(*args):
"""csoundGetNchnls(CSOUND * arg1) -> uint32_t"""
return _csnd6.csoundGetNchnls(*args)
def csoundGetNchnlsInput(*args):
"""csoundGetNchnlsInput(CSOUND * csound) -> uint32_t"""
return _csnd6.csoundGetNchnlsInput(*args)
def csoundGet0dBFS(*args):
"""csoundGet0dBFS(CSOUND * arg1) -> double"""
return _csnd6.csoundGet0dBFS(*args)
def csoundGetCurrentTimeSamples(*args):
"""csoundGetCurrentTimeSamples(CSOUND * csound) -> int64_t"""
return _csnd6.csoundGetCurrentTimeSamples(*args)
def csoundGetSizeOfMYFLT():
"""csoundGetSizeOfMYFLT() -> int"""
return _csnd6.csoundGetSizeOfMYFLT()
def csoundSetOption(*args):
"""csoundSetOption(CSOUND * csound, char * option) -> int"""
return _csnd6.csoundSetOption(*args)
def csoundSetParams(*args):
"""csoundSetParams(CSOUND * csound, CSOUND_PARAMS p)"""
return _csnd6.csoundSetParams(*args)
def csoundGetParams(*args):
"""csoundGetParams(CSOUND * csound, CSOUND_PARAMS p)"""
return _csnd6.csoundGetParams(*args)
def csoundGetDebug(*args):
"""csoundGetDebug(CSOUND * arg1) -> int"""
return _csnd6.csoundGetDebug(*args)
def csoundSetDebug(*args):
"""csoundSetDebug(CSOUND * arg1, int debug)"""
return _csnd6.csoundSetDebug(*args)
def csoundGetOutputName(*args):
"""csoundGetOutputName(CSOUND * arg1) -> char const *"""
return _csnd6.csoundGetOutputName(*args)
def csoundSetOutput(*args):
"""csoundSetOutput(CSOUND * csound, char * name, char * type, char * format)"""
return _csnd6.csoundSetOutput(*args)
def csoundSetInput(*args):
"""csoundSetInput(CSOUND * csound, char * name)"""
return _csnd6.csoundSetInput(*args)
def csoundSetMIDIInput(*args):
"""csoundSetMIDIInput(CSOUND * csound, char * name)"""
return _csnd6.csoundSetMIDIInput(*args)
def csoundSetMIDIFileInput(*args):
"""csoundSetMIDIFileInput(CSOUND * csound, char * name)"""
return _csnd6.csoundSetMIDIFileInput(*args)
def csoundSetMIDIOutput(*args):
"""csoundSetMIDIOutput(CSOUND * csound, char * name)"""
return _csnd6.csoundSetMIDIOutput(*args)
def csoundSetMIDIFileOutput(*args):
"""csoundSetMIDIFileOutput(CSOUND * csound, char * name)"""
return _csnd6.csoundSetMIDIFileOutput(*args)
def csoundSetRTAudioModule(*args):
"""csoundSetRTAudioModule(CSOUND * csound, char * module)"""
return _csnd6.csoundSetRTAudioModule(*args)
def csoundGetModule(*args):
"""csoundGetModule(CSOUND * csound, int number, char ** name, char ** type) -> int"""
return _csnd6.csoundGetModule(*args)
def csoundGetInputBufferSize(*args):
"""csoundGetInputBufferSize(CSOUND * arg1) -> long"""
return _csnd6.csoundGetInputBufferSize(*args)
def csoundGetOutputBufferSize(*args):
"""csoundGetOutputBufferSize(CSOUND * arg1) -> long"""
return _csnd6.csoundGetOutputBufferSize(*args)
def csoundGetInputBuffer(*args):
"""csoundGetInputBuffer(CSOUND * arg1) -> double *"""
return _csnd6.csoundGetInputBuffer(*args)
def csoundGetOutputBuffer(*args):
"""csoundGetOutputBuffer(CSOUND * arg1) -> double *"""
return _csnd6.csoundGetOutputBuffer(*args)
def csoundGetSpin(*args):
"""csoundGetSpin(CSOUND * arg1) -> double *"""
return _csnd6.csoundGetSpin(*args)
def csoundAddSpinSample(*args):
"""csoundAddSpinSample(CSOUND * csound, int frame, int channel, double sample)"""
return _csnd6.csoundAddSpinSample(*args)
def csoundGetSpout(*args):
"""csoundGetSpout(CSOUND * csound) -> double *"""
return _csnd6.csoundGetSpout(*args)
def csoundGetSpoutSample(*args):
"""csoundGetSpoutSample(CSOUND * csound, int frame, int channel) -> double"""
return _csnd6.csoundGetSpoutSample(*args)
def csoundGetRtRecordUserData(*args):
"""csoundGetRtRecordUserData(CSOUND * arg1) -> void **"""
return _csnd6.csoundGetRtRecordUserData(*args)
def csoundGetRtPlayUserData(*args):
"""csoundGetRtPlayUserData(CSOUND * arg1) -> void **"""
return _csnd6.csoundGetRtPlayUserData(*args)
def csoundSetHostImplementedAudioIO(*args):
"""csoundSetHostImplementedAudioIO(CSOUND * arg1, int state, int bufSize)"""
return _csnd6.csoundSetHostImplementedAudioIO(*args)
def csoundGetAudioDevList(*args):
"""csoundGetAudioDevList(CSOUND * csound, CS_AUDIODEVICE list, int isOutput) -> int"""
return _csnd6.csoundGetAudioDevList(*args)
def csoundSetAudioDeviceListCallback(*args):
"""csoundSetAudioDeviceListCallback(CSOUND * csound, int (*)(CSOUND *,CS_AUDIODEVICE *,int) audiodevlist__)"""
return _csnd6.csoundSetAudioDeviceListCallback(*args)
def csoundSetMIDIModule(*args):
"""csoundSetMIDIModule(CSOUND * csound, char * module)"""
return _csnd6.csoundSetMIDIModule(*args)
def csoundSetHostImplementedMIDIIO(*args):
"""csoundSetHostImplementedMIDIIO(CSOUND * csound, int state)"""
return _csnd6.csoundSetHostImplementedMIDIIO(*args)
def csoundGetMIDIDevList(*args):
"""csoundGetMIDIDevList(CSOUND * csound, CS_MIDIDEVICE list, int isOutput) -> int"""
return _csnd6.csoundGetMIDIDevList(*args)
def csoundSetMIDIDeviceListCallback(*args):
"""csoundSetMIDIDeviceListCallback(CSOUND * csound, int (*)(CSOUND *,CS_MIDIDEVICE *,int) mididevlist__)"""
return _csnd6.csoundSetMIDIDeviceListCallback(*args)
def csoundReadScore(*args):
"""csoundReadScore(CSOUND * csound, char * str) -> int"""
return _csnd6.csoundReadScore(*args)
def csoundGetScoreTime(*args):
"""csoundGetScoreTime(CSOUND * arg1) -> double"""
return _csnd6.csoundGetScoreTime(*args)
def csoundIsScorePending(*args):
"""csoundIsScorePending(CSOUND * arg1) -> int"""
return _csnd6.csoundIsScorePending(*args)
def csoundSetScorePending(*args):
"""csoundSetScorePending(CSOUND * arg1, int pending)"""
return _csnd6.csoundSetScorePending(*args)
def csoundGetScoreOffsetSeconds(*args):
"""csoundGetScoreOffsetSeconds(CSOUND * arg1) -> double"""
return _csnd6.csoundGetScoreOffsetSeconds(*args)
def csoundSetScoreOffsetSeconds(*args):
"""csoundSetScoreOffsetSeconds(CSOUND * arg1, double time)"""
return _csnd6.csoundSetScoreOffsetSeconds(*args)
def csoundRewindScore(*args):
"""csoundRewindScore(CSOUND * arg1)"""
return _csnd6.csoundRewindScore(*args)
def csoundScoreSort(*args):
"""csoundScoreSort(CSOUND * arg1, FILE * inFile, FILE * outFile) -> int"""
return _csnd6.csoundScoreSort(*args)
def csoundScoreExtract(*args):
"""csoundScoreExtract(CSOUND * arg1, FILE * inFile, FILE * outFile, FILE * extractFile) -> int"""
return _csnd6.csoundScoreExtract(*args)
def csoundMessage(*args):
"""csoundMessage(CSOUND * arg1, char const * format)"""
return _csnd6.csoundMessage(*args)
def csoundMessageS(*args):
"""csoundMessageS(CSOUND * arg1, int attr, char const * format)"""
return _csnd6.csoundMessageS(*args)
def csoundSetDefaultMessageCallback(*args):
"""csoundSetDefaultMessageCallback(void (*)(CSOUND *,int,char const *,va_list) csoundMessageCallback_)"""
return _csnd6.csoundSetDefaultMessageCallback(*args)
def csoundGetMessageLevel(*args):
"""csoundGetMessageLevel(CSOUND * arg1) -> int"""
return _csnd6.csoundGetMessageLevel(*args)
def csoundSetMessageLevel(*args):
"""csoundSetMessageLevel(CSOUND * arg1, int messageLevel)"""
return _csnd6.csoundSetMessageLevel(*args)
def csoundCreateMessageBuffer(*args):
"""csoundCreateMessageBuffer(CSOUND * csound, int toStdOut)"""
return _csnd6.csoundCreateMessageBuffer(*args)
def csoundGetFirstMessage(*args):
"""csoundGetFirstMessage(CSOUND * csound) -> char const *"""
return _csnd6.csoundGetFirstMessage(*args)
def csoundGetFirstMessageAttr(*args):
"""csoundGetFirstMessageAttr(CSOUND * csound) -> int"""
return _csnd6.csoundGetFirstMessageAttr(*args)
def csoundPopFirstMessage(*args):
"""csoundPopFirstMessage(CSOUND * csound)"""
return _csnd6.csoundPopFirstMessage(*args)
def csoundGetMessageCnt(*args):
"""csoundGetMessageCnt(CSOUND * csound) -> int"""
return _csnd6.csoundGetMessageCnt(*args)
def csoundDestroyMessageBuffer(*args):
"""csoundDestroyMessageBuffer(CSOUND * csound)"""
return _csnd6.csoundDestroyMessageBuffer(*args)
def csoundGetChannelPtr(*args):
"""csoundGetChannelPtr(CSOUND * arg1, double ** p, char const * name, int type) -> int"""
return _csnd6.csoundGetChannelPtr(*args)
def csoundListChannels(*args):
"""csoundListChannels(CSOUND * arg1, controlChannelInfo_t ** lst) -> int"""
return _csnd6.csoundListChannels(*args)
def csoundDeleteChannelList(*args):
"""csoundDeleteChannelList(CSOUND * arg1, controlChannelInfo_t lst)"""
return _csnd6.csoundDeleteChannelList(*args)
def csoundSetControlChannelHints(*args):
"""csoundSetControlChannelHints(CSOUND * arg1, char const * name, controlChannelHints_t hints) -> int"""
return _csnd6.csoundSetControlChannelHints(*args)
def csoundGetControlChannelHints(*args):
"""csoundGetControlChannelHints(CSOUND * arg1, char const * name, controlChannelHints_t hints) -> int"""
return _csnd6.csoundGetControlChannelHints(*args)
def csoundGetChannelLock(*args):
"""csoundGetChannelLock(CSOUND * arg1, char const * name) -> int *"""
return _csnd6.csoundGetChannelLock(*args)
def csoundGetControlChannel(*args):
"""csoundGetControlChannel(CSOUND * csound, char const * name, int * err) -> double"""
return _csnd6.csoundGetControlChannel(*args)
def csoundSetControlChannel(*args):
"""csoundSetControlChannel(CSOUND * csound, char const * name, double val)"""
return _csnd6.csoundSetControlChannel(*args)
def csoundGetAudioChannel(*args):
"""csoundGetAudioChannel(CSOUND * csound, char const * name, double * samples)"""
return _csnd6.csoundGetAudioChannel(*args)
def csoundSetAudioChannel(*args):
"""csoundSetAudioChannel(CSOUND * csound, char const * name, double * samples)"""
return _csnd6.csoundSetAudioChannel(*args)
def csoundGetStringChannel(*args):
"""csoundGetStringChannel(CSOUND * csound, char const * name, char * string)"""
return _csnd6.csoundGetStringChannel(*args)
def csoundSetStringChannel(*args):
"""csoundSetStringChannel(CSOUND * csound, char const * name, char * string)"""
return _csnd6.csoundSetStringChannel(*args)
def csoundGetChannelDatasize(*args):
"""csoundGetChannelDatasize(CSOUND * csound, char const * name) -> int"""
return _csnd6.csoundGetChannelDatasize(*args)
def csoundSetInputChannelCallback(*args):
"""csoundSetInputChannelCallback(CSOUND * csound, channelCallback_t inputChannelCalback)"""
return _csnd6.csoundSetInputChannelCallback(*args)
def csoundSetOutputChannelCallback(*args):
"""csoundSetOutputChannelCallback(CSOUND * csound, channelCallback_t outputChannelCalback)"""
return _csnd6.csoundSetOutputChannelCallback(*args)
def csoundSetPvsChannel(*args):
"""csoundSetPvsChannel(CSOUND * arg1, PVSDATEXT fin, char const * name) -> int"""
return _csnd6.csoundSetPvsChannel(*args)
def csoundGetPvsChannel(*args):
"""csoundGetPvsChannel(CSOUND * csound, PVSDATEXT fout, char const * name) -> int"""
return _csnd6.csoundGetPvsChannel(*args)
def csoundScoreEvent(*args):
"""csoundScoreEvent(CSOUND * arg1, char type, double const * pFields, long numFields) -> int"""
return _csnd6.csoundScoreEvent(*args)
def csoundScoreEventAbsolute(*args):
"""csoundScoreEventAbsolute(CSOUND * arg1, char type, double const * pfields, long numFields, double time_ofs) -> int"""
return _csnd6.csoundScoreEventAbsolute(*args)
def csoundInputMessage(*args):
"""csoundInputMessage(CSOUND * arg1, char const * message)"""
return _csnd6.csoundInputMessage(*args)
def csoundKillInstance(*args):
"""csoundKillInstance(CSOUND * csound, double instr, char * instrName, int mode, int allow_release) -> int"""
return _csnd6.csoundKillInstance(*args)
def csoundKeyPress(*args):
"""csoundKeyPress(CSOUND * arg1, char c)"""
return _csnd6.csoundKeyPress(*args)
def csoundRegisterKeyboardCallback(*args):
"""csoundRegisterKeyboardCallback(CSOUND * arg1, int (*)(void *,void *,unsigned int) func, void * userData, unsigned int type) -> int"""
return _csnd6.csoundRegisterKeyboardCallback(*args)
def csoundRemoveKeyboardCallback(*args):
"""csoundRemoveKeyboardCallback(CSOUND * csound, int (*)(void *,void *,unsigned int) func)"""
return _csnd6.csoundRemoveKeyboardCallback(*args)
def csoundTableLength(*args):
"""csoundTableLength(CSOUND * arg1, int table) -> int"""
return _csnd6.csoundTableLength(*args)
def csoundTableGet(*args):
"""csoundTableGet(CSOUND * arg1, int table, int index) -> double"""
return _csnd6.csoundTableGet(*args)
def csoundTableSet(*args):
"""csoundTableSet(CSOUND * arg1, int table, int index, double value)"""
return _csnd6.csoundTableSet(*args)
def csoundTableCopyOut(*args):
"""csoundTableCopyOut(CSOUND * csound, int table, double * dest)"""
return _csnd6.csoundTableCopyOut(*args)
def csoundTableCopyIn(*args):
"""csoundTableCopyIn(CSOUND * csound, int table, double * src)"""
return _csnd6.csoundTableCopyIn(*args)
def csoundGetTable(*args):
"""csoundGetTable(CSOUND * arg1, double ** tablePtr, int tableNum) -> int"""
return _csnd6.csoundGetTable(*args)
def csoundGetNamedGens(*args):
"""csoundGetNamedGens(CSOUND * arg1) -> void *"""
return _csnd6.csoundGetNamedGens(*args)
def csoundNewOpcodeList(*args):
"""csoundNewOpcodeList(CSOUND * arg1, opcodeListEntry ** opcodelist) -> int"""
return _csnd6.csoundNewOpcodeList(*args)
def csoundDisposeOpcodeList(*args):
"""csoundDisposeOpcodeList(CSOUND * arg1, opcodeListEntry opcodelist)"""
return _csnd6.csoundDisposeOpcodeList(*args)
def csoundAppendOpcode(*args):
"""
csoundAppendOpcode(CSOUND * arg1, char const * opname, int dsblksiz, int flags, int thread, char const * outypes,
char const * intypes, int (*)(CSOUND *,void *) iopadr, int (*)(CSOUND *,void *) kopadr,
int (*)(CSOUND *,void *) aopadr) -> int
"""
return _csnd6.csoundAppendOpcode(*args)
def csoundCreateThread(*args):
"""csoundCreateThread(uintptr_t (*)(void *) threadRoutine, void * userdata) -> void *"""
return _csnd6.csoundCreateThread(*args)
def csoundGetCurrentThreadId():
"""csoundGetCurrentThreadId() -> void *"""
return _csnd6.csoundGetCurrentThreadId()
def csoundJoinThread(*args):
"""csoundJoinThread(void * thread) -> uintptr_t"""
return _csnd6.csoundJoinThread(*args)
def csoundCreateThreadLock():
"""csoundCreateThreadLock() -> void *"""
return _csnd6.csoundCreateThreadLock()
def csoundWaitThreadLock(*args):
"""csoundWaitThreadLock(void * lock, size_t milliseconds) -> int"""
return _csnd6.csoundWaitThreadLock(*args)
def csoundWaitThreadLockNoTimeout(*args):
"""csoundWaitThreadLockNoTimeout(void * lock)"""
return _csnd6.csoundWaitThreadLockNoTimeout(*args)
def csoundNotifyThreadLock(*args):
"""csoundNotifyThreadLock(void * lock)"""
return _csnd6.csoundNotifyThreadLock(*args)
def csoundDestroyThreadLock(*args):
"""csoundDestroyThreadLock(void * lock)"""
return _csnd6.csoundDestroyThreadLock(*args)
def csoundCreateMutex(*args):
"""csoundCreateMutex(int isRecursive) -> void *"""
return _csnd6.csoundCreateMutex(*args)
def csoundLockMutex(*args):
"""csoundLockMutex(void * mutex_)"""
return _csnd6.csoundLockMutex(*args)
def csoundLockMutexNoWait(*args):
"""csoundLockMutexNoWait(void * mutex_) -> int"""
return _csnd6.csoundLockMutexNoWait(*args)
def csoundUnlockMutex(*args):
"""csoundUnlockMutex(void * mutex_)"""
return _csnd6.csoundUnlockMutex(*args)
def csoundDestroyMutex(*args):
"""csoundDestroyMutex(void * mutex_)"""
return _csnd6.csoundDestroyMutex(*args)
def csoundCreateBarrier(*args):
"""csoundCreateBarrier(unsigned int max) -> void *"""
return _csnd6.csoundCreateBarrier(*args)
def csoundDestroyBarrier(*args):
"""csoundDestroyBarrier(void * barrier) -> int"""
return _csnd6.csoundDestroyBarrier(*args)
def csoundWaitBarrier(*args):
"""csoundWaitBarrier(void * barrier) -> int"""
return _csnd6.csoundWaitBarrier(*args)
def csoundSleep(*args):
"""csoundSleep(size_t milliseconds)"""
return _csnd6.csoundSleep(*args)
def csoundRunCommand(*args):
"""csoundRunCommand(char const *const * argv, int noWait) -> long"""
return _csnd6.csoundRunCommand(*args)
def csoundInitTimerStruct(*args):
"""csoundInitTimerStruct(RTCLOCK arg1)"""
return _csnd6.csoundInitTimerStruct(*args)
def csoundGetRealTime(*args):
"""csoundGetRealTime(RTCLOCK arg1) -> double"""
return _csnd6.csoundGetRealTime(*args)
def csoundGetCPUTime(*args):
"""csoundGetCPUTime(RTCLOCK arg1) -> double"""
return _csnd6.csoundGetCPUTime(*args)
def csoundGetRandomSeedFromTime():
"""csoundGetRandomSeedFromTime() -> uint32_t"""
return _csnd6.csoundGetRandomSeedFromTime()
def csoundSetLanguage(*args):
"""csoundSetLanguage(cslanguage_t lang_code)"""
return _csnd6.csoundSetLanguage(*args)
def csoundGetEnv(*args):
"""csoundGetEnv(CSOUND * csound, char const * name) -> char const *"""
return _csnd6.csoundGetEnv(*args)
def csoundSetGlobalEnv(*args):
"""csoundSetGlobalEnv(char const * name, char const * value) -> int"""
return _csnd6.csoundSetGlobalEnv(*args)
def csoundCreateGlobalVariable(*args):
"""csoundCreateGlobalVariable(CSOUND * arg1, char const * name, size_t nbytes) -> int"""
return _csnd6.csoundCreateGlobalVariable(*args)
def csoundQueryGlobalVariable(*args):
"""csoundQueryGlobalVariable(CSOUND * arg1, char const * name) -> void *"""
return _csnd6.csoundQueryGlobalVariable(*args)
def csoundQueryGlobalVariableNoCheck(*args):
"""csoundQueryGlobalVariableNoCheck(CSOUND * arg1, char const * name) -> void *"""
return _csnd6.csoundQueryGlobalVariableNoCheck(*args)
def csoundDestroyGlobalVariable(*args):
"""csoundDestroyGlobalVariable(CSOUND * arg1, char const * name) -> int"""
return _csnd6.csoundDestroyGlobalVariable(*args)
def csoundRunUtility(*args):
"""csoundRunUtility(CSOUND * arg1, char const * name, int argc, char ** argv) -> int"""
return _csnd6.csoundRunUtility(*args)
def csoundListUtilities(*args):
"""csoundListUtilities(CSOUND * arg1) -> char **"""
return _csnd6.csoundListUtilities(*args)
def csoundDeleteUtilityList(*args):
"""csoundDeleteUtilityList(CSOUND * arg1, char ** lst)"""
return _csnd6.csoundDeleteUtilityList(*args)
def csoundGetUtilityDescription(*args):
"""csoundGetUtilityDescription(CSOUND * arg1, char const * utilName) -> char const *"""
return _csnd6.csoundGetUtilityDescription(*args)
def csoundRand31(*args):
"""csoundRand31(int * seedVal) -> int"""
return _csnd6.csoundRand31(*args)
def csoundSeedRandMT(*args):
"""csoundSeedRandMT(CsoundRandMTState p, uint32_t const * initKey, uint32_t keyLength)"""
return _csnd6.csoundSeedRandMT(*args)
def csoundRandMT(*args):
"""csoundRandMT(CsoundRandMTState p) -> uint32_t"""
return _csnd6.csoundRandMT(*args)
class csCfgVariableHead_t(_object):
"""Proxy of C++ csCfgVariableHead_s class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csCfgVariableHead_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csCfgVariableHead_t, name)
__repr__ = _swig_repr
__swig_setmethods__["nxt"] = _csnd6.csCfgVariableHead_t_nxt_set
__swig_getmethods__["nxt"] = _csnd6.csCfgVariableHead_t_nxt_get
if _newclass:nxt = _swig_property(_csnd6.csCfgVariableHead_t_nxt_get, _csnd6.csCfgVariableHead_t_nxt_set)
__swig_setmethods__["name"] = _csnd6.csCfgVariableHead_t_name_set
__swig_getmethods__["name"] = _csnd6.csCfgVariableHead_t_name_get
if _newclass:name = _swig_property(_csnd6.csCfgVariableHead_t_name_get, _csnd6.csCfgVariableHead_t_name_set)
__swig_setmethods__["p"] = _csnd6.csCfgVariableHead_t_p_set
__swig_getmethods__["p"] = _csnd6.csCfgVariableHead_t_p_get
if _newclass:p = _swig_property(_csnd6.csCfgVariableHead_t_p_get, _csnd6.csCfgVariableHead_t_p_set)
__swig_setmethods__["type"] = _csnd6.csCfgVariableHead_t_type_set
__swig_getmethods__["type"] = _csnd6.csCfgVariableHead_t_type_get
if _newclass:type = _swig_property(_csnd6.csCfgVariableHead_t_type_get, _csnd6.csCfgVariableHead_t_type_set)
__swig_setmethods__["flags"] = _csnd6.csCfgVariableHead_t_flags_set
__swig_getmethods__["flags"] = _csnd6.csCfgVariableHead_t_flags_get
if _newclass:flags = _swig_property(_csnd6.csCfgVariableHead_t_flags_get, _csnd6.csCfgVariableHead_t_flags_set)
__swig_setmethods__["shortDesc"] = _csnd6.csCfgVariableHead_t_shortDesc_set
__swig_getmethods__["shortDesc"] = _csnd6.csCfgVariableHead_t_shortDesc_get
if _newclass:shortDesc = _swig_property(_csnd6.csCfgVariableHead_t_shortDesc_get, _csnd6.csCfgVariableHead_t_shortDesc_set)
__swig_setmethods__["longDesc"] = _csnd6.csCfgVariableHead_t_longDesc_set
__swig_getmethods__["longDesc"] = _csnd6.csCfgVariableHead_t_longDesc_get
if _newclass:longDesc = _swig_property(_csnd6.csCfgVariableHead_t_longDesc_get, _csnd6.csCfgVariableHead_t_longDesc_set)
def __init__(self):
"""__init__(csCfgVariableHead_s self) -> csCfgVariableHead_t"""
this = _csnd6.new_csCfgVariableHead_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_csCfgVariableHead_t
__del__ = lambda self : None;
csCfgVariableHead_t_swigregister = _csnd6.csCfgVariableHead_t_swigregister
csCfgVariableHead_t_swigregister(csCfgVariableHead_t)
class csCfgVariableInt_t(_object):
"""Proxy of C++ csCfgVariableInt_s class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csCfgVariableInt_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csCfgVariableInt_t, name)
__repr__ = _swig_repr
__swig_setmethods__["nxt"] = _csnd6.csCfgVariableInt_t_nxt_set
__swig_getmethods__["nxt"] = _csnd6.csCfgVariableInt_t_nxt_get
if _newclass:nxt = _swig_property(_csnd6.csCfgVariableInt_t_nxt_get, _csnd6.csCfgVariableInt_t_nxt_set)
__swig_setmethods__["name"] = _csnd6.csCfgVariableInt_t_name_set
__swig_getmethods__["name"] = _csnd6.csCfgVariableInt_t_name_get
if _newclass:name = _swig_property(_csnd6.csCfgVariableInt_t_name_get, _csnd6.csCfgVariableInt_t_name_set)
__swig_setmethods__["p"] = _csnd6.csCfgVariableInt_t_p_set
__swig_getmethods__["p"] = _csnd6.csCfgVariableInt_t_p_get
if _newclass:p = _swig_property(_csnd6.csCfgVariableInt_t_p_get, _csnd6.csCfgVariableInt_t_p_set)
__swig_setmethods__["type"] = _csnd6.csCfgVariableInt_t_type_set
__swig_getmethods__["type"] = _csnd6.csCfgVariableInt_t_type_get
if _newclass:type = _swig_property(_csnd6.csCfgVariableInt_t_type_get, _csnd6.csCfgVariableInt_t_type_set)
__swig_setmethods__["flags"] = _csnd6.csCfgVariableInt_t_flags_set
__swig_getmethods__["flags"] = _csnd6.csCfgVariableInt_t_flags_get
if _newclass:flags = _swig_property(_csnd6.csCfgVariableInt_t_flags_get, _csnd6.csCfgVariableInt_t_flags_set)
__swig_setmethods__["shortDesc"] = _csnd6.csCfgVariableInt_t_shortDesc_set
__swig_getmethods__["shortDesc"] = _csnd6.csCfgVariableInt_t_shortDesc_get
if _newclass:shortDesc = _swig_property(_csnd6.csCfgVariableInt_t_shortDesc_get, _csnd6.csCfgVariableInt_t_shortDesc_set)
__swig_setmethods__["longDesc"] = _csnd6.csCfgVariableInt_t_longDesc_set
__swig_getmethods__["longDesc"] = _csnd6.csCfgVariableInt_t_longDesc_get
if _newclass:longDesc = _swig_property(_csnd6.csCfgVariableInt_t_longDesc_get, _csnd6.csCfgVariableInt_t_longDesc_set)
__swig_setmethods__["min"] = _csnd6.csCfgVariableInt_t_min_set
__swig_getmethods__["min"] = _csnd6.csCfgVariableInt_t_min_get
if _newclass:min = _swig_property(_csnd6.csCfgVariableInt_t_min_get, _csnd6.csCfgVariableInt_t_min_set)
__swig_setmethods__["max"] = _csnd6.csCfgVariableInt_t_max_set
__swig_getmethods__["max"] = _csnd6.csCfgVariableInt_t_max_get
if _newclass:max = _swig_property(_csnd6.csCfgVariableInt_t_max_get, _csnd6.csCfgVariableInt_t_max_set)
def __init__(self):
"""__init__(csCfgVariableInt_s self) -> csCfgVariableInt_t"""
this = _csnd6.new_csCfgVariableInt_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_csCfgVariableInt_t
__del__ = lambda self : None;
csCfgVariableInt_t_swigregister = _csnd6.csCfgVariableInt_t_swigregister
csCfgVariableInt_t_swigregister(csCfgVariableInt_t)
class csCfgVariableBoolean_t(_object):
"""Proxy of C++ csCfgVariableBoolean_s class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csCfgVariableBoolean_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csCfgVariableBoolean_t, name)
__repr__ = _swig_repr
__swig_setmethods__["nxt"] = _csnd6.csCfgVariableBoolean_t_nxt_set
__swig_getmethods__["nxt"] = _csnd6.csCfgVariableBoolean_t_nxt_get
if _newclass:nxt = _swig_property(_csnd6.csCfgVariableBoolean_t_nxt_get, _csnd6.csCfgVariableBoolean_t_nxt_set)
__swig_setmethods__["name"] = _csnd6.csCfgVariableBoolean_t_name_set
__swig_getmethods__["name"] = _csnd6.csCfgVariableBoolean_t_name_get
if _newclass:name = _swig_property(_csnd6.csCfgVariableBoolean_t_name_get, _csnd6.csCfgVariableBoolean_t_name_set)
__swig_setmethods__["p"] = _csnd6.csCfgVariableBoolean_t_p_set
__swig_getmethods__["p"] = _csnd6.csCfgVariableBoolean_t_p_get
if _newclass:p = _swig_property(_csnd6.csCfgVariableBoolean_t_p_get, _csnd6.csCfgVariableBoolean_t_p_set)
__swig_setmethods__["type"] = _csnd6.csCfgVariableBoolean_t_type_set
__swig_getmethods__["type"] = _csnd6.csCfgVariableBoolean_t_type_get
if _newclass:type = _swig_property(_csnd6.csCfgVariableBoolean_t_type_get, _csnd6.csCfgVariableBoolean_t_type_set)
__swig_setmethods__["flags"] = _csnd6.csCfgVariableBoolean_t_flags_set
__swig_getmethods__["flags"] = _csnd6.csCfgVariableBoolean_t_flags_get
if _newclass:flags = _swig_property(_csnd6.csCfgVariableBoolean_t_flags_get, _csnd6.csCfgVariableBoolean_t_flags_set)
__swig_setmethods__["shortDesc"] = _csnd6.csCfgVariableBoolean_t_shortDesc_set
__swig_getmethods__["shortDesc"] = _csnd6.csCfgVariableBoolean_t_shortDesc_get
if _newclass:shortDesc = _swig_property(_csnd6.csCfgVariableBoolean_t_shortDesc_get, _csnd6.csCfgVariableBoolean_t_shortDesc_set)
__swig_setmethods__["longDesc"] = _csnd6.csCfgVariableBoolean_t_longDesc_set
__swig_getmethods__["longDesc"] = _csnd6.csCfgVariableBoolean_t_longDesc_get
if _newclass:longDesc = _swig_property(_csnd6.csCfgVariableBoolean_t_longDesc_get, _csnd6.csCfgVariableBoolean_t_longDesc_set)
def __init__(self):
"""__init__(csCfgVariableBoolean_s self) -> csCfgVariableBoolean_t"""
this = _csnd6.new_csCfgVariableBoolean_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_csCfgVariableBoolean_t
__del__ = lambda self : None;
csCfgVariableBoolean_t_swigregister = _csnd6.csCfgVariableBoolean_t_swigregister
csCfgVariableBoolean_t_swigregister(csCfgVariableBoolean_t)
class csCfgVariableFloat_t(_object):
"""Proxy of C++ csCfgVariableFloat_s class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csCfgVariableFloat_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csCfgVariableFloat_t, name)
__repr__ = _swig_repr
__swig_setmethods__["nxt"] = _csnd6.csCfgVariableFloat_t_nxt_set
__swig_getmethods__["nxt"] = _csnd6.csCfgVariableFloat_t_nxt_get
if _newclass:nxt = _swig_property(_csnd6.csCfgVariableFloat_t_nxt_get, _csnd6.csCfgVariableFloat_t_nxt_set)
__swig_setmethods__["name"] = _csnd6.csCfgVariableFloat_t_name_set
__swig_getmethods__["name"] = _csnd6.csCfgVariableFloat_t_name_get
if _newclass:name = _swig_property(_csnd6.csCfgVariableFloat_t_name_get, _csnd6.csCfgVariableFloat_t_name_set)
__swig_setmethods__["p"] = _csnd6.csCfgVariableFloat_t_p_set
__swig_getmethods__["p"] = _csnd6.csCfgVariableFloat_t_p_get
if _newclass:p = _swig_property(_csnd6.csCfgVariableFloat_t_p_get, _csnd6.csCfgVariableFloat_t_p_set)
__swig_setmethods__["type"] = _csnd6.csCfgVariableFloat_t_type_set
__swig_getmethods__["type"] = _csnd6.csCfgVariableFloat_t_type_get
if _newclass:type = _swig_property(_csnd6.csCfgVariableFloat_t_type_get, _csnd6.csCfgVariableFloat_t_type_set)
__swig_setmethods__["flags"] = _csnd6.csCfgVariableFloat_t_flags_set
__swig_getmethods__["flags"] = _csnd6.csCfgVariableFloat_t_flags_get
if _newclass:flags = _swig_property(_csnd6.csCfgVariableFloat_t_flags_get, _csnd6.csCfgVariableFloat_t_flags_set)
__swig_setmethods__["shortDesc"] = _csnd6.csCfgVariableFloat_t_shortDesc_set
__swig_getmethods__["shortDesc"] = _csnd6.csCfgVariableFloat_t_shortDesc_get
if _newclass:shortDesc = _swig_property(_csnd6.csCfgVariableFloat_t_shortDesc_get, _csnd6.csCfgVariableFloat_t_shortDesc_set)
__swig_setmethods__["longDesc"] = _csnd6.csCfgVariableFloat_t_longDesc_set
__swig_getmethods__["longDesc"] = _csnd6.csCfgVariableFloat_t_longDesc_get
if _newclass:longDesc = _swig_property(_csnd6.csCfgVariableFloat_t_longDesc_get, _csnd6.csCfgVariableFloat_t_longDesc_set)
__swig_setmethods__["min"] = _csnd6.csCfgVariableFloat_t_min_set
__swig_getmethods__["min"] = _csnd6.csCfgVariableFloat_t_min_get
if _newclass:min = _swig_property(_csnd6.csCfgVariableFloat_t_min_get, _csnd6.csCfgVariableFloat_t_min_set)
__swig_setmethods__["max"] = _csnd6.csCfgVariableFloat_t_max_set
__swig_getmethods__["max"] = _csnd6.csCfgVariableFloat_t_max_get
if _newclass:max = _swig_property(_csnd6.csCfgVariableFloat_t_max_get, _csnd6.csCfgVariableFloat_t_max_set)
def __init__(self):
"""__init__(csCfgVariableFloat_s self) -> csCfgVariableFloat_t"""
this = _csnd6.new_csCfgVariableFloat_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_csCfgVariableFloat_t
__del__ = lambda self : None;
csCfgVariableFloat_t_swigregister = _csnd6.csCfgVariableFloat_t_swigregister
csCfgVariableFloat_t_swigregister(csCfgVariableFloat_t)
class csCfgVariableDouble_t(_object):
"""Proxy of C++ csCfgVariableDouble_s class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csCfgVariableDouble_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csCfgVariableDouble_t, name)
__repr__ = _swig_repr
__swig_setmethods__["nxt"] = _csnd6.csCfgVariableDouble_t_nxt_set
__swig_getmethods__["nxt"] = _csnd6.csCfgVariableDouble_t_nxt_get
if _newclass:nxt = _swig_property(_csnd6.csCfgVariableDouble_t_nxt_get, _csnd6.csCfgVariableDouble_t_nxt_set)
__swig_setmethods__["name"] = _csnd6.csCfgVariableDouble_t_name_set
__swig_getmethods__["name"] = _csnd6.csCfgVariableDouble_t_name_get
if _newclass:name = _swig_property(_csnd6.csCfgVariableDouble_t_name_get, _csnd6.csCfgVariableDouble_t_name_set)
__swig_setmethods__["p"] = _csnd6.csCfgVariableDouble_t_p_set
__swig_getmethods__["p"] = _csnd6.csCfgVariableDouble_t_p_get
if _newclass:p = _swig_property(_csnd6.csCfgVariableDouble_t_p_get, _csnd6.csCfgVariableDouble_t_p_set)
__swig_setmethods__["type"] = _csnd6.csCfgVariableDouble_t_type_set
__swig_getmethods__["type"] = _csnd6.csCfgVariableDouble_t_type_get
if _newclass:type = _swig_property(_csnd6.csCfgVariableDouble_t_type_get, _csnd6.csCfgVariableDouble_t_type_set)
__swig_setmethods__["flags"] = _csnd6.csCfgVariableDouble_t_flags_set
__swig_getmethods__["flags"] = _csnd6.csCfgVariableDouble_t_flags_get
if _newclass:flags = _swig_property(_csnd6.csCfgVariableDouble_t_flags_get, _csnd6.csCfgVariableDouble_t_flags_set)
__swig_setmethods__["shortDesc"] = _csnd6.csCfgVariableDouble_t_shortDesc_set
__swig_getmethods__["shortDesc"] = _csnd6.csCfgVariableDouble_t_shortDesc_get
if _newclass:shortDesc = _swig_property(_csnd6.csCfgVariableDouble_t_shortDesc_get, _csnd6.csCfgVariableDouble_t_shortDesc_set)
__swig_setmethods__["longDesc"] = _csnd6.csCfgVariableDouble_t_longDesc_set
__swig_getmethods__["longDesc"] = _csnd6.csCfgVariableDouble_t_longDesc_get
if _newclass:longDesc = _swig_property(_csnd6.csCfgVariableDouble_t_longDesc_get, _csnd6.csCfgVariableDouble_t_longDesc_set)
__swig_setmethods__["min"] = _csnd6.csCfgVariableDouble_t_min_set
__swig_getmethods__["min"] = _csnd6.csCfgVariableDouble_t_min_get
if _newclass:min = _swig_property(_csnd6.csCfgVariableDouble_t_min_get, _csnd6.csCfgVariableDouble_t_min_set)
__swig_setmethods__["max"] = _csnd6.csCfgVariableDouble_t_max_set
__swig_getmethods__["max"] = _csnd6.csCfgVariableDouble_t_max_get
if _newclass:max = _swig_property(_csnd6.csCfgVariableDouble_t_max_get, _csnd6.csCfgVariableDouble_t_max_set)
def __init__(self):
"""__init__(csCfgVariableDouble_s self) -> csCfgVariableDouble_t"""
this = _csnd6.new_csCfgVariableDouble_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_csCfgVariableDouble_t
__del__ = lambda self : None;
csCfgVariableDouble_t_swigregister = _csnd6.csCfgVariableDouble_t_swigregister
csCfgVariableDouble_t_swigregister(csCfgVariableDouble_t)
class csCfgVariableMYFLT_t(_object):
"""Proxy of C++ csCfgVariableMYFLT_s class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csCfgVariableMYFLT_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csCfgVariableMYFLT_t, name)
__repr__ = _swig_repr
__swig_setmethods__["nxt"] = _csnd6.csCfgVariableMYFLT_t_nxt_set
__swig_getmethods__["nxt"] = _csnd6.csCfgVariableMYFLT_t_nxt_get
if _newclass:nxt = _swig_property(_csnd6.csCfgVariableMYFLT_t_nxt_get, _csnd6.csCfgVariableMYFLT_t_nxt_set)
__swig_setmethods__["name"] = _csnd6.csCfgVariableMYFLT_t_name_set
__swig_getmethods__["name"] = _csnd6.csCfgVariableMYFLT_t_name_get
if _newclass:name = _swig_property(_csnd6.csCfgVariableMYFLT_t_name_get, _csnd6.csCfgVariableMYFLT_t_name_set)
__swig_setmethods__["p"] = _csnd6.csCfgVariableMYFLT_t_p_set
__swig_getmethods__["p"] = _csnd6.csCfgVariableMYFLT_t_p_get
if _newclass:p = _swig_property(_csnd6.csCfgVariableMYFLT_t_p_get, _csnd6.csCfgVariableMYFLT_t_p_set)
__swig_setmethods__["type"] = _csnd6.csCfgVariableMYFLT_t_type_set
__swig_getmethods__["type"] = _csnd6.csCfgVariableMYFLT_t_type_get
if _newclass:type = _swig_property(_csnd6.csCfgVariableMYFLT_t_type_get, _csnd6.csCfgVariableMYFLT_t_type_set)
__swig_setmethods__["flags"] = _csnd6.csCfgVariableMYFLT_t_flags_set
__swig_getmethods__["flags"] = _csnd6.csCfgVariableMYFLT_t_flags_get
if _newclass:flags = _swig_property(_csnd6.csCfgVariableMYFLT_t_flags_get, _csnd6.csCfgVariableMYFLT_t_flags_set)
__swig_setmethods__["shortDesc"] = _csnd6.csCfgVariableMYFLT_t_shortDesc_set
__swig_getmethods__["shortDesc"] = _csnd6.csCfgVariableMYFLT_t_shortDesc_get
if _newclass:shortDesc = _swig_property(_csnd6.csCfgVariableMYFLT_t_shortDesc_get, _csnd6.csCfgVariableMYFLT_t_shortDesc_set)
__swig_setmethods__["longDesc"] = _csnd6.csCfgVariableMYFLT_t_longDesc_set
__swig_getmethods__["longDesc"] = _csnd6.csCfgVariableMYFLT_t_longDesc_get
if _newclass:longDesc = _swig_property(_csnd6.csCfgVariableMYFLT_t_longDesc_get, _csnd6.csCfgVariableMYFLT_t_longDesc_set)
__swig_setmethods__["min"] = _csnd6.csCfgVariableMYFLT_t_min_set
__swig_getmethods__["min"] = _csnd6.csCfgVariableMYFLT_t_min_get
if _newclass:min = _swig_property(_csnd6.csCfgVariableMYFLT_t_min_get, _csnd6.csCfgVariableMYFLT_t_min_set)
__swig_setmethods__["max"] = _csnd6.csCfgVariableMYFLT_t_max_set
__swig_getmethods__["max"] = _csnd6.csCfgVariableMYFLT_t_max_get
if _newclass:max = _swig_property(_csnd6.csCfgVariableMYFLT_t_max_get, _csnd6.csCfgVariableMYFLT_t_max_set)
def __init__(self):
"""__init__(csCfgVariableMYFLT_s self) -> csCfgVariableMYFLT_t"""
this = _csnd6.new_csCfgVariableMYFLT_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_csCfgVariableMYFLT_t
__del__ = lambda self : None;
csCfgVariableMYFLT_t_swigregister = _csnd6.csCfgVariableMYFLT_t_swigregister
csCfgVariableMYFLT_t_swigregister(csCfgVariableMYFLT_t)
class csCfgVariableString_t(_object):
"""Proxy of C++ csCfgVariableString_s class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csCfgVariableString_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csCfgVariableString_t, name)
__repr__ = _swig_repr
__swig_setmethods__["nxt"] = _csnd6.csCfgVariableString_t_nxt_set
__swig_getmethods__["nxt"] = _csnd6.csCfgVariableString_t_nxt_get
if _newclass:nxt = _swig_property(_csnd6.csCfgVariableString_t_nxt_get, _csnd6.csCfgVariableString_t_nxt_set)
__swig_setmethods__["name"] = _csnd6.csCfgVariableString_t_name_set
__swig_getmethods__["name"] = _csnd6.csCfgVariableString_t_name_get
if _newclass:name = _swig_property(_csnd6.csCfgVariableString_t_name_get, _csnd6.csCfgVariableString_t_name_set)
__swig_setmethods__["p"] = _csnd6.csCfgVariableString_t_p_set
__swig_getmethods__["p"] = _csnd6.csCfgVariableString_t_p_get
if _newclass:p = _swig_property(_csnd6.csCfgVariableString_t_p_get, _csnd6.csCfgVariableString_t_p_set)
__swig_setmethods__["type"] = _csnd6.csCfgVariableString_t_type_set
__swig_getmethods__["type"] = _csnd6.csCfgVariableString_t_type_get
if _newclass:type = _swig_property(_csnd6.csCfgVariableString_t_type_get, _csnd6.csCfgVariableString_t_type_set)
__swig_setmethods__["flags"] = _csnd6.csCfgVariableString_t_flags_set
__swig_getmethods__["flags"] = _csnd6.csCfgVariableString_t_flags_get
if _newclass:flags = _swig_property(_csnd6.csCfgVariableString_t_flags_get, _csnd6.csCfgVariableString_t_flags_set)
__swig_setmethods__["shortDesc"] = _csnd6.csCfgVariableString_t_shortDesc_set
__swig_getmethods__["shortDesc"] = _csnd6.csCfgVariableString_t_shortDesc_get
if _newclass:shortDesc = _swig_property(_csnd6.csCfgVariableString_t_shortDesc_get, _csnd6.csCfgVariableString_t_shortDesc_set)
__swig_setmethods__["longDesc"] = _csnd6.csCfgVariableString_t_longDesc_set
__swig_getmethods__["longDesc"] = _csnd6.csCfgVariableString_t_longDesc_get
if _newclass:longDesc = _swig_property(_csnd6.csCfgVariableString_t_longDesc_get, _csnd6.csCfgVariableString_t_longDesc_set)
__swig_setmethods__["maxlen"] = _csnd6.csCfgVariableString_t_maxlen_set
__swig_getmethods__["maxlen"] = _csnd6.csCfgVariableString_t_maxlen_get
if _newclass:maxlen = _swig_property(_csnd6.csCfgVariableString_t_maxlen_get, _csnd6.csCfgVariableString_t_maxlen_set)
def __init__(self):
"""__init__(csCfgVariableString_s self) -> csCfgVariableString_t"""
this = _csnd6.new_csCfgVariableString_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_csCfgVariableString_t
__del__ = lambda self : None;
csCfgVariableString_t_swigregister = _csnd6.csCfgVariableString_t_swigregister
csCfgVariableString_t_swigregister(csCfgVariableString_t)
class csCfgVariable_t(_object):
"""Proxy of C++ csCfgVariable_u class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csCfgVariable_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csCfgVariable_t, name)
__repr__ = _swig_repr
__swig_setmethods__["h"] = _csnd6.csCfgVariable_t_h_set
__swig_getmethods__["h"] = _csnd6.csCfgVariable_t_h_get
if _newclass:h = _swig_property(_csnd6.csCfgVariable_t_h_get, _csnd6.csCfgVariable_t_h_set)
__swig_setmethods__["i"] = _csnd6.csCfgVariable_t_i_set
__swig_getmethods__["i"] = _csnd6.csCfgVariable_t_i_get
if _newclass:i = _swig_property(_csnd6.csCfgVariable_t_i_get, _csnd6.csCfgVariable_t_i_set)
__swig_setmethods__["b"] = _csnd6.csCfgVariable_t_b_set
__swig_getmethods__["b"] = _csnd6.csCfgVariable_t_b_get
if _newclass:b = _swig_property(_csnd6.csCfgVariable_t_b_get, _csnd6.csCfgVariable_t_b_set)
__swig_setmethods__["f"] = _csnd6.csCfgVariable_t_f_set
__swig_getmethods__["f"] = _csnd6.csCfgVariable_t_f_get
if _newclass:f = _swig_property(_csnd6.csCfgVariable_t_f_get, _csnd6.csCfgVariable_t_f_set)
__swig_setmethods__["d"] = _csnd6.csCfgVariable_t_d_set
__swig_getmethods__["d"] = _csnd6.csCfgVariable_t_d_get
if _newclass:d = _swig_property(_csnd6.csCfgVariable_t_d_get, _csnd6.csCfgVariable_t_d_set)
__swig_setmethods__["m"] = _csnd6.csCfgVariable_t_m_set
__swig_getmethods__["m"] = _csnd6.csCfgVariable_t_m_get
if _newclass:m = _swig_property(_csnd6.csCfgVariable_t_m_get, _csnd6.csCfgVariable_t_m_set)
__swig_setmethods__["s"] = _csnd6.csCfgVariable_t_s_set
__swig_getmethods__["s"] = _csnd6.csCfgVariable_t_s_get
if _newclass:s = _swig_property(_csnd6.csCfgVariable_t_s_get, _csnd6.csCfgVariable_t_s_set)
def __init__(self):
"""__init__(csCfgVariable_u self) -> csCfgVariable_t"""
this = _csnd6.new_csCfgVariable_t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_csCfgVariable_t
__del__ = lambda self : None;
csCfgVariable_t_swigregister = _csnd6.csCfgVariable_t_swigregister
csCfgVariable_t_swigregister(csCfgVariable_t)
CSOUNDCFG_INTEGER = _csnd6.CSOUNDCFG_INTEGER
CSOUNDCFG_BOOLEAN = _csnd6.CSOUNDCFG_BOOLEAN
CSOUNDCFG_FLOAT = _csnd6.CSOUNDCFG_FLOAT
CSOUNDCFG_DOUBLE = _csnd6.CSOUNDCFG_DOUBLE
CSOUNDCFG_MYFLT = _csnd6.CSOUNDCFG_MYFLT
CSOUNDCFG_STRING = _csnd6.CSOUNDCFG_STRING
CSOUNDCFG_POWOFTWO = _csnd6.CSOUNDCFG_POWOFTWO
CSOUNDCFG_SUCCESS = _csnd6.CSOUNDCFG_SUCCESS
CSOUNDCFG_INVALID_NAME = _csnd6.CSOUNDCFG_INVALID_NAME
CSOUNDCFG_INVALID_TYPE = _csnd6.CSOUNDCFG_INVALID_TYPE
CSOUNDCFG_INVALID_FLAG = _csnd6.CSOUNDCFG_INVALID_FLAG
CSOUNDCFG_NULL_POINTER = _csnd6.CSOUNDCFG_NULL_POINTER
CSOUNDCFG_TOO_HIGH = _csnd6.CSOUNDCFG_TOO_HIGH
CSOUNDCFG_TOO_LOW = _csnd6.CSOUNDCFG_TOO_LOW
CSOUNDCFG_NOT_POWOFTWO = _csnd6.CSOUNDCFG_NOT_POWOFTWO
CSOUNDCFG_INVALID_BOOLEAN = _csnd6.CSOUNDCFG_INVALID_BOOLEAN
CSOUNDCFG_MEMORY = _csnd6.CSOUNDCFG_MEMORY
CSOUNDCFG_STRING_LENGTH = _csnd6.CSOUNDCFG_STRING_LENGTH
CSOUNDCFG_LASTERROR = _csnd6.CSOUNDCFG_LASTERROR
def csoundCreateConfigurationVariable(*args):
"""
csoundCreateConfigurationVariable(CSOUND * csound, char const * name, void * p, int type, int flags, void * min, void * max,
char const * shortDesc, char const * longDesc) -> int
"""
return _csnd6.csoundCreateConfigurationVariable(*args)
def csoundSetConfigurationVariable(*args):
"""csoundSetConfigurationVariable(CSOUND * csound, char const * name, void * value) -> int"""
return _csnd6.csoundSetConfigurationVariable(*args)
def csoundParseConfigurationVariable(*args):
"""csoundParseConfigurationVariable(CSOUND * csound, char const * name, char const * value) -> int"""
return _csnd6.csoundParseConfigurationVariable(*args)
def csoundQueryConfigurationVariable(*args):
"""csoundQueryConfigurationVariable(CSOUND * csound, char const * name) -> csCfgVariable_t"""
return _csnd6.csoundQueryConfigurationVariable(*args)
def csoundListConfigurationVariables(*args):
"""csoundListConfigurationVariables(CSOUND * csound) -> csCfgVariable_t **"""
return _csnd6.csoundListConfigurationVariables(*args)
def csoundDeleteCfgVarList(*args):
"""csoundDeleteCfgVarList(CSOUND * csound, csCfgVariable_t ** lst)"""
return _csnd6.csoundDeleteCfgVarList(*args)
def csoundDeleteConfigurationVariable(*args):
"""csoundDeleteConfigurationVariable(CSOUND * csound, char const * name) -> int"""
return _csnd6.csoundDeleteConfigurationVariable(*args)
def csoundCfgErrorCodeToString(*args):
"""csoundCfgErrorCodeToString(int errcode) -> char const *"""
return _csnd6.csoundCfgErrorCodeToString(*args)
CSOUNDMSG_DEFAULT = _csnd6.CSOUNDMSG_DEFAULT
CSOUNDMSG_ERROR = _csnd6.CSOUNDMSG_ERROR
CSOUNDMSG_ORCH = _csnd6.CSOUNDMSG_ORCH
CSOUNDMSG_REALTIME = _csnd6.CSOUNDMSG_REALTIME
CSOUNDMSG_WARNING = _csnd6.CSOUNDMSG_WARNING
CSOUNDMSG_FG_BLACK = _csnd6.CSOUNDMSG_FG_BLACK
CSOUNDMSG_FG_RED = _csnd6.CSOUNDMSG_FG_RED
CSOUNDMSG_FG_GREEN = _csnd6.CSOUNDMSG_FG_GREEN
CSOUNDMSG_FG_YELLOW = _csnd6.CSOUNDMSG_FG_YELLOW
CSOUNDMSG_FG_BLUE = _csnd6.CSOUNDMSG_FG_BLUE
CSOUNDMSG_FG_MAGENTA = _csnd6.CSOUNDMSG_FG_MAGENTA
CSOUNDMSG_FG_CYAN = _csnd6.CSOUNDMSG_FG_CYAN
CSOUNDMSG_FG_WHITE = _csnd6.CSOUNDMSG_FG_WHITE
CSOUNDMSG_FG_BOLD = _csnd6.CSOUNDMSG_FG_BOLD
CSOUNDMSG_FG_UNDERLINE = _csnd6.CSOUNDMSG_FG_UNDERLINE
CSOUNDMSG_BG_BLACK = _csnd6.CSOUNDMSG_BG_BLACK
CSOUNDMSG_BG_RED = _csnd6.CSOUNDMSG_BG_RED
CSOUNDMSG_BG_GREEN = _csnd6.CSOUNDMSG_BG_GREEN
CSOUNDMSG_BG_ORANGE = _csnd6.CSOUNDMSG_BG_ORANGE
CSOUNDMSG_BG_BLUE = _csnd6.CSOUNDMSG_BG_BLUE
CSOUNDMSG_BG_MAGENTA = _csnd6.CSOUNDMSG_BG_MAGENTA
CSOUNDMSG_BG_CYAN = _csnd6.CSOUNDMSG_BG_CYAN
CSOUNDMSG_BG_GREY = _csnd6.CSOUNDMSG_BG_GREY
CSOUNDMSG_TYPE_MASK = _csnd6.CSOUNDMSG_TYPE_MASK
CSOUNDMSG_FG_COLOR_MASK = _csnd6.CSOUNDMSG_FG_COLOR_MASK
CSOUNDMSG_FG_ATTR_MASK = _csnd6.CSOUNDMSG_FG_ATTR_MASK
CSOUNDMSG_BG_COLOR_MASK = _csnd6.CSOUNDMSG_BG_COLOR_MASK
VERSION = _csnd6.VERSION
CS_PACKAGE_NAME = _csnd6.CS_PACKAGE_NAME
CS_PACKAGE_STRING = _csnd6.CS_PACKAGE_STRING
CS_PACKAGE_TARNAME = _csnd6.CS_PACKAGE_TARNAME
CS_PACKAGE_VERSION = _csnd6.CS_PACKAGE_VERSION
CS_VERSION = _csnd6.CS_VERSION
CS_SUBVER = _csnd6.CS_SUBVER
CS_PATCHLEVEL = _csnd6.CS_PATCHLEVEL
CS_APIVERSION = _csnd6.CS_APIVERSION
CS_APISUBVER = _csnd6.CS_APISUBVER
def csoundCreateCircularBuffer(*args):
"""csoundCreateCircularBuffer(CSOUND * csound, int numelem, int elemsize) -> void *"""
return _csnd6.csoundCreateCircularBuffer(*args)
def csoundReadCircularBuffer(*args):
"""csoundReadCircularBuffer(CSOUND * csound, void * circular_buffer, void * out, int items) -> int"""
return _csnd6.csoundReadCircularBuffer(*args)
def csoundPeekCircularBuffer(*args):
"""csoundPeekCircularBuffer(CSOUND * csound, void * circular_buffer, void * out, int items) -> int"""
return _csnd6.csoundPeekCircularBuffer(*args)
def csoundWriteCircularBuffer(*args):
"""csoundWriteCircularBuffer(CSOUND * csound, void * p, void const * inp, int items) -> int"""
return _csnd6.csoundWriteCircularBuffer(*args)
def csoundFlushCircularBuffer(*args):
"""csoundFlushCircularBuffer(CSOUND * csound, void * p)"""
return _csnd6.csoundFlushCircularBuffer(*args)
def csoundDestroyCircularBuffer(*args):
"""csoundDestroyCircularBuffer(CSOUND * csound, void * circularbuffer)"""
return _csnd6.csoundDestroyCircularBuffer(*args)
def csoundOpenLibrary(*args):
"""csoundOpenLibrary(void ** library, char const * libraryPath) -> int"""
return _csnd6.csoundOpenLibrary(*args)
def csoundCloseLibrary(*args):
"""csoundCloseLibrary(void * library) -> int"""
return _csnd6.csoundCloseLibrary(*args)
def csoundGetLibrarySymbol(*args):
"""csoundGetLibrarySymbol(void * library, char const * symbolName) -> void *"""
return _csnd6.csoundGetLibrarySymbol(*args)
def csoundGetInstance(*args):
"""csoundGetInstance(long obj) -> CSOUND *"""
return _csnd6.csoundGetInstance(*args)
MESSAGE_BUFFER_LENGTH = _csnd6.MESSAGE_BUFFER_LENGTH
class pycbdata(_object):
"""Proxy of C++ pycbdata class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, pycbdata, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, pycbdata, name)
__repr__ = _swig_repr
__swig_setmethods__["mfunc"] = _csnd6.pycbdata_mfunc_set
__swig_getmethods__["mfunc"] = _csnd6.pycbdata_mfunc_get
if _newclass:mfunc = _swig_property(_csnd6.pycbdata_mfunc_get, _csnd6.pycbdata_mfunc_set)
__swig_setmethods__["invalfunc"] = _csnd6.pycbdata_invalfunc_set
__swig_getmethods__["invalfunc"] = _csnd6.pycbdata_invalfunc_get
if _newclass:invalfunc = _swig_property(_csnd6.pycbdata_invalfunc_get, _csnd6.pycbdata_invalfunc_set)
__swig_setmethods__["outvalfunc"] = _csnd6.pycbdata_outvalfunc_set
__swig_getmethods__["outvalfunc"] = _csnd6.pycbdata_outvalfunc_get
if _newclass:outvalfunc = _swig_property(_csnd6.pycbdata_outvalfunc_get, _csnd6.pycbdata_outvalfunc_set)
__swig_setmethods__["midiinopenfunc"] = _csnd6.pycbdata_midiinopenfunc_set
__swig_getmethods__["midiinopenfunc"] = _csnd6.pycbdata_midiinopenfunc_get
if _newclass:midiinopenfunc = _swig_property(_csnd6.pycbdata_midiinopenfunc_get, _csnd6.pycbdata_midiinopenfunc_set)
__swig_setmethods__["midireadfunc"] = _csnd6.pycbdata_midireadfunc_set
__swig_getmethods__["midireadfunc"] = _csnd6.pycbdata_midireadfunc_get
if _newclass:midireadfunc = _swig_property(_csnd6.pycbdata_midireadfunc_get, _csnd6.pycbdata_midireadfunc_set)
__swig_setmethods__["midiinclosefunc"] = _csnd6.pycbdata_midiinclosefunc_set
__swig_getmethods__["midiinclosefunc"] = _csnd6.pycbdata_midiinclosefunc_get
if _newclass:midiinclosefunc = _swig_property(_csnd6.pycbdata_midiinclosefunc_get, _csnd6.pycbdata_midiinclosefunc_set)
__swig_setmethods__["hostdata"] = _csnd6.pycbdata_hostdata_set
__swig_getmethods__["hostdata"] = _csnd6.pycbdata_hostdata_get
if _newclass:hostdata = _swig_property(_csnd6.pycbdata_hostdata_get, _csnd6.pycbdata_hostdata_set)
__swig_setmethods__["messageBuffer"] = _csnd6.pycbdata_messageBuffer_set
__swig_getmethods__["messageBuffer"] = _csnd6.pycbdata_messageBuffer_get
if _newclass:messageBuffer = _swig_property(_csnd6.pycbdata_messageBuffer_get, _csnd6.pycbdata_messageBuffer_set)
__swig_setmethods__["messageBufferIndex"] = _csnd6.pycbdata_messageBufferIndex_set
__swig_getmethods__["messageBufferIndex"] = _csnd6.pycbdata_messageBufferIndex_get
if _newclass:messageBufferIndex = _swig_property(_csnd6.pycbdata_messageBufferIndex_get, _csnd6.pycbdata_messageBufferIndex_set)
def __init__(self):
"""__init__(pycbdata self) -> pycbdata"""
this = _csnd6.new_pycbdata()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_pycbdata
__del__ = lambda self : None;
pycbdata_swigregister = _csnd6.pycbdata_swigregister
pycbdata_swigregister(pycbdata)
class Csound(_object):
"""Proxy of C++ Csound class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Csound, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Csound, name)
__repr__ = _swig_repr
__swig_setmethods__["pydata"] = _csnd6.Csound_pydata_set
__swig_getmethods__["pydata"] = _csnd6.Csound_pydata_get
if _newclass:pydata = _swig_property(_csnd6.Csound_pydata_get, _csnd6.Csound_pydata_set)
def GetCsound(self):
"""GetCsound(Csound self) -> CSOUND *"""
return _csnd6.Csound_GetCsound(self)
def InitializeCscore(self, *args):
"""InitializeCscore(Csound self, FILE * insco, FILE * outsco) -> int"""
return _csnd6.Csound_InitializeCscore(self, *args)
def GetVersion(self):
"""GetVersion(Csound self) -> int"""
return _csnd6.Csound_GetVersion(self)
def GetAPIVersion(self):
"""GetAPIVersion(Csound self) -> int"""
return _csnd6.Csound_GetAPIVersion(self)
def GetEnv(self, *args):
"""GetEnv(Csound self, char const * name) -> char const *"""
return _csnd6.Csound_GetEnv(self, *args)
def SetGlobalEnv(self, *args):
"""SetGlobalEnv(Csound self, char const * name, char const * value) -> int"""
return _csnd6.Csound_SetGlobalEnv(self, *args)
def SetOption(self, *args):
"""SetOption(Csound self, char * option) -> int"""
return _csnd6.Csound_SetOption(self, *args)
def SetParams(self, *args):
"""SetParams(Csound self, CSOUND_PARAMS p)"""
return _csnd6.Csound_SetParams(self, *args)
def GetParams(self, *args):
"""GetParams(Csound self, CSOUND_PARAMS p)"""
return _csnd6.Csound_GetParams(self, *args)
def SetOutput(self, *args):
"""SetOutput(Csound self, char * name, char * type, char * format)"""
return _csnd6.Csound_SetOutput(self, *args)
def SetInput(self, *args):
"""SetInput(Csound self, char * name, char * type)"""
return _csnd6.Csound_SetInput(self, *args)
def SetMIDIInput(self, *args):
"""SetMIDIInput(Csound self, char * name)"""
return _csnd6.Csound_SetMIDIInput(self, *args)
def SetMIDIFileInput(self, *args):
"""SetMIDIFileInput(Csound self, char * name)"""
return _csnd6.Csound_SetMIDIFileInput(self, *args)
def SetMIDIOutput(self, *args):
"""SetMIDIOutput(Csound self, char * name)"""
return _csnd6.Csound_SetMIDIOutput(self, *args)
def SetMIDIFileOutput(self, *args):
"""SetMIDIFileOutput(Csound self, char * name)"""
return _csnd6.Csound_SetMIDIFileOutput(self, *args)
def ParseOrc(self, *args):
"""ParseOrc(Csound self, char const * str) -> TREE"""
return _csnd6.Csound_ParseOrc(self, *args)
def CompileTree(self, *args):
"""CompileTree(Csound self, TREE root) -> int"""
return _csnd6.Csound_CompileTree(self, *args)
def DeleteTree(self, *args):
"""DeleteTree(Csound self, TREE root)"""
return _csnd6.Csound_DeleteTree(self, *args)
def CompileOrc(self, *args):
"""CompileOrc(Csound self, char const * str) -> int"""
return _csnd6.Csound_CompileOrc(self, *args)
def EvalCode(self, *args):
"""EvalCode(Csound self, char const * str) -> double"""
return _csnd6.Csound_EvalCode(self, *args)
def ReadScore(self, *args):
"""ReadScore(Csound self, char * str) -> int"""
return _csnd6.Csound_ReadScore(self, *args)
def CompileArgs(self, *args):
"""CompileArgs(Csound self, int argc, char ** argv) -> int"""
return _csnd6.Csound_CompileArgs(self, *args)
def Compile(self, *args):
"""
Compile(Csound self, int argc, char ** argv) -> int
Compile(Csound self, char * csdName) -> int
Compile(Csound self, char * orcName, char * scoName) -> int
Compile(Csound self, char * arg1, char * arg2, char * arg3) -> int
Compile(Csound self, char * arg1, char * arg2, char * arg3, char * arg4) -> int
Compile(Csound self, char * arg1, char * arg2, char * arg3, char * arg4, char * arg5) -> int
"""
return _csnd6.Csound_Compile(self, *args)
def Start(self, *args):
"""
Start(Csound self, CSOUND * csound) -> int
Start(Csound self) -> int
"""
return _csnd6.Csound_Start(self, *args)
def Perform(self, *args):
"""
Perform(Csound self) -> int
Perform(Csound self, int argc, char ** argv) -> int
Perform(Csound self, char * csdName) -> int
Perform(Csound self, char * orcName, char * scoName) -> int
Perform(Csound self, char * arg1, char * arg2, char * arg3) -> int
Perform(Csound self, char * arg1, char * arg2, char * arg3, char * arg4) -> int
Perform(Csound self, char * arg1, char * arg2, char * arg3, char * arg4, char * arg5) -> int
"""
return _csnd6.Csound_Perform(self, *args)
def PerformKsmps(self):
"""PerformKsmps(Csound self) -> int"""
return _csnd6.Csound_PerformKsmps(self)
def PerformBuffer(self):
"""PerformBuffer(Csound self) -> int"""
return _csnd6.Csound_PerformBuffer(self)
def Stop(self):
"""Stop(Csound self)"""
return _csnd6.Csound_Stop(self)
def Cleanup(self):
"""Cleanup(Csound self) -> int"""
return _csnd6.Csound_Cleanup(self)
def Reset(self):
"""Reset(Csound self)"""
return _csnd6.Csound_Reset(self)
def GetSr(self):
"""GetSr(Csound self) -> double"""
return _csnd6.Csound_GetSr(self)
def GetKr(self):
"""GetKr(Csound self) -> double"""
return _csnd6.Csound_GetKr(self)
def GetKsmps(self):
"""GetKsmps(Csound self) -> int"""
return _csnd6.Csound_GetKsmps(self)
def GetNchnls(self):
"""GetNchnls(Csound self) -> int"""
return _csnd6.Csound_GetNchnls(self)
def GetNchnlsInput(self):
"""GetNchnlsInput(Csound self) -> int"""
return _csnd6.Csound_GetNchnlsInput(self)
def Get0dBFS(self):
"""Get0dBFS(Csound self) -> double"""
return _csnd6.Csound_Get0dBFS(self)
def GetInputBufferSize(self):
"""GetInputBufferSize(Csound self) -> long"""
return _csnd6.Csound_GetInputBufferSize(self)
def GetOutputBufferSize(self):
"""GetOutputBufferSize(Csound self) -> long"""
return _csnd6.Csound_GetOutputBufferSize(self)
def GetInputBuffer(self):
"""GetInputBuffer(Csound self) -> double *"""
return _csnd6.Csound_GetInputBuffer(self)
def GetOutputBuffer(self):
"""GetOutputBuffer(Csound self) -> double *"""
return _csnd6.Csound_GetOutputBuffer(self)
def GetSpin(self):
"""GetSpin(Csound self) -> double *"""
return _csnd6.Csound_GetSpin(self)
def GetSpout(self):
"""GetSpout(Csound self) -> double *"""
return _csnd6.Csound_GetSpout(self)
def GetOutputName(self):
"""GetOutputName(Csound self) -> char const *"""
return _csnd6.Csound_GetOutputName(self)
def SetHostImplementedAudioIO(self, *args):
"""SetHostImplementedAudioIO(Csound self, int state, int bufSize)"""
return _csnd6.Csound_SetHostImplementedAudioIO(self, *args)
def SetHostImplementedMIDIIO(self, *args):
"""SetHostImplementedMIDIIO(Csound self, int state)"""
return _csnd6.Csound_SetHostImplementedMIDIIO(self, *args)
def GetScoreTime(self):
"""GetScoreTime(Csound self) -> double"""
return _csnd6.Csound_GetScoreTime(self)
def IsScorePending(self):
"""IsScorePending(Csound self) -> int"""
return _csnd6.Csound_IsScorePending(self)
def SetScorePending(self, *args):
"""SetScorePending(Csound self, int pending)"""
return _csnd6.Csound_SetScorePending(self, *args)
def GetScoreOffsetSeconds(self):
"""GetScoreOffsetSeconds(Csound self) -> double"""
return _csnd6.Csound_GetScoreOffsetSeconds(self)
def SetScoreOffsetSeconds(self, *args):
"""SetScoreOffsetSeconds(Csound self, double time)"""
return _csnd6.Csound_SetScoreOffsetSeconds(self, *args)
def RewindScore(self):
"""RewindScore(Csound self)"""
return _csnd6.Csound_RewindScore(self)
def ScoreSort(self, *args):
"""ScoreSort(Csound self, FILE * inFile, FILE * outFile) -> int"""
return _csnd6.Csound_ScoreSort(self, *args)
def ScoreExtract(self, *args):
"""ScoreExtract(Csound self, FILE * inFile, FILE * outFile, FILE * extractFile) -> int"""
return _csnd6.Csound_ScoreExtract(self, *args)
def Message(self, *args):
"""Message(Csound self, char const * format)"""
return _csnd6.Csound_Message(self, *args)
def MessageS(self, *args):
"""MessageS(Csound self, int attr, char const * format)"""
return _csnd6.Csound_MessageS(self, *args)
def GetMessageLevel(self):
"""GetMessageLevel(Csound self) -> int"""
return _csnd6.Csound_GetMessageLevel(self)
def SetMessageLevel(self, *args):
"""SetMessageLevel(Csound self, int messageLevel)"""
return _csnd6.Csound_SetMessageLevel(self, *args)
def InputMessage(self, *args):
"""InputMessage(Csound self, char const * message)"""
return _csnd6.Csound_InputMessage(self, *args)
def KeyPressed(self, *args):
"""KeyPressed(Csound self, char c)"""
return _csnd6.Csound_KeyPressed(self, *args)
def ScoreEvent(self, *args):
"""ScoreEvent(Csound self, char type, double const * pFields, long numFields) -> int"""
return _csnd6.Csound_ScoreEvent(self, *args)
def ScoreEventAbsolute(self, *args):
"""ScoreEventAbsolute(Csound self, char type, double const * pFields, long numFields, double time_ofs) -> int"""
return _csnd6.Csound_ScoreEventAbsolute(self, *args)
def NewOpcodeList(self, *args):
"""NewOpcodeList(Csound self, opcodeListEntry *& opcodelist) -> int"""
return _csnd6.Csound_NewOpcodeList(self, *args)
def DisposeOpcodeList(self, *args):
"""DisposeOpcodeList(Csound self, opcodeListEntry opcodelist)"""
return _csnd6.Csound_DisposeOpcodeList(self, *args)
def AppendOpcode(self, *args):
"""
AppendOpcode(Csound self, char const * opname, int dsblksiz, int flags, int thread, char const * outypes, char const * intypes,
int (*)(CSOUND *,void *) iopadr, int (*)(CSOUND *,void *) kopadr,
int (*)(CSOUND *,void *) aopadr) -> int
"""
return _csnd6.Csound_AppendOpcode(self, *args)
def GetDebug(self):
"""GetDebug(Csound self) -> int"""
return _csnd6.Csound_GetDebug(self)
def SetDebug(self, *args):
"""SetDebug(Csound self, int debug)"""
return _csnd6.Csound_SetDebug(self, *args)
def TableLength(self, *args):
"""TableLength(Csound self, int table) -> int"""
return _csnd6.Csound_TableLength(self, *args)
def TableGet(self, *args):
"""TableGet(Csound self, int table, int index) -> double"""
return _csnd6.Csound_TableGet(self, *args)
def TableSet(self, *args):
"""TableSet(Csound self, int table, int index, double value)"""
return _csnd6.Csound_TableSet(self, *args)
def GetTable(self, *args):
"""GetTable(Csound self, double *& tablePtr, int tableNum) -> int"""
return _csnd6.Csound_GetTable(self, *args)
def TableCopyOut(self, *args):
"""TableCopyOut(Csound self, int table, double * dest)"""
return _csnd6.Csound_TableCopyOut(self, *args)
def TableCopyIn(self, *args):
"""TableCopyIn(Csound self, int table, double * src)"""
return _csnd6.Csound_TableCopyIn(self, *args)
def CreateGlobalVariable(self, *args):
"""CreateGlobalVariable(Csound self, char const * name, size_t nbytes) -> int"""
return _csnd6.Csound_CreateGlobalVariable(self, *args)
def QueryGlobalVariable(self, *args):
"""QueryGlobalVariable(Csound self, char const * name) -> void *"""
return _csnd6.Csound_QueryGlobalVariable(self, *args)
def QueryGlobalVariableNoCheck(self, *args):
"""QueryGlobalVariableNoCheck(Csound self, char const * name) -> void *"""
return _csnd6.Csound_QueryGlobalVariableNoCheck(self, *args)
def DestroyGlobalVariable(self, *args):
"""DestroyGlobalVariable(Csound self, char const * name) -> int"""
return _csnd6.Csound_DestroyGlobalVariable(self, *args)
def GetRtRecordUserData(self):
"""GetRtRecordUserData(Csound self) -> void **"""
return _csnd6.Csound_GetRtRecordUserData(self)
def GetRtPlayUserData(self):
"""GetRtPlayUserData(Csound self) -> void **"""
return _csnd6.Csound_GetRtPlayUserData(self)
def RunUtility(self, *args):
"""RunUtility(Csound self, char const * name, int argc, char ** argv) -> int"""
return _csnd6.Csound_RunUtility(self, *args)
def ListUtilities(self):
"""ListUtilities(Csound self) -> char **"""
return _csnd6.Csound_ListUtilities(self)
def DeleteUtilityList(self, *args):
"""DeleteUtilityList(Csound self, char ** lst)"""
return _csnd6.Csound_DeleteUtilityList(self, *args)
def GetUtilityDescription(self, *args):
"""GetUtilityDescription(Csound self, char const * utilName) -> char const *"""
return _csnd6.Csound_GetUtilityDescription(self, *args)
def GetChannelPtr(self, *args):
"""GetChannelPtr(Csound self, double *& p, char const * name, int type) -> int"""
return _csnd6.Csound_GetChannelPtr(self, *args)
def ListChannels(self, *args):
"""ListChannels(Csound self, controlChannelInfo_t *& lst) -> int"""
return _csnd6.Csound_ListChannels(self, *args)
def DeleteChannelList(self, *args):
"""DeleteChannelList(Csound self, controlChannelInfo_t lst)"""
return _csnd6.Csound_DeleteChannelList(self, *args)
def SetControlChannelHints(self, *args):
"""SetControlChannelHints(Csound self, char const * name, controlChannelHints_t hints) -> int"""
return _csnd6.Csound_SetControlChannelHints(self, *args)
def GetControlChannelHints(self, *args):
"""GetControlChannelHints(Csound self, char const * name, controlChannelHints_t hints) -> int"""
return _csnd6.Csound_GetControlChannelHints(self, *args)
def SetChannel(self, *args):
"""
SetChannel(Csound self, char const * name, double value)
SetChannel(Csound self, char const * name, char * string)
SetChannel(Csound self, char const * name, double * samples)
"""
return _csnd6.Csound_SetChannel(self, *args)
def GetChannel(self, *args):
"""
GetChannel(Csound self, char const * name, int * err=None) -> double
GetChannel(Csound self, char const * name) -> double
"""
return _csnd6.Csound_GetChannel(self, *args)
def GetStringChannel(self, *args):
"""GetStringChannel(Csound self, char const * name, char * string)"""
return _csnd6.Csound_GetStringChannel(self, *args)
def GetAudioChannel(self, *args):
"""GetAudioChannel(Csound self, char const * name, double * samples)"""
return _csnd6.Csound_GetAudioChannel(self, *args)
def PvsinSet(self, *args):
"""PvsinSet(Csound self, PVSDATEXT value, char const * name) -> int"""
return _csnd6.Csound_PvsinSet(self, *args)
def PvsoutGet(self, *args):
"""PvsoutGet(Csound self, PVSDATEXT value, char const * name) -> int"""
return _csnd6.Csound_PvsoutGet(self, *args)
def __init__(self, *args):
"""
__init__(Csound self) -> Csound
__init__(Csound self, void * hostData) -> Csound
"""
this = _csnd6.new_Csound(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_Csound
__del__ = lambda self : None;
def CreateMessageBuffer(self, *args):
"""CreateMessageBuffer(Csound self, int toStdOut)"""
return _csnd6.Csound_CreateMessageBuffer(self, *args)
def GetFirstMessage(self):
"""GetFirstMessage(Csound self) -> char const *"""
return _csnd6.Csound_GetFirstMessage(self)
def GetFirstMessageAttr(self):
"""GetFirstMessageAttr(Csound self) -> int"""
return _csnd6.Csound_GetFirstMessageAttr(self)
def PopFirstMessage(self):
"""PopFirstMessage(Csound self)"""
return _csnd6.Csound_PopFirstMessage(self)
def GetMessageCnt(self):
"""GetMessageCnt(Csound self) -> int"""
return _csnd6.Csound_GetMessageCnt(self)
def DestroyMessageBuffer(self):
"""DestroyMessageBuffer(Csound self)"""
return _csnd6.Csound_DestroyMessageBuffer(self)
def AddSpinSample(self, *args):
"""AddSpinSample(Csound self, int frame, int channel, double sample)"""
return _csnd6.Csound_AddSpinSample(self, *args)
def GetSpoutSample(self, *args):
"""GetSpoutSample(Csound self, int frame, int channel) -> double"""
return _csnd6.Csound_GetSpoutSample(self, *args)
def SetMessageCallback(self, *args):
"""SetMessageCallback(Csound self, PyObject * pyfunc)"""
return _csnd6.Csound_SetMessageCallback(self, *args)
def SetInputChannelCallback(self, *args):
"""SetInputChannelCallback(Csound self, PyObject * pyfunc)"""
return _csnd6.Csound_SetInputChannelCallback(self, *args)
def SetOutputChannelCallback(self, *args):
"""SetOutputChannelCallback(Csound self, PyObject * pyfunc)"""
return _csnd6.Csound_SetOutputChannelCallback(self, *args)
def SetExternalMidiInOpenCallback(self, *args):
"""
SetExternalMidiInOpenCallback(Csound self, int (*)(CSOUND *,void **,char const *) func)
SetExternalMidiInOpenCallback(Csound self, PyObject * pyfunc)
"""
return _csnd6.Csound_SetExternalMidiInOpenCallback(self, *args)
def SetExternalMidiInCloseCallback(self, *args):
"""SetExternalMidiInCloseCallback(Csound self, PyObject * pyfunc)"""
return _csnd6.Csound_SetExternalMidiInCloseCallback(self, *args)
def SetExternalMidiReadCallback(self, *args):
"""SetExternalMidiReadCallback(Csound self, PyObject * pyfunc)"""
return _csnd6.Csound_SetExternalMidiReadCallback(self, *args)
Csound_swigregister = _csnd6.Csound_swigregister
Csound_swigregister(Csound)
class CsoundThreadLock(_object):
"""Proxy of C++ CsoundThreadLock class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundThreadLock, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundThreadLock, name)
__repr__ = _swig_repr
def Lock(self, *args):
"""
Lock(CsoundThreadLock self, size_t milliseconds) -> int
Lock(CsoundThreadLock self)
"""
return _csnd6.CsoundThreadLock_Lock(self, *args)
def TryLock(self):
"""TryLock(CsoundThreadLock self) -> int"""
return _csnd6.CsoundThreadLock_TryLock(self)
def Unlock(self):
"""Unlock(CsoundThreadLock self)"""
return _csnd6.CsoundThreadLock_Unlock(self)
def __init__(self, *args):
"""
__init__(CsoundThreadLock self) -> CsoundThreadLock
__init__(CsoundThreadLock self, int locked) -> CsoundThreadLock
"""
this = _csnd6.new_CsoundThreadLock(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundThreadLock
__del__ = lambda self : None;
CsoundThreadLock_swigregister = _csnd6.CsoundThreadLock_swigregister
CsoundThreadLock_swigregister(CsoundThreadLock)
class CsoundMutex(_object):
"""Proxy of C++ CsoundMutex class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundMutex, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundMutex, name)
__repr__ = _swig_repr
def Lock(self):
"""Lock(CsoundMutex self)"""
return _csnd6.CsoundMutex_Lock(self)
def TryLock(self):
"""TryLock(CsoundMutex self) -> int"""
return _csnd6.CsoundMutex_TryLock(self)
def Unlock(self):
"""Unlock(CsoundMutex self)"""
return _csnd6.CsoundMutex_Unlock(self)
def __init__(self, *args):
"""
__init__(CsoundMutex self) -> CsoundMutex
__init__(CsoundMutex self, int isRecursive) -> CsoundMutex
"""
this = _csnd6.new_CsoundMutex(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundMutex
__del__ = lambda self : None;
CsoundMutex_swigregister = _csnd6.CsoundMutex_swigregister
CsoundMutex_swigregister(CsoundMutex)
class CsoundRandMT(_object):
"""Proxy of C++ CsoundRandMT class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundRandMT, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundRandMT, name)
__repr__ = _swig_repr
def Random(self):
"""Random(CsoundRandMT self) -> uint32_t"""
return _csnd6.CsoundRandMT_Random(self)
def Seed(self, *args):
"""
Seed(CsoundRandMT self, uint32_t seedVal)
Seed(CsoundRandMT self, uint32_t const * initKey, int keyLength)
"""
return _csnd6.CsoundRandMT_Seed(self, *args)
def __init__(self, *args):
"""
__init__(CsoundRandMT self) -> CsoundRandMT
__init__(CsoundRandMT self, uint32_t seedVal) -> CsoundRandMT
__init__(CsoundRandMT self, uint32_t const * initKey, int keyLength) -> CsoundRandMT
"""
this = _csnd6.new_CsoundRandMT(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundRandMT
__del__ = lambda self : None;
CsoundRandMT_swigregister = _csnd6.CsoundRandMT_swigregister
CsoundRandMT_swigregister(CsoundRandMT)
class CsoundTimer(_object):
"""Proxy of C++ CsoundTimer class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundTimer, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundTimer, name)
__repr__ = _swig_repr
def GetRealTime(self):
"""GetRealTime(CsoundTimer self) -> double"""
return _csnd6.CsoundTimer_GetRealTime(self)
def GetCPUTime(self):
"""GetCPUTime(CsoundTimer self) -> double"""
return _csnd6.CsoundTimer_GetCPUTime(self)
def Reset(self):
"""Reset(CsoundTimer self)"""
return _csnd6.CsoundTimer_Reset(self)
def __init__(self):
"""__init__(CsoundTimer self) -> CsoundTimer"""
this = _csnd6.new_CsoundTimer()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundTimer
__del__ = lambda self : None;
CsoundTimer_swigregister = _csnd6.CsoundTimer_swigregister
CsoundTimer_swigregister(CsoundTimer)
class CsoundOpcodeList(_object):
"""Proxy of C++ CsoundOpcodeList class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundOpcodeList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundOpcodeList, name)
__repr__ = _swig_repr
def Count(self):
"""Count(CsoundOpcodeList self) -> int"""
return _csnd6.CsoundOpcodeList_Count(self)
def Name(self, *args):
"""Name(CsoundOpcodeList self, int ndx) -> char const *"""
return _csnd6.CsoundOpcodeList_Name(self, *args)
def OutTypes(self, *args):
"""OutTypes(CsoundOpcodeList self, int ndx) -> char const *"""
return _csnd6.CsoundOpcodeList_OutTypes(self, *args)
def InTypes(self, *args):
"""InTypes(CsoundOpcodeList self, int ndx) -> char const *"""
return _csnd6.CsoundOpcodeList_InTypes(self, *args)
def Clear(self):
"""Clear(CsoundOpcodeList self)"""
return _csnd6.CsoundOpcodeList_Clear(self)
def __init__(self, *args):
"""
__init__(CsoundOpcodeList self, CSOUND * csound) -> CsoundOpcodeList
__init__(CsoundOpcodeList self, Csound csound) -> CsoundOpcodeList
"""
this = _csnd6.new_CsoundOpcodeList(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundOpcodeList
__del__ = lambda self : None;
CsoundOpcodeList_swigregister = _csnd6.CsoundOpcodeList_swigregister
CsoundOpcodeList_swigregister(CsoundOpcodeList)
class CsoundChannelList(_object):
"""Proxy of C++ CsoundChannelList class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundChannelList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundChannelList, name)
__repr__ = _swig_repr
def Count(self):
"""Count(CsoundChannelList self) -> int"""
return _csnd6.CsoundChannelList_Count(self)
def Name(self, *args):
"""Name(CsoundChannelList self, int ndx) -> char const *"""
return _csnd6.CsoundChannelList_Name(self, *args)
def Type(self, *args):
"""Type(CsoundChannelList self, int ndx) -> int"""
return _csnd6.CsoundChannelList_Type(self, *args)
def IsControlChannel(self, *args):
"""IsControlChannel(CsoundChannelList self, int ndx) -> int"""
return _csnd6.CsoundChannelList_IsControlChannel(self, *args)
def IsAudioChannel(self, *args):
"""IsAudioChannel(CsoundChannelList self, int ndx) -> int"""
return _csnd6.CsoundChannelList_IsAudioChannel(self, *args)
def IsStringChannel(self, *args):
"""IsStringChannel(CsoundChannelList self, int ndx) -> int"""
return _csnd6.CsoundChannelList_IsStringChannel(self, *args)
def IsInputChannel(self, *args):
"""IsInputChannel(CsoundChannelList self, int ndx) -> int"""
return _csnd6.CsoundChannelList_IsInputChannel(self, *args)
def IsOutputChannel(self, *args):
"""IsOutputChannel(CsoundChannelList self, int ndx) -> int"""
return _csnd6.CsoundChannelList_IsOutputChannel(self, *args)
def SubType(self, *args):
"""SubType(CsoundChannelList self, int ndx) -> int"""
return _csnd6.CsoundChannelList_SubType(self, *args)
def DefaultValue(self, *args):
"""DefaultValue(CsoundChannelList self, int ndx) -> double"""
return _csnd6.CsoundChannelList_DefaultValue(self, *args)
def MinValue(self, *args):
"""MinValue(CsoundChannelList self, int ndx) -> double"""
return _csnd6.CsoundChannelList_MinValue(self, *args)
def MaxValue(self, *args):
"""MaxValue(CsoundChannelList self, int ndx) -> double"""
return _csnd6.CsoundChannelList_MaxValue(self, *args)
def Clear(self):
"""Clear(CsoundChannelList self)"""
return _csnd6.CsoundChannelList_Clear(self)
def __init__(self, *args):
"""
__init__(CsoundChannelList self, CSOUND * csound) -> CsoundChannelList
__init__(CsoundChannelList self, Csound csound) -> CsoundChannelList
"""
this = _csnd6.new_CsoundChannelList(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundChannelList
__del__ = lambda self : None;
CsoundChannelList_swigregister = _csnd6.CsoundChannelList_swigregister
CsoundChannelList_swigregister(CsoundChannelList)
class CsoundUtilityList(_object):
"""Proxy of C++ CsoundUtilityList class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundUtilityList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundUtilityList, name)
__repr__ = _swig_repr
def Count(self):
"""Count(CsoundUtilityList self) -> int"""
return _csnd6.CsoundUtilityList_Count(self)
def Name(self, *args):
"""Name(CsoundUtilityList self, int ndx) -> char const *"""
return _csnd6.CsoundUtilityList_Name(self, *args)
def Clear(self):
"""Clear(CsoundUtilityList self)"""
return _csnd6.CsoundUtilityList_Clear(self)
def __init__(self, *args):
"""
__init__(CsoundUtilityList self, CSOUND * csound) -> CsoundUtilityList
__init__(CsoundUtilityList self, Csound csound) -> CsoundUtilityList
"""
this = _csnd6.new_CsoundUtilityList(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundUtilityList
__del__ = lambda self : None;
CsoundUtilityList_swigregister = _csnd6.CsoundUtilityList_swigregister
CsoundUtilityList_swigregister(CsoundUtilityList)
class CsoundMYFLTArray(_object):
"""Proxy of C++ CsoundMYFLTArray class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundMYFLTArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundMYFLTArray, name)
__repr__ = _swig_repr
def GetPtr(self, *args):
"""
GetPtr(CsoundMYFLTArray self) -> double
GetPtr(CsoundMYFLTArray self, int ndx) -> double *
"""
return _csnd6.CsoundMYFLTArray_GetPtr(self, *args)
def SetPtr(self, *args):
"""SetPtr(CsoundMYFLTArray self, double * ptr)"""
return _csnd6.CsoundMYFLTArray_SetPtr(self, *args)
def SetValue(self, *args):
"""SetValue(CsoundMYFLTArray self, int ndx, double value)"""
return _csnd6.CsoundMYFLTArray_SetValue(self, *args)
def GetValue(self, *args):
"""GetValue(CsoundMYFLTArray self, int ndx) -> double"""
return _csnd6.CsoundMYFLTArray_GetValue(self, *args)
def SetValues(self, *args):
"""
SetValues(CsoundMYFLTArray self, int ndx, double v0, double v1)
SetValues(CsoundMYFLTArray self, int ndx, double v0, double v1, double v2)
SetValues(CsoundMYFLTArray self, int ndx, double v0, double v1, double v2, double v3)
SetValues(CsoundMYFLTArray self, int ndx, double v0, double v1, double v2, double v3, double v4)
SetValues(CsoundMYFLTArray self, int ndx, double v0, double v1, double v2, double v3, double v4, double v5)
SetValues(CsoundMYFLTArray self, int ndx, double v0, double v1, double v2, double v3, double v4, double v5, double v6)
SetValues(CsoundMYFLTArray self, int ndx, double v0, double v1, double v2, double v3, double v4, double v5, double v6,
double v7)
SetValues(CsoundMYFLTArray self, int ndx, double v0, double v1, double v2, double v3, double v4, double v5, double v6,
double v7, double v8)
SetValues(CsoundMYFLTArray self, int ndx, double v0, double v1, double v2, double v3, double v4, double v5, double v6,
double v7, double v8, double v9)
SetValues(CsoundMYFLTArray self, int ndx, int n, double const * src)
"""
return _csnd6.CsoundMYFLTArray_SetValues(self, *args)
def GetValues(self, *args):
"""GetValues(CsoundMYFLTArray self, double * dst, int ndx, int n)"""
return _csnd6.CsoundMYFLTArray_GetValues(self, *args)
def SetStringValue(self, *args):
"""SetStringValue(CsoundMYFLTArray self, char const * s, int maxLen)"""
return _csnd6.CsoundMYFLTArray_SetStringValue(self, *args)
def GetStringValue(self):
"""GetStringValue(CsoundMYFLTArray self) -> char const *"""
return _csnd6.CsoundMYFLTArray_GetStringValue(self)
def Clear(self):
"""Clear(CsoundMYFLTArray self)"""
return _csnd6.CsoundMYFLTArray_Clear(self)
def __init__(self, *args):
"""
__init__(CsoundMYFLTArray self) -> CsoundMYFLTArray
__init__(CsoundMYFLTArray self, int n) -> CsoundMYFLTArray
"""
this = _csnd6.new_CsoundMYFLTArray(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundMYFLTArray
__del__ = lambda self : None;
CsoundMYFLTArray_swigregister = _csnd6.CsoundMYFLTArray_swigregister
CsoundMYFLTArray_swigregister(CsoundMYFLTArray)
class CsoundArgVList(_object):
"""Proxy of C++ CsoundArgVList class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundArgVList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundArgVList, name)
__repr__ = _swig_repr
def argc(self):
"""argc(CsoundArgVList self) -> int"""
return _csnd6.CsoundArgVList_argc(self)
def argv(self, *args):
"""
argv(CsoundArgVList self) -> char
argv(CsoundArgVList self, int ndx) -> char const *
"""
return _csnd6.CsoundArgVList_argv(self, *args)
def Insert(self, *args):
"""Insert(CsoundArgVList self, int ndx, char const * s)"""
return _csnd6.CsoundArgVList_Insert(self, *args)
def Append(self, *args):
"""Append(CsoundArgVList self, char const * s)"""
return _csnd6.CsoundArgVList_Append(self, *args)
def Clear(self):
"""Clear(CsoundArgVList self)"""
return _csnd6.CsoundArgVList_Clear(self)
def __init__(self):
"""__init__(CsoundArgVList self) -> CsoundArgVList"""
this = _csnd6.new_CsoundArgVList()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundArgVList
__del__ = lambda self : None;
CsoundArgVList_swigregister = _csnd6.CsoundArgVList_swigregister
CsoundArgVList_swigregister(CsoundArgVList)
class CsoundCallbackWrapper(_object):
"""Proxy of C++ CsoundCallbackWrapper class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundCallbackWrapper, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundCallbackWrapper, name)
__repr__ = _swig_repr
def MessageCallback(self, *args):
"""MessageCallback(CsoundCallbackWrapper self, int attr, char * msg)"""
return _csnd6.CsoundCallbackWrapper_MessageCallback(self, *args)
def InputValueCallback(self, *args):
"""InputValueCallback(CsoundCallbackWrapper self, char const * chnName) -> double"""
return _csnd6.CsoundCallbackWrapper_InputValueCallback(self, *args)
def OutputValueCallback(self, *args):
"""OutputValueCallback(CsoundCallbackWrapper self, char const * chnName, double value)"""
return _csnd6.CsoundCallbackWrapper_OutputValueCallback(self, *args)
def YieldCallback(self):
"""YieldCallback(CsoundCallbackWrapper self) -> int"""
return _csnd6.CsoundCallbackWrapper_YieldCallback(self)
def MidiInputCallback(self, *args):
"""MidiInputCallback(CsoundCallbackWrapper self, CsoundMidiInputBuffer p)"""
return _csnd6.CsoundCallbackWrapper_MidiInputCallback(self, *args)
def MidiOutputCallback(self, *args):
"""MidiOutputCallback(CsoundCallbackWrapper self, CsoundMidiOutputBuffer p)"""
return _csnd6.CsoundCallbackWrapper_MidiOutputCallback(self, *args)
def SetMessageCallback(self):
"""SetMessageCallback(CsoundCallbackWrapper self)"""
return _csnd6.CsoundCallbackWrapper_SetMessageCallback(self)
def SetYieldCallback(self):
"""SetYieldCallback(CsoundCallbackWrapper self)"""
return _csnd6.CsoundCallbackWrapper_SetYieldCallback(self)
def SetMidiInputCallback(self, *args):
"""SetMidiInputCallback(CsoundCallbackWrapper self, CsoundArgVList argv)"""
return _csnd6.CsoundCallbackWrapper_SetMidiInputCallback(self, *args)
def SetMidiOutputCallback(self, *args):
"""SetMidiOutputCallback(CsoundCallbackWrapper self, CsoundArgVList argv)"""
return _csnd6.CsoundCallbackWrapper_SetMidiOutputCallback(self, *args)
def GetCsound(self):
"""GetCsound(CsoundCallbackWrapper self) -> CSOUND *"""
return _csnd6.CsoundCallbackWrapper_GetCsound(self)
def CharPtrToString(*args):
"""CharPtrToString(char const * s) -> char const *"""
return _csnd6.CsoundCallbackWrapper_CharPtrToString(*args)
if _newclass:CharPtrToString = staticmethod(CharPtrToString)
__swig_getmethods__["CharPtrToString"] = lambda x: CharPtrToString
def __init__(self, *args):
"""
__init__(CsoundCallbackWrapper self, Csound csound) -> CsoundCallbackWrapper
__init__(CsoundCallbackWrapper self, CSOUND * csound) -> CsoundCallbackWrapper
"""
if self.__class__ == CsoundCallbackWrapper:
_self = None
else:
_self = self
this = _csnd6.new_CsoundCallbackWrapper(_self, *args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundCallbackWrapper
__del__ = lambda self : None;
def __disown__(self):
self.this.disown()
_csnd6.disown_CsoundCallbackWrapper(self)
return weakref_proxy(self)
CsoundCallbackWrapper_swigregister = _csnd6.CsoundCallbackWrapper_swigregister
CsoundCallbackWrapper_swigregister(CsoundCallbackWrapper)
def CsoundCallbackWrapper_CharPtrToString(*args):
"""CsoundCallbackWrapper_CharPtrToString(char const * s) -> char const *"""
return _csnd6.CsoundCallbackWrapper_CharPtrToString(*args)
class CsoundMidiInputBuffer(_object):
"""Proxy of C++ CsoundMidiInputBuffer class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundMidiInputBuffer, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundMidiInputBuffer, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""__init__(CsoundMidiInputBuffer self, unsigned char * buf, int bufSize) -> CsoundMidiInputBuffer"""
this = _csnd6.new_CsoundMidiInputBuffer(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundMidiInputBuffer
__del__ = lambda self : None;
def SendMessage(self, *args):
"""
SendMessage(CsoundMidiInputBuffer self, int msg)
SendMessage(CsoundMidiInputBuffer self, int status, int channel, int data1, int data2)
"""
return _csnd6.CsoundMidiInputBuffer_SendMessage(self, *args)
def SendNoteOn(self, *args):
"""SendNoteOn(CsoundMidiInputBuffer self, int channel, int key, int velocity)"""
return _csnd6.CsoundMidiInputBuffer_SendNoteOn(self, *args)
def SendNoteOff(self, *args):
"""
SendNoteOff(CsoundMidiInputBuffer self, int channel, int key, int velocity)
SendNoteOff(CsoundMidiInputBuffer self, int channel, int key)
"""
return _csnd6.CsoundMidiInputBuffer_SendNoteOff(self, *args)
def SendPolyphonicPressure(self, *args):
"""SendPolyphonicPressure(CsoundMidiInputBuffer self, int channel, int key, int value)"""
return _csnd6.CsoundMidiInputBuffer_SendPolyphonicPressure(self, *args)
def SendControlChange(self, *args):
"""SendControlChange(CsoundMidiInputBuffer self, int channel, int ctl, int value)"""
return _csnd6.CsoundMidiInputBuffer_SendControlChange(self, *args)
def SendProgramChange(self, *args):
"""SendProgramChange(CsoundMidiInputBuffer self, int channel, int pgm)"""
return _csnd6.CsoundMidiInputBuffer_SendProgramChange(self, *args)
def SendChannelPressure(self, *args):
"""SendChannelPressure(CsoundMidiInputBuffer self, int channel, int value)"""
return _csnd6.CsoundMidiInputBuffer_SendChannelPressure(self, *args)
def SendPitchBend(self, *args):
"""SendPitchBend(CsoundMidiInputBuffer self, int channel, int value)"""
return _csnd6.CsoundMidiInputBuffer_SendPitchBend(self, *args)
CsoundMidiInputBuffer_swigregister = _csnd6.CsoundMidiInputBuffer_swigregister
CsoundMidiInputBuffer_swigregister(CsoundMidiInputBuffer)
class CsoundMidiInputStream(CsoundMidiInputBuffer):
"""Proxy of C++ CsoundMidiInputStream class"""
__swig_setmethods__ = {}
for _s in [CsoundMidiInputBuffer]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundMidiInputStream, name, value)
__swig_getmethods__ = {}
for _s in [CsoundMidiInputBuffer]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, CsoundMidiInputStream, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(CsoundMidiInputStream self, CSOUND * csound) -> CsoundMidiInputStream
__init__(CsoundMidiInputStream self, Csound csound) -> CsoundMidiInputStream
"""
this = _csnd6.new_CsoundMidiInputStream(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundMidiInputStream
__del__ = lambda self : None;
def EnableMidiInput(self, *args):
"""EnableMidiInput(CsoundMidiInputStream self, CsoundArgVList argv)"""
return _csnd6.CsoundMidiInputStream_EnableMidiInput(self, *args)
CsoundMidiInputStream_swigregister = _csnd6.CsoundMidiInputStream_swigregister
CsoundMidiInputStream_swigregister(CsoundMidiInputStream)
class CsoundMidiOutputBuffer(_object):
"""Proxy of C++ CsoundMidiOutputBuffer class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundMidiOutputBuffer, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundMidiOutputBuffer, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""__init__(CsoundMidiOutputBuffer self, unsigned char * buf, int bufSize) -> CsoundMidiOutputBuffer"""
this = _csnd6.new_CsoundMidiOutputBuffer(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundMidiOutputBuffer
__del__ = lambda self : None;
def PopMessage(self):
"""PopMessage(CsoundMidiOutputBuffer self) -> int"""
return _csnd6.CsoundMidiOutputBuffer_PopMessage(self)
def GetStatus(self):
"""GetStatus(CsoundMidiOutputBuffer self) -> int"""
return _csnd6.CsoundMidiOutputBuffer_GetStatus(self)
def GetChannel(self):
"""GetChannel(CsoundMidiOutputBuffer self) -> int"""
return _csnd6.CsoundMidiOutputBuffer_GetChannel(self)
def GetData1(self):
"""GetData1(CsoundMidiOutputBuffer self) -> int"""
return _csnd6.CsoundMidiOutputBuffer_GetData1(self)
def GetData2(self):
"""GetData2(CsoundMidiOutputBuffer self) -> int"""
return _csnd6.CsoundMidiOutputBuffer_GetData2(self)
CsoundMidiOutputBuffer_swigregister = _csnd6.CsoundMidiOutputBuffer_swigregister
CsoundMidiOutputBuffer_swigregister(CsoundMidiOutputBuffer)
class CsoundMidiOutputStream(CsoundMidiOutputBuffer):
"""Proxy of C++ CsoundMidiOutputStream class"""
__swig_setmethods__ = {}
for _s in [CsoundMidiOutputBuffer]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundMidiOutputStream, name, value)
__swig_getmethods__ = {}
for _s in [CsoundMidiOutputBuffer]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, CsoundMidiOutputStream, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(CsoundMidiOutputStream self, CSOUND * csound) -> CsoundMidiOutputStream
__init__(CsoundMidiOutputStream self, Csound csound) -> CsoundMidiOutputStream
"""
this = _csnd6.new_CsoundMidiOutputStream(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundMidiOutputStream
__del__ = lambda self : None;
def EnableMidiOutput(self, *args):
"""EnableMidiOutput(CsoundMidiOutputStream self, CsoundArgVList argv)"""
return _csnd6.CsoundMidiOutputStream_EnableMidiOutput(self, *args)
CsoundMidiOutputStream_swigregister = _csnd6.CsoundMidiOutputStream_swigregister
CsoundMidiOutputStream_swigregister(CsoundMidiOutputStream)
class pycallbackdata(_object):
"""Proxy of C++ pycallbackdata class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, pycallbackdata, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, pycallbackdata, name)
__repr__ = _swig_repr
__swig_setmethods__["func"] = _csnd6.pycallbackdata_func_set
__swig_getmethods__["func"] = _csnd6.pycallbackdata_func_get
if _newclass:func = _swig_property(_csnd6.pycallbackdata_func_get, _csnd6.pycallbackdata_func_set)
__swig_setmethods__["data"] = _csnd6.pycallbackdata_data_set
__swig_getmethods__["data"] = _csnd6.pycallbackdata_data_get
if _newclass:data = _swig_property(_csnd6.pycallbackdata_data_get, _csnd6.pycallbackdata_data_set)
def __init__(self):
"""__init__(pycallbackdata self) -> pycallbackdata"""
this = _csnd6.new_pycallbackdata()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_pycallbackdata
__del__ = lambda self : None;
pycallbackdata_swigregister = _csnd6.pycallbackdata_swigregister
pycallbackdata_swigregister(pycallbackdata)
class CsoundPerformanceThread(_object):
"""Proxy of C++ CsoundPerformanceThread class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundPerformanceThread, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundPerformanceThread, name)
__repr__ = _swig_repr
def isRunning(self):
"""isRunning(CsoundPerformanceThread self) -> int"""
return _csnd6.CsoundPerformanceThread_isRunning(self)
__swig_setmethods__["_tstate"] = _csnd6.CsoundPerformanceThread__tstate_set
__swig_getmethods__["_tstate"] = _csnd6.CsoundPerformanceThread__tstate_get
if _newclass:_tstate = _swig_property(_csnd6.CsoundPerformanceThread__tstate_get, _csnd6.CsoundPerformanceThread__tstate_set)
__swig_setmethods__["pydata"] = _csnd6.CsoundPerformanceThread_pydata_set
__swig_getmethods__["pydata"] = _csnd6.CsoundPerformanceThread_pydata_get
if _newclass:pydata = _swig_property(_csnd6.CsoundPerformanceThread_pydata_get, _csnd6.CsoundPerformanceThread_pydata_set)
def GetProcessCallback(self):
"""GetProcessCallback(CsoundPerformanceThread self) -> void *"""
return _csnd6.CsoundPerformanceThread_GetProcessCallback(self)
def GetCsound(self):
"""GetCsound(CsoundPerformanceThread self) -> CSOUND *"""
return _csnd6.CsoundPerformanceThread_GetCsound(self)
def GetStatus(self):
"""GetStatus(CsoundPerformanceThread self) -> int"""
return _csnd6.CsoundPerformanceThread_GetStatus(self)
def Play(self):
"""Play(CsoundPerformanceThread self)"""
return _csnd6.CsoundPerformanceThread_Play(self)
def Pause(self):
"""Pause(CsoundPerformanceThread self)"""
return _csnd6.CsoundPerformanceThread_Pause(self)
def TogglePause(self):
"""TogglePause(CsoundPerformanceThread self)"""
return _csnd6.CsoundPerformanceThread_TogglePause(self)
def Stop(self):
"""Stop(CsoundPerformanceThread self)"""
return _csnd6.CsoundPerformanceThread_Stop(self)
def ScoreEvent(self, *args):
"""ScoreEvent(CsoundPerformanceThread self, int absp2mode, char opcod, int pcnt, double const * p)"""
return _csnd6.CsoundPerformanceThread_ScoreEvent(self, *args)
def InputMessage(self, *args):
"""InputMessage(CsoundPerformanceThread self, char const * s)"""
return _csnd6.CsoundPerformanceThread_InputMessage(self, *args)
def SetScoreOffsetSeconds(self, *args):
"""SetScoreOffsetSeconds(CsoundPerformanceThread self, double timeVal)"""
return _csnd6.CsoundPerformanceThread_SetScoreOffsetSeconds(self, *args)
def Join(self):
"""Join(CsoundPerformanceThread self) -> int"""
return _csnd6.CsoundPerformanceThread_Join(self)
def FlushMessageQueue(self):
"""FlushMessageQueue(CsoundPerformanceThread self)"""
return _csnd6.CsoundPerformanceThread_FlushMessageQueue(self)
def __init__(self, *args):
"""
__init__(CsoundPerformanceThread self, Csound arg2) -> CsoundPerformanceThread
__init__(CsoundPerformanceThread self, CSOUND * arg2) -> CsoundPerformanceThread
"""
this = _csnd6.new_CsoundPerformanceThread(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundPerformanceThread
__del__ = lambda self : None;
def SetProcessCallback(self, *args):
"""SetProcessCallback(CsoundPerformanceThread self, PyObject * pyfunc, PyObject * p)"""
return _csnd6.CsoundPerformanceThread_SetProcessCallback(self, *args)
CsoundPerformanceThread_swigregister = _csnd6.CsoundPerformanceThread_swigregister
CsoundPerformanceThread_swigregister(CsoundPerformanceThread)
class IntToStringMap(_object):
"""Proxy of C++ std::map<(int,std::string)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, IntToStringMap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, IntToStringMap, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(IntToStringMap self) -> SwigPyIterator"""
return _csnd6.IntToStringMap_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self):
"""__nonzero__(IntToStringMap self) -> bool"""
return _csnd6.IntToStringMap___nonzero__(self)
def __bool__(self):
"""__bool__(IntToStringMap self) -> bool"""
return _csnd6.IntToStringMap___bool__(self)
def __len__(self):
"""__len__(IntToStringMap self) -> std::map< int,std::string >::size_type"""
return _csnd6.IntToStringMap___len__(self)
def __iter__(self): return self.key_iterator()
def iterkeys(self): return self.key_iterator()
def itervalues(self): return self.value_iterator()
def iteritems(self): return self.iterator()
def __getitem__(self, *args):
"""__getitem__(IntToStringMap self, std::map< int,std::string >::key_type const & key) -> std::map< int,std::string >::mapped_type const &"""
return _csnd6.IntToStringMap___getitem__(self, *args)
def __delitem__(self, *args):
"""__delitem__(IntToStringMap self, std::map< int,std::string >::key_type const & key)"""
return _csnd6.IntToStringMap___delitem__(self, *args)
def has_key(self, *args):
"""has_key(IntToStringMap self, std::map< int,std::string >::key_type const & key) -> bool"""
return _csnd6.IntToStringMap_has_key(self, *args)
def keys(self):
"""keys(IntToStringMap self) -> PyObject *"""
return _csnd6.IntToStringMap_keys(self)
def values(self):
"""values(IntToStringMap self) -> PyObject *"""
return _csnd6.IntToStringMap_values(self)
def items(self):
"""items(IntToStringMap self) -> PyObject *"""
return _csnd6.IntToStringMap_items(self)
def __contains__(self, *args):
"""__contains__(IntToStringMap self, std::map< int,std::string >::key_type const & key) -> bool"""
return _csnd6.IntToStringMap___contains__(self, *args)
def key_iterator(self):
"""key_iterator(IntToStringMap self) -> SwigPyIterator"""
return _csnd6.IntToStringMap_key_iterator(self)
def value_iterator(self):
"""value_iterator(IntToStringMap self) -> SwigPyIterator"""
return _csnd6.IntToStringMap_value_iterator(self)
def __setitem__(self, *args):
"""
__setitem__(IntToStringMap self, std::map< int,std::string >::key_type const & key)
__setitem__(IntToStringMap self, std::map< int,std::string >::key_type const & key, std::map< int,std::string >::mapped_type const & x)
"""
return _csnd6.IntToStringMap___setitem__(self, *args)
def asdict(self):
"""asdict(IntToStringMap self) -> PyObject *"""
return _csnd6.IntToStringMap_asdict(self)
def __init__(self, *args):
"""
__init__(std::map<(int,std::string)> self, std::less< int > const & arg2) -> IntToStringMap
__init__(std::map<(int,std::string)> self) -> IntToStringMap
__init__(std::map<(int,std::string)> self, IntToStringMap arg2) -> IntToStringMap
"""
this = _csnd6.new_IntToStringMap(*args)
try: self.this.append(this)
except: self.this = this
def empty(self):
"""empty(IntToStringMap self) -> bool"""
return _csnd6.IntToStringMap_empty(self)
def size(self):
"""size(IntToStringMap self) -> std::map< int,std::string >::size_type"""
return _csnd6.IntToStringMap_size(self)
def clear(self):
"""clear(IntToStringMap self)"""
return _csnd6.IntToStringMap_clear(self)
def swap(self, *args):
"""swap(IntToStringMap self, IntToStringMap v)"""
return _csnd6.IntToStringMap_swap(self, *args)
def get_allocator(self):
"""get_allocator(IntToStringMap self) -> std::map< int,std::string >::allocator_type"""
return _csnd6.IntToStringMap_get_allocator(self)
def begin(self):
"""begin(IntToStringMap self) -> std::map< int,std::string >::iterator"""
return _csnd6.IntToStringMap_begin(self)
def end(self):
"""end(IntToStringMap self) -> std::map< int,std::string >::iterator"""
return _csnd6.IntToStringMap_end(self)
def rbegin(self):
"""rbegin(IntToStringMap self) -> std::map< int,std::string >::reverse_iterator"""
return _csnd6.IntToStringMap_rbegin(self)
def rend(self):
"""rend(IntToStringMap self) -> std::map< int,std::string >::reverse_iterator"""
return _csnd6.IntToStringMap_rend(self)
def count(self, *args):
"""count(IntToStringMap self, std::map< int,std::string >::key_type const & x) -> std::map< int,std::string >::size_type"""
return _csnd6.IntToStringMap_count(self, *args)
def erase(self, *args):
"""
erase(IntToStringMap self, std::map< int,std::string >::key_type const & x) -> std::map< int,std::string >::size_type
erase(IntToStringMap self, std::map< int,std::string >::iterator position)
erase(IntToStringMap self, std::map< int,std::string >::iterator first, std::map< int,std::string >::iterator last)
"""
return _csnd6.IntToStringMap_erase(self, *args)
def find(self, *args):
"""find(IntToStringMap self, std::map< int,std::string >::key_type const & x) -> std::map< int,std::string >::iterator"""
return _csnd6.IntToStringMap_find(self, *args)
def lower_bound(self, *args):
"""lower_bound(IntToStringMap self, std::map< int,std::string >::key_type const & x) -> std::map< int,std::string >::iterator"""
return _csnd6.IntToStringMap_lower_bound(self, *args)
def upper_bound(self, *args):
"""upper_bound(IntToStringMap self, std::map< int,std::string >::key_type const & x) -> std::map< int,std::string >::iterator"""
return _csnd6.IntToStringMap_upper_bound(self, *args)
__swig_destroy__ = _csnd6.delete_IntToStringMap
__del__ = lambda self : None;
IntToStringMap_swigregister = _csnd6.IntToStringMap_swigregister
IntToStringMap_swigregister(IntToStringMap)
def gatherArgs(*args):
"""gatherArgs(int argc, char const ** argv, std::string & commandLine)"""
return _csnd6.gatherArgs(*args)
def scatterArgs(*args):
"""
scatterArgs(std::string const commandLine, std::vector< std::string,std::allocator< std::string > > & args,
std::vector< char *,std::allocator< char * > > & argv)
"""
return _csnd6.scatterArgs(*args)
def trim(*args):
"""trim(std::string & value) -> std::string &"""
return _csnd6.trim(*args)
def trimQuotes(*args):
"""trimQuotes(std::string & value) -> std::string &"""
return _csnd6.trimQuotes(*args)
def parseInstrument(*args):
"""
parseInstrument(std::string const & definition, std::string & preNumber, std::string & id, std::string & name,
std::string & postNumber) -> bool
"""
return _csnd6.parseInstrument(*args)
class CsoundFile(_object):
"""Proxy of C++ CsoundFile class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CsoundFile, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CsoundFile, name)
__repr__ = _swig_repr
__swig_setmethods__["libraryFilename"] = _csnd6.CsoundFile_libraryFilename_set
__swig_getmethods__["libraryFilename"] = _csnd6.CsoundFile_libraryFilename_get
if _newclass:libraryFilename = _swig_property(_csnd6.CsoundFile_libraryFilename_get, _csnd6.CsoundFile_libraryFilename_set)
__swig_setmethods__["arrangement"] = _csnd6.CsoundFile_arrangement_set
__swig_getmethods__["arrangement"] = _csnd6.CsoundFile_arrangement_get
if _newclass:arrangement = _swig_property(_csnd6.CsoundFile_arrangement_get, _csnd6.CsoundFile_arrangement_set)
def __init__(self):
"""__init__(CsoundFile self) -> CsoundFile"""
this = _csnd6.new_CsoundFile()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CsoundFile
__del__ = lambda self : None;
def generateFilename(self):
"""generateFilename(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_generateFilename(self)
def getFilename(self):
"""getFilename(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getFilename(self)
def setFilename(self, *args):
"""setFilename(CsoundFile self, std::string name)"""
return _csnd6.CsoundFile_setFilename(self, *args)
def load(self, *args):
"""
load(CsoundFile self, std::string filename) -> int
load(CsoundFile self, std::istream & stream) -> int
"""
return _csnd6.CsoundFile_load(self, *args)
def save(self, *args):
"""
save(CsoundFile self, std::string filename) -> int
save(CsoundFile self, std::ostream & stream) -> int
"""
return _csnd6.CsoundFile_save(self, *args)
def importFile(self, *args):
"""
importFile(CsoundFile self, std::string filename) -> int
importFile(CsoundFile self, std::istream & stream) -> int
"""
return _csnd6.CsoundFile_importFile(self, *args)
def importCommand(self, *args):
"""importCommand(CsoundFile self, std::istream & stream) -> int"""
return _csnd6.CsoundFile_importCommand(self, *args)
def exportCommand(self, *args):
"""exportCommand(CsoundFile self, std::ostream & stream) -> int"""
return _csnd6.CsoundFile_exportCommand(self, *args)
def importOrchestra(self, *args):
"""importOrchestra(CsoundFile self, std::istream & stream) -> int"""
return _csnd6.CsoundFile_importOrchestra(self, *args)
def exportOrchestra(self, *args):
"""exportOrchestra(CsoundFile self, std::ostream & stream) -> int"""
return _csnd6.CsoundFile_exportOrchestra(self, *args)
def importScore(self, *args):
"""importScore(CsoundFile self, std::istream & stream) -> int"""
return _csnd6.CsoundFile_importScore(self, *args)
def exportScore(self, *args):
"""exportScore(CsoundFile self, std::ostream & stream) -> int"""
return _csnd6.CsoundFile_exportScore(self, *args)
def importArrangement(self, *args):
"""importArrangement(CsoundFile self, std::istream & stream) -> int"""
return _csnd6.CsoundFile_importArrangement(self, *args)
def exportArrangement(self, *args):
"""exportArrangement(CsoundFile self, std::ostream & stream) -> int"""
return _csnd6.CsoundFile_exportArrangement(self, *args)
def exportArrangementForPerformance(self, *args):
"""
exportArrangementForPerformance(CsoundFile self, std::string filename) -> int
exportArrangementForPerformance(CsoundFile self, std::ostream & stream) -> int
"""
return _csnd6.CsoundFile_exportArrangementForPerformance(self, *args)
def importMidifile(self, *args):
"""importMidifile(CsoundFile self, std::istream & stream) -> int"""
return _csnd6.CsoundFile_importMidifile(self, *args)
def exportMidifile(self, *args):
"""exportMidifile(CsoundFile self, std::ostream & stream) -> int"""
return _csnd6.CsoundFile_exportMidifile(self, *args)
def getCommand(self):
"""getCommand(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getCommand(self)
def setCommand(self, *args):
"""setCommand(CsoundFile self, std::string commandLine)"""
return _csnd6.CsoundFile_setCommand(self, *args)
def getOrcFilename(self):
"""getOrcFilename(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getOrcFilename(self)
def getScoFilename(self):
"""getScoFilename(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getScoFilename(self)
def getMidiFilename(self):
"""getMidiFilename(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getMidiFilename(self)
def getOutputSoundfileName(self):
"""getOutputSoundfileName(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getOutputSoundfileName(self)
def getOrchestra(self):
"""getOrchestra(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getOrchestra(self)
def setOrchestra(self, *args):
"""setOrchestra(CsoundFile self, std::string orchestra)"""
return _csnd6.CsoundFile_setOrchestra(self, *args)
def getInstrumentCount(self):
"""getInstrumentCount(CsoundFile self) -> int"""
return _csnd6.CsoundFile_getInstrumentCount(self)
def getOrchestraHeader(self):
"""getOrchestraHeader(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getOrchestraHeader(self)
def getInstrument(self, *args):
"""
getInstrument(CsoundFile self, int number, std::string & definition) -> bool
getInstrument(CsoundFile self, std::string name, std::string & definition) -> bool
getInstrument(CsoundFile self, std::string name) -> std::string
getInstrument(CsoundFile self, int number) -> std::string
"""
return _csnd6.CsoundFile_getInstrument(self, *args)
def getInstrumentBody(self, *args):
"""
getInstrumentBody(CsoundFile self, std::string name) -> std::string
getInstrumentBody(CsoundFile self, int number) -> std::string
"""
return _csnd6.CsoundFile_getInstrumentBody(self, *args)
def getInstrumentNames(self):
"""getInstrumentNames(CsoundFile self) -> IntToStringMap"""
return _csnd6.CsoundFile_getInstrumentNames(self)
def getInstrumentNumber(self, *args):
"""getInstrumentNumber(CsoundFile self, std::string name) -> double"""
return _csnd6.CsoundFile_getInstrumentNumber(self, *args)
def getScore(self):
"""getScore(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getScore(self)
def setScore(self, *args):
"""setScore(CsoundFile self, std::string score)"""
return _csnd6.CsoundFile_setScore(self, *args)
def getArrangementCount(self):
"""getArrangementCount(CsoundFile self) -> int"""
return _csnd6.CsoundFile_getArrangementCount(self)
def getArrangement(self, *args):
"""getArrangement(CsoundFile self, int index) -> std::string"""
return _csnd6.CsoundFile_getArrangement(self, *args)
def addArrangement(self, *args):
"""addArrangement(CsoundFile self, std::string instrument)"""
return _csnd6.CsoundFile_addArrangement(self, *args)
def setArrangement(self, *args):
"""setArrangement(CsoundFile self, int index, std::string instrument)"""
return _csnd6.CsoundFile_setArrangement(self, *args)
def insertArrangement(self, *args):
"""insertArrangement(CsoundFile self, int index, std::string instrument)"""
return _csnd6.CsoundFile_insertArrangement(self, *args)
def setCSD(self, *args):
"""setCSD(CsoundFile self, std::string xml)"""
return _csnd6.CsoundFile_setCSD(self, *args)
def getCSD(self):
"""getCSD(CsoundFile self) -> std::string"""
return _csnd6.CsoundFile_getCSD(self)
def addScoreLine(self, *args):
"""addScoreLine(CsoundFile self, std::string const line)"""
return _csnd6.CsoundFile_addScoreLine(self, *args)
def addNote(self, *args):
"""
addNote(CsoundFile self, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8,
double p9, double p10, double p11)
addNote(CsoundFile self, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8,
double p9, double p10)
addNote(CsoundFile self, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8,
double p9)
addNote(CsoundFile self, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8)
addNote(CsoundFile self, double p1, double p2, double p3, double p4, double p5, double p6, double p7)
addNote(CsoundFile self, double p1, double p2, double p3, double p4, double p5, double p6)
addNote(CsoundFile self, double p1, double p2, double p3, double p4, double p5)
addNote(CsoundFile self, double p1, double p2, double p3, double p4)
addNote(CsoundFile self, double p1, double p2, double p3)
"""
return _csnd6.CsoundFile_addNote(self, *args)
def exportForPerformance(self):
"""exportForPerformance(CsoundFile self) -> bool"""
return _csnd6.CsoundFile_exportForPerformance(self)
def removeAll(self):
"""removeAll(CsoundFile self)"""
return _csnd6.CsoundFile_removeAll(self)
def removeCommand(self):
"""removeCommand(CsoundFile self)"""
return _csnd6.CsoundFile_removeCommand(self)
def removeOrchestra(self):
"""removeOrchestra(CsoundFile self)"""
return _csnd6.CsoundFile_removeOrchestra(self)
def removeScore(self):
"""removeScore(CsoundFile self)"""
return _csnd6.CsoundFile_removeScore(self)
def removeArrangement(self, *args):
"""
removeArrangement(CsoundFile self, int index)
removeArrangement(CsoundFile self)
"""
return _csnd6.CsoundFile_removeArrangement(self, *args)
def removeMidifile(self):
"""removeMidifile(CsoundFile self)"""
return _csnd6.CsoundFile_removeMidifile(self)
def loadOrcLibrary(self, filename=None):
"""
loadOrcLibrary(CsoundFile self, char const * filename=None) -> bool
loadOrcLibrary(CsoundFile self) -> bool
"""
return _csnd6.CsoundFile_loadOrcLibrary(self, filename)
CsoundFile_swigregister = _csnd6.CsoundFile_swigregister
CsoundFile_swigregister(CsoundFile)
class MyfltVector(_object):
"""Proxy of C++ std::vector<(double)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, MyfltVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MyfltVector, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(MyfltVector self) -> SwigPyIterator"""
return _csnd6.MyfltVector_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self):
"""__nonzero__(MyfltVector self) -> bool"""
return _csnd6.MyfltVector___nonzero__(self)
def __bool__(self):
"""__bool__(MyfltVector self) -> bool"""
return _csnd6.MyfltVector___bool__(self)
def __len__(self):
"""__len__(MyfltVector self) -> std::vector< double >::size_type"""
return _csnd6.MyfltVector___len__(self)
def pop(self):
"""pop(MyfltVector self) -> std::vector< double >::value_type"""
return _csnd6.MyfltVector_pop(self)
def __getslice__(self, *args):
"""__getslice__(MyfltVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> MyfltVector"""
return _csnd6.MyfltVector___getslice__(self, *args)
def __setslice__(self, *args):
"""
__setslice__(MyfltVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j,
MyfltVector v=std::vector< double,std::allocator< double > >())
__setslice__(MyfltVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
"""
return _csnd6.MyfltVector___setslice__(self, *args)
def __delslice__(self, *args):
"""__delslice__(MyfltVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
return _csnd6.MyfltVector___delslice__(self, *args)
def __delitem__(self, *args):
"""
__delitem__(MyfltVector self, std::vector< double >::difference_type i)
__delitem__(MyfltVector self, PySliceObject * slice)
"""
return _csnd6.MyfltVector___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(MyfltVector self, PySliceObject * slice) -> MyfltVector
__getitem__(MyfltVector self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
"""
return _csnd6.MyfltVector___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(MyfltVector self, PySliceObject * slice, MyfltVector v)
__setitem__(MyfltVector self, PySliceObject * slice)
__setitem__(MyfltVector self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
"""
return _csnd6.MyfltVector___setitem__(self, *args)
def append(self, *args):
"""append(MyfltVector self, std::vector< double >::value_type const & x)"""
return _csnd6.MyfltVector_append(self, *args)
def empty(self):
"""empty(MyfltVector self) -> bool"""
return _csnd6.MyfltVector_empty(self)
def size(self):
"""size(MyfltVector self) -> std::vector< double >::size_type"""
return _csnd6.MyfltVector_size(self)
def clear(self):
"""clear(MyfltVector self)"""
return _csnd6.MyfltVector_clear(self)
def swap(self, *args):
"""swap(MyfltVector self, MyfltVector v)"""
return _csnd6.MyfltVector_swap(self, *args)
def get_allocator(self):
"""get_allocator(MyfltVector self) -> std::vector< double >::allocator_type"""
return _csnd6.MyfltVector_get_allocator(self)
def begin(self):
"""begin(MyfltVector self) -> std::vector< double >::iterator"""
return _csnd6.MyfltVector_begin(self)
def end(self):
"""end(MyfltVector self) -> std::vector< double >::iterator"""
return _csnd6.MyfltVector_end(self)
def rbegin(self):
"""rbegin(MyfltVector self) -> std::vector< double >::reverse_iterator"""
return _csnd6.MyfltVector_rbegin(self)
def rend(self):
"""rend(MyfltVector self) -> std::vector< double >::reverse_iterator"""
return _csnd6.MyfltVector_rend(self)
def pop_back(self):
"""pop_back(MyfltVector self)"""
return _csnd6.MyfltVector_pop_back(self)
def erase(self, *args):
"""
erase(MyfltVector self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
erase(MyfltVector self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
"""
return _csnd6.MyfltVector_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(double)> self) -> MyfltVector
__init__(std::vector<(double)> self, MyfltVector arg2) -> MyfltVector
__init__(std::vector<(double)> self, std::vector< double >::size_type size) -> MyfltVector
__init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> MyfltVector
"""
this = _csnd6.new_MyfltVector(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args):
"""push_back(MyfltVector self, std::vector< double >::value_type const & x)"""
return _csnd6.MyfltVector_push_back(self, *args)
def front(self):
"""front(MyfltVector self) -> std::vector< double >::value_type const &"""
return _csnd6.MyfltVector_front(self)
def back(self):
"""back(MyfltVector self) -> std::vector< double >::value_type const &"""
return _csnd6.MyfltVector_back(self)
def assign(self, *args):
"""assign(MyfltVector self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
return _csnd6.MyfltVector_assign(self, *args)
def resize(self, *args):
"""
resize(MyfltVector self, std::vector< double >::size_type new_size)
resize(MyfltVector self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
"""
return _csnd6.MyfltVector_resize(self, *args)
def insert(self, *args):
"""
insert(MyfltVector self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
insert(MyfltVector self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
"""
return _csnd6.MyfltVector_insert(self, *args)
def reserve(self, *args):
"""reserve(MyfltVector self, std::vector< double >::size_type n)"""
return _csnd6.MyfltVector_reserve(self, *args)
def capacity(self):
"""capacity(MyfltVector self) -> std::vector< double >::size_type"""
return _csnd6.MyfltVector_capacity(self)
__swig_destroy__ = _csnd6.delete_MyfltVector
__del__ = lambda self : None;
MyfltVector_swigregister = _csnd6.MyfltVector_swigregister
MyfltVector_swigregister(MyfltVector)
class CppSound(Csound,CsoundFile):
"""Proxy of C++ CppSound class"""
__swig_setmethods__ = {}
for _s in [Csound,CsoundFile]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, CppSound, name, value)
__swig_getmethods__ = {}
for _s in [Csound,CsoundFile]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, CppSound, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(CppSound self) -> CppSound"""
this = _csnd6.new_CppSound()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _csnd6.delete_CppSound
__del__ = lambda self : None;
def getCsound(self):
"""getCsound(CppSound self) -> CSOUND *"""
return _csnd6.CppSound_getCsound(self)
def getThis(self):
"""getThis(CppSound self) -> long"""
return _csnd6.CppSound_getThis(self)
def getCsoundFile(self):
"""getCsoundFile(CppSound self) -> CsoundFile"""
return _csnd6.CppSound_getCsoundFile(self)
def compile(self, *args):
"""
compile(CppSound self, int argc, char ** argv) -> int
compile(CppSound self) -> int
"""
return _csnd6.CppSound_compile(self, *args)
def getSpoutSize(self):
"""getSpoutSize(CppSound self) -> size_t"""
return _csnd6.CppSound_getSpoutSize(self)
def getOutputSoundfileName(self):
"""getOutputSoundfileName(CppSound self) -> std::string"""
return _csnd6.CppSound_getOutputSoundfileName(self)
def perform(self, *args):
"""
perform(CppSound self, int argc, char ** argv) -> int
perform(CppSound self) -> int
"""
return _csnd6.CppSound_perform(self, *args)
def performKsmps(self):
"""performKsmps(CppSound self) -> int"""
return _csnd6.CppSound_performKsmps(self)
def cleanup(self):
"""cleanup(CppSound self)"""
return _csnd6.CppSound_cleanup(self)
def inputMessage(self, *args):
"""inputMessage(CppSound self, char const * istatement)"""
return _csnd6.CppSound_inputMessage(self, *args)
def write(self, *args):
"""write(CppSound self, char const * text)"""
return _csnd6.CppSound_write(self, *args)
def getIsCompiled(self):
"""getIsCompiled(CppSound self) -> bool"""
return _csnd6.CppSound_getIsCompiled(self)
def setIsPerforming(self, *args):
"""setIsPerforming(CppSound self, bool isPerforming)"""
return _csnd6.CppSound_setIsPerforming(self, *args)
def getIsPerforming(self):
"""getIsPerforming(CppSound self) -> bool"""
return _csnd6.CppSound_getIsPerforming(self)
def getIsGo(self):
"""getIsGo(CppSound self) -> bool"""
return _csnd6.CppSound_getIsGo(self)
def stop(self):
"""stop(CppSound self)"""
return _csnd6.CppSound_stop(self)
def setPythonMessageCallback(self):
"""setPythonMessageCallback(CppSound self)"""
return _csnd6.CppSound_setPythonMessageCallback(self)
CppSound_swigregister = _csnd6.CppSound_swigregister
CppSound_swigregister(CppSound)
# This file is compatible with both classic and new-style classes.
|