my first instrument :)
-
Just about to build this. I loaded up the project and I noticed all the samplers are bypassed, then I realised they are switched on using controls on the UI. This is not the way I'd recommend allowing users to toggle samplers on/off while other sounds are playing.
It can cause some audio glitches or hanging notes (although probably not going to happen with this instrument). A better method is to use MIDI muters.
I'm going to build it now and I'll let you know if all goes well :)
-
Built it and it plays beautifully. The CPU usage is a little higher than I would like, I'm not using the IPP so once I disabled the reverb that brought down the CPU a bit. I think most of the CPU usage though comes from the samplers, I don't think there is much that could be done without reworking the samples into fewer samplers but that would require more work than it's worth. Do you mind if I make a video about this plugin?
-
@d-healey I wouldn't mind a bit... thanks for all the input. I also didn't like to bypass the samplers in such way, but did not know about MIDI muters :).
I plan to update this anyway and your input is highly valuable and helpful.I'm also building two other instruments and will post them soon, got some more work on them to bring them in a kind of beta state :)
-
@musictop I made a video a couple of months ago about articulation switching, including the use of MIDI muters. It's currently only available to my Patreon community but will be available on YouTube sometime next year.
-
@d-healey would you mind sending me the compiled linux plugin so i can add it to the download package?
-
@musictop Yeah here it is - https://www.dropbox.com/s/3oby964qndp2eni/OT P1ANO.so?dl=0
This was made on Linux Mint 19.1 so it might not run on earlier versions or Ubuntu below 18.04
-
@d-healey thank you very much. Very kind of you!
-
Hi,
At first thank you guys!But:
- Linux binary crashes on AMD CPU with illegal instruction, I guess it compiled with -march=native on some Intel CPU.
- I've compiled plugin from sources (it works even with IPP), and see that all labels are empty (Only LIBRARY button is labeled). Could you check the source archive which you published above please?
PS It looks like a bug. While in otp1ano_betaDesktop.xml there correct definitions:
<Component type="ScriptLabel" id="COMP label" x="470" y="229" width="60"
height="20" fontName="Calibri" text="COMPRESSION" textColour="4287072135"
itemColour2="1118481" editable="0" fontSize="10" fontStyle="Bold"/>in HISE all label just are *
-
@Kott thank you very much. Will look into it. Could it be a missing font problem?
i believe this is the font i've used, (https://freefontsfamily.com/calibri-font-free/ )as far as i know it comes standard with win 10 installation but i might be wrong.
maybe if you can install it the labels will appear!?
i was actualy expecting this at some point and was thinking about "baking" those labels on the background image of the interface to avoid this type of problem...
-
Yeah, it can be font related. While I have Calibri installed the Component Specific Properties is completely absent (just arrow).
I'm gonna investigate it.Wait... I run HISE with your project again, and now Component Specific Properties is working :((
-
@Kott Is your AMD CPU old? Does it support SSE4.1?
-
@d-healey
AMD FX8120fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb cpb hw_pstate ssbd ibpb vmmcall arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
I'm afraid problem is in AVX2. Some time ago we catch similar issue: https://github.com/ryukau/LV2Plugins/issues/2
And don't You have any problems with labels/fonts? I re-typed them manually in UI Designer and after compilation initial OT P1ANO window displays as it should, but after selecting preset all labels gone away again. I can provide screens if it helps.
-
Mine looks like this, which I assume is correct.
The only graphical issue I noticed is the settings window has a transparent background.
@Christoph-Hart Any solution for the AVX2 thingy?
-
@d-healey yes, i couldn't set an opaque background for settings and midi sources panels for some reason... that's why i made an all zero preset to have a black background for when you need to open settings and midi sources... not a very elegant solution :)
i couldn't figure out why the background of these panels cannot be set other than transparent, or i'm missing something?
In terms of labels, i believe the best solution is to 'bake' them to background image and remove the labels, though this might not be a good solution for standalone version when/if interface is scaled...
-
-
I think we should try to deal with fonts rather giving up and hardcode labels in background :)
it makes sense for scaling GUI -
@Kott true, that one doesn't look like the calibri font
-
Ok, I found that labels disappears after preset changing.
Maybe someone knows how to debug such case?