Is it possible to change controller value from modules?

Pixilang programming language
Post Reply
philipbergwerf
Posts: 174
Joined: Sat Mar 17, 2018 4:23 pm

Is it possible to change controller value from modules?

Post by philipbergwerf »

According to the documentation there is not a function that let you change a controller from a sunvox module. Or did I miss something?

Code: Select all

// create sunvox object
sv = sv_new()

// place and connect modules
sv_lock(sv)
sv_new_module(sv,"Input","Input",300,512) // 1
sv_new_module(sv,"Pitch Detector","Pitch Detector",400,512) // 2
sv_connect_module(sv,1,2)
// move a controller from the pitch detector?
sv_unlock(sv)

sv_remove(sv)
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: Is it possible to change controller value from modules?

Post by NightRadio »

change a controller from a sunvox module
I didn't quite understand the question :)
philipbergwerf
Posts: 174
Joined: Sat Mar 17, 2018 4:23 pm

Re: Is it possible to change controller value from modules?

Post by philipbergwerf »

I found already the answer: the question; how to set a new controller value in a module in the sunvox object?
using sv_send_event()
I want to change the settings from pitch detector to get it at a very precise detection :)
Post Reply