2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
30
31
35#if __cplusplus
< 201103L
46
47
48
49#define VST_FUNCTION_INTERFACE __cdecl
52
53
54
55
56#define VST_MAX_CHANNELS 32
59
60#define VST_FOURCC(a,b,c,d) ((((uint32_t)a) << 24
) | (((uint32_t)b) << 16
) | (((uint32_t)c) << 8
) | (((uint32_t)d) << 0
))
63
66
67
68
69
70
80
81
82
83
84
94
95
96
97
98
107
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
142
143
144
151
152
153
171
172
181
182
183
376
377
378
384
385
386
397
398
401
402
403
409
410
411
417
418
419
425
426
427
433
434
435
441
442
443
449
450
451
460
461
462
465
466
467
468
469
470
474
475
476
477
478
479
480
484
485
486
487
488
489
490
494
495
496
500
501
502
506
507
508
509
513
514
515
516
520
521
522
523
527
528
529
530
534
535
536
537
541
542
543
544
545
546
550
551
552
553
554
558 uint16_t _unknown_00;
561
562
563
564
576
577
578
638
641
642
643
644
648
649
650
651
655
656
657
658
665
666
667
668
672
673
674
675
676
677
681 uint8_t _reserved[28];
685
686
687
690
691
692
696
700
704
708
712
713
714
718
719
720
724
725
726
734
737
738
742
743
744
748
749
750
760
764
765
766
771
772
773
780
784
785
789
790
794
798 uint8_t _reserved[48];
806
807
808
811
812
813
819
820
821
830
834
838
839
840
841
846
847
848
849
850
851
852
853
854
857
858
862
863
864
865
866
867
868
872
873
874
882
883
884
885
886
887
888
889
899
900
901
902
903
907
911
915
916
917
921
922
923
927
928
929
930
939
940
941
942
943
944
945
946
947
948
958
965
966
967
976
977
978
979
980
981
982
983
984
987
991 int32_t _reserved_00;
994
995
996
1008
1009
1012
1016
1020
1024
1025
1026
1027
1031
1035 VST_HOST_ACTIVE_THREAD_MAX,
1037 _VST_HOST_ACTIVE_THREAD_PAD = (-1l)
1041
1042
1043
1046
1047
1048
1049
1050
1051
1052
1060
1061
1062
1068
1069
1070
1071
1072
1078
1079
1080
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1133
1134
1135
1136
1137
1138
1139
1140
1141
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1165
1166
1167
1168
1169
1170
1176
1177
1178
1179
1180
1181
1187
1188
1189
1190
1191
1197
1198
1199
1200
1201
1207
1208
1209
1210
1211
1212
1220
1221
1222
1223
1224
1225
1236
1237
1238
1239
1240
1241
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1285
1286
1287
1293
1294
1295
1301
1302
1303
1309
1310
1319
1320
1321
1322
1328
1329
1330
1336
1337
1341
1342
1346
1347
1348
1349
1350
1351
1357
1358
1359
1360
1361
1373
1374
1375
1376
1377
1385
1386
1387
1388
1389
1390
1391
1399
1400
1408
1409
1413
1414
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1452 VST_HOST_OPCODE_MAX,
1455 _VST_HOST_OPCODE_PAD = (-1l)
1458#if (__STDC_VERSION__ >= 199901L
) || (__cplusplus
>= 202002L
)
1460
1461
1462
1463
1464
1465struct vst_host_supports_t {
1467
1468
1469
1470
1471
1472
1473
1474
1475 const char* acceptIOChanges;
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488 const char* startStopProcess;
1491
1492
1493
1494
1495
1496
1497 const char* shellCategory;
1500
1501
1502
1503
1504 const char* sizeWindow;
1507
1508
1509
1510
1511
1512 const char* sendVstEvents;
1515
1516
1517
1518
1519
1520 const char* receiveVstEvents;
1523
1524
1525
1526
1527
1528
1529
1530 const char* sendVstMidiEvent;
1533
1534
1535
1536
1537
1538
1539
1540 const char* receiveVstMidiEvent;
1543
1544
1545
1546
1547
1548
1549
1550 const char* sendVstMidiEventFlagIsRealtime;
1552 const char* sendVstTimeInfo;
1553 const char* reportConnectionChanges;
1555 const char* offline;
1557 const char* editFile;
1558 const char* openFileSelector;
1559 const char* closeFileSelector;
1560} vst_host_supports = {
1561 .acceptIOChanges =
"acceptIOChanges",
1562 .startStopProcess =
"startStopProcess",
1563 .shellCategory =
"shellCategory",
1564 .sizeWindow =
"sizeWindow",
1565 .sendVstEvents =
"sendVstEvents",
1566 .receiveVstEvents =
"receiveVstEvents",
1567 .sendVstMidiEvent =
"sendVstMidiEvent",
1568 .receiveVstMidiEvent =
"receiveVstMidiEvent",
1569 .sendVstMidiEventFlagIsRealtime =
"sendVstMidiEventFlagIsRealtime",
1570 .sendVstTimeInfo =
"sendVstTimeInfo",
1571 .reportConnectionChanges =
"reportConnectionChanges",
1572 .offline =
"offline",
1573 .editFile =
"editFile",
1574 .openFileSelector =
"openFileSelector",
1575 .closeFileSelector =
"closeFileSelector",
1580
1581
1582
1583
1584
1585
1586
1594
1595
1596
1600
1601
1602
1603
1604#define VST_DEFAULT_SAMPLE_RATE 44100.0f
1607
1608
1609
1610
1611#define VST_DEFAULT_BLOCK_SIZE 1024
1614
1615
1616
1617
1622
1623
1624
1625
1631
1632
1633
1634
1640
1641
1642
1643
1644
1650
1651
1652
1653
1659
1660
1661
1662
1668
1669
1670
1671
1677
1678
1679
1680
1686
1687
1688
1689
1690
1696
1697
1698
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
1786
1787
1788
1789
1790
1791
1792
1798 VST_EFFECT_CATEGORY_MAX,
1801 _VST_EFFECT_CATEGORY_PAD = (-1l)
1805
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1835
1836
1837
1838
1839
1845
1846
1847
1848
1849
1858
1859
1860
1861
1867
1868
1869
1870
1871
1880
1881
1882
1883
1884
1885
1892
1893
1896
1897
1898
1906
1907
1908
1909
1910
1916
1917
1918
1926
1927
1928
1936
1937
1938
1946
1947
1948
1956
1957
1958
1959
1960
1970
1971
1972
1973
1974
1986
1987
1988
1989
1990
2000
2001
2002
2003
2007
2008
2009
2017
2018
2019
2027
2028
2029
2030
2031
2032
2033
2043
2044
2045
2046
2047
2057
2058
2059
2060
2068
2069
2070
2078
2079
2080
2081
2082
2083
2084
2085
2086
2094
2095
2096
2097
2098
2099
2100
2101
2102
2110
2111
2112
2113
2114
2115
2116
2117
2118
2126
2127
2128
2134
2135
2136
2137
2138
2139
2140
2144
2145
2146
2147
2148
2149
2150
2154
2155
2156
2157
2158
2164
2165
2166
2167
2168
2169
2170
2171
2172
2178
2179
2180
2181
2182
2183
2184
2185
2186
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2215
2216
2217
2218
2219
2229
2230
2231
2232
2233
2234
2242
2243
2244
2245
2246
2250
2251
2252
2253
2254
2258
2259
2260
2261
2262
2266
2267
2268
2269
2270
2274
2275
2276
2277
2278
2282
2283
2284
2285
2286
2287
2295
2296
2297
2298
2299
2300
2308
2309
2310
2311
2319
2320
2321
2322
2323
2327
2328
2329
2330
2331
2335
2336
2337
2338
2339
2343
2344
2345
2346
2347
2351
2352
2353
2354
2355
2359
2360
2361
2362
2363
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2383
2384
2388
2389
2390
2391
2392
2393
2399
2400
2401
2402
2403
2404
2414
2415
2416
2417
2418
2419
2420
2426
2427
2428
2429
2437
2438
2439
2440
2448
2449
2450
2451
2459
2460
2461
2462
2463
2464
2470
2471
2472
2473
2474
2475
2481
2482
2483
2484
2485
2493
2494
2495
2496
2497
2498
2504
2505
2506
2507
2508
2509
2513
2514
2515
2516
2517
2518
2522
2523
2524
2525
2526
2527
2535
2536
2537
2538
2539
2543
2544
2545
2546
2547
2557
2558
2559
2560
2561
2562
2563
2569
2570
2571
2572
2573
2574
2575
2581
2582
2583
2584
2585
2589
2590
2591
2592
2593
2597
2598
2599
2600
2601
2605
2606
2607
2608
2609
2613
2614
2615
2616
2617
2621
2622
2623
2624
2625
2629
2630
2631
2632
2633
2639
2640
2641
2642
2643
2653
2654
2655
2656
2657
2658
2664
2665
2666
2667
2668
2669
2670
2671
2677
2678
2679
2680
2686
2687
2688
2689
2695
2696
2697
2698
2699
2703
2704
2705
2706
2707
2708
2709
2713
2714
2715
2716
2717
2718
2719
2720
2726
2727
2728
2729
2730
2731
2732
2733
2743
2744
2745
2746
2747
2751
2752
2753
2754
2755
2759
2760
2761
2762
2763
2767 VST_EFFECT_OPCODE_MAX,
2770 _VST_EFFECT_OPCODE_PAD = (-1l)
2773#if (__STDC_VERSION__ >= 199901L
) || (__cplusplus
>= 202002L
)
2775
2776
2777
2778
2779
2780
2781
2782struct vst_effect_supports_t {
2784
2785
2786
2787
2788
2789
2790
2794
2795
2796
2797
2798
2799 const char* sendVstEvents;
2802
2803
2804
2805
2806
2807 const char* receiveVstEvents;
2810
2811
2812
2813
2814
2815
2816
2817 const char* sendVstMidiEvent;
2820
2821
2822
2823
2824
2825
2826
2827 const char* receiveVstMidiEvent;
2830
2831
2832
2833
2834
2835
2836
2837 const char* conformsToWindowRules;
2839 const char* midiProgramNames;
2840 const char* receiveVstTimeInfo;
2841 const char* offline;
2843 const char* plugAsChannelInsert;
2844 const char* plugAsSend;
2845 const char* mixDryWet;
2846 const char* noRealTime;
2847 const char* multipass;
2848 const char* metapass;
2849 const char* _1in1out;
2850 const char* _1in2out;
2851 const char* _2in1out;
2852 const char* _2in2out;
2853 const char* _2in4out;
2854 const char* _4in2out;
2855 const char* _4in4out;
2856 const char* _4in8out;
2857 const char* _8in4out;
2858 const char* _8in8out;
2859} vst_effect_supports = {
2861 .sendVstEvents =
"sendVstEvents",
2862 .receiveVstEvents =
"receiveVstEvents",
2863 .sendVstMidiEvent =
"sendVstMidiEvent",
2864 .receiveVstMidiEvent =
"receiveVstMidiEvent",
2865 .conformsToWindowRules =
"conformsToWindowRules",
2866 .midiProgramNames =
"midiProgramNames",
2867 .receiveVstTimeInfo =
"receiveVstTimeInfo",
2868 .offline =
"offline",
2869 .plugAsChannelInsert =
"plugAsChannelInsert",
2870 .plugAsSend =
"plugAsSend",
2871 .mixDryWet =
"mixDryWet",
2872 .noRealTime =
"noRealTime",
2873 .multipass =
"multipass",
2874 .metapass =
"metapass",
2875 ._1in1out =
"1in1out",
2876 ._1in2out =
"1in2out",
2877 ._2in1out =
"2in1out",
2878 ._2in2out =
"2in2out",
2879 ._2in4out =
"2in4out",
2880 ._4in2out =
"4in2out",
2881 ._4in4out =
"4in4out",
2882 ._4in8out =
"4in8out",
2883 ._8in4out =
"8in4out",
2884 ._8in8out =
"8in8out",
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2902
2903
2904
2905
2906
2907
2908
2909
2913
2914
2915
2916
2917
2921
2922
2923
2924
2925
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2955
2958
2959
2960
2961
2962
2966
2967
2968
2972
2973
2974
2975
2979
2980
2984
2985
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3004
3005
3006
3007
3011
3012
3013
3014
3015
3016
3020
3021
3022
3023
3024
3028
3029
3030
3040
3041
3042
3043
3044
3045
3055
3056
3057
3058
3059
3060
3061
3065
3066
3067
3068
3072
3073
3074
3075
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3092
3093
3094
3102
3103
3104
3112
3113
3114
3122
3123
3124
3125
3126
3127#define VST_ENTRYPOINT
3128 vst_effect_t* VSTPluginMain(vst_host_callback_t callback)
3131
3132
3133
3134
3135
3136#define VST_ENTRYPOINT_WINDOWS
3137 vst_effect_t* MAIN(vst_host_callback_t callback) { return VSTPluginMain(callback); }
3140
3141
3142
3143
3144
3145#define VST_ENTRYPOINT_MACOS
3146 vst_effect_t* main_macho(vst_host_callback_t callback) { return VSTPluginMain(callback); }
3149
3150
3151
3152
3153
3154#define VST_ENTRYPOINT_MACOS_POWERPC
3155 vst_effect_t* main(vst_host_callback_t callback) { return VSTPluginMain(callback); }
Plug-in Effect definition.
int32_t num_outputs
Number of available output streams.
int32_t magic_number
VST Magic Number.
vst_effect_process_double_t process_double
Process function for in-place double (64-bit float) processiong.
int32_t unique_id
Id of the plugin.
vst_effect_process_t process
Process Function.
int32_t flags
Effect Flags.
float input_output_ratio
Ratio of Input to Output production Defines how much output data is produced relative to input data w...
int32_t num_programs
Number of available pre-defined programs.
vst_effect_process_float_t process_float
Process function for in-place single (32-bit float) processiong.
int32_t version
Plugin version.
void * host_internal
Host Internal Pointer.
vst_effect_set_parameter_t set_parameter
Set Parameter Function.
int32_t num_params
Number of available parameters.
void * effect_internal
Effect Internal Pointer.
vst_effect_get_parameter_t get_parameter
Get Parameter Function.
int32_t delay
Initial delay before processing of samples can actually begin in Samples.
int32_t num_inputs
Number of available input streams.
vst_effect_control_t control
Control Function.
int32_t type
What event type was triggered? Any of VST_EVENT_TYPE.
int32_t offset
Offset of the event relative to some position.
int32_t size
Content size in bytes.
struct vst_event_t ** events
An array of pointers to valid vst_event_t structures.
int32_t count
Number of events stored in vst_events_t::events.
Information about a parameter.
char label[VST_BUFFER_SIZE_PARAM_LABEL]
Short Human-readable label for this parameter.
char category_label[VST_BUFFER_SIZE_CATEGORY_LABEL]
Human-readable name for the category this parameter is in.
uint32_t flags
Parameter Flags.
uint16_t category
Category index.
int32_t max_value_i32
Maximum Integer value.
char name[VST_BUFFER_SIZE_PARAM_LONG_NAME]
Human-readable name for this parameter.
float step_f32
Float Step value.
float step_large_f32
Float large step value This is used for "huge" changes.
int32_t step_i32
Integer Step value.
uint16_t index
Display order index.
int32_t min_value_i32
Minimum Integer value.
float step_small_f32
Float small step value This is used for "tiny" changes.
uint16_t num_parameters_in_category
How many parameters are in this category? This allows the plug-in to specify the same category multip...
Speaker arrangement definition.
struct vst_speaker_properties_t speakers[VST_MAX_CHANNELS]
Array of vst_speaker_properties_t with size channels.
int32_t channels
Number of channels used in speakers.
int32_t type
Any of VST_SPEAKER_ARRANGEMENT_TYPE.
int32_t type
The type of the speaker.
float azimuth
Azimuth in Radians Range: -PI (Left) through 0.0 (Right) to PI (Left)
float distance
Distance in Meters range: 0 to +-Infinity.
float altitude
Altitude in Radians Range: -PI/2 (Bottom) to PI/2 (Top)
char name[VST_BUFFER_SIZE_SPEAKER_NAME]
Human readable name for this speaker.
int32_t type
Stream arrangement (optional) See VST_SPEAKER_ARRANGEMENT_TYPE.
int32_t flags
Stream flags Any combination of VST_STREAM_FLAG.
char label[VST_BUFFER_SIZE_STREAM_LABEL]
Human-readable label for this stream.
char name[VST_BUFFER_SIZE_STREAM_NAME]
Human-readable name for this stream.
struct vst_event_t event
Shared event structure.
char * data
Zero terminated buffer of size size.
int32_t size
Size (in bytes) of the SysEx event.
char data[4]
Zero terminated array containing up to 3 bytes of MIDI information.
int32_t is_real_time
Is this note played in real time (played live)? Can only ever be 0 (sequencer) or 1 (live).
int32_t length
Note Length (in samples/frames) of the played note if available.
struct vst_event_t event
Shared event structure.
int8_t tune
Tune (in cents) for anything that isn't the default scale.
int32_t offset
Some kind of offset (in samples/frames).
int8_t velocity
Note velocity.
VST_SPEAKER_ARRANGEMENT_TYPE
Known default speaker arrangements.
@ VST_SPEAKER_ARRANGEMENT_TYPE_7_1
7.1 (Full Surround)
@ VST_SPEAKER_ARRANGEMENT_TYPE_UNKNOWN
Unknown/Empty speaker layout.
@ _VST_SPEAKER_ARRANGEMENT_TYPE_PAD
@ VST_SPEAKER_ARRANGEMENT_TYPE_5_1
5.1 (Old Surround)
@ VST_SPEAKER_ARRANGEMENT_TYPE_CUSTOM
Custom speaker arrangement.
@ VST_SPEAKER_ARRANGEMENT_TYPE_MONO
Mono.
@ VST_SPEAKER_ARRANGEMENT_TYPE_STEREO
Stereo.
@ VST_SPEAKER_ARRANGEMENT_TYPE_5_0
5.0 (Old Surround)
@ VST_SPEAKER_ARRANGEMENT_TYPE_4_0
Quadraphonic.
#define VST_FOURCC(a, b, c, d)
Convert four numbers into a FourCC.
VST_EVENT_TYPE
Available event types.
@ VST_EVENT_TYPE_01
MIDI Event.
@ VST_EVENT_TYPE_00
Invalid event.
@ VST_EVENT_TYPE_MIDI_SYSEX
MIDI SysEx Event.
VST_VERSION
Valid VST 1.x and 2.x versions The format is either a single digit or four digits in Base10 format.
@ VST_VERSION_1_1_0_0
SDK Version 1.1.
@ VST_VERSION_2_1_0_0
SDK Version 2.1.
@ VST_VERSION_2_0_0_0
SDK Version 2.0.
@ VST_VERSION_2
Private SDK Version 2.0.
@ VST_VERSION_2_2_0_0
SDK Version 2.2.
@ VST_VERSION_2_3_0_0
SDK Version 2.3.
@ VST_VERSION_2_4_0_0
SDK Version 2.4.
@ VST_VERSION_1_0_0_0
SDK Version 1.0.
@ VST_VERSION_1
Private SDK Version 1.0.
void(VST_FUNCTION_INTERFACE * vst_effect_process_t)(struct vst_effect_t *self, const float *const *inputs, float **outputs, int32_t samples)
Process the given number of samples in inputs and outputs.
#define VST_MAX_CHANNELS
Maximum number of channels/streams/inputs/outputs supported by VST 2.x Couldn't find any audio editin...
void(VST_FUNCTION_INTERFACE * vst_effect_set_parameter_t)(struct vst_effect_t *self, uint32_t index, float value)
Updates the value for the parameter at the given index, or does nothing if out of bounds.
VST_HOST_OPCODE
Plug-in to Host Op-Codes These Op-Codes are emitted by the plug-in and the host may handle them or re...
@ VST_HOST_OPCODE_LANGUAGE
@ VST_HOST_OPCODE_28
Crash the host if p_ptr isn't nullptr.
@ VST_HOST_OPCODE_EDITOR_UPDATE
@ VST_HOST_OPCODE_CURRENT_EFFECT_ID
@ VST_HOST_OPCODE_PARAM_START_EDIT
@ VST_HOST_OPCODE_PARAM_STOP_EDIT
@ VST_HOST_OPCODE_OUTPUT_STREAM_GET_ATTACHED_EFFECT
@ VST_HOST_OPCODE_EDITOR_RESIZE
@ VST_HOST_OPCODE_0F
Request that the host changes the size of the containing window.
@ VST_HOST_OPCODE_2F
Crash the host depending on what p_ptr is pointing at.
@ VST_HOST_OPCODE_IO_MODIFIED
@ VST_HOST_OPCODE_GET_SAMPLE_RATE
@ VST_HOST_OPCODE_12
Current input latency.
@ VST_HOST_OPCODE_KEEPALIVE_OR_IDLE
@ VST_HOST_OPCODE_OUTPUT_GET_SPEAKER_ARRANGEMENT
@ VST_HOST_OPCODE_27
Crash the host if p_ptr isn't nullptr.
@ VST_HOST_OPCODE_20
Retrieve the vendor name into the ptr buffer.
@ VST_HOST_OPCODE_INPUT_GET_SPEAKER_ARRANGEMENT
@ VST_HOST_OPCODE_OUTPUT_LATENCY
@ VST_HOST_OPCODE_2B
Notify host that a parameter is being edited.
@ VST_HOST_OPCODE_25
Check if the host supports a certain feature.
@ VST_HOST_OPCODE_GET_BLOCK_SIZE
@ VST_HOST_OPCODE_PARAM_LOCK
@ VST_HOST_OPCODE_23
User defined OP Code, for custom interaction.
@ VST_HOST_OPCODE_15
Get which effect is attached to the indexed output stream.
@ VST_HOST_OPCODE_31
Retrieve the hosts input speaker arrangement.
@ VST_HOST_OPCODE_29
Retrieve the directory of the effect that emitted this.
@ VST_HOST_OPCODE_01
Retrieve the Hosts VST Version.
@ VST_HOST_OPCODE_AUTOMATE
@ VST_HOST_OPCODE_INPUT_STREAM_GET_ATTACHED_EFFECT
@ VST_HOST_OPCODE_26
What language is the host in?
@ VST_HOST_OPCODE_11
Get the current block size for the effect.
@ VST_HOST_OPCODE_10
Get the current sample rate the effect should be running at.
@ VST_HOST_OPCODE_GET_ACTIVE_THREAD
@ VST_HOST_OPCODE_2C
Notify host that parameter is no longer being edited.
@ VST_HOST_OPCODE_13
Current output latency.
@ VST_HOST_OPCODE_INPUT_LATENCY
@ VST_HOST_OPCODE_2D
Crash the host depending on what p_ptr is pointing at.
@ VST_HOST_OPCODE_0D
Notify the host that numInputs/numOutputs/delay/numParams has changed.
@ VST_HOST_OPCODE_00
Update automation for a given Parameter.
@ VST_HOST_OPCODE_17
Which thread is the host currently processing this call from? Useful for memory and thread safety sin...
@ VST_HOST_OPCODE_03
Some sort of idle keep-alive?
@ VST_HOST_OPCODE_PRODUCT_NAME
@ VST_HOST_OPCODE_2A
Refresh everything related to the effect that called this.
@ VST_HOST_OPCODE_02
Get the currently selected effect id in container plug-ins.
@ VST_HOST_OPCODE_GET_OUTPUT_SPEAKER_ARRANGEMENT
@ VST_HOST_OPCODE_VENDOR_VERSION
@ VST_HOST_OPCODE_14
Get which effect is attached to the indexed input stream.
@ VST_HOST_OPCODE_VENDOR_NAME
@ VST_HOST_OPCODE_2E
Crash the host depending on what p_ptr is pointing at.
@ VST_HOST_OPCODE_22
Retrieve the vendor version in return value.
@ VST_HOST_OPCODE_GET_INPUT_SPEAKER_ARRANGEMENT
@ VST_HOST_OPCODE_21
Retrieve the product name into the ptr buffer.
@ VST_HOST_OPCODE_VST_VERSION
@ VST_HOST_OPCODE_GET_EFFECT_DIRECTORY
@ VST_HOST_OPCODE_PARAM_UNLOCK
@ VST_HOST_OPCODE_SUPPORTS
@ VST_HOST_OPCODE_PARAM_UPDATE
@ VST_HOST_OPCODE_30
When queried by the plug-in shortly after VST_EFFECT_OPCODE_PROGRAM_LOAD it often crashes compatible ...
@ VST_HOST_OPCODE_1F
Retrieve the hosts output speaker arrangement.
@ VST_HOST_OPCODE_INPUT_GET_ATTACHED_EFFECT
@ VST_HOST_OPCODE_REFRESH
@ VST_HOST_OPCODE_09
Send events from plug-in to host.
@ VST_HOST_OPCODE_OUTPUT_GET_ATTACHED_EFFECT
void(VST_FUNCTION_INTERFACE * vst_effect_process_double_t)(struct vst_effect_t *self, const double *const *inputs, double **outputs, int32_t samples)
Process the given number of double samples in inputs and outputs.
VST_STATUS
Known Status Codes.
@ VST_STATUS_0
Unknown / False We either don't know the answer or we can't handle the data/notification.
@ VST_STATUS_m1
No We're unable to handle the data/notification.
@ VST_STATUS_1
Yes / True We've handled the data/notification.
VST_SPEAKER_TYPE
Default speaker types.
@ VST_SPEAKER_TYPE_RIGHT_REAR
Rear/Surround Right.
@ VST_SPEAKER_TYPE_RIGHT
(Front) Right
@ VST_SPEAKER_TYPE_CENTER
(Front) Center
@ VST_SPEAKER_TYPE_LFE
LFE / Subwoofer.
@ VST_SPEAKER_TYPE_USER_09
@ VST_SPEAKER_TYPE_USER_25
@ VST_SPEAKER_TYPE_MONO
Mono.
@ VST_SPEAKER_TYPE_USER_04
@ VST_SPEAKER_TYPE_USER_11
@ VST_SPEAKER_TYPE_USER_10
@ VST_SPEAKER_TYPE_USER_12
@ VST_SPEAKER_TYPE_USER_30
@ VST_SPEAKER_TYPE_USER_32
@ VST_SPEAKER_TYPE_USER_20
@ VST_SPEAKER_TYPE_USER_15
@ VST_SPEAKER_TYPE_RIGHT_SIDE
Side Right.
@ VST_SPEAKER_TYPE_LEFT_SIDE
Side Left.
@ VST_SPEAKER_TYPE_USER_13
@ VST_SPEAKER_TYPE_USER_02
@ VST_SPEAKER_TYPE_USER_23
@ VST_SPEAKER_TYPE_USER_28
@ VST_SPEAKER_TYPE_USER_05
@ VST_SPEAKER_TYPE_USER_01
@ VST_SPEAKER_TYPE_LEFT
(Front) Left
@ VST_SPEAKER_TYPE_USER_07
@ VST_SPEAKER_TYPE_USER_27
@ VST_SPEAKER_TYPE_USER_18
@ VST_SPEAKER_TYPE_USER_29
@ VST_SPEAKER_TYPE_USER_21
@ VST_SPEAKER_TYPE_USER_06
@ VST_SPEAKER_TYPE_USER_26
@ VST_SPEAKER_TYPE_USER_19
@ VST_SPEAKER_TYPE_USER_31
@ VST_SPEAKER_TYPE_USER_24
@ VST_SPEAKER_TYPE_USER_22
@ VST_SPEAKER_TYPE_USER_17
@ VST_SPEAKER_TYPE_USER_08
@ VST_SPEAKER_TYPE_LEFT_REAR
Rear/Surround Left.
@ VST_SPEAKER_TYPE_USER_14
@ VST_SPEAKER_TYPE_USER_16
@ VST_SPEAKER_TYPE_USER_03
VST_EFFECT_CATEGORY
Plug-in Categories Pre-defined category grouping that also affect host behavior when handling the plu...
@ VST_EFFECT_CATEGORY_0A
Container Plug-in This plug-in contains multiple effects in one and requires special handling on both...
@ VST_EFFECT_CATEGORY_EFFECT
@ VST_EFFECT_CATEGORY_02
Instruments Examples: Instruments, Synths, Samplers, ...
@ VST_EFFECT_CATEGORY_METERING
@ VST_EFFECT_CATEGORY_01
Generic Effects Examples: Distortion, Pitch Shift, ...
@ VST_EFFECT_CATEGORY_08
Restoration Examples: Noise Filtering, Upsamplers, ...
@ VST_EFFECT_CATEGORY_WAVEGENERATOR
@ VST_EFFECT_CATEGORY_09
Offline Processing Examples: Nothing Supports: Nothing.
@ VST_EFFECT_CATEGORY_SPATIAL
@ VST_EFFECT_CATEGORY_07
External Processing.
@ VST_EFFECT_CATEGORY_06
Delay/Echo Examples: Echo, Reverb, Room Simulation, Delay, ...
@ VST_EFFECT_CATEGORY_EXTERNAL
@ VST_EFFECT_CATEGORY_OFFLINE
@ VST_EFFECT_CATEGORY_0B
Waveform Generators Examples: Sine Wave Generator, ... Supports: Delay, Tail Samples.
@ VST_EFFECT_CATEGORY_05
Spatializers Examples: Channel Panning, Expanders, ...
@ VST_EFFECT_CATEGORY_MASTERING
@ VST_EFFECT_CATEGORY_RESTORATION
@ VST_EFFECT_CATEGORY_UNCATEGORIZED
@ VST_EFFECT_CATEGORY_03
Metering Examples: Loudness Meters, Volume Analysis, ...
@ VST_EFFECT_CATEGORY_INSTRUMENT
@ VST_EFFECT_CATEGORY_DELAY_OR_ECHO
@ VST_EFFECT_CATEGORY_04
Mastering Examples: Compressors, Limiters, ...
@ VST_EFFECT_CATEGORY_CONTAINER
VST_VKEY
Virtual Key codes.
@ VST_VKEY_NUMPAD_MULTIPLY
@ VST_VKEY_NUMPAD_COMMA_OR_DOT
@ VST_VKEY_NUMPAD_SUBTRACT
VST_EFFECT_FLAG
Effect Flags.
@ VST_EFFECT_FLAG_SILENT_TAIL
@ VST_EFFECT_FLAG_1ls9
Effect does not produce tail samples when the input is silent.
@ VST_EFFECT_FLAG_1ls4
Effect uses process_float.
@ VST_EFFECT_FLAG_1ls5
Effect supports saving/loading programs/banks from unformatted chunk data.
@ VST_EFFECT_FLAG_SUPPORTS_FLOAT
@ VST_EFFECT_FLAG_1ls0
Effect provides a custom editor.
@ VST_EFFECT_FLAG_INSTRUMENT
@ VST_EFFECT_FLAG_1ls12
Effect supports process_double.
@ VST_EFFECT_FLAG_1ls8
Effect is an Instrument/Generator.
@ VST_EFFECT_FLAG_SUPPORTS_DOUBLE
@ VST_VKEY_MODIFIER_1ls1
One of the alt keys is held down.
@ VST_VKEY_MODIFIER_1ls0
One of the shift keys is held down.
@ VST_VKEY_MODIFIER_SHIFT
@ VST_VKEY_MODIFIER_SYSTEM
@ VST_VKEY_MODIFIER_CONTROL
@ VST_VKEY_MODIFIER_1ls2
Control on MacOS, System (Windows Logo) on Windows.
@ VST_VKEY_MODIFIER_1ls3
Control on PC, System (Apple Logo) on Mac OS.
VST_BUFFER_SIZE
Known Buffer Sizes.
@ VST_BUFFER_SIZE_SPEAKER_NAME
@ VST_BUFFER_SIZE_STREAM_NAME
@ VST_BUFFER_SIZE_PARAM_VALUE
@ VST_BUFFER_SIZE_STREAM_LABEL
@ VST_BUFFER_SIZE_PARAM_LABEL
@ VST_BUFFER_SIZE_VENDOR_NAME
@ VST_BUFFER_SIZE_PARAM_NAME
@ VST_BUFFER_SIZE_PROGRAM_NAME
@ VST_BUFFER_SIZE_CATEGORY_LABEL
@ VST_BUFFER_SIZE_EFFECT_NAME
@ VST_BUFFER_SIZE_PARAM_LONG_NAME
@ VST_BUFFER_SIZE_PRODUCT_NAME
void(VST_FUNCTION_INTERFACE * vst_effect_process_float_t)(struct vst_effect_t *self, const float *const *inputs, float **outputs, int32_t samples)
Process the given number of single samples in inputs and outputs.
VST_PARAMETER_FLAG
Flags for parameters.
@ VST_PARAMETER_FLAG_SWITCH
@ VST_PARAMETER_FLAG_1ls6
Parameter can be gradually increased/decreased.
@ VST_PARAMETER_FLAG_1ls5
Parameter has a category for the default editor.
@ VST_PARAMETER_FLAG_1ls4
Parameter has an display order index for the default editor.
@ VST_PARAMETER_FLAG_1ls2
Parameter uses float steps.
@ VST_PARAMETER_FLAG_INTEGER_LIMITS
@ VST_PARAMETER_FLAG_STEP_FLOAT
@ VST_PARAMETER_FLAG_INDEX
@ VST_PARAMETER_FLAG_CATEGORY
@ VST_PARAMETER_FLAG_RAMPING
@ VST_PARAMETER_FLAG_1ls3
Parameter uses integer steps.
@ VST_PARAMETER_FLAG_1ls0
Parameter is an on/off switch.
@ VST_PARAMETER_FLAG_STEP_INT
@ VST_PARAMETER_FLAG_1ls1
Parameter limits are set as integers.
@ _VST_PARAMETER_FLAG_PAD
#define VST_FUNCTION_INTERFACE
Standard calling convention across plug-ins and hosts.
VST_EFFECT_OPCODE
Host to Plug-in Op-Codes These Op-Codes are emitted by the host and we must either handle them or ret...
@ VST_EFFECT_OPCODE_WINDOW_MOUSE
@ VST_EFFECT_OPCODE_2A
Host wants to change the speaker arrangement.
@ VST_EFFECT_OPCODE_GETVENDORVERSION
@ VST_EFFECT_OPCODE_20
Input disconnected.
@ VST_EFFECT_OPCODE_14
Window Focus Event?
@ VST_EFFECT_OPCODE_PARAM_VALUE_TO_STRING
@ VST_EFFECT_OPCODE_PARAM_GETLABEL
@ VST_EFFECT_OPCODE_43
Host is starting to set up a program.
@ VST_EFFECT_OPCODE_3E
Midi related.
@ VST_EFFECT_OPCODE_32
User-defined Op-Code for VST extensions.
@ VST_EFFECT_OPCODE_03
Get currently selected program number.
@ VST_EFFECT_OPCODE_SET_CHUNK_DATA
@ VST_EFFECT_OPCODE_21
Retrieve properties for the given input index.
@ VST_EFFECT_OPCODE_PRODUCT_NAME
@ VST_EFFECT_OPCODE_4B
Host wants to know if we can load the provided bank data.
@ VST_EFFECT_OPCODE_PARAM_NAME
@ VST_EFFECT_OPCODE_41
Midi related.
@ VST_EFFECT_OPCODE_SET_SAMPLE_RATE
@ VST_EFFECT_OPCODE_CREATE
@ VST_EFFECT_OPCODE_EDITOR_GET_RECT
@ VST_EFFECT_OPCODE_SET_SPEAKER_ARRANGEMENT
@ VST_EFFECT_OPCODE_PARAM_GETVALUE
@ VST_EFFECT_OPCODE_PROGRAM_SET_NAME
@ VST_EFFECT_OPCODE_06
Get the value? label for the parameter.
@ VST_EFFECT_OPCODE_0A
Set the new sample rate for the plugin to use.
@ VST_EFFECT_OPCODE_10
Window Draw Event?
@ VST_EFFECT_OPCODE_2F
Retrieve the vendor name into the ptr buffer.
@ VST_EFFECT_OPCODE_PROGRAM_GET
@ VST_EFFECT_OPCODE_28
Seen in plug-ins with VST_EFFECT_CATEGORY_OFFLINE.
@ VST_EFFECT_OPCODE_01
Destroy the effect (if there is any) and free its memory.
@ VST_EFFECT_OPCODE_3C
Editor Virtual Key Up Event.
@ VST_EFFECT_OPCODE_1B
Set Parameter value from string representation.
@ VST_EFFECT_OPCODE_SET_BLOCK_SIZE
@ VST_EFFECT_OPCODE_33
Test for support of a specific named feature.
@ VST_EFFECT_OPCODE_04
Set the name of the currently selected program.
@ VST_EFFECT_OPCODE_PARAM_GET_NAME
@ VST_EFFECT_OPCODE_OUTPUT_STREAM_GET_PROPERTIES
@ VST_EFFECT_OPCODE_INPUT_STREAM_GET_PROPERTIES
@ VST_EFFECT_OPCODE_BANK_LOAD
@ VST_EFFECT_OPCODE_EDITOR_MOUSE
@ VST_EFFECT_OPCODE_WINDOW_CREATE
@ VST_EFFECT_OPCODE_0B
Sets the block size, which is the maximum number of samples passed into the effect via process calls.
@ VST_EFFECT_OPCODE_PARAM_GET_VALUE
@ VST_EFFECT_OPCODE_05
Get the name of the currently selected program.
@ VST_EFFECT_OPCODE_1A
Can the parameter be automated?
@ VST_EFFECT_OPCODE_19
Send events from host to plug-in.
@ VST_EFFECT_OPCODE_PROGRAM_SET_END
@ VST_EFFECT_OPCODE_GET_PROGRAM
@ VST_EFFECT_OPCODE_12
Window Keyboard Event?
@ VST_EFFECT_OPCODE_42
Midi related.
@ VST_EFFECT_OPCODE_EFFECT_CATEGORY
@ VST_EFFECT_OPCODE_PARAM_IS_AUTOMATABLE
@ VST_EFFECT_OPCODE_WINDOW_DRAW
@ VST_EFFECT_OPCODE_DESTROY
@ VST_EFFECT_OPCODE_SETBLOCKSIZE
@ VST_EFFECT_OPCODE_02
Set which program number is currently select.
@ VST_EFFECT_OPCODE_48
End processing of audio.
@ VST_EFFECT_OPCODE_GETNAME2
@ VST_EFFECT_OPCODE_CUSTOM
@ VST_EFFECT_OPCODE_2E
Translate an error code to a string.
@ VST_EFFECT_OPCODE_EDITOR_KEEP_ALIVE
@ VST_EFFECT_OPCODE_PARAM_PROPERTIES
@ VST_EFFECT_OPCODE_TAIL_SAMPLES
@ VST_EFFECT_OPCODE_30
Retrieve the product name into the ptr buffer.
@ VST_EFFECT_OPCODE_PARAM_VALUE
@ VST_EFFECT_OPCODE_35
Notify effect that it is idle?
@ VST_EFFECT_OPCODE_PROGRAM_GET_NAME
@ VST_EFFECT_OPCODE_0D
Retrieve the client rect size of the plugins window.
@ VST_EFFECT_OPCODE_PROGRAM_LOAD
@ VST_EFFECT_OPCODE_23
Retrieve category of this effect.
@ VST_EFFECT_OPCODE_VST_VERSION
@ VST_EFFECT_OPCODE_CATEGORY
@ VST_EFFECT_OPCODE_EDITOR_OPEN
@ VST_EFFECT_OPCODE_EDITOR_VKEY_DOWN
@ VST_EFFECT_OPCODE_00
Create/Initialize the effect (if it has not been created already).
@ VST_EFFECT_OPCODE_SUSPEND_RESUME
@ VST_EFFECT_OPCODE_PARAM_LABEL
@ VST_EFFECT_OPCODE_40
Midi related.
@ VST_EFFECT_OPCODE_22
Retrieve properties for the given output index.
@ VST_EFFECT_OPCODE_47
Begin processing of audio.
@ VST_EFFECT_OPCODE_38
Parameter Properties.
@ VST_EFFECT_OPCODE_GET_SPEAKER_ARRANGEMENT
@ VST_EFFECT_OPCODE_0E
Create the window for the plugin.
@ VST_EFFECT_OPCODE_3B
Editor Virtual Key Down Input.
@ VST_EFFECT_OPCODE_BYPASS
@ VST_EFFECT_OPCODE_EDITOR_KEYBOARD
@ VST_EFFECT_OPCODE_INPUT_GET_PROPERTIES
@ VST_EFFECT_OPCODE_VENDOR_NAME
@ VST_EFFECT_OPCODE_PARAM_ISAUTOMATABLE
@ VST_EFFECT_OPCODE_WINDOW_KEYBOARD
@ VST_EFFECT_OPCODE_GET_PROGRAM_NAME
@ VST_EFFECT_OPCODE_17
Get Chunk Data.
@ VST_EFFECT_OPCODE_31
Retrieve the vendor version in return value.
@ VST_EFFECT_OPCODE_2D
Retrieve the effect name into the ptr buffer.
@ VST_EFFECT_OPCODE_07
Get the string representing the value for the parameter.
@ VST_EFFECT_OPCODE_EVENT
@ VST_EFFECT_OPCODE_PROCESS_END
@ VST_EFFECT_OPCODE_SET_PROGRAM
@ VST_EFFECT_OPCODE_27
Seen in plug-ins with VST_EFFECT_CATEGORY_OFFLINE.
@ VST_EFFECT_OPCODE_EDITOR_DRAW
@ VST_EFFECT_OPCODE_15
Window Unfocus Event?
@ VST_EFFECT_OPCODE_EDITOR_CLOSE
@ VST_EFFECT_OPCODE_29
Seen in plug-ins with VST_EFFECT_CATEGORY_OFFLINE.
@ VST_EFFECT_OPCODE_3A
Retrieve the VST Version supported.
@ VST_EFFECT_OPCODE_11
Window Mouse Event?
@ VST_EFFECT_OPCODE_PARAM_GET_LABEL
@ VST_EFFECT_OPCODE_SETSAMPLERATE
@ VST_EFFECT_OPCODE_0F
Destroy the plugins window.
@ VST_EFFECT_OPCODE_GET_CHUNK_DATA
@ VST_EFFECT_OPCODE_INITIALIZE
@ VST_EFFECT_OPCODE_GETTAILSAMPLES
@ VST_EFFECT_OPCODE_18
Set Chunk Data.
@ VST_EFFECT_OPCODE_EFFECT_NAME
@ VST_EFFECT_OPCODE_GET_PARAMETER_PROPERTIES
@ VST_EFFECT_OPCODE_PARAM_AUTOMATABLE
@ VST_EFFECT_OPCODE_PARAM_GETNAME
@ VST_EFFECT_OPCODE_08
Get the name for the parameter.
@ VST_EFFECT_OPCODE_13
Window/Editor Idle/Keep-Alive Callback?
@ VST_EFFECT_OPCODE_45
Host wants to know the current speaker arrangement.
@ VST_EFFECT_OPCODE_WINDOW_GETRECT
@ VST_EFFECT_OPCODE_OUTPUT_GET_PROPERTIES
@ VST_EFFECT_OPCODE_PARAM_VALUE_FROM_STRING
@ VST_EFFECT_OPCODE_GETVENDOR
@ VST_EFFECT_OPCODE_PROCESS_BEGIN
@ VST_EFFECT_OPCODE_PAUSE_UNPAUSE
@ VST_EFFECT_OPCODE_4C
Host wants to know if we can load the provided program data.
@ VST_EFFECT_OPCODE_26
Seen in plug-ins with VST_EFFECT_CATEGORY_OFFLINE.
@ VST_EFFECT_OPCODE_CONTAINER_NEXT_EFFECT_ID
@ VST_EFFECT_OPCODE_GETNAME
@ VST_EFFECT_OPCODE_VENDOR_VERSION
@ VST_EFFECT_OPCODE_46
Get the next effect contained in this effect.
@ VST_EFFECT_OPCODE_SET_PROGRAM_NAME
@ VST_EFFECT_OPCODE_FOURCC
@ VST_EFFECT_OPCODE_44
Host is done setting up a program.
@ VST_EFFECT_OPCODE_3F
Midi related.
@ VST_EFFECT_OPCODE_WINDOW_DESTROY
@ VST_EFFECT_OPCODE_EDITOR_VKEY_UP
@ VST_EFFECT_OPCODE_1F
Input connected.
@ VST_EFFECT_OPCODE_34
Number of samples that are at the tail at the end of playback.
@ VST_EFFECT_OPCODE_2C
Enable/Disable bypassing the effect.
@ VST_EFFECT_OPCODE_PROGRAM_SET
@ VST_EFFECT_OPCODE_SUPPORTS
@ VST_EFFECT_OPCODE_PROGRAM_SET_BEGIN
@ VST_EFFECT_OPCODE_TRANSLATE_ERROR
@ VST_EFFECT_OPCODE_EDITOR_RECT
@ VST_EFFECT_OPCODE_PARAM_SET_VALUE
@ VST_EFFECT_OPCODE_SUSPEND
@ VST_EFFECT_OPCODE_0C
Effect processing should be suspended/paused or resumed/unpaused.
@ VST_STREAM_FLAG_1ls2
Stream is defined by VST_SPEAKER_ARRANGEMENT_TYPE.
@ VST_STREAM_FLAG_1ls0
Ignored?
@ VST_STREAM_FLAG_1ls1
Stream is in Stereo.
@ VST_STREAM_FLAG_USE_TYPE
float(VST_FUNCTION_INTERFACE * vst_effect_get_parameter_t)(struct vst_effect_t *self, uint32_t index)
Retrieve the current value of the parameter at the given index, or do nothing if out of bounds.
@ VST_HOST_ACTIVE_THREAD_UNKNOWN
The active thread has no special usage assigned.
@ VST_HOST_ACTIVE_THREAD_INTERFACE
The active thread is used for user interface work.
@ VST_HOST_ACTIVE_THREAD_EVENT
The active thread is related to events and event handling.
@ VST_HOST_ACTIVE_THREAD_AUDIO
The active thread is used for audio processing.
@ VST_HOST_ACTIVE_THREAD_USER
The active thread was created by an effect.