plugin.proto 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* WARNING!! This message format is in pre-alpha development. There is a high
  2. * probability any of these formats will change, which will cause prior
  3. * versions to no longer work. You are more than welcome to setup to help us
  4. * develop and/or test, but it is NOT recommend you use the server or message
  5. * formats for production purposes until we at least reach beta development.
  6. * Thank you.
  7. */
  8. syntax = "proto3";
  9. import "enums.proto";
  10. /*
  11. * Plugin: This contains basic information about a plugin loaded on a Track,
  12. * including an indicator of the type of effect it has and what settings are
  13. * available.
  14. * Parameter list is a map of the parameter name and the default value of that
  15. * paremeter. Automation can change any of these parameters at any point.
  16. * Generic Parameters are a list of parameters that are standardly used by
  17. * effects of that EffectType in hopes that an alternate plugin of the same
  18. * EffectType could be loaded and use the generic_parameters to get reasonably
  19. * close to the intended sound.
  20. */
  21. message Plugin {
  22. string uri = 1;
  23. PluginType plugin_type = 2;
  24. EffectType effect_type = 3;
  25. map<string, float> parameters = 4;
  26. map<string, float> generic_parameters = 5;
  27. repeated PluginPort inputs = 6;
  28. repeated PluginPort outputs = 7;
  29. bool prefader = 8; // True = PreFader, False = PostFader
  30. }
  31. /*
  32. * PluginPort: Defines an Input or Output port to a plugin.
  33. */
  34. message PluginPort {
  35. string name = 1;
  36. PortType port_type = 2;
  37. DataType data_type = 3;
  38. bool is_sidechain = 4;
  39. }