Drum samples help !!

alex2411

Member
Dec 29, 2013
54
0
6
Montral,canada
I recently recorded my friend's snare in order to creat a kontankt/drumagog instrument . The drumagog instrument is easy to creat. The problem is with the kontant instrument . i would like to have my bottom snare going to aux 1 channel. So the top snare would automaticly go to stereo out 1-2 but I want to split my bottom and top snare so peoples could mix them their own way. Would it be possible ? If yes , help me please
 
i dont know how to do fancy scripts but the easiest way would be to create two different kontakt instruments, one top and one btm.
 
It's a tama silverstar snare, honestly it's not a super sounding snare mate I'm trying to sample a snAre for the first time so I don't think it will be the best snare sample you'll ever heard . I've already created a gog file, I'll try and make a kontakt instrument , I don't know what tci is (trigger I guess XD)
 
on init

{sets interface size, etc}
set_ui_height_px(50)
make_perfview
message("")
declare $count := 0

{sets up SnrTop label}
declare ui_label $SnrTop_Label(1,1)
set_text($SnrTop_Label,"SnrTop Output:")
move_control($SnrTop_Label,2,1)

{sets up SnrBot label}
declare ui_label $SnrBot_Label(1,1)
set_text($SnrBot_Label,"SnrBot Output:")
move_control($SnrBot_Label,3,1)

{sets up SnrTop output assignment menu}
declare $a
declare ui_menu $SnrTop_out
_read_persistent_var($SnrTop_out)
add_menu_item($SnrTop_out,"Default",-1)
move_control($SnrTop_out,2,2)
$count := 0
while($count < $NUM_OUTPUT_CHANNELS)
add_menu_item($SnrTop_out,output_channel_name($count),$count)
inc($count)
end while
$SnrTop_out := get_engine_par($ENGINE_PAR_OUTPUT_CHANNEL,0,-1,-1) {where "0" = the first group in the series of round-robin groups}
make_persistent($SnrTop_out)

{sets up SnrBot output assignment menu}
declare $b
declare ui_menu $SnrBot_out
_read_persistent_var($SnrBot_out)
add_menu_item($SnrBot_out,"Default",-1)
move_control($SnrBot_out,3,2)
$count := 0
while($count < $NUM_OUTPUT_CHANNELS)
add_menu_item($SnrBot_out,output_channel_name($count),$count)
inc($count)
end while
$SnrBot_out := get_engine_par($ENGINE_PAR_OUTPUT_CHANNEL,0,-1,-1) {where "0" = the first group in the series of round-robin groups}
make_persistent($SnrBot_out)

end on

{Defines what happens when the SnrTop output assignment menu is adjusted}
on ui_control ($SnrTop_out)
$a := 0 {first group in group range, zero based}
while ($a <= 0) {last group in group range, zero based}
set_engine_par($ENGINE_PAR_OUTPUT_CHANNEL,$SnrTop_out,$a,-1,-1)
inc($a)
end while
end on

{Defines what happens when the SnrBot output assignment menu is adjusted}
on ui_control ($SnrBot_out)
$b := 1 {first group in group range, zero based}
while ($b <= 1) {last group in group range, zero based}
set_engine_par($ENGINE_PAR_OUTPUT_CHANNEL,$SnrBot_out,$b,-1,-1)
inc($b)
end while
end on
 
Be sure to check the bracketed notes in the code. They will appear in green when you paste them into the Kontakt editor. You'll have to change some values around, since I don't know how your instrument is set up. Groups are numbered starting at 0.

For example:

SnareTop Hit #1 = FIRST GROUP = Group #0
SnareTop Hit #2 = SECOND GROUP = Group #1
SnareTop Hit #3 = THIRD GROUP = Group #2
SnareBot Hit #1 = FOURTH GROUP = Group #3
SnareBot Hit #2 = FIFTH GROUP = Group #4
SnareBot Hit #3 = SIXTH GROUP = Group #5

Also note that if you change the output configuration after the instrument has loaded, you'll need to click the "!" button at the top of Kontakt to reset the engine and gain access to the extra outputs.

A simpler way might just be to set the group outputs in the amplifier module, but then you won't get the benefit of choosing your output.
 
It's a tama silverstar snare, honestly it's not a super sounding snare mate I'm trying to sample a snAre for the first time so I don't think it will be the best snare sample you'll ever heard . I've already created a gog file, I'll try and make a kontakt instrument , I don't know what tci is (trigger I guess XD)

Yeah .TCI is for Trigger. If you want I can make them for ya.
 
on init

{sets interface size, etc}
set_ui_height_px(50)
make_perfview
message("")
declare := 0

{sets up SnrTop label}
declare ui_label (1,1)
set_text(,"SnrTop Output:")
move_control(,2,1)

{sets up SnrBot label}
declare ui_label (1,1)
set_text(,"SnrBot Output:")
move_control(,3,1)

{sets up SnrTop output assignment menu}
declare
declare ui_menu
_read_persistent_var()
add_menu_item(,"Default",-1)
move_control(,2,2)
:= 0
while( < )
add_menu_item(,output_channel_name(),)
inc()
end while
:= get_engine_par(,0,-1,-1) {where "0" = the first group in the series of round-robin groups}
make_persistent()

{sets up SnrBot output assignment menu}
declare
declare ui_menu
_read_persistent_var()
add_menu_item(,"Default",-1)
move_control(,3,2)
:= 0
while( < )
add_menu_item(,output_channel_name(),)
inc()
end while
:= get_engine_par(,0,-1,-1) {where "0" = the first group in the series of round-robin groups}
make_persistent()

end on

{Defines what happens when the SnrTop output assignment menu is adjusted}
on ui_control ()
:= 0 {first group in group range, zero based}
while ( <= 0) {last group in group range, zero based}
set_engine_par(,,,-1,-1)
inc()
end while
end on

{Defines what happens when the SnrBot output assignment menu is adjusted}
on ui_control ()
:= 1 {first group in group range, zero based}
while ( <= 1) {last group in group range, zero based}
set_engine_par(,,,-1,-1)
inc()
end while
end on

I have a problem :(

everything works until the snare top assignement menu,It will probably do the same with the bottom as well, it says variable expected or expression expected

 
I have a problem :(

everything works until the snare top assignement menu,It will probably do the same with the bottom as well, it says variable expected or expression expected


you added a space in the $count variable in the line highlighted in red.

EDIT: It's strange. the code I copied doesn't have a space in the editor I use. Maybe the message board is adding stuff. Hm. At any rate, take out the space and you should be good to go.