I can't really code. I understand it on a super basic level but I still have a blast with HISE. I think that's the beauty of it! watch some/any/all of @d-healey s YouTube and consider his Patreon. I learned sooo much from him.
Posts made by FatMitchell
-
RE: I don’t know anything about scripting. Is HISE for me?
-
RE: faust/export.h not found
@clevername27 did we uncheck the architecture of the machine were not using? I got this to work by unchecking x86 cuz im on ARM and it worked for me. ive def gotten that error before tho. Did you put all the folders in first before building
-
RE: SNEX Filters...
@iamlamprey wow epic. Is the SNEX documentation up to date? I have been getting some Frame errors but I didn't see anything in the docs. Seriously thank you so much for your time and effort on this.
-
RE: SNEX Filters...
@iamlamprey thank you endlessly for this. It didn’t work but it’s probably user error. Trying to read through everything I can find but it’s not much in terms of a finished working example. Do you have any working examples (of any kind) that u could post/sendme so I can study how it works and more importantly how to implement it.
Thanks!
-
SNEX Filters...
Attempting to make a filter using the core.SNEX node. Using ChatGPT to help me since I know nothing about code. I assume its out of date but maybe someone could explain if this is even possible or not...
I want to start with a simple Low Pass filter.
-I created a new file within a network within script fx.
Here is my error:
snex_node - Line 83(20): Parsing error: Expected:
TypeActual: $identifierHere is my code that's not working:
template <int NV> struct snex_lowpass_filter { SNEX_NODE(snex_lowpass_filter); // Parameters float cutoffFrequency = 1000.0f; // Initial cutoff frequency // Initialise the processing specs here void prepare(PrepareSpecs ps) { // Any initialization can be done here } // Reset the processing pipeline here void reset() { // Reset any internal state variables here } // Low-pass filter function float lowPassFilter(float input) { // Sampling period const float dt = 1.0f / Engine.getSampleRate(); // Time constant const float RC = 1.0f / (2.0f * PI * cutoffFrequency); // Coefficient const float alpha = dt / (RC + dt); // Compute output float output = alpha * input + (1.0f - alpha) * prevOutput; // Update previous output prevOutput = output; return output; } // Process the signal here template <typename ProcessDataType> void process(ProcessDataType& data) { for (auto& sample : data) { sample = lowPassFilter(sample); } } // Process the signal as frame here template <int C> void processFrame(span<float, C>& data) { // This function is used for processing audio frames (e.g., stereo signal) // You can implement a frame-based processing if needed } // Process the MIDI events here void handleHiseEvent(HiseEvent& e) { // This function is used for handling MIDI events // You can implement MIDI event processing if needed } // Use this function to setup the external data void setExternalData(const ExternalData& d, int index) { // This function can be used to set up any external data needed for processing } // Set the parameters here void setParameter(int parameterIndex, double value) { // You can set parameters dynamically during runtime if (parameterIndex == 0) { cutoffFrequency = value; } } private: // Previous output sample float prevOutput = 0.0f; };
-
RE: Mac Installer Advice
@FatMitchell I have built a few installers .pkgs that seem to work. I don't remember needing to attach an installer certificate. Autoswell2.pkgproj.zip
-
RE: Mac Installer Advice
@HISEnberg I use packages...but im on Ventura. what seems to be the problem?
-
RE: Upward Compressor in scriptnode?
@FatMitchell waves MV-2 is my go to for this technique. For those that are curious to check out an example.
-
RE: Upward Compressor in scriptnode?
@FatMitchell I thought I saw a post in here where you can just change the HISE compressor's range values of the knob to be the ratio you need....I'm looking for it but can't find it atm
-
RE: Upward Compressor in scriptnode?
@DanH It is my understanding that expanders make the difference in dynamics a wider range where as upward compression brings the quieter sounds up.
-
Methods
A friend of mine (who actually codes) is looking to get into HISE.
He has a question that I can’t answer.
Question:
“ Can you use JavaScript array methods (.map, .forEach etc) in HISE”“ also string methods(.toUpper etc) ”
Not sure what that means but I know someone will.
Thanks!
-
Viewport Columns?
Looking to have a viewport with two columns instead of just one.
I enjoy how the viewport is scrolling, however id like it to look more like a table.here's what I have right now, its just listing key commands. Id just like it to be a bit more clear the distinction between the operation and the key command.
EX: Save (in column one) and Cmd+S (in column two)
Like excel!
Can I make the viewport two columns instead of one and still use the list?