Polyphonic Glide on Sampler
-
@d-healey wait ....almost it...This pitches the patch up 1 semitone...not trying to do that...when I play a c-chord for instance...it slides up and actually plays a C# chord...I need for it to do the opposite...if I play a C-chord...I need for it to slide up to the C-chord if that makes sense...when I change the pitch modulation from +1 to 0 it does nothing...when I change the pitch modulation to -1 then it goes backwards ha ha...how do I get it to slide fro say -1 to 0?
-
@johnmike Did you see that there are two modulators in my snippet? One to compensate for the pitch increase.
-
@d-healey yuuuup I forgot to add the Constant! ....sorrry bout that! I think I got it now!
-
@d-healey said in Polyphonic Glide on Sampler:
HiseSnippet 989.3oc0WE0aaaCDlx1rn1YqaYnXqOpG1.Rw5Br6R6FvdnNwwtvXMIFQNc6sNFI5XhHQpQQ4Migh9Z+C0m69ILf8Go+CZOJJGIkH3o3ltroGL7c7NwOd22c7zHovkFEIjHqlimGRQVeD1YNWMs2TBiiFtKx5V38HQJpz1nZm4gjnHpGxxp9i0JrZ1.k77lGsCwmvcoYpPnmJXtzmvBXpLsi59iLe+ADO5XVPNq2p6PWAumvWDC3oNtMJj3dJ4D59DsY0vHqaz2ioDRGEQQi.a1Q3M2Yp323F6eJKhcrOUKzA4.uHiZTuoLeuQKNqQHjEdT1Iut4jea7dLO1Y5yh.eZxB1YdjOFXUaYPpyk.RV4fTCCjVG63JYgprUz3YM7PNjPlPfPcdnXrEY8m3dBv.tZy.xozARP3LG13gsaeOa3m69CSh4tJlfaK36KTzC3ab2V+QqlsddK6yuzjIktldajBeeprzk0YW4xbbCdbvwT48rmQ7iomYHb7KFSuQ0hotlScNCE7gbl5fPZp7.gumNVo++Ey.nzvF7uiFtKQQzIkTcfcgTohogi0tzY.q1jhZh2kFcpRDB75Kj+.livK1mnJRmz0MoK.wiB4PchhGwTyyWWcI3XsWJGqpPbc7HlxcZ4XrVIXDhTeHvXZk4Gi6OYB0UkAvF3A+7pVFV8s+VlseMrCiSSZKlr4edhr8OQlQseLkSk5fWmkzY7upZmwvJ2Y7.WEr8ikDdTnHpvK1gFvFK35nPlxihfFAze8Pc1Lu9dBhrzkdyiF.GxR8wgnhkIzhsCDwbUAZP8h4gFUqzsXEQN6KoOYiqgV2WMkUWiU9Etco4BL5vBB8o84yn9P6sDL9YP+rIjXe0BsEI16I3hvoBNyMeV+PpRxN4DpLO1K8.ssRA2omo41cOj5SI4YveY2m.LOhDhSzULVb4uosz70cvF3ZqqFs++aG65eX6XaUKGHWy.xOAOlb74nVqazY+dyr1gEJ7IxxtK5WN5nWcdRV2WbAR1K+6tFiRPTxc854KSMKmxuBe+s1r3yrCfel704jQWcTyZULe+EoTy2alYipk0+GlbpxETKhv+mC1XCraomcNRQfa0LiZuPryRwnl185bzxqLBw08zPGJhUL9I6QfxveGhR6GG3.Cg3Rgcmyo9vKGaUSOHgQtsV1LEB2KQ3svS5hczxVoK1Ywh+qrGADWo3Ytlu6PWncyDMv4lm7wkMguxEjs6fR9VDvOb6MaiBfoGdlqqND+M.Cpbet+J3y2tB9r0J3yCVAed3J3y2sB978K0G8faaGqDAlNDfhQ8M8js5y0MnSX5n2Abv01IL
sorry to revive an old thread but I'm experimenting with your snippet here @d-healey and when any release is added to the sine wave generator the note plays a second time when the key is released. Is there any way to stop this?
-
@Adam_G said in Polyphonic Glide on Sampler:
and when any release is added to the sine wave generator
What do you mean by adding release?
-
@d-healey I mean when you increase the release knob inside of the default envelope
-
@Adam_G you need to change the release table to max in the table envelope otherwise the pitch jumps back when you release the keys
-
@ulrik it seems to do that, jumping back, even with the table envelope maxed. do you know why?
HiseSnippet 999.3oc0WE0aaaCDlx1bX1YqqonXqOpGSQKJr2RyZQenNwwtvXwwFQNc6sNFoywDQhTkhxqdCC608CX+U1ya+DFv9iz+Aajh1wTIpddtIas5ACeGuS7i28cGOMPv8gjDt.4Tc3zX.47QXuoL43ViITFp69Hmaf6QRjfv0nZuowjjDH.43T9YZENUqfxdd8S2iDRX9vBUHzy4Te3.ZDUtP6fleEMLrCI.FRirrd6lc84rV7PdpBOkw0QwD+yHmBGRzlUBib9f1ATIW3I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Sampler:
@ulrik it seems to do that, jumping back, even with the table envelope maxed. do you know why?
You're right, it shouldn't do that, it seems the envelope table module isn't reliable, it has other strange behavior as well, as in this topic :
https://forum.hise.audio/topic/7183/bug-table-envelopes-always-jump-after-attack-completesanyway you can get it to work without the envelope table modulator, with scripting like this:
HiseSnippet 1379.3oc0X80baSDD+jStNXWZgxzA5iZ5SJSCdrgRn.CSbiiSGOD23IJIvSTtJc19lHcmP5TZcYXJOxa7BeU34xGAlgOA7MneB.1Smr0YGkfqIEZ0Cdxt29me2d6t2doerviljHhQVUOXbDEY8lX2wb4n1iHLNp61HqqhuW.ym14wjvn.JZqwQjjDpOxxZk6ojwp5pnrumu4Vj.B2iVvBgNRv7n6xBYxBt8a8ErffcH9zCXgFRe6Vc8D71h.QJfmUvMPQDuiICo2mnDqBFYcoN9LoH1URjzDj0paI7G6NR7HtV9iXIrGBfDHZhbACoYuiHvWgXEWT6Qr.+9S12IHjEteQTXEcT353dLe1T9EQi2NaA6BMLiGVUlEdqLC7ZZBuFFvqDHYY.oU0P5ZXWuXVjrXEEdtLtKWRiGP7l8nQKKpxeTA2V.Rvk0CIGS2IFHlpgyFMZrtM7yZeVsZwzg1gvdaWVhz9ys6vGx3z5dwTXuzKmuiRP3LBj3DRrcVhg5LDjehWFRksEgQBNP3byoRbSPy4T7tghTt77UUKiR4ZCR4dRlfaK32WHo6wcVq12UqZOHV.oH0YC4hXZmST5JiSofJUqUMP3QBr4bvKSDD7hR+6mF9PZrioXLePrrr+5De+bmzb8hsoR2iHAoTm0r2TY0aYtSLW8SgUW2zkGQAevjicVacaU3t5jPc8jIZozf4qADafsSYtcsZUqNEg8YRuQpxHGle4nbc62+LPnFEeeM64CqCFniqZuv0r1ZbVfsquyTXO0TmQbcsSYd0wbrHHPspxCysrB5kuRthN7LSuNjAA9cpfPAxrUc3ytpyrofmNqyPPAuKmI2KhxOqVEn7TUnBsRNp.QkY0mWMu9zUEuiQLeUw4zCETFnK508zVnEv.WAab5MuId9yPG1c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uaFs8WRNgZeOJmFqBdMOmIn9sEcBpnEdBp87jf6OHlvShDIyXXWZH6.n.Jwj4gIvLBzuce0ooI+1BRboK87M2A1jkpiKQlFmkVjW9YlFrx4MIWykbRtUekaRtWCJ1mYXypSvnKSMteG9IvfK.GEFeG3NjAjz.4DtylK2SvEQiDblm4A89TYLa3PZrI1KcCcWoDF2ufy0asOMfRLRZe7O2ZWHYiD2K6NkkJVz7Edv6ROutAVCW6rwe+2bts5hctc9Y9WHMrW4kaCaqJFf7xZP9V3CHObtzrqo4YWZVVkWfrrsXQh.RbYWE8MGd3uLeBWqmdpDNXDEsPYHJaVK0yPyEyfYG7suS8Y+NYO2F8R2P8meR6LZ1tOgdKCZ3mA2xPdzEWZbkELe38xSie8JK9F3Im.uxAarF10Tu5NQRfK8zuReBYyycBIUZ4yLRauvRH9+dXo8EoRFeXOBTlplsGdknKLihGE7NmSCTOayphZNCMcCEsdHEteFgZp+7EapnsxWr4jE+OwGgDuXwC7zubSUn8FYbf8MO6+QUUbOEscy4erFR8f.1C77l0TmRwOXYU7CWVEu8xp3GsrJtwxp3GurJdm+YEUCCd2ToHT2IAg50uit2tUGtpQeVEA5ukiWEyF
thank you @ulrik :beaming_face_with_smiling_eyes: exactly what i was after
-
@ulrik hey actually i notice that when i add this into my project the midi modules no longer work. transpose, arpeggiator, legato, nada. whats the reason for that and is there a workaround?
-
@Adam_G said in Polyphonic Glide on Sampler:
whats the reason for that
I can't remember the details of the script but it's probably doing something with artificial events which will prevent the events going on to further modules. You could try changing the order of the modules and see if that gets around the issue.
-
@d-healey yea its just in the note on and note off
noteon:
function onNoteOn() { Message.ignoreEvent(true); local nn = Message.getNoteNumber(); local id = Synth.addNoteOn(1, GlideTime.getValue() ? nn + GlideAmount.getValue() : nn, Message.getVelocity(), 0); midiList.setValue(nn, id); if (GlideTime.getValue()) Synth.addPitchFade(id, GlideTime.getValue(), - GlideAmount.getValue(), 0); }
noteoff:
function onNoteOff() { Synth.noteOffByEventId(midiList.getValue(Message.getNoteNumber())); }
i also cant add a midi player to the project without getting a nasty stuck note every time its used
-
@Adam_G Yeah it looks like that script won't be compatible with other MIDI modules in the same sound generator.
-
@d-healey ahh i really like the sound of the effect though haha. do you know if theres any other way to achieve the same thing?
-
@Adam_G Can you duplicate the sound generator and have one with the script and one without?
-
@d-healey not really feasible due to the project id like to use it in having numerous various sound generators. it would need to be a global effect
-
@Adam_G what about bypassing it when a conflicting module is enabled?
-
@d-healey thats a good idea but im not sure how to do that when the script isnt a module, its in the note on and off. how would i do that?
-
@Adam_G Not sure what you mean, the glide script should be a separate module