|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Junior Member
Join Date: Feb 2003
Location: Uruguay
Posts: 57
Rep Power: 0 ![]() |
Small tweak for Tubesound
Hello friends...
Would it be too difficult to push up the gain of the Tube sound plugin? Well..I totally LOVE the sound of it but I find myself constantly using 2 or 3 instances to get the amount of distortion I need to certain sounds, and while this doesn't mean a problem at all, when you have to tweak, you have to do a lot of clicking. I've tried myself editing the source but honestly don't know what parameter to edit. By the way...is there a way in which I could implement a bypass button and a routing switch in Dane's ...(I suspect not but anyway it doesn't hurts to ask :-) Thanks Gonzo |
|
|
|
|
|
#2 |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69 ![]() ![]() ![]() ![]() ![]() ![]() |
well, shame on me... the answer is as always - "under developement"...
[yep, originally, that plugin was developed as an "master insert" effect for "psychoacoustic - e.g. very ether" kind of processing of the whole mixes... and its maximum drive amount is not enough for single instruments (guitar, vocal etc..)...] --- about button creation in Dane... well, actually, of course dsp assembler (the one that Dane is) is not for creating user interfaces... well, maybe it could make sense to put some additional "ui script" compiler in, but personally, i'd hate to have some extra programming language in place where c++ works just fine... (well, doh, of course it is a bad idea to recommend someone to learn c++ if he just wants to create a single button, but hey! such knowledge is the thing you will never be sorry for ;) - so maybe one day you'll look into kx sdk and find it easy.
__________________
Last edited by Max M.; Mar 19, 2003 at 05:04 AM. |
|
|
|
|
|
|
|
DriverHeaven Junior Member
Join Date: Feb 2003
Location: Uruguay
Posts: 57
Rep Power: 0 ![]() |
Thanks Max.
Well...in fact I've went through the kx sdk various times before, looking for an answer to my needs, but as I don't understand a word about C++, it's almost useless to me. I've seen the sentence "checkbox", "button" and some more that I presume are the ones that I need, but....well, unfortunately I don't know what to do with them. My alternative to routing switches have always been...well...faders 0%-100%, but it is extremely weird to have a mixer full of faders to route the signal to various different places. But I haven't found an alternative yet to bypass switches. Thanks anyway! Gonzo |
|
|
|
|
|
#4 |
|
DriverHeaven Newbie
Join Date: Sep 2002
Posts: 5
Rep Power: 0 ![]() |
So is there any status on the update to this? Like Gonzo, I find myself lining up many instances of tubesound to compensate for a lack of gain.
|
|
|
|
|
|
#5 |
|
DriverHeaven Newbie
Join Date: Sep 2002
Posts: 5
Rep Power: 0 ![]() |
I'm no programmer, but I seem to have come up with something that amplifies the gain of one tubesound instance.
I went in and changed the line that says control amount=0x7fffffff; to say control amount=0xD4A50FFF; Then I saved it as a new .da file and registered that file as a plugin. Now when I load Tubesound again, it includes the changed paramater. I've changed the hex number attached to "control amount" from 2147483647 to 999999999999. The slider now defaults to -34% and if I move it up all the way to 100%, it gives quite a strong gain. I found this little hexadecimal calculator that does decimal/hex conversions. It helped me figure out what a bigger number would be. http://download.com.com/3000-2383-10...ml?tag=lst-0-1 I'm sure someone who actually knows how to program could find a better solution, but for now rigging it like this largely resolves my issue. |
|
|
|
|
|
#6 |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69 ![]() ![]() ![]() ![]() ![]() ![]() |
Probably i need to excuse once more but i'd sayd that if you feeling fine with sound produced by three tubesounds in a chain then maybe you need a "tube distortion" instead of "tube sound" (which was originally named as "Pentode M4" and was developed to emulate the sound of the single tube - not the sound of the Tube Overdrive, Analog Guiter Cabinet or similiar...)
----- corling i'm sorry, but you could be wrong... Let's see: You set the "control amount" to 0xD4A50FFF - ok.. Then as you see that value means -34% of "amount"... ok.. then you set the same amount control to 100%.. so how do you think what the value of "control amount" is at 100%? right, it's again 0x7fffffff, e.g. if you'd look at code after your "hacks" then you see that the code is identical to unhacked so it just can't produce a different sound... ----- (btw you do not need to use the hexadimal digits in code, for example the original Dane source for this effect was looked like this: Code:
; Dane DSP Program
; kX Fab. 20001207
; Max M.
; for kX Driver
; Valve/Tube Sound Emulator
; InsertEffect
; Stereo
; DC Removing
; resources
name "Pentode M4"
comments "Version 0.1 beta"
; registers
input inl, inr
output outl, outr
control amount = 1 ; saturation amount 0 - 1 -> tube warmth, 1 - 2 -> tube drive
static dcl = 0;
static dcr = 0;
temp t, s
; code
; left
; saturate
macs t, 0, inl, 0.92;
macsn s, 0, t, t;
macsn s, t, s, amount;
; remove dc offset
interp dcl, dcl, 0.0002, 0;
macs dcl, dcl, s, 0.0002;
macsn outl, s, dcl, 1;
; right
; saturate
macs t, 0, inr, 0.92;
macsn s, 0, t, t;
macsn s, t, s, amount;
; remove dc offset
interp dcr, dcr, 0.0002, 0;
macs dcr, dcr, s, 0.0002;
macsn outr, s, dcr, 1;
;end
end;
(i think that someday i'll kill the one that introduced that stupid machine hexs into disassembler ;) --- So.. anyone to hack this again? ;)
__________________
Last edited by Max M.; Aug 1, 2003 at 12:25 AM. |
|
|
|
|
|
#7 |
|
kX Project Lead Programmer and Coordinator
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
>> i think that someday i'll kill the one that introduced that stupid machine hexs into disassembler
hey, Max! could it be I know whom do you mean? ![]() /E |
|
|
|
|
|
#8 |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69 ![]() ![]() ![]() ![]() ![]() ![]() |
Ah, let it be our small secret... ;)
__________________
|
|
|
|
![]() |
| Thread Tools | |
|
|