Noob Input Box Reascript ? >> Sustainable Building >> Forum
Forum

Forum



SearchSearch   Users   Registration   Entrance
Today: 17.07.2025 - 20:32:51
Pages:  1  

Noob Input Box Reascript ?

Advertising

/
MessageAuthor

Hey Reascripters. I've been working on a script that sfzgeek had done for item volumes in Perl. I converted the script to python, and to do track volumes instead of item volumes. Here's the script. Code:

------------------------

threeserious

user




Statistics:
Messages: 9
Registration: 04.17.2002
29.03.24 - 20:56:49
Message # 1
RE: Noob Input Box Reascript ?

Weird one with that math error. Hard to come up with a reliable method to trigger it. Ok, maybe try this: Have two tracks selected and grab one of the faders to bring both down to -inf. Now run your script. I have the feeling there is another issue unrelated to your script. Do you see weird fader jumps when you (single) click one of two selected track's faders which are at -inf (and maybe drag down a bit, although it's already at -inf)? Here the one that isn't grabbed seems to jump a tad upward when I do that. Maybe that's even the root of the error the script throws??

------------------------
Wheels in Sig are SSR GT3's 19" E46 M3 fitment. Dinan E46 M3 Suspension. Pic thanks to Kyle K.

Ali

user




Statistics:
Messages: 12,622
Registration: 03.21.2001
29.03.24 - 21:05:44
Message # 2
RE: Noob Input Box Reascript ?

gofer, I did get the error after trying what you said to do, and yes the volume fader jumps a little bit when one of the others are moved if they are turned down to -inf. The original item script is here Remember that I changed the script to work with tracks. I left out this line, because I didn't know how to convert it to python. Code:

------------------------
http://www.europeancarweb.com/featur...ner/index.html

e34biturbo

user




Statistics:
Messages: 2,853
Registration: 07.08.2002
29.03.24 - 21:12:12
Message # 3
RE: Noob Input Box Reascript ?

Ok, I did notice a new example in the reascript help that demonstrates track volume. Here's a new script I did with that example. Code:

------------------------
Size Does Matter!!!

5two5 e34

user




Statistics:
Messages: 53
Registration: 07.21.2003
29.03.24 - 21:20:11
Message # 4
RE: Noob Input Box Reascript ?

Thanks. I should have realized that. Here's the new script. Code:

------------------------

mrdezyne

user




Statistics:
Messages: 4,366
Registration: 09.21.2003
29.03.24 - 21:29:04
Message # 5
RE: Noob Input Box Reascript ?

You can't take the log of zero. Instead you need to check if the volume is less than some tiny amount, and if so set the dB level to some arbitrary minimum (like -150dB).

------------------------

Scotth

user




Statistics:
Messages: 730
Registration: 11.26.2003
29.03.24 - 21:34:12
Message # 6
RE: Noob Input Box Reascript ?
resetting ECU : Previous topicNext topic: Midi Editor: channel filter integrated on toolbar
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants