Group xfade tables should be restored with sample maps



  • It seems that a sample map will restore the number of RR groups but not the group xfade settings. I think it is important that both are restored to get more flexibility when reusing a sampler.

    For example I have a trumpet instrument with 3 dynamics so I have a 3 part group crossfade. When I switch to the french horn preset I'd like to reuse the same sampler but the french horn has 4 dynamics so the crossfade table will not be correct.



  • Yes, true. I'll think of a way of doing this without adding too much fat to the sample map format.



  • Was this ever implemented? Another solution would be to add the ability to set the table points programmatically as we can for modulation tables.

    I also noticed that setting the sampler's CrossfadeGroups attribute reverses the GUI behaviour. When set to 0 it disables group xf but shows the table, when set to 1 it enables group xf but hides the table.

    8bc4a679-67f3-43d4-a7d6-41ab525a8721-image.png



  • @d-healey said in Group xfade tables should be restored with sample maps:

    Another solution would be to add the ability to set the table points programmatically as we can for modulation tables.

    You can do that already:

    HiseSnippet 1116.3oc4W0saaaCElxNpH1noXsqWraJfPwFPJVmqUZR6JFFpicRJLVSrgUVwtqfUh1lnxjBjTYKaXuS6QXOR8MX6PJKIJW0rTisjgMCCCc9i567COmiGK3gDojKPNsN87DBx4ltAmyTyGLGSYngGfbtk6wXohH7xX0+7DrTRhPNNMeglgSqMPlOu648wwXVHojEB8JNMj7R5Bppj63deGMN9HbD4T5BKs2s2vPNa.OlmB3ooaWTBN7s3YjSvZ0Z3hbtwgQTEWDnvJhD4rQedz4Ay4+HKS+WQkz2DSzD9n.3fxXeDONRiX8ynAyowQiy8aIB43NtLJzLKJbW2ioQzB9kQiOwHvqzB63gSiKBd91vqasvyuF3grP2FYnC.AOJMFqphLc5Xo.JuZlZHSQXRp5b6z00Jbus6XpJbd83sQM3ERT+Si2kI+sbOb5TRnpDra3dzOb0louWFTtiafRPvKnrYA3EIwDgAOscWR4+2w8wjK88wwBRLGGEP+YK098d8Sg3knJ2eqm4Us+BdJqx6ZIxmPRHXEj9srYydSl7BAOMYUqd2yMEKmJf9APnvVvHFAh6JaebffKkSA2wbVxJGSpXlNVUp7DxYDgrJuSRW.4dFiDCF653.r9dIQmqogGiUB5OYqs4sz8TrIeCMoLz9Ko+B2c1sSwmmM.94rQvOS+xBlmMJyjcV4Hd7Jz6tB8dqP+jUneZIcVL+Xbht3Q2Gcipkua9gKes6iBGvXLDUrzrOcVwgmwoZWHKUKRKFbYIHfnTPVUZwpltz23ZnK8GwPDm2uu2scCBEzDUoDM19zkbKQW0KwYRQMF43B29jJuyvBu7q6deqmY7bmYDkILVbHae+bct+C9lsZuU6G8HOJCpsURO0bhmj.mVjmRazVsy0siL+b3TlZa+G50E91A9wui4o8zG1GVa+BEy0dZJKTm383rS3JxH11On8uztU6ess2phlNsVYC3LkfGCuvZEq6QItHC2lkt3MDwCg.WbJoPw2qnu8kKuCgMXVjxRQNaHipFkPJny7zbNcQENnMqR+xlqwcpQsRV0LnXPFlz8kFd.Vg00eK4A5k.Icp1CcNfbFzCNqZrk6AD4aU7jqvMJZd4FK9WbcpUNFCn55vCgp5XvIMX7NfWMEmFqx4V8xzwbFOYNmQCq1yG5gOaFQXi8Zcn8UJXjSIm61aBIlfkVCs97dujxHXQ0QYeTwB+Ker3hxWelaFb8z0Td+2XSvl+ueSvKJzcqk6A5Aucg5e444a5ZVKwSun40ETmvS0qZjuDmKroW.rcaHwdeuF5NrYzc0zZ.EPXQFh+.9rTne9xgZg94BQg4GE3aKe1zi1oIgoGdZ9CNwvZmw1kzRXGZMjfsytRP4Bbnf+5vrgMZrtogCfRl4ea2B9a+.smOxLFEryEFxiV.6U85vP8EguBhv0ayNqgMOdMrY20vl8VCadxZXySWCa95KzF8Js6mp3KxZRBLFeXVgkygEEVMQ+IPLLgKR
    

    and know I would even suggest that this is the preferred way because it keeps the samplemap format leaner - these tables will add a lot of clutter to 99% of all sample maps which don't use that feature.

    It shouldn't be too hard to make a script that takes the ID of the samplemap and sets different curves (the best place to do this would be the loading callback of a panel that gets fired after the samplemap has been loaded).



  • @Christoph-Hart said in Group xfade tables should be restored with sample maps:

    You can do that already:

    Oh, that simple. I was trying asTableProcessor() and getTableProcessor(). It was right in front of me the whole time. Thanks!


Log in to reply
 

8
Online

547
Users

2.1k
Topics

16.0k
Posts