HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Sampletekk
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 41
    • Posts 176
    • Groups 0

    Sampletekk

    @Sampletekk

    8
    Reputation
    24
    Profile views
    176
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Sampletekk Unfollow Follow

    Best posts made by Sampletekk

    • RE: Smoother curve

      @d-healey Yep, that did the trick! Thanks!

      posted in General Questions
      S
      Sampletekk
    • RE: Error when notarizing

      @d-healey said in Error when notarizing:

      @Sampletekk Path looks ok to me, except I Buids instead of Builds

      Oh and you shouldn't use quotes and escape characters (\) use one or the other.

      Woohoo! That worked! Notarisation too!

      posted in General Questions
      S
      Sampletekk
    • RE: Fontsize on preset names

      @Oli-Ullmann said in Fontsize on preset names:

      HiseSnippet 1148.3ocsV0sahaDEdLINpP+Y6J0G.KthTgPPfcCsQUMPRnE0jrnP51sZ0pUCdN.Si8LnwiCAsJ20GfdceK5aVuqWldFaC1DnYSPp9Bvmy24Ly2blOelomR5BAAREwpvkyl.DqOyt+Lgd7QiobAo6wDquv9LZfFTNwtZOaBMH.XDKqs9AiCq7aShd96uuM0iJbgTWDxqkbW3TtOWm5s2g+D2yqCkAWx8yDciC65JEGI8jgHe1xtJYB08J5H3bpIrb1jejFLlX8010A1dMaReQi50ca9MMc22k1DbqMX+p6QGxp2DXCXMdQCJwZmSXbsT0WS0P.NnskrY8GKmJhmfWyC3C7.iQMReblicSNZL2i0adwIfPr1tWZoZq3R0WYeFmwW3Osj8kQ.NoYjsnYk6gnTsm.krxPosiozys66p3SzoHF97o1cE3N3PJt2jkJwwRxYmy9HIFgPWwmdEzQgFKxnzKqVsrC9ytGTn.t+DnclLv46blmwHPejzehTfFkJ1wSR0bwnK4dPshoo3QGlIGWEfK9SktTuSkxqZIXc.vqjI7ICpD.5Ufv7Mn3eUTvHtQP1IT3p4RQohLEcZOEf40VImF.pSw.5pA+hkcFNOpQkcjC9scK7gB4ulpbnHcP6JTjJGTHeg7iLyar3qT7eAUlNlqgcSg6HMqwVJN0CG5ZMlCYHPKO9HAvtDtQWxLvZ7kxNzxNEcwkrBXlpws6dvbB4HEmK0vqDkh3TgaK3bengCWKloJpjddfZsvlOpTOThkDg9C.UYmqodgvh.QQzxJycdbJS23M0LAJEcEb8ql.I1cjdLihy79p5XRhp.e6m6dLUSMR6DeXbS.klani0wv0XyjXgdd6igfqzxIQwlH+PktN4KyXocV0HgiL3Y1KIPI2jsW0rTie8voblF60Xa8lbDxXfOZr1X8mVK3aLQdl8RJOxfQyafkeGbf9GynghH+Tu+0c+wcK6cujfidhp.498b1enfiSQSUsO8ZncnVKEE+VGsJDJOG4jalPEA3laPq.bnB8MQLj5EjFRTsWs9zMhrfUFSTCDG9RPotQYItdQrZUWjTKFa8SwEf.adudriAOP+ef0gdsTgUHyIBYwRXVWbUyf1REt1VZIednebgvP95Qths+Ey94E3VuDAdK52woZk526o7SzO59cQygogSKrSxhZSxLTdc+sHqXlcgbZOJigZxGad8ApxcbappsLTvLqz2FCblTkTOuORpF59HyqzqfV3V7n5UNgAOaSxB8n5kOvybUfD.TNtzoLlSRvsK8rrWU3IbJX0G7TvGKEetcOt1c754Xt0vQrKz+GbL4tCet8ICGBt5TBtscm2roWT3iL8WHCMs7NipUbrimM9QRersiKfytP.dAlNa4LchisqZrMUf9ffEYbG9j.VyXak.VaNHwm5pju2M9DFysS9jHOHmDQ2dKOdMRz1oFI5Tmr0Ye7xRu20c4gZkD2aSSr9llXiMMwWroI9xMMw82zDa9wSzbW1VgZoe7mMDxY8NI5PJKqSDTTAFoVI+KrtuzIK
      Reply

      Thanks! That worked great!

      posted in General Questions
      S
      Sampletekk
    • Packages, VST3/AU and samples

      Ok, so I have made this instrument that contains samples.
      I have:
      One VST3-file
      One AU, (component) file
      Three hr files containing the compressed samples, (hr1, hr2 and hr3)

      I've built an installer for Mac that puts the VST3 and AU file where it should, but not sure where to place the hr-files Should the just go on the users desktop together with the instructions on how to install the samples when first using the instrument?

      Is there a way to avoid the process with hr-files, and just include the ch1 files and somehow make it so the instrument finds the samples without any user actions?

      posted in General Questions
      S
      Sampletekk
    • RE: Why does it works with one knob, but not the other...???

      @DabDab said in Why does it works with one knob, but not the other...???:

      const var DefaultEnvelope1 = Synth.getModulator("DefaultEnvelope1");

      Woohoo! Not so easy for an old Cobol programmer, but I'll get there! Thanks a million!

      posted in General Questions
      S
      Sampletekk
    • RE: Export error

      @Sampletekk said in Export error:

      @d-healey said in Export error:

      @Sampletekk That's probably the issue. Some recent threads on the forum indicate that the latest version doesn't work.

      Ok, I'll downgrade. Any ideas on what version will work?

      Downgraded to XCode 14.3.1, all worked!

      posted in General Questions
      S
      Sampletekk
    • RE: Compiling problems

      @d-healey said in Compiling problems:

      @Sampletekk Yup, you're now a C++ developer :party_popper:

      Wow, that was quick! Done my share in ksp, HALion scripting, Visual Basic and guess what: Cobol! (Guess my age....), but commas is important in all languages!

      posted in General Questions
      S
      Sampletekk
    • RE: No note

      @Sampletekk Found Message.ignoreEvent(true);, problems solved!

      posted in Scripting
      S
      Sampletekk

    Latest posts made by Sampletekk

    • RE: Logic Pro crash when playing MIDI

      Found the problem!

      Logic Pro crashed when playing a MIDI file and starting/stopping the playback

      After stripping down the instrument part by part, I could isolate the problem.
      I have a sampler that plays hammerback sound, that is, the sound of the piano hammers, falling back after releasing a key.
      It turned out that the Release Trigger MIDI processor for that sampler had the Time Attenuate activated, for some obscure reason, or mistake... When I deactivated that, Logic worked as it should.
      I also have regular release samples that has the Time Attenuator activated, as it should, but the the curve is reversed, sinve I wan't those samples to trigger at a lower volume the longer a key has been pressed prior to release.

      If the thing that caused Logic to crash was the combination of these two release samples, or only the Hammerback, I don't know, but when I, or anyone else, have more time and want to do a test, it might be a good idea. This was the AU version, and only on Logic Pro

      Skärmavbild 2025-05-13 kl. 13.49.06.png

      posted in General Questions
      S
      Sampletekk
    • RE: Logic Pro crash when playing MIDI

      I might be stupid, but I can't figure this out. Yes, I understand that things that should be in the Audio-thread, should not be in the UI-scipts, so I need to place that code in another script, that is not defered.
      Should I make a new Script Processor and put the Audio stuff i there? Like this, (Script Processor1)
      Skärmavbild 2025-05-12 kl. 11.27.44.png
      If so, should the code that was in the "On Note" callback in the Interface script, go into the "On Note" callback in the new "Script Processor1"?
      And, how will I know that the code in the two "On Note" callbacks in the different script processors are executed in the correct order.
      I realize that this probably is stupid, but bare with me, my first language was Cobol....

      posted in General Questions
      S
      Sampletekk
    • RE: Logic Pro crash when playing MIDI

      @d-healey What would be the best practice to pass data between UI scripts and non-UI scripts? Write functions or by using variables?

      posted in General Questions
      S
      Sampletekk
    • RE: Logic Pro crash when playing MIDI

      Is there a tutorial, or text, that explains what would go in a MIDI-thread, and what goes in a audio-thread.
      For instance, in this code, what should not be in the UI-script?

      function onNoteOn()
      {
      	var inVel = Message.getVelocity();
      	var newVel;
      	var noteNumber = Message.getNoteNumber();
          var Id = Message.getEventId();
          var velo = Message.getVelocity();
          if (velo == 1)
          {
          	Message.ignoreEvent(true);
          }
          
          noteNumber = noteNumber - 21;	
      	//Console.print(noteNumber);
      	//Console.print(Id);
      	
      	for (i = 0; i < keys.length; i++)
      	{
      		//Console.print(keys[i]);
      	}
      	
      	//Console.print(keys[noteNumber]);
      
          Synth.addPitchFade(Id, 0, 0, keys[noteNumber]);
      
          if (transValue == 1)
          {
          	switch (noteNumber)
          	{
          		case 4:
          		{
          			//Synth.playNote(24, 1); 
          			Message.ignoreEvent(true);
          			break;
          		}
          		case 3:
          		{
          			//Synth.playNote(25, 1); 
          			Message.ignoreEvent(true);
          			break;
          		}
          	}
          }	
      }
       
      
      posted in General Questions
      S
      Sampletekk
    • RE: Logic Pro crash when playing MIDI

      @d-healey So, by putting Synth.deferCallbacks(true); in the onInit interface script you don't need to ad it to other callbacks in interface scripts, that's the only place you should put it?

      posted in General Questions
      S
      Sampletekk
    • RE: Logic Pro crash when playing MIDI

      @d-healey said in Logic Pro crash when playing MIDI:

      @Sampletekk said in Logic Pro crash when playing MIDI:

      Here's the snippet of the project,

      UI script isn't deferred and messing with Messages in the UI script is not a good combination. I would start there.

      I realize there's a lot to learn here! Would you suggest putting the messages in scriptprocessors? For instance, these, that now are in onNoteOn callback in the UI script into a scriptprocessor for the sampler that triggers the samples when playing a note?

      posted in General Questions
      S
      Sampletekk
    • RE: Logic Pro crash when playing MIDI

      @d-healey said in Logic Pro crash when playing MIDI:

      UI script isn't deferred

      Sorry, from Sweden... What does that mean?

      posted in General Questions
      S
      Sampletekk
    • RE: Logic Pro crash when playing MIDI

      @d-healey Thanks! I check!

      posted in General Questions
      S
      Sampletekk
    • RE: Logic Pro crash when playing MIDI

      @Sampletekk said in Logic Pro crash when playing MIDI:

      @Lindon said in Logic Pro crash when playing MIDI:

      @Sampletekk said in Logic Pro crash when playing MIDI:

      I've tested one of my AU instruments in progress on Logic Pro 10.7.4, running on OS 13.6.1. When playing a midi file and starting/stopping, it will cause Logic to crash. Anyone else experiencing this?
      Just loading instrument and playing it works, it's when starting/stopping a midi-file that it happens.

      What is AUVal telling you?

      What's AUVal?

      Skärmavbild 2025-05-08 kl. 15.57.51.png

      Looks fine

      posted in General Questions
      S
      Sampletekk
    • RE: Logic Pro crash when playing MIDI

      @Lindon said in Logic Pro crash when playing MIDI:

      @Sampletekk said in Logic Pro crash when playing MIDI:

      I've tested one of my AU instruments in progress on Logic Pro 10.7.4, running on OS 13.6.1. When playing a midi file and starting/stopping, it will cause Logic to crash. Anyone else experiencing this?
      Just loading instrument and playing it works, it's when starting/stopping a midi-file that it happens.

      What is AUVal telling you?

      What's AUVal?

      posted in General Questions
      S
      Sampletekk