Mic mixdown



  • @ustk That sounds promising. Does it work with monoliths?



  • @d-healey I paused before exporting monolith, but it should work...
    I need to wrap my head a bit into this tomorrow 😉



  • @ustk Thanks 😄



  • @d-healey This is a very basic example, mono only (but stereo should be easy to support)
    you need a samplemap with 3 samples, two sources, and a target sample.
    I had a hard time figuring out some glitches, in fact, I just had to resave the sample map...
    Be aware that the target should be at least the size of the biggest source. I don't know if it's possible to dynamically resize a buffer. My first sample was shortest than the second and the target, thus the if statement inside the loop to prevent iterating outside of the buffer length...

    HiseSnippet 1622.3oc4X0saSbDEd23L.1kPKHtn2ToUQ8BmBMXa9qRATbhiCMhXhU1DTqnT5jcGaOh0yXM6rALHj30f65iPe.5EbQuoOF8Mf2f1yL6tdGu33Xh.Jp0QIJmemu4bNybNiaK3djvPtvxt3dCGPrrOKxcHS1qQOLkYs0FV1eNxMp+ZQ9T9lz.Rn05CGfCCI9V11EtiRI6hyao+7lUWGGfYdjLVVV2mS8HaS6SkYbaW+tzffMw9j8n8Mz9Z02xiyZvC3Q.fJfpXM.68XbWx8vJ0lCYYepl9TIW3JwR.K1yuN2enaO9SXw5eeZH8f.hhnpkK3nX1axC7UHVw0pQOZfe6zMdnkkMpcVXnPbX3hnVTe5H9YgiuPKvIyBy3g8bSCdUMgWkYGd1Fv6Twv67HWOAcfLShBaeFZKljH5fgTfIrt2XIPajsMDrAlaPCGDfGtdTmNDwHAwd1ZteGgZvA+wjK2G+XxlBfXj+KeiJUtry0qTYoUVnDnVHOfrrW.AKJq3rPIHQFJcNDKbbw8GDPDUctsitzZ4tDYBuxKlJbw7VEpEDpLJQkk8DDHr5RBHdRJmUdw2xnCz6DWn7winVuDm7fJOb4.N1GPOOdytlPfGpQ5jMtlgwUOZiMMWhEvFyvtZObBteuTshUeJdVP55DFuS1lbHIXESV0RYo94JWwANhtPIJKfxHNchX53iCmsdjTxYUUoQAOnrGu+.NCRnWFPTPDYoEJ87EJUj1wobJcQEihc3BmxzaWYEG5sLwsNPRXck8.IW5RJ8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GZbl9qquMLCLVL9I82oXQ0YOVLs70Whhgqi5VNm+aznrv+6aTNsP24RZS5.qtP9Idd9rH8E6Np9v+aA0c4QRn2QZONDzHL96Uvrc3bpVrwzUTzJ.4RX9Zh+F9jHr5nuTNPX0TgVdotB1aI+u90K1EHLUqC87eApG+ZVRGBiXnfDzu6iBJ6i8D7G4E+tLEVOilCfRl96ysHpkh1YzywPnJKWQ8VC5i77TGD9VHBOYapcBr4pm.at1IvlqeBr4Fm.at4Ivluap1nFSXsHIue7kj.i1MiKrraNpvpf0+fsgbtM
    

    I also made a test where I search for the longest of two samples and duplicate it to make it the target. But then the file is the same and I don't know if it's possible to export as a new audioFile so you don't overwrite one of the sources. Maybe using the file system...



  • @ustk Thanks, this looks like it will point me in the right direction for mixing IRs. But will it work for sampler mic positions?



  • @d-healey Since all samples are in the list (tableView), you should be able to make your selection between mic positions and place the target where you want as it is just a sample too finally. So it shouldn't be different.

    The only thing, (I'm not sampler guru as you are) is that a sample map using mic position should have the same number of positions for all samples I reckon. Meaning having a target sample wandering alone might not work. But if you have 4 mic pos, I imagine you can have 4 target samples, 3 dummy ones and 1 sum sample. Or even better, you can sum to all 4 target samples identically, so they can be heard whatever the mic pos you're at. These are just suppositions as I never did such a thing, but I have good hope 🙂



  • @ustk Rectification:
    Not summing equally to the 4 targets, but summing each position to its "associated" target position 😉



  • @ustk said in Mic mixdown:

    Since all samples are in the list (tableView)

    Not with mic positions. They are merged into a single pseudo sample so you only see one of the mics in the table view.



  • @d-healey Oh sh.. I thought they were showing. Do they appear in the result of a script sample selection? Well I don't think so...



  • @ustk Nope 😞


Log in to reply
 

10
Online

1.6k
Users

4.6k
Topics

42.6k
Posts