HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. thrice801
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 40
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: issues and questions about css styling

      @d-healey ya but it got more messed up when I attempted to do inline css and not sure why (button styling does not apply), but still illustrates the on screen keyboard issue within panel. HiseSnippet 1304.3ocsWs9SabDDeOHGp3zTUj5e.qt9ESKPNi4YhpZBFngDdXUCQQJJJZ8ciwa4tcOc25jXEw+y8C8a8CzY26swARrTOAR2MO+MyNyri6FK8fjDYLwpw4ii.h02a2arPMryPFWPNZeh0Cr+vFj8FGwRR.ehk07+gli0hOfXd96eeOV.S3AkjHjWK4dvw7PtpjZ2m8JdPvgLe3bdXEo23YG4IEcjAxQHJl21kDw7thcIbJSK1b1jWvRFRr9E6cGzd2c1xk01eGOvyaiAat8VavZsQ6MYvtsGvZ4Aau45dHHW3.etRF2SwTPBFB6I8G2an7ihTG7ZdBue.n+nEoG54TxGJC70gnlJoyPdfe27zSBAsR2xj07oIqex9DtOufdYR6GMLnkZTMAZMWc3MeM305KAuo.IqJP5AoPZI6ddw7HUIGMddn8QBEDOfgmSUgRprj49UaaAltSvTOP6oFG.u.BhfX5maPwGtHfK.5fQBOEWJnrnnfwcBzlIoomLLRJ.gZEpWJI7kjj2impJj5xY1HP5wBnIZaeLa.82ncR4ulWLf4gi0rOVJu54B+CAHn4xO0nl9ovCqk.paIXtIqnf4ImtVoiLAfIv5MD.UyJ.bs+RxEMcbVthAd7iouDolGPzOxUColrSBkI7SS.T0PHrPkz3ynPOULWbIFhYpm4ApSEOfQehL.VKBEEgSoZeo3tD7lD+TT45FW2nAFTIJ5GXwzSvhwtLADTIWy78MjZ5Tv0YEpK9GZiJm6qU6DtP1Unu0YsvwqFhDVMxn86tMM5mo8wV3KikiD9Ogp.VvSoW67NzE43.iGr.EcjhCIGFKCeYuyNsNn9biEcFB7KGpbdBcKW2Uvu+H2WMD+bGW2FWilqRzdl.qkAP7p90C2CCjLEliNmG.McJkJMr2zUG3kT0.qoSl55FJTLmWAi6KYw9NSQzTDshFQSgaDKFsSm7iQswJCwR72SFB6MRovNqZXOkVSmR9nEZ4p+WebUPM0YJ3SFOzIf6cE8DvYJxbe.5KVBTZHy4ceyqqZZwVsUVQPchSTEDC94EAEUAgrq.7vWnJFN0TePmlLKF1HEmJUvYhlK2.qIvZb5jrFLXp7ztIVFD.wSks9Zn36RwlhQg8g3Uv5qfQPgf3n15yuW3qa9c13lJBJEGI3pyhfruu6KfHYoM8b+LDhhpLS8+gro9oGQDtu4h7hyLhIBpdoM4hi1moX41BMaY+HRae3C3M3o2nrn89PxUJYjQ1rJGbegTO+n76azkPFG+P6hRJxmHV1VZONN+ESCCZzEnymhkzdbMk2LWJk9WluMvhKbyM2bglFWAg4TMFxsjx54jzc.kBgp9yVyUAwOTkcocJhqNYHKiU1+NAx+GqhzeZRogc9TgaGQSzjUOiLQvQlL3Vbg1saOnN000jy2spZPZLQpMt8Iy8USXhvF4QXiLSqCs7IHeSQxEe0QxRKsz+dGQxs2oA2lR5OJfopuhkdQzLFXeas8ZzCTDIb03p07eC6c4dm6c80Bwkr6xUdCmNFmaJXDaG++.iYaq9H6CFL.7TU2s+v2LqqldOt+OkizMWmvvMTzUZmNJrGdR6An2EX4ShtnS2vm8sad+VOP36l0+dSFyV5usxX1JmIIj4EKMqwgyB06C+cFJHlDle6vhX0J9Ms0jy+HjPb87264U2T2Rw0mUEaOqJtwrp3lyphaMqJt8rp3N2uh5e8zyGojgosMDxIcOvbekk0ABFVAZpVI+GrioCAN

      posted in Newbie League
      T
      thrice801
    • RE: issues and questions about css styling

      @d-healey and here is example of positioning not working.

      HiseSnippet 1423.3ocwWs0aaaCElxNJXVYcnAX+.DzdwsvIUNNIMMECqMNwqoM2vbaQAJFBnknsXiDofDcRLFx+j8iX+z1C6s8P1gjRVRwtMcFXXF4hzgmKemCO2L4ZAg4S7OOkQiiIBDxn9YIbORZJOAYX81IwDj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Zk6gVYpV5Z48E9+wSlcnFLNk6ONDKpNiUtIR1APcakAaxFJrTpXR4MU9WL308KN38qEhqZdFU3ELeLVaNXDJG+u.iYqq7.yCFNj3IJubWuOrn6lbOl+W3ikEWGiEITYl1Iii5C2zdDv5LH8IUlzIK3yd2MudqOrkpaV86sYG1V9tQ1gsyODEg8R3m6o6EJWH5aTT.LwTKO1.xVg2saOa+uHX+ry87pppYDbiEUvNKpfatnBt0hJ31KpfOcQEbm6WP45yubrfGoKaPniO6.07JCiCXXHCTkshHv7YeXjotQmLCn1PY2b8+zV8gldooOQs+Q55vi4ygQF+t4igY51vGOHSNYW6qBfNUOGlwaUZeT4BlCfuRxnD9Xl+t1BBN74VMh4PoKfscsSHxh6KyDr59N2U3DheEYwCR4gikFsALfcW6MbciuVpHDZFGYUy6rZ9TOo1eXXZIYJE9tSD6RqlYq8uDxHakvGgGVZyQXVGTleD2CGdDmewKY98HvZ7vJZRgxEPtOnRk8CHxMCqFNcx3t3OTVHkQJ1mpx1gd4yRZY6oI8nLLpuGxNUZyYvUNfxrn7ySdh8q4TVttruhJBrUQgTaLyWaaaQ.IZpHgR0pEnOzahMBBHYhu9m.c0zw1ojEfXEbEQVOFXUzrjXk3oBrKBUJedNhbi0MnhTWF45dvcrrm4+.BuchoA

      posted in Newbie League
      T
      thrice801
    • RE: issues and questions about css styling

      @d-healey here is the on screen kb issue. I noticed it actually is showing up, but the parents styles seem to somehow be interfering and painting it black. Because if you comment out the parent's style being applied, it shows up correctly.

      HiseSnippet 1387.3ocwWs0aaaCElxNJXQccnAX+.DzdwovM0NN2ZKFVabhWSatg41hBLLDPSQawFIRAI5jXLj+S6m1dXusGxNjTxRJ1soy.CyHWjN7b46b34loWKobep+4obVbLUhPV0OKQPnoohDjky6lDSQVeqc+IbYP2.LiiNbej0R1W1As2jXbZJ0GYYU+mUmXsxRH8m+7m1CGh4DZAID5CBFgdDKhIKnd1KeKKLrG1m9NVTIt27kGRD7thPwX.E0saghwjKvinmfUrUyF8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ReRUIcpB9r2akWu0G1RsUV86sYG1V8tU1gsyODEgIIhyIldgpEh9FME.Sb8xiq.Yqv6tsms+WDre14DRUUMifarnB1YQEbyEUvsVTA2dQEbmEUvcueAUqO+pwRQjorAgN9rCzyqrrNfigLPc1JhBym8gQllFcpLfZCUcyM+yX0GYSRSepd+iz0gGymCirn1OFlo6BeHPlbxycuJ.5T8BXFuSo8QUKXN.9JIiRDi49O2URwgFdptZyc4Kg5qXCglAQqZemcrmBoZ+gksihoT3KAQcKsikqAnIzQtZgOBOrzJfvPKnd8HAAGdjPbwq398nv93vtVJgxEPsXmVk8CnpU7pFW7x3t3OLdHiSKVLpxZdj7gBMcIFRqkgQS.M6TkMmAW4.JyhpOO8otuQv345x8JlLvUGERcwbeisckAznohDpTqQf9PSF9HHfjI95eBzUCOWuRV.hUohP55w.qxFkDqDOUfcQnR6yyQjabtAUjCxoW2CtiUM+9GwmkcGC
      
      posted in Newbie League
      T
      thrice801
    • issues and questions about css styling

      I'm running into some confusion attempting to use css styling in my project, hoping someone could answer these questions:

      1. I saw that relative/absolute position is supported according to docs, however when attempting to put a button within a panel, (was trying to use panel as a parent div, with my buttons and what not positioned absolutely within), it does not seem to work. So I am wondering, does that mean that it's only supported on a per component basis, so the children components aren't actually in the same dom structure? (ideally I'd like to control my layout with flexbox, but if the components are in their own little dom structure then obv that won't work)

      2. Is there no way to style the "Root", with css?

      3. Related to above because I couldn't figure it out, I attempted to wrap everything in a panel, but when I put my on screen keyboard floating tile within the panel, it disappears. Is this expected behavior or any ideas what's going on with that?

      posted in Newbie League
      T
      thrice801
    • RE: Weird behavior with Synth.isLegatoInterval() in noteOff

      np figured out a workaround with setPlaybackPosition instead

      posted in Scripting
      T
      thrice801
    • RE: Weird behavior with Synth.isLegatoInterval() in noteOff

      @d-healey said in Weird behavior with Synth.isLegatoInterval() in noteOff:

      @thrice801 said in Weird behavior with Synth.isLegatoInterval() in noteOff:

      even though D is still being pressed.

      1 key down != legato.

      oh damn ya that had my brain all mixed up for some reason.

      any idea about the second issue?

      posted in Scripting
      T
      thrice801
    • Weird behavior with Synth.isLegatoInterval() in noteOff

      I am trying to use legato to load and play a new loop into my midi player, starting from the existing position; which seems to be accurate in the noteOn event, however I have the following code in my note off, which doesn't seem to be working. So I am holding C and then pressing D, then it loads the new loop, but when I let go of the first note, it is still hitting that Console.print("STOPPING PLAYER IN NOTE OFF"); block, even though D is still being pressed. Any idea what is going on here?

      function onNoteOff()
      {
          noteNumber = Message.getNoteNumber();
          velocity = Message.getVelocity();
          
          if(Globals.play_strategy == 0) {
            if(!Synth.isLegatoInterval()) {
      	Console.print("STOPPING PLAYER IN NOTE OFF");
      	Console.print(Synth.isLegatoInterval());
            	Player.stop(0);
            }
      	} else {
      	  Player.stop(0);
      	}
          
          Message.ignoreEvent(true);
      }
      

      Also, I can't seem to get the player to start the new loop at the players current position, according to the docs it seems like this should be working, but it resets back to the beginning each time, any idea what's happening there also? (the isLegatoInterval works as I expect in the noteOn callback)

      	  if(Synth.isLegatoInterval()) {
      	  	Console.print("NOTE BEING HELD");
      	  	Player.setFile(filePath.toString(0), true, true);
      	  	Console.print(Message.getTimestamp());
      	  	Player.play(Message.getTimestamp());
      	  } else {
      		Player.stop(0);
      		Player.setFile(filePath.toString(0), true, true);
      		Player.play(0);
      	  }
      
      posted in Scripting
      T
      thrice801
    • RE: Sorry for the code dump...

      @Christoph-Hart don't know if this is helpful or how hard it would be to implement in HISE/C++ side, but, since you never got this running in linux: as an alternative to using websockets (and this would be my preferred way of communication if it were possible), you could potentially ust mqtt for communication. That's what I've done with a pretty large electron sound design app I made, and it works great for ipc and communication. (plus it's more reliable, faster, and cleaner because you have topic based message routing).

      Basically main process just spins up an mqtt broker on launch, and then all my different webviews, and swift audio rendering processes, just connect to the main broker and use that for pub sub. Disadvantage would be people would have to include a lib like https://github.com/mqttjs in their webview, but it looks like you need to add a little code already anyways to get the comms working.

      posted in General Questions
      T
      thrice801
    • RE: Sorry for the code dump...

      @d-healey ah sweet thanks

      posted in General Questions
      T
      thrice801
    • RE: Sorry for the code dump...

      the webview websocket stuff sounds super intriguing, was wondering about how to communicate with the webview if I were to use it. is this no longer in the develop branch at all, or is there documentation about it?

      posted in General Questions
      T
      thrice801
    • RE: Issues with playing a midi file via midi player and onNoteOff not being called

      @ulrik that did it thanks! swore I tried it yesterday but think I did something wrong

      posted in Scripting
      T
      thrice801
    • Issues with playing a midi file via midi player and onNoteOff not being called

      Hi,

      I'm trying to make a midi effect type plugin where I play a midi drum loop based on a single keypress. It's kind of working, however, I can't figure out how to properly do it where it doesn't cause issues in abelton (I am using the vst instrument workaround for abelton). Note on is working the way I want it to, but the note off events aren't being written, so it shows up as a giant messed up blob of midi when you try to record the output.

      The following, the clip labeled track 1 is me dragging one of the clips in manually. What you see after is the issue I'm trying to solve (I can confirm there are no note offs being sent from the midi player by logging also).
      Screen Shot 2025-04-21 at 4.20.49 PM.png

      Here is what my chain looks like. And for context, in the onNoteOn/off in the main interface I am doing Message.ignoreEvent(true); (to stop the main key being pressed from propogating and dual triggering), but even if I say Message.ignoreEvent(false) in the note off, none of the loops note off messages are being sent, only note on. Anyone know how I could fix this properly? (also just to be clear, in Script Processor 1 onNoteOn/off, I am doing Message.sendToMidiOut(), but onNoteOff callback never fires)

      Screen Shot 2025-04-21 at 4.41.53 PM.png

      posted in Scripting
      T
      thrice801
    • RE: Build failure when exporting plugin on OSX, xcbeautify: Bad CPU type in executable

      @thrice801 yep that's exactly what I just was figuring out. then after compiling manually in xcode thought it still wasn't working but turns out it was, just issues with abelton and midi fx plugins I think so it wouldn't load. Got a different snippet to compile; I think I had to disable IPP also to get it to compile. -- actually export seems to be working from within hise now after ipp thing (I believe), it still throws the error on export but looks like the xcbeautify step doesn't need to succeed in order to compile. Thanks for the help!

      posted in Newbie League
      T
      thrice801
    • RE: Build failure when exporting plugin on OSX, xcbeautify: Bad CPU type in executable

      @d-healey HISE's, the HISE Standalone projucer, before compiling HISE. I've tried it with and without arm selected as valid architectures and recompiling

      posted in Newbie League
      T
      thrice801
    • Build failure when exporting plugin on OSX, xcbeautify: Bad CPU type in executable

      After finally getting the HISE release version to build, I can't seem to be able to export either VST or AU plugins. Trying to export a midifx plugin. - The weird thing, is I actually only had x86_64 selected in valid architechtures in the projucer file, and still got this after building the hise release and trying to export. So I'm not sure what's going on, anyone have any idea? Did a forum search and found some similar stuff but nothing that looked like this specifically. - But also there isn't any arm references or anything in the error, just x86_64

      Re-saving file: /Users/jasonayre/code/hise_projects/alientoric_midi_player/Binaries/AutogeneratedProject.jucer
      Finished saving: Visual Studio 2017
      Finished saving: Xcode (macOS)
      Finished saving: Xcode (iOS)
      Finished saving: Linux Makefile
      Compiling MIDI FX plugin alientoric_midi_player ...
      /Users/jasonayre/code/hise_projects/alientoric_midi_player/Binaries/batchCompileOSX: line 7: /Users/jasonayre/code/hise_develop/tools/Projucer/xcbeautify: Bad CPU type in executable
      ** BUILD FAILED **
      
      
      The following build commands failed:
      	CompileC /Users/jasonayre/code/hise_projects/alientoric_midi_player/Binaries/Builds/MacOSX/build/alientoric_midi_player.build/Release/alientoric_midi_player\ -\ Shared\ Code.build/Objects-normal/x86_64/include_hi_streaming.o /Users/jasonayre/code/hise_projects/alientoric_midi_player/Binaries/JuceLibraryCode/include_hi_streaming.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'alientoric_midi_player - Shared Code' from project 'alientoric_midi_player')
      (1 failure)```
      posted in Newbie League
      T
      thrice801
    • RE: Build errors and faust errors on osx, and no "Valid Architectures" field in projucer despite faust docs

      @d-healey success! (sort of, exporting still not working but will post separately). Thanks for the help

      posted in Bug Reports
      T
      thrice801
    • RE: Build errors and faust errors on osx, and no "Valid Architectures" field in projucer despite faust docs

      @d-healey oh wait according to that I can update to 14.2, I'll try that thanks

      posted in Bug Reports
      T
      thrice801
    • RE: Build errors and faust errors on osx, and no "Valid Architectures" field in projucer despite faust docs

      @d-healey was hoping not to have to because I think I have to update my entire OS to get newer version of xcode iirc which always seems to break things, but may be at that point

      posted in Bug Reports
      T
      thrice801
    • RE: Build errors and faust errors on osx, and no "Valid Architectures" field in projucer despite faust docs

      @d-healey 13.4.1 -- and as an update, nothing I did worked, including disabling everything but x86_64 - I've tried clearing build folder, blowing away the xcode project completely so the projucer can create a new xcode project, nothing. Keeps getting stuck on that same error, on the link HISE step. Screen Shot 2025-04-15 at 11.28.42 AM.png

      Also for context, I am trying to build the release version so I can export my plugin to vst so I can test it. When I've tried doing that via the debug build I get a version mismatch error though, and it fails to compile it if I try to force it through. Not sure if there is some workaround I can employ or something.

      posted in Bug Reports
      T
      thrice801
    • RE: Build errors and faust errors on osx, and no "Valid Architectures" field in projucer despite faust docs

      @thrice801 oh wait.. I was clicking on "Release" in the projucer, I just found valid architectures, by clicking on the parent item above it. trying build again

      posted in Bug Reports
      T
      thrice801