Player - I'm going crazy
-
@d-healey You have a solution for setting a drop range?
-
@rglides I haven't tried, but it's just scripting so it's all under your control.
I would assume it's this function that handles the sample loading. And this function will allow you to set which notes it maps to.
If it was me though I would just use this as a guideline and write it from scratch to do the thing you want instead of trying to make Christoph's code do something it isn't intended to do.
-
@d-healey Thanks, yep I intend to first strip it down to a much more basic version and then build it up again but with some other functionality I already have working, I'll have another go at it today.
-
@rglides looks like this https://forum.hise.audio/topic/7225/dynamically-loading-samples-sampler-audioloopplayer?_=1741312643183 solves the range issue. @Straticah sounds like this could be very useful for you too
-
@rglides If you check the snippet browser, Christophe wrote a custom SNEX sample playback node. That might help you.
-
@Orvillain Thanks yeah, I mentioned it, it does do what I want although I'd need to figure out how to use it with the right players. But without the reverse option for the players in scriptnode, I'm thinking of going with the sampler
-
@rglides Reverse option is quite easy to add if you know C and can modify the node code.
-
@Orvillain haha I'm just about getting to grips with HISE, I plan to learn different languages/frameworks but this would be my first attempt. I will look at it more thoroughly today though
-
@rglides SOLVED
in the import custom sample tutorialinline function loadSample(file) { local s = [Sampler1.parseSampleFile(file)]; if (s.length > 0) { s[0]['LoKey'] = 60; s[0]['HiKey'] = 60; } Sampler1.loadSampleMapFromJSON(s);
-
@rglides Link to this video please!
-
@Chazrox the key switching one?
-
@rglides this load custom sample tutorial.
-
@Chazrox Ah I see! it's a github tutorial, so no video - you need to make a new project and add all these files/folders - https://github.com/christophhart/hise_tutorial/tree/master/CustomSampleImport
-
@rglides sweet! I needed this too.
-
-
@clevername27 said in Player - I'm going crazy:
It's a lite sampler.
A sampler should record, the sampler isn't even a sampler, it's all lies!!!
But the sampler, the audio loop player, and the file player node can play audio files. So I would say they are audio players. You can also use
Engine.playBuffer
to play a file without requiring it to be loaded into a module. -
@d-healey said in Player - I'm going crazy:
Engine.playBuffer
Oh I need to look into this. Honestly HISE has so much, ever grateful for Christoph, who needs a play button anyway! :D
-
@clevername27 David is a goat, British or not. I'm British too but further south than David, which makes me objectively a worse person
-
@rglides Welsh?
-
This post is deleted!