Mouse modifier to click keyboard and sustain a note



  • My frikkin midi keyboard keeps not sending midi. It is difficult to develop an arpeggiator if you don't have a working midi keyboard. Could you add an option such as a mouse modifier to create a stuck note on the keyboard?

    Such as: ctrl + click on a keyboard key causes key to stick until you click it again (any mouse modifier to un-stick it).


  • administrators

    You can just add a script processor before the arpeggiator that ignores the note off:

    HiseSnippet 1549.3oc4X0ubSaDDWJIZ.KvgxLz++pm9GNyDbrCzRayvPRL1fKjOlnPZ6z1AeV5r8Ujty8zoPLL4O6zWm9HviPeT3MncOcRVxePRLCzIL0IwN29ws69S6t2ddeA2kDFxEFlW6vgCHFlW2xYHS1udeLkYz5gFlEs1RL.03Dbv.ehw1CGfCCIdFllK9HkHlEVxvvXye4O+qGrM1GybIIjhecDm5RdJMfJyn1dymP88ah8HGRCxI8c2rkKmUm6yi.2YQqpFCvtu.2irKVI1BVFGSIuLzvrp0cVuh3E057pspLwqFr5v68FmtgajPPXxi.0MLsL+G3koUCOpjKbjXIA1yk1l6MzoO+kLsoOhFR6.wKrnlgC3SZxM49dpfWQ0ndepu29oHXnAr26mgmKpwyaYsC0iNhdFt9YwLPYZjGZMW3rbuZmu6UcVt2B4bukzt2MsbbEzAxLNJe6FV6xkj851EsSjjLtqok2XApokM77JThNFKPaGIkbF59n5blDv5JXOOMsxkzeVZUz5e6pnZquxF1Es0zpDRjkKIImHAtkZ0iwEDjxzHv1kVYih1peDjdHxwvl1xaitQLWIErDmE6hrxqX+Z6B1mZOImtc0rncKmXrdD4QX+HR4UVoncgB6.wKjcUgFa1FJCTVJhHJyNwFpBJA22mHlk4TowyjQhZkYQAcHhUAfBrdpSoW.l50JmwtvovGD+PRJkDpvNBOOGOav9hkM3peTjSPNqEiJ2a.YzZMHlRopwHvKOorvOO03vdFhkQZ5TPijzCHYzLQbPTYbp3xIoh5mVFTHa6pVIKhAq7MVLtnox2xxgp5bgftXjd8nXIe14y+wRVqsF5YgDTaHgqMhBo1DrGh2E0FxvaijbTDvU1mf5hAdBD1UY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Kk4+I1H.6J3O2UOAupm6Uio.wMK9Klsf0Np0nZoitqvl.379m65p.6aCnyr0X84Vi6L2Zb24ViuZt03qmaMt2bqw2bFZnFtZqHIOPW5YX7ukWlhNA
    


  • @christoph-hart said in Mouse modifier to click keyboard and sustain a note:

    HiseSnippet 1549.3oc4X0ubSaDDWJIZ.KvgxLz++pm9GNyDbrCzRayvPRL1fKjOlnPZ6z1AeV5r8Ujty8zoPLL4O6zWm9HviPeT3MncOcRVxePRLCzIL0IwN29ws69S6t2ddeA2kDFxEFlW6vgCHFlW2xYHS1udeLkYz5gFlEs1RL.03Dbv.ehw1CGfCCIdFllK9HkHlEVxvvXye4O+qGrM1GybIIjhecDm5RdJMfJyn1dymP88ah8HGRCxI8c2rkKmUm6yi.2YQqpFCvtu.2irKVI1BVFGSIuLzvrp0cVuh3E057pspLwqFr5v68FmtgajPPXxi.0MLsL+G3koUCOpjKbjXIA1yk1l6MzoO+kLsoOhFR6.wKrnlgC3SZxM49dpfWQ0ndepu29oHXnAr26mgmKpwyaYsC0iNhdFt9YwLPYZjGZMW3rbuZmu6UcVt2B4bukzt2MsbbEzAxLNJe6FV6xkj851EsSjjLtqok2XApokM77JThNFKPaGIkbF59n5blDv5JXOOMsxkzeVZUz5e6pnZquxF1Es0zpDRjkKIImHAtkZ0iwEDjxzHv1kVYih1peDjdHxwvl1xaitQLWIErDmE6hrxqX+Z6B1mZOImtc0rncKmXrdD4QX+HR4UVoncgB6.wKjcUgFa1FJCTVJhHJyNwFpBJA22mHlk4TowyjQhZkYQAcHhUAfBrdpSoW.l50JmwtvovGD+PRJkDpvNBOOGOav9hkM3peTjSPNqEiJ2a.YzZMHlRopwHvKOorvOO03vdFhkQZ5TPijzCHYzLQbPTYbp3xIoh5mVFTHa6pVIKhAq7MVLtnox2xxgp5bgftXjd8nXIe14y+wRVqsF5YgDTaHgqMhBo1DrGh2E0FxvaijbTDvU1mf5hAdBD1UYHTHrkPhDREF5rUefeCcFKTRb6ZajQVAu6FmOjx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Zoitqvl.379m65p.6aCnyr0X84Vi6L2Zb24ViuZt03qmaMt2bqw2bFZnFtZqHIOPW5YX7ukWlhNA

    Trying to copy/paste this but can not seem to find any info on how or where to do that.. I get an error when I tried to do it with "load script from clipboard" that says there is no onControl function.
    and pasting in a script editor just pastes the random string.



  • Side note, if this is not too complex, it might be better to post the code than this compressed string format.. its easier to search in the forum and understand whats going on in reading the code



  • That is a HISE snippet. Copy it to the clipboard, then in HISE go to File >> Import HISE snippet.



  • @d-healey I didn't seem to have the File>>Import HISE snippet.

    I had looked extensively through the menus and also had searched the forum and manual for "HISE snippet" and there was nothing that I could find.

    I did however just try a File>>Replace with Clipboard Content and that looks like it may have done something



  • @macromachines I think you use an old Hise build because of using "Replace with clipboard content" menu. I suggest you to use current version (1.6.0). In latest version "import Hise snippet" menu is active. And it has lots if new features, bug fixes than older versions...



  • @orange
    I don't see 1.6 on https://github.com/christophhart/HISE/releases only 1.5.. why is HISE hiding things from me?? 😛



  • @macromachines For latest Hise version; you need to download this source files; follow the tutorials and build Hise yourself. Also it will be a good practise for you to construct necessary setup for compiling your pluguns in pc or mac. Ready to use .exe version is not the latest one (even it says "Download Latest Version" in the website 🙂 ) You need to go from source code for current version.

    https://github.com/christophhart/HISE/



  • @orange Ok compiled the JUCE>Xcode. Damn that intel IPP library is huge.. like 1 gb.. wtf!
    Is it possible to set this up to build in the JUCE JIT compiler? seems like it doesn't know where to find the IPP and some of the modules when I tried that way. Xcode compiles fine but I am getting debugger errors when running it:

    UI API called from background thread Group file:///Users/nicholascraftisiii/JUCE/HISE-1.60/projects/standalone/Builds/MacOSX/../../../../JUCE/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm: runtime: UI API called from background thread: -[NSView frame] must be used from main thread only

    and also in the console JUCE Assertion failure in StreamingSamplerVoice.cpp:194 (lldb)

    and it seems to have locked up after playing a few notes.



  • @macromachines IPP automayically integrates with your Xcode. When installing ipp, you can see that instsller detects your Xcode, so it automatically integrates. If you couldn't see that during installation of ipp, you can uninstall and reintsall ipp. Do you don't locate ipp on juce. Just be sure that ipp is "on" in juce. By the way Hise works with Xcode 8. Don't use xcode 9.



  • Xcode 9 seems to work, why wouldn't it? I just flipped the build to Release and am checking it out again now to see if the Debug build was what was killing it.


  • administrators

    I haven‘t used Xcode 9 yet but I heard many horror stories so I am not too ambitious to update it.

    The Projucers JIT compilation is not a fully standard compliant compiler and in my experience isn‘t usable for anything bigger than simple C++ projects so it‘s highly unlikely that something like HISE will ever run there.



  • Yeah I just realized that would probably be pretty impractical with this large of a project


Log in to reply
 

2
Online

315
Users

919
Topics

6.0k
Posts

Looks like your connection to Forum was lost, please wait while we try to reconnect.