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