HISE Logo Forum
    • Categories
    • Register
    • Login

    Constant Audio - Tape/Vinyl Emulation

    Scheduled Pinned Locked Moved General Questions
    tapeemulationaudio playerloop player
    18 Posts 5 Posters 1.0k 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 @DanH
      last edited by

      @danh Yes. Also if the button is saved in preset it could also start the note as soon as the preset is loaded.

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

      trillbillyT 1 Reply Last reply Reply Quote 0
      • trillbillyT
        trillbilly @d.healey
        last edited by

        @d-healey @DanH yes, the timer option would work perfectly for this if it would allow instant playback when a Preset is selected.

        Once I'm able to get to the studio today I'll pull up the documentation and play around with it.

        Thanks for the help!

        1 Reply Last reply Reply Quote 0
        • trillbillyT
          trillbilly @ustk
          last edited by

          @ustk super appreciate you! Thanks for this

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @trillbilly
            last edited by

            @trillbilly If you want it to play or not depending on the selected preset then a button is the choice to make

            Can't help pressing F5 in the forum...

            DanHD trillbillyT 2 Replies Last reply Reply Quote 0
            • DanHD
              DanH @ustk
              last edited by

              @ustk agree, as @d-healey said save it in the correct postition and it will play as soon as the plugin loads, and then you can toggle it on and off at will

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              1 Reply Last reply Reply Quote 0
              • trillbillyT
                trillbilly @ustk
                last edited by

                @ustk @DanH ahhh, sorry, I misunderstood what was said. I got it now. Thanks again!

                1 Reply Last reply Reply Quote 0
                • trillbillyT
                  trillbilly @ustk
                  last edited by

                  @ustk I've got it close to working. It is indeed turning the Noise FX on and off, but it is also effecting all other sampler. When I turn the button on and off, it turns each sampler on and off, not just the one generating the noise.

                  Here is how I have is coded:

                  const var Sampler5 = Synth.getSampler("Sampler5");
                  
                  inline function onButton1Control(component, value)
                  {
                  	if (value)
                  		Synth.addNoteOn(1, 60, 60, 0);
                  	else
                  		Synth.addNoteOff(1, 60, 0);
                  };
                  Content.getComponent("Button1").setControlCallback(onButton1Control);
                  

                  Am I missing something to control only "Sampler 5" with this funtion?

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @trillbilly
                    last edited by

                    @trillbilly said in Constant Audio - Tape/Vinyl Emulation:

                    @ustk I've got it close to working. It is indeed turning the Noise FX on and off, but it is also effecting all other sampler. When I turn the button on and off, it turns each sampler on and off, not just the one generating the noise.

                    Here is how I have is coded:

                    const var Sampler5 = Synth.getSampler("Sampler5");
                    
                    inline function onButton1Control(component, value)
                    {
                    	if (value)
                    		Synth.addNoteOn(1, 60, 60, 0);
                    	else
                    		Synth.addNoteOff(1, 60, 0);
                    };
                    Content.getComponent("Button1").setControlCallback(onButton1Control);
                    

                    Am I missing something to control only "Sampler 5" with this funtion?

                    you need to put this in a Script processor attached to Sampler 5

                    HISE Development for hire.
                    www.channelrobot.com

                    trillbillyT 1 Reply Last reply Reply Quote 0
                    • trillbillyT
                      trillbilly @Lindon
                      last edited by

                      @lindon Thanks, I got it working just after I posted.

                      Now my issue is only allowing Noise FX samplemaps show in the NoiseFX Combobox. Right now, it shows all samplemaps for all Samplers.

                      Is there a way to tell HISE which samplemaps to load in a particular combobox?

                      ustkU 1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @trillbilly
                        last edited by

                        @trillbilly you need to filter the samplemaps using some string operations. It will be easier if you name properly your samplemaps. then you can filter with "if samplemap name contains NOISE", or whatever you want.

                        Can't help pressing F5 in the forum...

                        trillbillyT 2 Replies Last reply Reply Quote 0
                        • trillbillyT
                          trillbilly @ustk
                          last edited by

                          @ustk Yes, I have all the sample maps for noise lead with NSE. Im out of the studio today but I will get back to this tomorrow and see if I can figure it out.

                          Thanks again!

                          1 Reply Last reply Reply Quote 0
                          • trillbillyT
                            trillbilly @ustk
                            last edited by

                            @ustk I guess Im a bit confused how the "If" function works. Should I be adding it directly beneath wear I am calling for the samplemaps list?

                            Here is my original code:

                            inline function onNoisecmboxControl(component, value)
                            {
                            	Sampler1.loadSampleMap(sampleMaps[value-1]);
                            
                            };
                            
                            Content.getComponent("Noisecmbox").setControlCallback(onNoisecmboxControl);
                            

                            I've messed around with various "If" functions directly below "Sampler1" and have had no success. Where am I going wrong? Should I be doing a separate callback to the "Noisecmbox" ?

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

                            48

                            Online

                            1.7k

                            Users

                            11.7k

                            Topics

                            102.0k

                            Posts