This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
roadmap:directed_choke [2019/02/11 10:50] – created deva | roadmap:directed_choke [2019/03/17 09:34] (current) – [Proposal 3] deva | ||
---|---|---|---|
Line 10: | Line 10: | ||
* RideGrab | * RideGrab | ||
- | Ride and RideBell should not choke each other but RideGrab should | + | Ride and RideBell should not choke each other but RideGrab should |
+ | |||
+ | The implementation in the engine is rather straight forward so this is not described here. | ||
IRC discussions with HJ about this feature: | IRC discussions with HJ about this feature: | ||
Line 16: | Line 18: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | =====XML proposal===== | ||
+ | Like the current instrument group feature the directed choke should be expressed in the drumkit file: | ||
+ | |||
+ | ====Proposal 1==== | ||
+ | Comma separated list of instruments. This requires that instrument names in themselves do not contain command which currently is not a requirement, | ||
+ | |||
+ | <code xml> | ||
+ | <?xml version=" | ||
+ | <drumkit ...> | ||
+ | ... | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | ... | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ====Proposal 2==== | ||
+ | Adding the choke attribute multiple times to create a list. This approach is not technically a problem (our parser supports it) but having multiple identical attributes is not normally present in XML so it may be confusing to some users. | ||
+ | |||
+ | <code xml> | ||
+ | <?xml version=" | ||
+ | <drumkit ...> | ||
+ | ... | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | ... | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ====Proposal 3==== | ||
+ | Add a chokelist xml tag containing the list. This approach is more like what would be expected in XML but (in my opinion) looks rather ugly. This approach may however make it possible to add more control to the choking, like for example setting the ramp-down time or curve pr. choke which may be useful. | ||
+ | |||
+ | <code xml> | ||
+ | <?xml version=" | ||
+ | <drumkit ...> | ||
+ | ... | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | <choke instrument=" | ||
+ | <choke instrument=" | ||
+ | </ | ||
+ | </ | ||
+ | ... | ||
+ | </ | ||
+ | </ | ||
+ | </ |