@d-healey You were right, it was the bundle identifier.
Best posts made by trillbilly
-
RE: AU Compiles but not visible
-
RE: Apple altool vs notarytool
For anyone doing it it manually, here is the code.
Thanks @d-healey as always!
Codesigning Plugin
codesign --remove-signature "MacHD/User/Desktop/PluginName.vst3"
codesign --remove-signature "MacHD/User/Desktop/PluginName.component"
codesign -s "Developer ID Application: YOURTEAMID" "MacHD/User/Desktop/PluginName.vst3" --timestamp
codesign -s "Developer ID Application: YOURTEAMID" "MacHD/User/Desktop/PluginName.component" --timestampBuild Installer
Sign Installer
productsign --sign "Developer ID Installer: YOURTEAMID" "MacHD/User/Desktop/PluginName.pkg" "MacHD/User/Desktop/Signed/PluginName.pkg"Notarize Installer
xcrun notarytool submit --apple-id "YOURAPPLEID" --password "App-Specific-Password" --team-id "YOURTEAMID" "MacHD/User/Desktop/Signed/PluginName.pkg"Wait For Upload To Complete
Staple Installer
xcrun stapler staple "MacHD/User/Desktop/Signed/PluginName.pkg"Check Status (Accepted)
spctl --assess -vvv --type install "MacHD/User/Desktop/Signed/PluginName.pkg"FYI: Just a tip coming from the altool manual notarizing. I used to have to enter my TEAMID including my name like "My Name (GD78YHD87G)" but with the notarytool, it seems you just need the actual TEAMID Number, not the name as well.
Also, I dont think this way sends the Notarization Email Confirmation. I did a fairly small upload a while ago and have yet to receive it. I've had it take hours before, but for a much larger file. Typically it sent the email within 10 or so minutes with altool. (it does not send the email. Once the upload is complete, youre good to go).
-
RE: Preset Crashes DAW
@Lindon @d-healey @Dan-Korneff @Matt_SF @DanH I did another rebuild and managed to get things saving correctly (so it seems). I messed with a few settings and properties so Im not 100% sure what it was but it's working so thats that. I appreciate all the help and input fellers!
-
RE: Making a Simple Rompler?
@daniel89ep Ya, @d-healey videos are great. I think this is with a Sound Generator but essentially you do the same with the Sampler.
-
RE: Notarisation for dummies
@orange Ive gotten to waiting for the email. Ill post update after.
UPDATE: Success. Thanks again!
-
RE: Export Error - JUCE VST3 Wrapper
@orange it looked a little different as I had downloaded the newest SDK. It had some extra folders but everything else looked the same.
@d-healey Thanks for the Password. Now that I am able to use the included sdk.zip contents, it has completed an export of VST3.
The help is much appreciated!
-
RE: Get Sample Filename from Sampler using custom Sample Maps.
@d-healey I know, I can feel you've basically given me the answer and yet its like I'm blind, deaf & dumb. However, of those may be true. I'm looking right over it. I'll go back and figure it out. I need to take a HISE break to work on another HISE project. The cycle...
-
RE: Get Sample Filename from Sampler using custom Sample Maps.
@d-healey Ive got it working with this minor change. Does this look better?
inline function onSampleViewer1Control(component, value) { Sampler1.loadSampleMap(list[value]); SampleName1.setValue(list[value]); }; Content.getComponent("SampleViewer1").setControlCallback(onSampleViewer1Control);
This works when using the viewport to change sample. Now the issue is if I use my randomize samplemap button, which does change the sample selected in the viewport, it doesnt update the label.
I'll dive into the button code and see if I cant figure that out as well.
Latest posts made by trillbilly
-
RE: Get Sample Filename from Sampler using custom Sample Maps.
@Lindon Hi Lindon. I used this now and its working as expected.
inline function onSampleViewer1Control(component, value) { if (value > 0) { local id = Sampler1.getSampleMapList()[value - 1]; Sampler1.loadSampleMap(list[value]); SampleName1.setValue(list[value]); Sampler1.loadSampleMap(id); } }; Content.getComponent("SampleViewer1").setControlCallback(onSampleViewer1Control);
If I take out the part you said was incorrect, then it stops working again.
Is there a different way I should go about this now?
-
RE: Get Sample Filename from Sampler using custom Sample Maps.
@Lindon Hi Lindon, thanks for the help! You're right, I should be doing this long before I come to the forum. I will for items like this going forward.
As for the issue, the Dynamic Sample loading seems to be working perfect, it just calling the samplemap name from the viewport that isnt correct,
When I use the console.print command, it does print a value that I know but it always just prints the first Samplemap name, no matter which I have selected in the viewport. Its just catching me off guard because we had it working previously with this exact code structure. I quadruple checked to insure I didnt change anything, and it all looks correct.
I'll keep looking over it again and try a few different things to see what the results are.
Again, I appreciate the help and time!
Best.
-
RE: Get Sample Filename from Sampler using custom Sample Maps.
@d-healey Hi David, I had to rebuild my plugin and now am having issues with this again. Could you take a look at this?
I have this in my onInit:
const var Sampler1 = Synth.getSampler("Sampler1"); const var list = Sampler.getSampleMapList(); const var SampleViewer1 = Content.getComponent("SampleViewer1");//viewport const var SampleName1 = Content.getComponent("SampleName1");//label SampleViewer1.set("useList", true); SampleViewer1.set("items", list.join("\n")); inline function onSampleViewer1Control(component, value) { Sampler1.loadSampleMap(list[value]); SampleName1.setValue(list[value]); }; Content.getComponent("SampleViewer1").setControlCallback(onSampleViewer1Control);
This is loading Samplemaps via the Viewport. It is supposed to update the label with the name of the Samplemap as well but fails to do so upon clicking the Samplemap in the Viewport.
I have this in the SampleLoadSave.js:
const var samplepanel = Content.addPanel("SamplePanel", 0, 0); samplepanel.setLoadingCallback(function(isPreloading) { if (!isPreloading && isCustomMap) { var s = Sampler1.createSelection(".*")[0]; SampleName1.set("text", s.get(Sampler1.FileName)); } });
This is the code you kindly provided me above. It sets the name of the label to the Custom Sample Filename/Path.
Everything works as it should except the Label not updating upon clicking the Samplemap in the Viewport.
Can you spot an issue?
All the best!
-
RE: Undo/Redo with Randomization?
@clevername27 no biggie, thanks for getting me going. I do think this is it, just not sure how to get there. I'll keep chugging away.
-
RE: Undo/Redo with Randomization?
@clevername27 So I've tried this in the Callback of the Randomize Button. I've also tried placing it in the Callback of the Undo Button.
Engine.performUndoAction({ "obj": Stepsknb1, // the object that will be modified "newValue": [Math.randInt(0, 16)], // the new state "oldValue": Stepsknb1.clone() // the old state (we need to clone it or it will not keep the old values) }, function(isUndo) { this.obj.clear(); // pick the values from the old or new state for(v in isUndo ? this.oldValue : this.newValue) this.obj.push(v); }); // new state Console.print(trace(myList)); Engine.undo(); // old state Console.print(trace(myList)); Engine.redo(); // new state Console.print(trace(myList));
It recalls the number of times the Randomize Button was pressed, but does not recall the correct settings for the Steps knob. Instead, it just randomizes the number again.
Do you know where I'm going wrong?
-
RE: Undo/Redo with Randomization?
@clevername27 I was attempting to see if
performUndoAction
was it but I couldn't figure it out from the article in the documentation. I'll also check outsetValueWithUndo
, thanks for pointing that out.I'll just be in trial and error mode until I get somewhere. God help me...
Best and thanks again.
-
RE: SOLVED: Arp skipping steps?
Solved.
I didnt realize having the "note length" of the arp set to the highest setting would cause this but sure enough that was it. If anyone else comes across this, insure your Note Length is below maximum value.
-
Undo/Redo with Randomization?
Hey Gang,
I've got a randomization button for sequencers (6) and sample selection (6).
It seems the plugin does not recognize that the Steps, Velocity, Stride and Time have been changed if I used the random button as it does not recall anything when undo it pressed. However, if I also set the UndoManager to ENABLE on the Random Button, then when I click undo, it randomizes the sequencer again rather than recall the parameters. Changing the Steps, Velocity, etc manually on the UI works as it should with undo/redo.
Using the random button with the Sample Selection poses the same issue. It does not recognize that the sample has been changed unless I have the Random Sample button UndoManager enabled. Again, when you click undo, instead of showing you the previous step it randomizes the sample again. This is loading Sample Maps via a view port into the sampler.
I have the correct "metaparameter" settings.
Where am I going wrong with the undo/redo action?
-
SOLVED: Arp skipping steps?
Hey Gang,
Im using a variation of the CustomSampleImport template for a drum sequencer. I have 6 samplers, each with an arp. All arps act strange in the same function.
Firstly, the arp is skipping steps. See the settings below. The arp should be playing each step, but only plays step one on each. It skips the other steps in the sequence. The velocity is up, the settings seem correct, Im a bit stumped. Has anyone had this issue?
Secondly, what is the best way to describe what the "Stride" setting?
Thanks for any and all help.
-
RE: User Specified Sample Folder per Sampler?
@Lindon said in User Specified Sample Folder per Sampler?:
FileSystem.browseForDirectory(var startFolder, var callback)
Yes, thank you. I have added this to the SampleLoadSave.js of the CustomSampleImport project. On Right Click, it opens the directory browser twice. I can select a folder but it does not load the samples in the folder or randomize the folder.
SampleDropper.setMouseCallback(function(event) { // Clear the sample on double click if(event.doubleClick) { Sampler1.clearSampleMap(); return; } this.data.hover = event.hover; // Show a directory browser on right click if(event.rightClick) { FileSystem.browseForDirectory(FileSystem.Samples, loadSample); return; this.repaint(); } });
Here is how I am randomizing some components in case I need something here. I know there is a way to reduce the script, I just don't know it.
const sampleMapsRAN = Sampler.getSampleMapList(); inline function onShuffleSamplebtn1Control(component, value) { if (value) { local index = Math.randInt(0, sampleMapsRAN.length); local sampleMap = sampleMapsRAN[index]; Sampler1.loadSampleMap(sampleMap); SampleViewer1.setValue(index); SampleName1.setValue(list[index]); } }; Content.getComponent("ShuffleSamplebtn1").setControlCallback(onShuffleSamplebtn1Control);
Thanks again.