what does writeAudioFile actually expect as its first argument? Is it a plain array or a Buffer object?
Posts
-
writeAudioFile helpposted in Scripting
-
RE: Auto Wahposted in General Questions
@pcs800 Never mind, I got it working.
I forgot to connect the modulation target
Thanks for the help. -
RE: Auto Wahposted in General Questions
@ustk Thanks!
I have envelope_follower connected to global_cable (slot0), and I'm using:const var grm = Engine.getGlobalRoutingManager();
const var autoWah_gc = grm.getCable("slot0");
autoWah_gc.registerCallback(onAutoWahCableCallback, true);But the callback never fires - no values are printed. What am I missing? Can you share a complete working example or snippet?
-
RE: Auto Wahposted in General Questions
@ustk What's the function call to register the global cable callback in the Interface script?
-
RE: Auto Wahposted in General Questions
@ustk So I just add a global_cable under the env follower?
Do I need to add a slot and select it? -
Auto Wahposted in General Questions
I built a wah pedal plugin which works great with daw automation which sweeps a couple parameteric eq's via the sweep knob on the gui.
I want to have an auto wah button which responds to incoming audio.
I have tried using an envelope follower in a Scipt FX, but not sure how to expose it's paramaters to the interface.
Or if I am even on the right track. Anyone help? -
RE: Writing data to a fileposted in General Questions
@pcs800 Looks like I may have found my own answer.
File.writeAudioFile(var audioData, double sampleRate, int bitDepth) -
Writing data to a fileposted in General Questions
Is it possible to write an audio file to the users hard drive?
Nothing specific just yet. I need that information before moving forward with the project. -
RE: Latency compensation not being triggered in dawposted in General Questions
@dannytaurus Worked like a charm!
Thanks for your input. -
RE: Latency compensation not being triggered in dawposted in General Questions
@dannytaurus This is what I came up with
Original signal only: 7232
-1oct:3068
-2oct:2659
+1oct:6143
+2oct:7232Max: 7232
-1oct: Needs 4164
-2oct: Needs 4573
+1oct: Needs 1089
+2oct: Needs none
Original Sig: Needs noneI'll try it
-
RE: Latency compensation not being triggered in dawposted in General Questions
@dannytaurus Hmm, this is going to be tricky, but I will try. Thanks :-)
-
RE: Latency compensation not being triggered in dawposted in General Questions
@dannytaurus After adding it, this is what I get with the plugin in a daw.
https://drive.google.com/file/d/1ZrUZcTNQj-GVh9GH7mndqMQTyzoaA_FO/view?usp=sharing
-
RE: Latency compensation not being triggered in dawposted in General Questions
@dannytaurus Ok, so put 7232 in instead of 164?

-
RE: Latency compensation not being triggered in dawposted in General Questions
@dannytaurus The scrip fx network

-
Latency compensation not being triggered in dawposted in General Questions
I have a pitch change plugin which I have added the following line to the interface onit
Engine.setLatencySamples(164)
When I use the plugin in my daw (Mixcraft 10), there's latency.
Did I put the code in the wrong area? -
Making a counterposted in General Questions
How would I go about making a counter which just logs time spent on a project?
So when the plugin is loaded into the daw, the user click a button to start it, and it counts until the project is closed, and then resumes when the project is loaded again?This is as close as I came to finding something in the forum.
https://forum.hise.audio/topic/8700/beat-time-counter/4?_=1767207098757 -
AI and Hiseposted in General Questions
I am not finding any recent discussions on this, so here goes.
Can hise use an api from something like this?
https://audiocraft.metademolab.com/musicgen.html?utm_source=copilot.com
To generate music via prompt. -
RE: expr needs to be wrapped into a compileable DSP networkposted in General Questions
@David-Healey Thanks David, I did that but I still get the error when trying to export the plugin.
