Snippets

Leslie Krause Numark NDX500 Customer Mapper

Created by Leslie Krause last modified
<?xml version="1.0" encoding="UTF-8"?>
<mapper device="NMNDX5H" author="Intraversal Digital MediaWorks" version="802" date="2022-06-21">
	<info>https://bitbucket.org/sorcerykid/workspace/snippets/aEEdG9</info>
	<map value="PLAY" action="pause ? set &apos;playing&apos; 1 &amp; var &apos;setcue&apos; ? set_cue 0 &amp; play &amp; repeat_start &apos;play&apos; 2000ms 1 &amp; set &apos;setcue&apos; 0 : play : set &apos;playing&apos; 0 &amp; pause" />
	<map value="LED_PLAY" action="loaded ? pause ? blink : on : off" />
	<map value="CUE" action="goto_cue 0 &amp; var &apos;playing&apos; ? set &apos;playing&apos; 0 &amp; pause : play while_pressed" />
	<map value="LED_CUE" action="loaded ? var &apos;setcue&apos; ? blink : var &apos;tapping&apos; ? on : cue_stop ? blink : on : off" />
	<map value="PITCH" action="pitch" />
	<map value="PITCHBEND-" action="var &apos;prog&apos; ? var &apos;tapping&apos; ? repeat 100ms &amp; goto_cue 0 &amp; goto -50ms &amp; set_cue 0 : var &apos;playing&apos; ? loop_exit &amp; seek -100ms 15ms : loop_exit &amp; seek -50ms 120ms : pitch_bend -3% 500ms" />
	<map value="PITCHBEND+" action="var &apos;prog&apos; ? var &apos;tapping&apos; ? repeat 100ms &amp; goto_cue 0 &amp; goto +50ms &amp; set_cue 0 : var &apos;playing&apos; ? loop_exit &amp; seek +100ms 15ms : loop_exit &amp; seek +50ms 120ms : pitch_bend +3% 500ms" />
	<map value="TAP" action="down ? set &apos;setcue&apos; 1 &amp; set &apos;playing&apos; 0 &amp; set &apos;tapping&apos; 1 &amp; loop_exit &amp; set_cue 0 &amp; play &amp; repeat_start &apos;stutter&apos; 150ms &amp; hot_cue 0 : set &apos;tapping&apos; 0 &amp; hot_cue 0 &amp; pause &amp; repeat_stop &apos;stutter&apos; " />
	<map value="REC" action="set &apos;delcue&apos; 1 while_pressed" />
	<map value="HOTCUE1" action="var &apos;single&apos; ? var &apos;delcue&apos; ? delete_cue 5 : set &apos;playing&apos; 0 &amp; pause &amp; has_cue 5 ? goto_cue 5 &amp; play while_pressed : set_cue 5 &amp; cue_color 5 &apos;yellow&apos; : var &apos;delcue&apos; ? delete_cue 1 : set &apos;playing&apos; 1 &amp; play &amp; has_cue 1 ? goto_cue 1 : set_cue 1 &amp; set &apos;setcue&apos; 1 &amp; repeat_start &apos;play&apos; 2000ms 1 &amp; set &apos;setcue&apos; 0" />
	<map value="HOTCUE2" action="var &apos;single&apos; ? var &apos;delcue&apos; ? delete_cue 6 : set &apos;playing&apos; 0 &amp; pause &amp; has_cue 6 ? goto_cue 6 &amp; play while_pressed : set_cue 6 &amp; cue_color 6 &apos;yellow&apos; : var &apos;delcue&apos; ? delete_cue 2 : set &apos;playing&apos; 1 &amp; play &amp; has_cue 2 ? goto_cue 2 : set_cue 2 &amp; set &apos;setcue&apos; 1 &amp; repeat_start &apos;play&apos; 2000ms 1 &amp; set &apos;setcue&apos; 0" />
	<map value="HOTCUE3" action="var &apos;single&apos; ? var &apos;delcue&apos; ? delete_cue 7 : set &apos;playing&apos; 0 &amp; pause &amp; has_cue 7 ? goto_cue 7 &amp; play while_pressed : set_cue 7 &amp; cue_color 7 &apos;yellow&apos; : var &apos;delcue&apos; ? delete_cue 3 : set &apos;playing&apos; 1 &amp; play &amp; has_cue 3 ? goto_cue 3 : set_cue 3 &amp; set &apos;setcue&apos; 1 &amp; repeat_start &apos;play&apos; 2000ms 1 &amp; set &apos;setcue&apos; 0" />
	<map value="LED_HOTCUE1" action="var &apos;single&apos; ? var &apos;delcue&apos; ? hot_cue 5 ? blink 400ms : off : hot_cue 5 : var &apos;delcue&apos; ? hot_cue 1 ? blink 400ms : off : hot_cue 1" />
	<map value="LED_HOTCUE2" action="var &apos;single&apos; ? var &apos;delcue&apos; ? hot_cue 6 ? blink 400ms : off : hot_cue 6 : var &apos;delcue&apos; ? hot_cue 2 ? blink 400ms : off : hot_cue 2" />
	<map value="LED_HOTCUE3" action="var &apos;single&apos; ? var &apos;delcue&apos; ? hot_cue 7 ? blink 400ms : off : hot_cue 7 : var &apos;delcue&apos; ? hot_cue 3 ? blink 400ms : off : hot_cue 3" />
	<map value="PITCH_RANGE" action="pitch_range &apos;4,8,16,100&apos; +1" />
	<map value="LED_PITCH_16" action="pitch_range 16%" />
	<map value="LED_PITCH_4" action="pitch_range 4%" />
	<map value="LED_PITCH_8" action="pitch_range 8%" />
	<map value="LED_PITCH_ALL" action="pitch_range 100%" />
	<map value="LED_SCRATCH" action="vinyl_mode ? on : off" />
	<map value="LED_SEARCH" action="var &apos;searching&apos; ? on : off" />
	<map value="REVERSE" action="slip_mode ? dump : reverse" />
	<map value="LED_REVERSE" action="reverse ? on : off" />
	<map value="TRACK_PUSH" action="var &apos;delcue&apos; ? sidelist_add : browser_window &apos;folders&apos; ? browser_enter : load" />
	<map value="FOLDER" action="browser_window &apos;folders&apos; ? browser_window &apos;sideview&apos; : browser_window &apos;folders&apos;" />
	<map value="TIME" action="display_time &apos;remain,elapsed&apos; +1 &amp; refresh_controller" />
	<map value="SINGLE" action="holding ? edit_poi : toggle &apos;single&apos; &amp; cue_color 5 &apos;yellow&apos; &amp; cue_color 6 &apos;yellow&apos; &amp; cue_color 7 &apos;yellow&apos;" />
	<map value="LOOPOUT" action="var &apos;prog&apos; ? loop ? loop_exit : loop_out : effect_active 2 ? set &apos;looping&apos; 0 &amp; effect_active 2 off : set &apos;looping&apos; 1 &amp; effect_disable_all &amp; effect_active 2 on &amp; var &apos;delcue&apos; ? nothing : effect_slider 2 1 0%" />
	<map value="LED_LOOPIN" action="var &apos;prog&apos; ? loaded ? loop ? blink : on : off : effect_active 1 ? blink 500ms : off" />
	<map value="LED_LOOPOUT" action="var &apos;prog&apos; ? loop ? blink : off : effect_active 2 ? blink 500ms : off" />
	<map value="RELOOP" action="var &apos;prog&apos; ? set &apos;playing&apos; 1 &amp; goto_cue 0 &amp; play : effect_active 3 ? set &apos;looping&apos; 0 &amp; effect_active 3 off : set &apos;looping&apos; 1 &amp; effect_disable_all &amp; effect_active 3 on &amp; var &apos;delcue&apos; ? nothing : effect_slider 3 1 50%" />
	<map value="LCD_PAUSE" action="var &apos;playing&apos; ? off : on" />
	<map value="LCD_ELAPSED" action="display_time &apos;elapsed&apos;" />
	<map value="LCD_REMAIN" action="display_time &apos;remain&apos;" />
	<map value="DIGIT_MIN" action="get_time_min &apos;absolute&apos;" />
	<map value="DIGIT_SEC" action="get_time_sec &apos;absolute&apos;" />
	<map value="DIGIT_FRAME" action="get_time_msf &apos;absolute&apos;" />
	<map value="LCD_PITCH" action="effect_active 1 ? off : effect_active 2 ? off : effect_active 3 ? off : var &apos;braking&apos; ? off : on" />
	<map value="LCD_PITCH_SIGN" action="effect_active 1 ? off : effect_active 2 ? off : effect_active 3 ? off : var &apos;braking&apos; ? off : on" />
	<map value="DIGIT_DECK" action="get deck" />
	<map value="DIGIT_BPM" action="loaded ? get bpm : nothing" />
	<map value="TEXT" action="loaded ? var &apos;text_mode&apos; 1 ? get_loaded_song &apos;album&apos; : var &apos;text_mode&apos; 2 ? get_title : var &apos;text_mode&apos; 3 ? get_artist_title : get_artist : get_text &apos;No track&apos;" />
	<map value="LCD_ARTIST" action="loaded ? var &apos;text_mode&apos; 0 ? on : var &apos;text_mode&apos; 3 ? on : off" />
	<map value="LCD_ALBUM" action="loaded ? var &apos;text_mode&apos; 1 ? on : off" />
	<map value="LCD_TITLE" action="loaded ? var &apos;text_mode&apos; 2 ? on : var &apos;text_mode&apos; 3 ? on : off" />
	<map value="LCD_TIME_DOTS" action="on" />
	<map value="LCD_BPM_OFF" action="on" />
	<map value="LCD_BPM" action="on" />
	<map value="LCD_TIME_OFF" action="on" />
	<map value="LCD_AUTOCUE" action="auto_cue" />
	<map value="LCD_AUTO" action="beatlock" />
	<map value="LCD_MT" action="key_lock" />
	<map value="LCD_RELOOP" action="var &apos;prog&apos; ? loop ? on : off" />
	<map value="LCD_CONTINUE" action="var &apos;single&apos; ? on : off" />
	<map value="LCD_FOLDER" action="browser_window &apos;folders&apos;" />
	<map value="DIGIT_PITCH" action="var &apos;braking&apos; ? brakespeed &amp; param_multiply 250 : effect_active 1 ? effect_slider 1 1 &amp; param_multiply 100 : effect_active 2 ? effect_slider 2 1 &amp; param_multiply 100 : effect_active 3 ? effect_slider 3 1 &amp; param_multiply 100 : pitch_range 100% ? get_pitch : get_pitch &amp; param_multiply 100" />
	<map value="LCD_PITCH_DOT" action="pitch_range 100% ? off : on" />
	<map value="LCD_PLAY" action="var &apos;playing&apos; ? on : off" />
	<map value="BAR1_PROGRESS" action="display_time &apos;total&apos; ? constant 0.5 : display_time &apos;elapsed&apos; ? song_pos &amp; param_multiply 0.5 : song_pos &amp; param_multiply 0.5 &amp; param_add 0.5" />
	<map value="BAR2_PROGRESS" action="display_time &apos;total&apos; ? constant 0.5 : display_time &apos;remain&apos; ? song_pos &amp; param_multiply 0.5 : song_pos &amp; param_multiply 0.5 &amp; param_add 0.5" />
	<map value="LCD_TOTAL" action="display_time &apos;total&apos;" />
	<map value="MIDI_MODE" action="down ? refresh_controller &amp; mute off : mute on" />
	<map value="LED_BRAKE" action="brakespeed 0% ? off : on" />
	<map value="BRAKE" action="down ? set &apos;braking&apos; 1 &amp; brakespeed 20% &amp; startupspeed 20% : set &apos;braking&apos; 0 &amp; brakespeed 0% &amp; startupspeed 0%" />
	<map value="LCD_CUE" action="var &apos;tapping&apos; ? off : cue_stop" />
	<map value="JOG" action="effect_active 1 ? effect_slider 1 1 : effect_active 2 ? effect_slider 2 1 : effect_active 3 ? effect_slider 3 1 : var &apos;tapping&apos; ? param_bigger 0.0016 ? set &apos;jogging&apos; 1 &amp; set &apos;setcue&apos; 1 : param_smaller -0.0016 ? set &apos;jogging&apos; -1 &amp; set &apos;setcue&apos; 1 : set &apos;jogging&apos; 0 : var &apos;searching&apos; ? param_bigger 0.0016 ? goto +250ms : param_smaller -0.0016 ? goto -250ms : nothing : touchwheel" />
	<map value="LOOPIN" action="var &apos;prog&apos; ? loop ? loop_exit : set_cue 0 &amp; set &apos;setcue&apos; 1 &amp; repeat_start &apos;play&apos; 2000ms 1 &amp; set &apos;setcue&apos; 0 : effect_active 1 ? set &apos;looping&apos; 0 &amp; effect_active 1 off : set &apos;looping&apos; 1 &amp; effect_disable_all &amp; effect_active 1 on &amp; var &apos;delcue&apos; ? nothing : effect_slider 1 1 50%" />
	<map value="LED_RELOOP" action="off" />
	<map value="LCD_PITCH_OFF" action="on" />
	<map value="LCD_TRACK" action="on" />
	<map value="TRACK_ENC" action="var &apos;braking&apos; ? param_equal -1 ? brakespeed 10% ? nothing : brakespeed -10% &amp; startupspeed -10% : brakespeed 30% ? nothing : brakespeed +10% &amp; startupspeed +10% : var &apos;tapping&apos; ? set &apos;setcue&apos; 1 &amp; goto_cue 0 &amp; param_equal -1 ? goto -50ms &amp; param_multiply 0 &amp; set_cue : goto +50ms &amp; param_multiply 0 &amp; set_cue : browser_scroll" />
	<map value="JOG_TOUCH" action="var &apos;tapping&apos; ? repeat 80ms &amp; var_equal &apos;jogging&apos; 1 ? goto_cue 0 &amp; goto +50ms &amp; set_cue 0 : var_equal &apos;jogging&apos; -1 ? goto_cue 0 &amp; goto -50ms &amp; set_cue 0 : nothing : var &apos;searching&apos; ? nothing : var &apos;looping&apos; ? nothing : touchwheel_touch" />
	<map value="MASTERTEMPO" action="key_lock" />
	<map value="SCRATCH" action="vinyl_mode &amp; slip_mode off" />
	<map value="PROG" action="toggle &apos;prog&apos; &amp; effect_disable_all" />
	<map value="LCD_PROG" action="var &apos;prog&apos;" />
	<map value="SEARCH" action="down ? set &apos;searching&apos; 1 : set &apos;searching&apos; 0" />
</mapper>

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.