HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Dark Boubou
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 21
    • Posts 87
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: i need a freelance developer for my plugin

      Hahaha me too!
      It's ambitious for people not really used to code, and compared with some others, HISE is far from the simplest VST creator ^^
      So instead (because everyone here is yet very busy with their own code), you should have a look to Maize Sampler 2, very fast and simple to make a sample-based vst, or SynthEdit which is just a paradise of simplicity and unlimited creating tool for everyone, for synth-based VST.
      But at some point you will realize that other editors are not as modular as HISE - since with HISE you code your own things how you want them to be.

      So maybe start with lighter, and then get ready to lose your hair xD
      What's your VST about?

      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • Sort of 'main samples-start'?

      It's a complex thing because of the loop lenghts and starting time, so I guess there's no solution,
      But is it possible to have a function that makes the whole samplemap starts at a different point?

      posted in General Questions samplestart samplemap
      Dark BoubouD
      Dark Boubou
    • RE: A-440 generator

      I found something better than Synth.noteOffByEventId() !
      Just have to assign the button to Sine Wave Generator, and then connect to 'gain'.
      0=no volume, 1= volume :)
      Thx :D

      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • RE: About labels -> get value

      Nice!
      And one more question:
      If I use a personnal font stored in my computer, will it saves the font while exporting?
      Should I put the font file somewhere in the Project Folder?

      posted in Scripting
      Dark BoubouD
      Dark Boubou
    • About labels -> get value

      Hey :) I did a long break :D
      Well I have an interrogation.
      I have a knob (Midi channel selecter), and next to, a label displaying the value selected by that knob.
      But... the problem is that I don't know how about linking the value as the text.
      I did this but of course it doesn't work:

      // [JSON MIDIDisplay]
      Content.setPropertiesFromJSON("MIDIDisplay", {
        "text": ScriptLabel.getValue(MidiChan)   override
        "width": 99,
        "height": 34,
        "fontName": "Digital-7 Mono",
        "fontSize": 21,
        "multiline": false
      });
      // [/JSON MIDIDisplay]
      

      Well I don't understand that 'override' and even without it it doesnt' work :)

      Perhaps should I do an OnControl function?
      Thanks,
      D.B.

      posted in Scripting label getvalue
      Dark BoubouD
      Dark Boubou
    • RE: A-440 generator

      Thanks I'll try that :)

      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • A-440 generator

      Well I have a blank space on my GUI but I have already almost all functions possible, so I'm looking for a not very important thing: make an A-440 button generator, as on the Minimoog:

      Moog

      See there's an A-440 button :D

      I have added a sine wave synth with my sampler but I don't know how to make it like this:

      • Not affected by midi notes played
      • No envelope at all: a single note played non-stop (The sound will be cut with the button)

      I have yet an idea to cut the volume while clicing on the button on/off, but not for the two things just above.

      Can I have your help?
      Thanks.

      D.B.

      posted in General Questions sine wave generator a-440
      Dark BoubouD
      Dark Boubou
    • RE: There's a snake in my flute!

      omg bravo D.Healey!

      posted in Scripting
      Dark BoubouD
      Dark Boubou
    • RE: Example of how to control modulator intensity

      Used a bit differently :P
      I'm pretty sure you put the code in another interface by purpose ^^

      posted in Scripting
      Dark BoubouD
      Dark Boubou
    • RE: Example of how to control modulator intensity

      This works too :)

      OnInit:

      const var knbPitch = Content.addKnob("pitch", 32, 0);
      knbPitch.setRange(-12, 12, 1);
      const var pitchMod = Synth.getModulator("Pitch Wheel Modulator");
      

      OnControl:

      case knbPitch: 
      	    
      	    pitchMod.setIntensity(value);
      
      posted in Scripting
      Dark BoubouD
      Dark Boubou
    • RE: Example of how to control modulator intensity

      :D Thanks!

      posted in Scripting
      Dark BoubouD
      Dark Boubou
    • RE: placing preset list/output meter. samplemap and compressor?'s

      Well for examples: (All these lines are after case XXX: in oncontrol ;) )

      Sampler.setAttribute(Sampler.Gain, value);
      

      = control volume

      Sampler.setAttribute(Sampler.Balance, value);
      

      =control pan

      VelocityModulator.setAttribute(VelocityModulator.DecibelMode, value);
      

      =velocity

      mainSampler.setAttribute(6, value ? 2 : 40);
      mainSampler.setAttribute(2, value ? 1 : 40);
      

      = mono/poly on button

      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • RE: placing preset list/output meter. samplemap and compressor?'s

      XD
      Just do 'File' -> 5th item 'Replace with clipboard content' and here you go :D

      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • RE: placing preset list/output meter. samplemap and compressor?'s

      And if you want a preset navigator, it's not a combobox you have to use :D

      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • RE: placing preset list/output meter. samplemap and compressor?'s

      Well just insert exactly the same code that I wrote :P

      HiseSnippet 1325.3oc4X0sSabDEdVLaawDPIUbQubjUuvnRcryespnp.1.QnhAKLB0KhT53YGaOkcmwZlYAbp56TeD5iTdCZOytq8NK3PrSSapZ2KvdO+MemyYN+X5njTlVKUHuUOa7HFx6d9cGKLCaMjvEnC2C4steah1vT3TRMGOhn0r.jmWoWXI3sxxnjm277ljPhfxxIgPmK4T1Q7HtImZmc9AdX3Aj.1Y7HGoexNGRkhVxPYLfmR90QiHzKHCXGSrhsjO5RN6JMxqt+ieTM0EM585cqYeR+axSqrO+pSR9neBKDMVoXBy4f5HOeu+.d772OfajptFhgA1zuoLXb2gxqDoG84bMuWHy9RCTW.SojOT.gh9DJyQzCjgA1.h86nVC4gAclDV0HvxcxCxkRCxa32lGvmROOXe+DF3bMbC2dKUDxKW.xMdaP9c.OOG3sbJ7dfeWphOxjywhsU8m57EfUprnkVujeKIHgvTKhbA6.E7xTMp9r502B+z502b60JCYYsAeIQgi.GuKIZTHb+56wI27pMfYxHUsR1Wpr413G9PLUw.OGSv5LU.SvIfK6ZRZTuTsZSFA1bBjHAAsjQ8jMkWWsRKGYprEtQ8sZ..CCmAHFX+f3nnwXpU9dxqcsd5IGQFoAa6f9bTCl7Ht1T8FPdBTAqJLfdbw.LI1HiHFNkDNFaFxbsNIPAgdlFNbGvVSyLUqvMrHMf6bwq8yRtnZkWJprYpefCYFvjbc9ACIL9.AC7OcxgMw8vIlasx8iETCWJvRwwRC6DQ0MK+KkWo7udKN86OKV1HsRFZyayfqsTWcGpUUDG0io1BvaXLKQNJQyJjN+NvwtZHSfGKiwZVHiZvZYDC7SHZxE2LFl4XtooPIIXp8pVHzBYvCAENicMj7RxdPvN2bYYjaE8RwADVsm1Zk6AI7K1FbQnfqX45pyW4JM8BqifRwgBt4jQrr2yKns7RyUS3VGMMG4RJO23RMImLCwxIc69EnrBJamiLwAQMI8MteVeiIEZHdfc9ga0FJI85Ng.c69OPWPYPbHwTr0ncbSFC3pSgdP19LBM2L1cbzBzur9L6W1XV9+bB2G32ganCmMdWZF3EBn+ci2roOq4ue+9vc1bvtr+A+366nl2OnrQJT9b+tFnfIBpeypPSvyJ9Sd6Cv5F+zbutQGEKo+.+0Nh866zLFBWphT+scRNpcijwhBmUFvOkMBZ7CY+Bv6zSegRFO5lZ8lmmbW4LErtCDIbYbhvtogw0HsTRstO3NI1R6xpSrZfMV4bhrKYJcQZGGGAodgfEZ26wyCHkWeZWy5l6F8oyWmKP8NDvpNR1jOvwzVJEKhcDcpaclcZky5UyXmkO4ivJUe3aQ7WuiVo4Ctuis9VYBF6xsop8EWBkA.kz1X6w5ShCMSo5Bx1RgbzPofSKdmyn3CFvTtPel9ytFCbkOmxF6bJLMEF6mS5K24HtfQTEKkVnPQi4OTbWoquvOEtXaaD7+MFDU5+8ChtqP25YigvvoqL+KOOeO+j4AX6ftOVP8TYrAFf0l.M.tFFi.SZ5BSWoL24MKYmgk9dc66V.0kIBpO4mlmwrwzgS.yFSXhnSLE3aYeeOhg.XhIrSNR1uJDF6E5dkVCyvsPBltgltRO311HGPqK4RVZGlT77VGT2lS6HgfITGYa53u8+LNcDgpjuhltus00+rDJ.BDI+uQVwus8cbiI6WaSVQvbuWQo1ppuFRWyViGsvZ73EVimrvZ7zEVimsvZ7MKrFe6cngcIicy987POVD5OM+LMkG
      
      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • RE: placing preset list/output meter. samplemap and compressor?'s

      Well, if I have understood about your 2), you need to save the samplemap with the preset?
      It took me a long time of bad tests to get this working thing:

      On Init:

      const var NAMEOFSAMPLER = Synth.getSampler("Sampler"); // create a sampler variable
      const var cmbSampleMap = Content.addComboBox("CmbSampleMap", x,y);  //add a dummy combobox
      const var samplemaps = NAMEOFSAMPLER.getSampleMapList(); // create a variable containing automaticaly the samplemaps adresses
      cmbSampleMap.set("items", samplemaps.join("\n"));  // let this variable assigned as the combobox items
      

      On Control:

      case cmbSampleMap: //when you select something in the samplemaps items
      NAMEOFSAMPLER.loadSampleMap(cmbSampleMap.getItemText()); //set samplemap adress as the combobox selected item
      break;
      

      In other terms, you add your sample maps in the combobox items, when you save the preset the combobox selected value is saved too.
      But the samplemap address is definied by the selected combobox value.
      So save the item = save samplemap address = save samples with a preset.

      If you don't want to allow the user change the samples, then just add the property "visible"=false to your combobox after having saved the preset :)

      And for your 1, the only thing I know is something like this:

      var toolbarData = {
        "height": 0,
        "overlaying": false,
        "bgColour": 267386880,
        "cpuTempoVoicesShown": false,
        "presetShown": false,
        "tooltipBarShown": false,
        "keyboard": false,
        "knobsShown": false,
        "knobFilmStrip": "",
        "knobNumFilmStrips": 0,
        "outputMeterShown": false
      };
      Content.setToolbarProperties(toolbarData);
      

      This makes the toolabar off, but I don't really know if you can modify the places of the elements :)

      But after you can re-add knobs and assign them the same functions as the toolbar, that's possible too and this allows you set them were you want with your own art.

      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • RE: Control polyphony number

      And this one is better :D

      mainSampler.setAttribute(6, value ? 2 : 40); 
      mainSampler.setAttribute(2, value ? 1 : 40);
      

      6: Amount
      2: Soft Limit

      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • RE: Control polyphony number

      Nice, but a small correction:
      Sampler.setAttribute(6, value ? 2 : 128); the sound gets really mono :)

      Sampler.setAttribute(6, value ? 1 : 128); cuts the sound when you replay a note, so 2= play a note, then a second after cut and restart ;)
      Thanks Christoph :)

      posted in General Questions
      Dark BoubouD
      Dark Boubou
    • Control polyphony number

      Well I'm using the command
      Sampler.setAttribute(Sampler.VoiceLimit, value ? 1 : 128);
      Assigned with a knob that allow to switch in mono or polyphonic mode. (clic= mono, second clic=128 voices)
      The problem I have is that this dosn't change max voices, but the number of voices played at the same time...
      For example 1=note with no stack
      2=note + a second one (stack, +6 dB)
      3=note + a third one (Stack, +9dB)...

      So there's still no limit to polyphony number and the sound gets ultra-limited by the compressor included...
      What's the right command please?
      Thanks!

      D.B.

      posted in General Questions switch number polyphony mono max
      Dark BoubouD
      Dark Boubou