HISE Logo Forum
    • Categories
    • Register
    • Login

    my first instrument :)

    Scheduled Pinned Locked Moved General Questions
    30 Posts 5 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by

      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 :)

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 1
      • d.healeyD
        d.healey
        last edited by

        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?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        musictopM 1 Reply Last reply Reply Quote 1
        • musictopM
          musictop @d.healey
          last edited by

          @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 :)

          my website: https://musictop69.wixsite.com/ilirbajri
          https://musictop69.wixsite.com/creatools
          https://musictop69.wixsite.com/orchestools

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @musictop
            last edited by d.healey

            @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.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            musictopM 1 Reply Last reply Reply Quote 1
            • musictopM
              musictop @d.healey
              last edited by

              @d-healey would you mind sending me the compiled linux plugin so i can add it to the download package?

              my website: https://musictop69.wixsite.com/ilirbajri
              https://musictop69.wixsite.com/creatools
              https://musictop69.wixsite.com/orchestools

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @musictop
                last edited by

                @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

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                musictopM 1 Reply Last reply Reply Quote 1
                • musictopM
                  musictop @d.healey
                  last edited by

                  @d-healey thank you very much. Very kind of you!

                  my website: https://musictop69.wixsite.com/ilirbajri
                  https://musictop69.wixsite.com/creatools
                  https://musictop69.wixsite.com/orchestools

                  1 Reply Last reply Reply Quote 1
                  • K
                    Kott
                    last edited by Kott

                    Hi,
                    At first thank you guys!

                    But:

                    1. Linux binary crashes on AMD CPU with illegal instruction, I guess it compiled with -march=native on some Intel CPU.
                    2. 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:

                    in HISE all label just are *

                    d.healeyD 1 Reply Last reply Reply Quote 1
                    • musictopM
                      musictop
                      last edited by

                      @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...

                      my website: https://musictop69.wixsite.com/ilirbajri
                      https://musictop69.wixsite.com/creatools
                      https://musictop69.wixsite.com/orchestools

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kott
                        last edited by Kott

                        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 :((

                        1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Kott
                          last edited by

                          @Kott Is your AMD CPU old? Does it support SSE4.1?

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          1 Reply Last reply Reply Quote 0
                          • K
                            Kott
                            last edited by Kott

                            @d-healey
                            AMD FX8120

                            fpu 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.

                            1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey
                              last edited by d.healey

                              Mine looks like this, which I assume is correct.

                              9c7ddfb3-acb6-43f8-87d8-f5cb6ca71e96-image.png

                              The only graphical issue I noticed is the settings window has a transparent background.

                              @Christoph-Hart Any solution for the AVX2 thingy?

                              Libre Wave - Freedom respecting instruments and effects
                              My Patreon - HISE tutorials
                              YouTube Channel - Public HISE tutorials

                              musictopM K 2 Replies Last reply Reply Quote 0
                              • musictopM
                                musictop @d.healey
                                last edited by

                                @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...

                                my website: https://musictop69.wixsite.com/ilirbajri
                                https://musictop69.wixsite.com/creatools
                                https://musictop69.wixsite.com/orchestools

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  Kott @d.healey
                                  last edited by Kott

                                  @d-healey
                                  yes it's correct though afaik it is not Calibri font

                                  about AVX2, it can be workarounded by using this hack in build.sh:
                                  TARGET_ARCH=-Wl,--as-needed CONFIG=Release make

                                  AFAIK it simple "disables" -march=native

                                  musictopM 1 Reply Last reply Reply Quote 0
                                  • K
                                    Kott @musictop
                                    last edited by

                                    @musictop

                                    I think we should try to deal with fonts rather giving up and hardcode labels in background :)
                                    it makes sense for scaling GUI

                                    1 Reply Last reply Reply Quote 1
                                    • musictopM
                                      musictop @Kott
                                      last edited by

                                      @Kott true, that one doesn't look like the calibri font

                                      my website: https://musictop69.wixsite.com/ilirbajri
                                      https://musictop69.wixsite.com/creatools
                                      https://musictop69.wixsite.com/orchestools

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        Kott
                                        last edited by

                                        Ok, I found that labels disappears after preset changing.
                                        Maybe someone knows how to debug such case?

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        38

                                        Online

                                        1.7k

                                        Users

                                        11.7k

                                        Topics

                                        102.1k

                                        Posts