Getting Started to SNEX Tutorial needed
-
How to start SNEX ? Where to start it?
-
@DabDab You can start here : https://docs.hise.audio/scriptnode/101/index.html
Then : trial, error, trial, error trial, success, trial, error, glitch, trial, error, trial, success, crash, trial success ... to finally manage what you want
-
@Matt_SF said in Getting Started to SNEX Tutorial needed:
I know ScriptNode, FAUST, RNBO... But don't know how to start SNEX. So I am interested to learn it.
-
@DabDab ah my mistake. Then the best solution would be to search the forum for examples. I didn't have time yet to dig in myself... :/
Edit : ... but I'm pretty sure the process is the same -
@Matt_SF said in Getting Started to SNEX Tutorial needed:
but I'm pretty sure the process is the same
No problem mate. I will upload a video of my screen to know what I am doing wrong and what is the first step.
-
@Matt_SF Here is my Screen Record..
what next ? is there any video or doc what to do next ?
-
@DabDab you can look here if you haven't already :
https://docs.hise.audio/scriptnode/manual/snex.html#examplesOtherwise, as I said earlier, maybe the best next move would be to search the forum for examples.
-
@Matt_SF said in Getting Started to SNEX Tutorial needed:
https://docs.hise.audio/scriptnode/manual/snex.html#examples
Yup, I looked at this. But my problem is , I didn't get it right. May be I am doing something wrong. The example states "just load the given HISE Snippets into the latest version of HISE and play around." But where is the snippet ? if I copy the given DSP code into SNEX it throws error. May be I am doing wrong but I am curious to learn it correctly.
// we initialise it to a weird value, will get corrected later double sr = 0.0; // the counter for the signal generation double uptime = 0.0; // the increment value (will control the frequency) double delta = 0.0; void prepare(double sampleRate, int blockSize, int numChannels) { // set the samplerate for the frequency calculation sr = sampleRate; } void reset() { // When we start a new voice, we just need to reset the counter uptime = 0.0; } void handleEvent(event e) { // get the frequency (in Hz) from the event const double cyclesPerSecond = e.getFrequency(); // calculate the increment per sample const double cyclesPerSample = cyclesPerSecond / sr; // multiyply it with 2*PI to get the increment value delta = 2.0 * 3.14159265359 * cyclesPerSample; } void processFrame(block frame) { // Calculate the signal frame[0] = (float)Math.sin(uptime); // Increment the value uptime += delta; // Copy the signal to the right channel frame[1] = frame[0]; } /** Initialise the processing here. */ void prepare(double sampleRate, int blockSize, int numChannels) { x.prepare(sampleRate, 500.0); } /** Reset the processing pipeline */ void reset() { x.reset(0.0); x.set(1.0); } sdouble x = 1.0; float processSample(float input) { return (float)x.next(); }
-
-
@Oli-Ullmann No, not at all. I am totally disappointed on SNEX learning.