New to HISE, the forum – and a question about Voice Spread
-
@inlandempire said in New to HISE, the forum – and a question about Voice Spread:
@Lindon Thanks – Exactly where I want to end, though I still will have to figure out the logic in doing the same with just one sampler.
Things like these are still tough for me as I think mostly as a musician and producer. So I think in the picture of a midi message triggering either left or right, but running through a stereo amp :-)
Well, what you seem to be conflating here are signal and note routing...once a signal is audio then you get to pan it left or right, you dont get to decide which side based on the note played - at that point its stereo audio data - coming out of your sampler. it no longer contains any information about the note that generated it.
I think its worth having a model of how the sampler works:
Midi data(notes) arrives at the sampler, and the sampler looks up the correct audio file to play and plays it, then it mixes this audio in with any other audio that it is playing at the time and outputs that as stereo output...this is essentially how all samplers work
Notes (before they hit the sampler) can be routed in several ways - I demonstrated one using the notes MIDI channel. Now as it happens just before its mixed with any currently playing audio you can modify a notes audio - but only gain or pitch - with the available APIs, but there is no API for settings its pan... so you are out of luck there.
You have an edge case here, you can ask @Christoph-Hart if adding an API call e.g. Message.setPan(value) is even possible - and it might be a nice thing to have. But if you want to do what you want within the current HISE engine I cant think of another way - always keen to learn if you or anyone else has a solution....
-
What about adding a simple gain module and alternating the pan parameter with each note?
-
@David-Healey said in New to HISE, the forum – and a question about Voice Spread:
What about adding a simple gain module and alternating the pan parameter with each note?
..which would then pan all playing data (all notes) to one side or the other...
-
@Lindon I think it works per voice, I seem to recall Christoph mentioning it somewhere.
I made a little snippet to test, let me know if this is the right idea.
HiseSnippet 1094.3oc2X0saaaCElxwrn1cqncnXXWJTrKbFxBrZ7xOqXHNINYyX0IFwosaWUPScrMQjH0nnxlwvd41SvdT5av1gRN1xMdNtdYYMSWHXdN7P9wuyeTtsVwg3Xkl3T9rgQ.w4incFJMCNX.SHIMaPbdHsEK1.Z2LQ6OLhEGC9DGmU9Vq.mREIoOuc28YALIGlHhPdkRvgWHBElIRaW+6EAAGw7gyDg4lcs5M4J4Ap.UBhmUnUIQL94r9vwL6zJPIeGKd.w4Kndv101xu6N7taVyq1F7cpswNU82lUC5wgpd96Tqasc3U2h3bu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9zK0UL7YKqgarrFVaYM7qVVC2bYMbqk0vsudCsMg1KwnByRMIjVsOL8yMcbNTxvn7zLBxeArDJsYFEdit: Looks like I might have been thinking of the poly stereo effect, but that won't work with a container.
-
Ok it works with a synth group. I was a bit lazy and used a MIDI processor but you could probably use a scripted voice start modulator if you wanted to.
HiseSnippet 1182.3oc4Xs0aiSDEdbSmER1xxtRUHdAIqU7PKZoJlF5EVg5kjlRDaZip6dgmVM09jjQ0YFy3wEpP7aCD+B3mx9O.Nisah81P2zPfsa27fUlyYNy4ym6i6njdPTjTQrpb74g.wZAp64Bc+58YbAoUCh08nsYQZPYmRZ2yCYQQfOwxpz9FBVkmmj76UasKKfI7fQjHjmI4dvS3C35QT6r82yCBZx7gi4Cxs6Za2xSJpKCjwHdJQqRBYdmx5AGvLaaNJ46XQ8IVeA0A1n159mro2IqUyo1pdaVa0Mq5uAqFz0Cp53uYsSpsoW00IV2YOetVpb0LMDgG5tR+yc6K+IQpBdFOheR.XV3PbQMmRlTuOOvuyEFmHBwh1YjopTpoZQZatOeH8Qlr6mvvdjD4MZVycUPx4Z.IqbPZ9TH8.pqmhGpGwwfm6RaIPOXWF5axCkz8Rr9CZcItAgdkArSglJbwPAVZspUejM9X4GWoR2XgmlKE1RwARMbnXokq7KUJW4WqX+5r51cr7LJRICB.0XYaBHTWkfKIhGbBndj8YrfXX3FQCPQq5clLqpW56ctMJEsDb8ggP15lx.ei0x7+K6CHYFN7eOsUCllYbKYzv8EBJM2.GqFvYXhPpSpLsADcpVFhoBWxChwNR+3.ltX.kIUKiAZOJ3EMtJQDWed9TwqQTV0qLJaRg3Cnc3Zu9iGiyMFLhVp+KvXVt4GQ2qaWvSOBfySa9hoMQbxU+GWnJ59JYbXh1WLk.DwivRoIzclE0RCm3Zo6IX3aSy14Ow5LkhCpVBe3myo7ean+8RbdpfGIExDnry.YrPmGzYba.5XQAnmwvMTAL+7RXPuKfP0O4HiJDCWpnCZ9IKmtXpRt8OlRnevagp5UmQU0KSCYhNRQuwUSetOyhpfd13Vr+V6uzoZUr7MZliz10MOYBsCxHInbkdfdnGeoGNj+CW9w+CE7SO0jmoGt8V1lmeSllJWo7vSYkHPOL8eITFrQxMu9EzYU+h2G6QTHls7EXzkOHL.1SbFDfujYMIZ.cYwA5gTyCx1XEhv9RA2Keoii.sh2qGnxC8w99riViyKNhxhaeDD.rnbUh97seBW.LEZlfozTb8GJartqOklBWaSHr86ts1Kcqt0dA2IMU+Unt3rwfD0oQ4Kjszt4KJ1QuCKWC8e32eN2W2OGgs++Ol69TDS+qh0lvVviFZdxMpWzvH6FKC6e7lA4t7PY.SYlyblYSmzbiEnoC6Xrp2.ScwfyjQtdKBu6kBu6h8CDPx7FIH6SRVa+b1Yf89f.TFfeUiD+my9QhOzSip+XESDEJiJbvtv.9wRQ9ARw12Q3kige7HSxSgwnkL0XY8psZhujiUFWlNVkjE95iQiIHklUUFl+F27suubk2a28EIGIi0bQu1Lb3L7BhzChG3h4Ud.pcg.BLiTaMmI2HccUy5zDKgexh+B+kwzwr1JioyELu0niALOk7kdoWHwjU9gITPaqH4CaVl11r11gjbIk7wKCvLxW54U7ntjfe0zJ3pSqf0lVA+5oUv0lVAWeZEbi2rflBl6DqkCRS+Ij1c1K4FdVVoetkjrNxeicrhkO -
@David-Healey interesting...nasty clicking in the audio output when you play more than one voice at a time...and it doesn't seperate out notes playing at the same time here...yeah its panning everything when you have more than one note playing...
-
@Lindon said in New to HISE, the forum – and a question about Voice Spread:
yeah its panning everything when you have more than one note playing...
I wonder if a voice start mod would solve that
-
@David-Healey This doesn't do what I expected it to do. If you extend the release you hear the whole audio signal panning left and right.
I think the request is that once a note is triggered on the left, it plays out on the left, then the next note plays out on the right.
EDIT: Ha! Late with my reply again

-
@David-Healey Here's a video of how the UVI synths implement it, and what I think @inlandempire is asking for:
-
@dannytaurus @Lindon Here's a version with a voice start mod instead, let me know if this is better
HiseSnippet 1163.3oc6Xs0aaaCElJNra1MqqEHXX.6goArGRG5FrV7xEDLzbw1YF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noabJY1mgEvQtIpPxO59sdaXQgbBJV5D8WMWzYnPlu6uR8uMpUUntISvbMKJyAs3AvSNq8WNRtWRprybEzqIhpKfyu6Wm3tHBfuAlyo5jMLPdCBuakCuapt7jAFNgFj8Yl0tOlbB3tKv.w4K5KyP7et5YHtefT49CEDVZBOszC1GhoGxY17yTERopeeH7qGnmzThUImHlppme+1pC4TswmnZzLirNKqRUg50BOv4+.OvOPn35HKd.OSRYG0knX0p9sS38xh8U8XAfx6LFDoeiDNyo6SxWWWuNuIiEZV7upOEJ8zqcJT5cpx2a7QLIPveZP9kf5txO1HQEaYl24WUbW8ZWOj4hQ65kXUG4SCBJ+nNmge+rZ3xypgMlUC+gY0vUlUCWcVMbsK1P8.ysxj7371eDpauVFdGNN4uIBSWG5+.n.WafD -
@David-Healey Works!

-
@David-Healey And using Stereo Width on Stereo FX1 allows to control the width of the effect.

-
@dannytaurus @David-Healey
Yeah it seems a bit more difficult than I expected to be honest – and sorry for the confusion with midi messages kind of triggering a left/right function. That was a bit awkward. :-)I am fully aware that if we are inside of the sampler we can decide where we want our samples to be panned and when they go out of th sampler, they are panned the way we've panned them.
In the Oberheim domain (at least on the older models – well basically on any analog synth) – each voice has it's own amp with it's own envelope – so basically the amps are panned Left/Right ...(or how you like them to panned if they have exposed individual trim pots).
Thanks for helping on this issue....it's much appreciated.
-
@David-Healey said in New to HISE, the forum – and a question about Voice Spread:
@dannytaurus @Lindon Here's a version with a voice start mod instead, let me know if this is better
Thanks David - This was exactly what I was aiming for – and intuitionally I was right. It was really not much of scripting. But I had not figured out at this tage of my developing career :-)
-
@inlandempire said in New to HISE, the forum – and a question about Voice Spread:
But I had not figured out at this tage of my developing career
As you can gather from the thread, neither had we

-
@David-Healey said in New to HISE, the forum – and a question about Voice Spread:
@inlandempire said in New to HISE, the forum – and a question about Voice Spread:
But I had not figured out at this tage of my developing career
As you can gather from the thread, neither had we

Hahaha... Yeah, it was not something that were just shut down as a trivial newbie question

Aa a musical concept I feel it is very overlooked. People are dropping so many "wider-bigger" statements all the time - but to me stereo and widening is something different. Though the wide effect comes with voice spread it still serves a more musical purpose when playing chords.Like writing scores to each musician and placing them in the room.
Happy you helped the long birth of a very simple child .
-
@David-Healey said in New to HISE, the forum – and a question about Voice Spread:
@dannytaurus @Lindon Here's a version with a voice start mod instead, let me know if this is better
HiseSnippet 1163.3oc6Xs0aaaCElJNra1MqqEHXX.6goArGRG5FrV7xEDLzbw1YFqNwHJ8xdpfV53XhHQpQQkMig8aaE6Wv9oz+AajTJ1TItMMdI8FpeHw7b3QmOdtwOqdBd.jlxEHmZGNJAPNKf8GwjC2YHgxPcZhbtEtKIUBB2bQaOJgjlBgHGmJ6pE3Tcdj4yyu+1jHBK.lHBgdDmF.OfFSkSj1ayelFE0lDBGRis1ciM6DvY6vi3YJ7TAWGkPBNlbDrGQus4vnehjND47MXOXsFqF1e8f9qzvqwxAq2X40qGtFoALH.p6Etdi9MVOn9pHmazJjJ4BeIQBoHm42lGNxeH+2X4N3QzTZ+HPuvC4q7bt317nP8QTKEsyPZTXuSCToHjCt2jvVk7v1h3tzP5X4SBe21nvchE1APm4JCuJkfmmM7paAuo.IGKHMeNjtC1OPPSjSznwyMwcXpr4.hJOYCk78hb9a7Nb0FXxuKlbLzVnVL1fkVod864p9yc2nVsAYr.Ikyb4r83RXe1R2s1eTqZs+rl6YUMXvT0ocjfGEAhopVWbHdYFtDKKtOHtm6IjnLX7FUAfxQU7KNpZmzCxO2Vajy5vnx8S.1KpT.UDrTe6gcZRjDcpnPlZeIfPR0PvoIbhpQHOwTE2DROVxSTsBmKqopW3gYQDY4hHcqVgBULnTlSmdXoT4H6VwqrJqWUHdGbOpLX3zw3bSAipH00AFK5G+DbqACf.4D.NOt8StdZ9rc+mVZJ5tBdVhw6KlK.RoopQoF4dWEyRSdkmk1hQTml1cseh6PDBJH5vBge2x4+03764z7PFMky3FnrULOiIsAcg1lfLiUB5EJ7SD.Iz1BM58AETCMOxzR0vUdYCu8lwg2ezacCueGXJPo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