@d-healey it's a 1 to 1 relationship in this case so I think I might be ok. I'll test it in the morning and see if it works for me though. I appreciate both your input and replies, thankyou
Posts
-
RE: Audio waveform/sampler start/end points not recalling in daw
-
RE: Audio waveform/sampler start/end points not recalling in daw
@DanH oh wow interesting. I'll give this a go as it sounds like the sort of solution I was looking for. I'll give it a try tomorrow and let you know how it works out. Thankyou for the reply
-
RE: Audio waveform/sampler start/end points not recalling in daw
@Chazrox thanks for the reply. I tried that the other day but it didn't seem to work.
If I dragged the start/end point in saw when using it in a project, when I reopened the saved project next time they were back at the start and end of the waveform as they were originally. -
RE: Audio waveform/sampler start/end points not recalling in daw
@rzrsharpeprod Further info in this.
I just added an audioloopplayer to the project and it recalled the drag points just fine in DAW.
I also just built a basic project separate from the one above with just a sampler and waveform in it.
That didn't recall the drag points correctly in DAW so that leads me to believe that the sampler itself is the issue and not any clashes of code in my project etc.So now I am hoping that there is some script that I can use or add to my script that will allow the drag points to save and be recalled in DAW?
-
Audio waveform/sampler start/end points not recalling in daw
Hi all,
I am an issue that I can't seem to solve and I am hoping that somebody can point me in the right direction.
I have a sampler in my project and an audio waveform in the UI. The user can drag the start and end points on the waveform and this will affect the start and end points of the sample.
This all works fine but inside a DAW when you reload a project in which you have changed the start/end points via the drag feature then the new points are not reflected and the full sample range is selected again.My questions are as follows:
-
Is there something I need to add to my script to allow these to save?
-
Is this how it is supposed to work or could it be something else in my script causing a clash? I can't find anything but maybe there is something.
-
I have done this before using the audio loop player instead of the sampler and it recalled fine.
It may be worth noting that I am using expansions. I have never used them before and a few unexpected things had to be solved because I was using them, could this be causing a problem too?
Any help is appreciated as I can't figure this out after countless tests and builds but with no change
-
-
RE: Searching across all expansions
@mehmethand sorry for the long delay in reply. Can this then be used in the search bar in the preset browser? If so I can't figure out how you would go about doing that
-
Preset browser questions
Hi all,
Just a couple of questions I have regarding the standard preset browser. I have had a look around the forum but couldn't see anything about these specifically so I am asking here hoping somebody can help.
If you minimise the plugin and then bring it back up again, currently my preset browser is defaulting to going all the way to the top of my expansions list rather than still showing the selected expansion. It is doing the same with the presets as well, the one further down is still selected and playable but it is going to the top of the list when you bring the plugin back up. Functionally it is fine as the correct preset is selected, but it just looks a bit odd from a users point of view so I would like to fix it if possible.
My second question is about the speed of the scroll up and down the expansions/banks/presets. Can this be changed at all as it is quite fast?
It doesn't seem too bad on the presets as there are 50/60 per expansion, but there are only 10 or so expansions so it is a much shorter list and seems to be much quicker. Maybe the speed is tied ot the number of elements in the list I am unsure but hopefully there is a way for me to tweak it a little?Thanks in advance
-
RE: Searching across all expansions
@mehmethand Thankyou, I will give this a go at the weekend and see how I get on
-
RE: Searching across all expansions
@d-healey said in Searching across all expansions:
@rzrsharpeprod You'd need to modify the HISE source code for this
That sounds like fun...!!
-
RE: Searching across all expansions
@d-healey I thought that might be the case. I'll try the solution above first to see if can do it without the need to modify the source code
-
Searching across all expansions
Hi all,
I am presuming this isn't possible but I am asking just in case as it would be a nice feature for the end users to have.
Is it possible to get the search function in the preset browser to search across all of the currently installed expansions rather than just the currently selected one?For example, If I had 5 expansions installed and each of them had some bell presets in. Can I make it so that I can type the word 'Bell' into the search box and it show all presets with the word 'Bell' in them across those 5 expansions rather than just the presets with the word 'Bell' in the currently selected expansion?
Thanks in advance
-
RE: Label to show current expansion
@d-healey Got it working, thankyou.
Obviously it has to go in the part of the code where the change happens...for whatever reason that basic concept had escaped me. Thanks again
-
RE: Label to show current expansion
@d-healey said in Label to show current expansion:
By changing these to const vars and having them above the code to populate the label, I can get it to work but it only works for the initial expansion. It doesn't change when I switch expansions unless I recompile.
I have done this as you suggested
const var currentExpansion = expHandler.getCurrentExpansion(); const var expansionProperties = currentExpansion.getProperties(); const var expansionName = expansionProperties.Name;
and this is in the else clause of my label populate script
Content.getComponent("ExpName").set("text", expansionProperties.Name);
but it doesn't change without recompiling. What am I missing?
-
RE: Label to show current expansion
The array that contains the expansion names is called expansionNames in my project
What do I need to put after this part to call the expansionNames current name please?Content.getComponent("ExpName").set("text",
I looked through the API and am struggling to see what I need to use.
I have triedContent.getComponent("ExpName").set("text", expansionsNames.push(p.Name));
and
Content.getComponent("ExpName").set("text", expansionsNames.getProperties().Name);
but am getting errors as it clearly isn't right. I can usually find examples or something to help me figure out the syntax but I am struggling when it comes to expansions as there doesn't seem to be too much out there other than your 2 tutorials and a little in the API.
-
Label to show current expansion
I am trying to create a label to show the currently selected expansion but I can only get it to show the object name not the actual name of the expansion.
I have used this code to do the same for the preset name and it works fine
Content.getComponent("PresetName").set("text", Engine.getCurrentUserPresetName());
but when I use this code for the expansion name using this (ExpName is just the label)
Content.getComponent("ExpName").set("text", expHandler.getCurrentExpansion());
I get the object name instead as well as a warning in the console saying
! You must specify the unique component name, not the object itself
How can I get the expansion text name and then apply that to the label please?
-
RE: Expansions sample maps
@d-healey ah ok strange.
Thankyou for your help as I now have it working properly and selecting the correct samplemaps.
I've also got the expansion load working in daw as well so I can progress with my project which is great news.
Thanks again, your help is always invaluable
-
RE: Expansions sample maps
Ah I see, so it was there just collapsed inside the function as it was created inside a function?
-
RE: Expansions sample maps
@d-healey Ok thankyou. I have created a minimal project and sent it to you via DM
-
RE: Expansions sample maps
@d-healey it should be I think as the cmbExpansion value is changing correctly which is the value that the if/else is looking at
If I choose the first entry in the combobox it looks like this
and it changes accordingly if I choose another entry further down the list
That being said cx still doesn't show up in the scriptwatchtable if it is a local var in the else clause, should it?
Would it be easier if I made a minimal snippet or very light version on the project as I feel I have probably set something up fundamentally wrong and you won't be able to spot it from my poorly explained snippets of code above
-
RE: Expansions sample maps
@d-healey I have moved cx to const var outside of the function or else it doesn't show up at all in the scriptwatchtable. Now that I have moved it it exists but is blank
As a result the combobox is now completely empty and I have these errors in the console
So I guess the question is how do I get the var cx to populate correctly?