@Lindon Not when I made the plugin. I installed ipp with the export wizard after.
Posts
-
RE: Export failedposted in General Questions
-
Export failedposted in General Questions
tried to export to VST from HISE standalone and all I got was
C:\Users\username\Documents\HISESource\JUCE\modules\juce_dsp\juce_dsp.cpp(58,11): error C1083: Cannot open include file: ' ippcore.h': No such file or directory [C:\Users\username\Documents\GitHub\prototype\Prototype\Binaries\Builds\VisualStudio 2022\Prototype_SharedCode.vcxproj] (compiling source file '../../JuceLibraryCode/include_juce_dsp.cpp') include_juce_osc.cpp include_juce_product_unlocking.cpp include_melatonin_blur.cpp C:\Users\username\Documents\HISESource\hi_tools\hi_tools\PostGraphicsRenderer.cpp(42,10): error C1083: Cannot open include file: 'ippcv.h': No such file or directory [C:\Users\username\Documents\GitHub\prototype\Prototype\Binaries\Builds\Visual Studio2022\Prototype_SharedCode.vcxproj] (compiling source file '../../JuceLibraryCode/include_hi_tools_01.cpp') C:\Users\username\Documents\HISESource\melatonin_blur\melatonin\implementations\ipp_vector.h(22,14): error C1083: Cannot o pen include file: 'ippcore_tl.h': No such file or directory [C:\Users\username\Documents\GitHub\prototype\Prototype\Binari es\Builds\VisualStudio2022\Prototype_SharedCode.vcxproj] (compiling source file '../../JuceLibraryCode/include_melatonin_blur.cpp') Press any key to continue . . . -
RE: Creating a MIDI copier/transposer in HISEposted in Scripting
@David-Healey An issue I run into now is when
function onNoteOn() { for (note in track) { if (note.isNoteOn()) { Console.print(note.dump()); Console.print("Note: " + note.getNoteNumber()); //Synth.playNote(note.getNoteNumber(), note.getVelocity()+1); //Synth.playNote(note.getNoteNumber()+12, note.getVelocity()+1); //Synth.playNote(note.getNoteNumber()-12, note.getVelocity()+1); } //Synth.noteOffByEventId(note.getEventId()); } } function getNoteOn(list, noteOn) { for(note in track) { if(note.isNoteOn() && note.getEventId() == noteOn.getEventId()) return note; } } MIDIPlayer1.flushMessageList(track);I uncomment any of the synth.playNote function calls, it plays very distorted, notes playing for far longer than they are supposed to, like I mentioned earlier.
-
RE: Creating a MIDI copier/transposer in HISEposted in Scripting
As an aside: I plan on exporting this to Ableton, so eventually the plugin will load MIDIs from DAW tracks.
-
RE: Creating a MIDI copier/transposer in HISEposted in Scripting
Content.makeFrontInterface(600, 600); const lookAndFeel = Engine.createGlobalScriptLookAndFeel(); const var MIDIPlayer1 = Synth.getMidiPlayer("MIDI Player1"); const var track = MIDIPlayer1.getEventList(); // The notes to be transposed up 1 octave /* Grab note, create second harmonic of note playing at same time of it O(n) complexity */ Console.print("-------------------------------------"); for(note in track) { if(note.isNoteOn()) { Console.print(note.dump()); Console.print("Before: " + note.getNoteNumber()); //note.setNoteNumber(note.getNoteNumber() + 12); Synth.playNote(note.getNoteNumber(), note.getVelocity()); Synth.playNote(note.getNoteNumber()+12, note.getVelocity()); Synth.playNote(note.getNoteNumber()-12, note.getVelocity()); Console.print("After: " + note.getNoteNumber()); } } // 3. Flush the processed list back to the MIDI file MIDIPlayer1.flushMessageList(track); -
RE: Creating a MIDI copier/transposer in HISEposted in Scripting
@David-Healey Ok, so
if(note.isNoteOn()) { Console.print(note.dump()); Console.print("Before: " + note.getNoteNumber()); //note.setNoteNumber(note.getNoteNumber() + 12); Synth.playNote(note.getNoteNumber(), note.getVelocity()); Synth.playNote(note.getNoteNumber()+12, note.getVelocity()); Synth.playNote(note.getNoteNumber()-12, note.getVelocity()); Console.print("After: " + note.getNoteNumber()); }The issue now is whenever I click Compile, it always hangs on the first note, never going to the second. I have to turn off the synth module to get it to stop. What's the fix? I'm a beginner here, so I'm in need of help with this lol
-
RE: Creating a MIDI copier/transposer in HISEposted in Scripting
@David-Healey Got it. Would it be possible to play the note in the track, plus the 2nd harmonic at the same time?
Like, it would play the note's 2nd harmonic at the same time without writing it to the track?
-
Creating a MIDI copier/transposer in HISEposted in Scripting
Given a MIDI track, I want to write a function such that it takes the note at a given position, creates its 2nd harmonic note at the same position, and places the note at the same position in the track.
How would I go about doing this?
Here's a basic transposer I have written so far. It doesn't copy the notes, it just moves them up an octave.
for(note in track) { if(note.isNoteOn()) { Console.print(note.dump()); Console.print("Before: " + note.getNoteNumber()); note.setNoteNumber(note.getNoteNumber() + 12); Console.print("After: " + note.getNoteNumber()); } } -
RE: Unknown function errorposted in Scripting
@d-healey Fixed, thanks!
I'm new to HISE so I'm bound to do beginner mistakes lol
-
Unknown function errorposted in Scripting
When I create a script reference, I get the errors:
Script FX1:! Line 1, column 38: Unknown function 'getEffect' {U2NyaXB0IEZYMXxvbkluaXQoKXwzN3wxfDM4}
Prototype:! Line 1, column 38: Unknown function 'getEffect'!!!!