PitchFade on velo



  • Hi there. I want to make notes on 80+ velocity to have a pitch fade coming from -2 semintones. But ccant figure that out. just get +2 semitones instead

    function onNoteOn()
    {
    
        Message.makeArtificial();
        if (Message.getVelocity() > 80) {
    	    
    		eventId = Message.getEventId();
    		Console.print(eventId);
    		Message.setCoarseDetune(-2);
    		Synth.addPitchFade(eventId, 120, 2, 0);	
    	}
    	
    }
    
    HiseSnippet 1158.3oc4X0saaaCEVxNZcRqIcE6mqE1U1.IA1dcaEHXqIw1o0X0IFwYoaWUvHcrMQjI0jn7lQQueOV8QX.CXOG8MX6PRYKoFM2Tis1TLciEO+P8c9kG5AQbOHNlGYXZe17Pvv71VCmyDSZOgPYF85XXtkUeRr.hb0jNbdHINF7MLMq9PIAS6MLTOu7AGRBHLOHijgw4bpG7X5TpHi5f8+dZPvQDe3L5zbReu864wYs4A7DDOUsZXDR7tjLFNlHEqhkg4Gz0mJ3QCEDADaXtwgb+4Cmv+ElV9yowzKB.4hlFCwMRS9HdfuDwx2MZOgF3OXgcGaXXZMHyKTU6E9Tq9Te5R5YdiOVwvMSi79CyJqBdMyCuFkBulk.OibnaCM5PPv8SBHhhHSFNRYP4EiT8XBfESEyyGtdmB26ZMfJ7lTNdqTBdw.0+03MM3uoU2Qi.OQFX2v5ne7sajdKMT9HqgTFnpHU.4yUqceBYF39PfAQRmZyUTT96W2hxvqcQ4IdB7yeVDgEGxiKrwCgozy3LoGIi3ODCGEA+7oxnbd5s4jnRY8xGbDZjkpyPhHIRktbvTdBSTH8nZwXh0+bLIeyghUM4je0AKyMdGz03Mnol4UqCuq0PuHZnHiiDaeRJ0LzULeRy0nxeZZEAicCvCCNlK.2u0cml64HIAy.lnm+dN3ynDlmzO5xYRoNgUqtyyb1zwEe5i6N1Me2ojKgChDzQTOJInV88zroibqsPjwf3bHf6gc.pU286buei5tOaSGaob3O14PQNUjTNNY5EPDpzNs1CELEaEkqqln5Kaa2lyh4AvtgQTlnVpBZVKzIFD5r0NfHgA01oUc4lqpK2k36qZkIqcVn91tMa0Xa2Va61n9d1N1O2w144upuYzHkyA2H6trwXJ+tjf.ImXEKzelWEDlhHdPfz3Psv8ywMGaYUa4bRUrFS4Y11cFIHAVJHlcTL8y45k9gMEvVzhbBxY8XTwIgP5gwKx.VPoowR6NuPY1UdpJyoDwxHUR+y1ZLI64zqCQPjkAozP4BALmSZglcfYXCPcQgsUGH9RAO7lwAsuAU3Uxg26nw6srN3QcFdZ5Arp2c6xlgURgPwp59bFObBmQ8x2B8TPDQGOFhxi9RMoCDBb1r1IQyJb.PGviL+JT0BmQ4K1WS4wX0RPdAeDZwWY6VR329i8GlDKJb91O8hSg.fj6XnW3ueWONFdfUEBpd8BAuloEWUZxlVZizUcd5M6gw1ZAV0Qja1f81Vpzh2G7q2wJMg88BG6VVo0R2Tbs2RCVGqEyBnf4msbo6Rin4qGs3XnmQTvIq+ROr2Xj.d0dNzKffhMPt5kOV6FH+qbAop++7BRmxSDT139D7XpeEaEiC6MDuWhGfHgwf.4T+lUjSBnW2PtVewDluZwegOoLaJWalxr4BluU9FSIdQ7m5oGoQdnxGpnf1MS8WcXa0Wt1sogZXMTOqF61vXJdIhm54Ic26f9mx0o0ZnyWtF5bu0PmuZMz4qWCc9l0Pm6uRcj2e6fDAeptTDILnqZDSSytLYaEUVuweSkLcA7
    


  • trying to create something like this on MIDI

    G#3_slide.wav



  • Don't use coarseDetune. Instead set a pitchfade with a duration of 0.



  • @d-healey same thing. it starts pitchFading from the same note I'm playing.

    function onNoteOn()
    {
    
        Message.makeArtificial();
        if (Message.getVelocity() > 80) {
    	    
    		eventId = Message.getEventId();
    		Console.print(eventId);
    		Synth.addPitchFade(eventId, 0, -2, 0);	
    		Synth.addPitchFade(eventId, 120, 2, 0);	
    	}
    	
    }
    


  • HiseSnippet 1067.3oc4Xs0aaaCElx1bcVqIcE6xyB6oDfj.4rt0BDLTm3KoFqNwvxKa6oBFoisIpLomDk2LF566mU+ILf8Go+C13EEKoFgTCi0rTL8PP324bD+NWIkGDw8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BrRQY5nXN1d8xwxFL43NQNE4rdLp374vp0lP9UHtnU9cdnL+JOp1cJQsLnRlE0xvIU+au1DAQU2khI0aNDInJOzpMrPNLwTEVG2FheofO+V7Pqpq2j2RZipjiiOvvw6gO9Ys8Fld.k9+c5vV.gRGtXqSeNiOeJmQ8yOBZHHhnSl.Q4YbotwwBg7tMsRhVTX.Zavmr7ZnFkyP9plFjmKaNByq3yjyxt1qaEve7WM8RhEENe3me8PHDH4Fi+5flc74xTBrgg82wzK7ZVZrE13jN5yitaeYlsuhqlLxcaxdertr3Cg35CvoErePDX2Fm1KcWIzdOCYswWHmf4q1cEM+hUKcV4DMd2rUdMtQDMcxluzSNaLR.u8LG5kPXwAHW+x6a7.j+U9.ip++7CLFxSDT1j9D4wT+lbT7YIy7j2q2GjLgwfP4FgspnN82r1Us1bwdVfdweKeRE1Ps1JUXiqDdqrGyH9Q7W3atFi5PkOViH8al9mJnNtuZsSCj9BZR6vtG3hlIuc9K78Ug68kwmxs4vMvludCr4QafMeyFXy2tA173Mvlmbi1n9vniSD7YlVQIvfN5qUZY0goFqnq5Q+CbfxfeH

    thanks mate!!! that was it!


Log in to reply
 

6
Online

673
Users

2.7k
Topics

22.7k
Posts