Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

idjc & hercules dj console

Help
usually
2013-05-04
2013-06-03
  • usually
    usually
    2013-05-04

    hello,
    I searched on google but could not find my solution to this problem ..
    I have the console Hercules DJ console that is  a midi controller, unfortunately I am not able to figure out how to interface the controller with IDJC
    With mixxx I noticed everything works well and recognizes the keys the knob the slider etc..
    but how to interface with idjc?
    my jack_lsp

    $ jack_lsp
    system:capture_1
    system:capture_2
    system:playback_1
    system:playback_2
    idjc-mx_default:dj_out_l
    idjc-mx_default:dj_out_r
    idjc-mx_default:dsp_out_l
    idjc-mx_default:dsp_out_r
    idjc-mx_default:dsp_in_l
    idjc-mx_default:dsp_in_r
    idjc-mx_default:str_out_l
    idjc-mx_default:str_out_r
    idjc-mx_default:voip_out_l
    idjc-mx_default:voip_out_r
    idjc-mx_default:voip_in_l
    idjc-mx_default:voip_in_r
    idjc-mx_default:midi_control
    idjc-mx_default:ch_in_1
    idjc-mx_default:ch_in_2
    idjc-mx_default:ch_in_3
    idjc-mx_default:ch_in_4
    idjc-sc_default:str_in_l
    idjc-sc_default:str_in_r
    
     $ lsusb
    Bus 001 Device 008: ID 06f8:b105 Guillemot Corp.
    
     
  • You have to run JACK with raw MIDI mode.

    e.g.
    jackd -d alsa -r 44100 -midi raw
    Run idjc then set the connection from midi_control to the hercules dj console midi output and then set the bindings.

     
  • usually
    usually
    2013-05-06

    i've the same result :(
    this is the output

    nicola@spartaco ~ $ jackd -d alsa -r 44100 --midi raw
    jackdmp 1.9.9
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2012 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    JACK server starting in realtime mode with priority 10
    control device hw:0
    control device hw:0
    audio_reservation_init
    Acquire audio card Audio0
    creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
    control device hw:0
    configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
    ALSA: final selected sample format for capture: 32bit integer little-endian
    ALSA: use 2 periods for capture
    ALSA: final selected sample format for playback: 32bit integer little-endian
    ALSA: use 2 periods for playback
    Source port in attempted (dis)connection of idjc-mx_default:midi_control and idjc-mx_default:midi_control is not an output port
    Unknown destination port in attempted (dis)connection src_name [idjc-mx_default:dsp_out_l] dst_name [jamin:in_L]
    Unknown destination port in attempted (dis)connection src_name [idjc-mx_default:dsp_out_r] dst_name [jamin:in_R]
    Unknown source port in attempted (dis)connection src_name [jamin:out_L] dst_name [idjc-mx_default:dsp_in_l]
    Unknown source port in attempted (dis)connection src_name [jamin:out_R] dst_name [idjc-mx_default:dsp_in_r]
    
    nicola@spartaco ~ $ idjc
    jack client IDs: idjc-mx_default idjc-sc_default
    shout_initialiser: shout_init called
    started 6 encoders, 6 streamers, 2 recorders
    threads initialised
    jack sample rate is 44100
    activated ch 1
    activated ch 3
    activated ch 4
    entering stereo mode, ch 4
    Restoring previous session
    stream-mon was toggled ON
    
    nicola@spartaco ~ $ jack_lsp 
    system:capture_1
    system:capture_2
    system:playback_1
    system:playback_2
    idjc-mx_default:dj_out_l
    idjc-mx_default:dj_out_r
    idjc-mx_default:dsp_out_l
    idjc-mx_default:dsp_out_r
    idjc-mx_default:dsp_in_l
    idjc-mx_default:dsp_in_r
    idjc-mx_default:str_out_l
    idjc-mx_default:str_out_r
    idjc-mx_default:voip_out_l
    idjc-mx_default:voip_out_r
    idjc-mx_default:voip_in_l
    idjc-mx_default:voip_in_r
    idjc-mx_default:midi_control
    idjc-mx_default:ch_in_1
    idjc-mx_default:ch_in_2
    idjc-mx_default:ch_in_3
    idjc-mx_default:ch_in_4
    idjc-sc_default:str_in_l
    idjc-sc_default:str_in_r
    

    btw this is my midi controller
    http://mixxx.org/wiki/doku.php/hercules_dj_control_mp3_e2

    p.s. just in case i attach the log of mixxx that support my controller

    nicola@spartaco ~ $ mixxx
    Debug [Main]: Mixxx 1.11.0 "(bzr r3845; built on: Apr 28 2013 @ 00:20:56; flags: bulk hid hifieq mad optimize=9 qdebug shoutcast vamp verbose vinylcontrol)" is starting... 
    Debug [Main]: Qt version is: 4.8.3 
    Debug [Main]: Configuration file is at the current version 1.11.0 
    Debug [Main]: Loading translations for locale "it_IT" from translations folder "/usr/share/mixxx/translations/" : success 
    Debug [Main]: ConfigObject: Could not read "" 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "vinylcontrol_mode" ) 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "vinylcontrol_mode" ) 
    Debug [Main]: JACK client name set 
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Errore di input/output(5)
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Errore di input/output(5)
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Errore di input/output(5)
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Errore di input/output(5)
    jack_client_new: deprecated
    Cannot connect to server socket err = Connessione rifiutata
    Cannot connect to server request channel
    jack server is not running or cannot be started
    jack_client_new: deprecated
    Cannot connect to server socket err = Connessione rifiutata
    Cannot connect to server request channel
    jack server is not running or cannot be started
    ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
    Cannot connect to server socket err = Connessione rifiutata
    Cannot connect to server request channel
    jack server is not running or cannot be started
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDepth" ) 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDelay" ) 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoPeriod" ) 
    Debug [Main]: Available QtSQL drivers: ("QSQLITE") 
    Debug [Main]: DB status: "/home/nicola/.mixxx/mixxxdb.sqlite" = true 
    Debug [Main]: SchemaManager::upgradeToSchemaVersion already at version 17 
    Debug [Main]: TrackDAO::initialize QThread(0x2ccf960, name = "Main") "qt_sql_default_connection" 
    Debug [Main]: CrateDAO::initialize() 
    Debug [Main]: CueDAO::initialize QThread(0x2ccf960, name = "Main") "qt_sql_default_connection" 
    Debug [Main]: Default quick links: ("/home/nicola/Musica/", "/home/nicola/Scrivania/", "/home/nicola/Documenti/") 
    Debug [Main]: Appending Quick Link:  "Musica" --- "/home/nicola/Musica/" 
    Debug [Main]: Appending Quick Link:  "Scrivania" --- "/home/nicola/Scrivania/" 
    Debug [Main]: Appending Quick Link:  "Documenti" --- "/home/nicola/Documenti/" 
    Debug [Main]: Creating session history playlist name: "2013-05-06 (2)" 
    Debug [Main]: Committing transaction on "qt_sql_default_connection" result: true 
    Debug [Main]: Traktor Library Location=[ "/home/nicola/collection.nml" ] 
    Debug [Main]: AnalyserWaveform::AnalyserWaveform() 
    Debug [Main]: Setting VAMP_PATH to:  "/usr/lib/mixxx/plugins/vamp:/home/nicola/.mixxx/plugins/vamp/:/usr/bin/lin32_build/vamp-plugins:/usr/bin/lin64_build/vamp-plugins" 
    Debug [Main]: Creating ControllerManager 
    Debug [Main]: Extension ".bulk.xml" total 1 presets 
    Debug [Main]: Extension ".hid.xml" total 7 presets 
    Debug [Main]: Extension ".midi.xml" total 79 presets 
    Debug [Main]: Setting VAMP_PATH to:  "/usr/lib/mixxx/plugins/vamp:/home/nicola/.mixxx/plugins/vamp/:/usr/bin/lin32_build/vamp-plugins:/usr/bin/lin64_build/vamp-plugins:/usr/lib/mixxx/plugins/vamp:/home/nicola/.mixxx/plugins/vamp/:/usr/bin/lin32_build/vamp-plugins:/usr/bin/lin64_build/vamp-plugins" 
    Debug [Main]: VampPluginLoader::listPlugins() returned 3 plugins 
    Debug [Main]: Plugin output displayname: "mixxxbpmdetection:0" "SoundTouch BPM Detector (Legacy)" 
    Debug [Main]: Plugin output displayname: "qm-barbeattracker:0" "Bar and Beat Tracker" 
    Debug [Main]: Plugin output displayname: "qm-barbeattracker:1" "Bar and Beat Tracker" 
    Debug [Main]: Plugin output displayname: "qm-barbeattracker:2" "Bar and Beat Tracker" 
    Debug [Main]: Plugin output displayname: "qm-barbeattracker:3" "Bar and Beat Tracker" 
    Debug [Main]: Plugin output displayname: "qm-tempotracker:0" "Queen Mary Tempo and Beat Tracker" 
    Debug [Main]: Plugin output displayname: "qm-tempotracker:1" "Queen Mary Tempo and Beat Tracker" 
    Debug [Main]: Plugin output displayname: "qm-tempotracker:2" "Queen Mary Tempo and Beat Tracker" 
    Debug [Main]: ControllerManager::getControllerList 
    Debug [Main]: SoundManager::setupDevices() 
    Debug [Main]: SoundDevicePortAudio::open() "0, HDA Intel MID: ALC271X Analog (hw:0,0)" 
    Debug [Main]: framesPerBuffer: 1024 
    Debug [Main]: Requested sample rate:  44100 Hz, latency: 23.22 ms 
    Debug [Main]: Output channels: 2 | Input channels: 0 
    Debug [Main]: Opening stream with id 0 
    Debug [Main]: Opened PortAudio stream successfully... starting 
    Debug [Main]: Dynamically loaded PortAudio library 
    Debug [Main]: PortAudio: Started stream successfully 
    Debug [Main]:    Actual sample rate:  44100 Hz, latency: 46.4399 ms 
    Debug [Main]: Using "HDA Intel MID: ALC271X Analog (hw:0,0)" as output sound device clock reference 
    Debug [Main]: 1 output sound devices opened 
    Debug [Main]: 0 input  sound devices opened 
    Debug [Main]: Set root GL Context widget valid: QGLWidget(0x38ea490) true 
    Debug [Main]: Created root GL Context valid: 0x38ea810 true 
    Debug [Main]: Root GL Context format: 
    Debug [Main]: Double Buffering: true 
    Debug [Main]: Swap interval: 0 
    Debug [Main]: Depth buffer: true 
    Debug [Main]: Direct rendering: true 
    Debug [Main]: Has overlay: false 
    Debug [Main]: RGBA: true 
    Debug [Main]: Sample buffers: false 
    Debug [Main]: Stencil buffers: true 
    Debug [Main]: Stereo: false 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Spinny1]" , "show_spinny" ) 
    Warning [Main]: Requested control does not exist: "[Spinny1],show_spinny" Creating it. 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Spinny2]" , "show_spinny" ) 
    Warning [Main]: Requested control does not exist: "[Spinny2],show_spinny" Creating it. 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Samplers]" , "show_samplers" ) 
    Warning [Main]: Requested control does not exist: "[Samplers],show_samplers" Creating it. 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Microphone]" , "show_microphone" ) 
    Warning [Main]: Requested control does not exist: "[Microphone],show_microphone" Creating it. 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Vinylcontrol]" , "show_vinylcontrol" ) 
    Warning [Main]: Requested control does not exist: "[Vinylcontrol],show_vinylcontrol" Creating it. 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[PreviewDeck]" , "show_previewdeck" ) 
    Warning [Main]: Requested control does not exist: "[PreviewDeck],show_previewdeck" Creating it. 
    Debug [Main]: Invalid node name in skin: "manifest" 
    Debug [Main]: Making property binder for "visible" 
    Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Sampler1]" , "" ) 
    Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Sampler2]" , "" ) 
    Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Sampler3]" , "" ) 
    Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Sampler4]" , "" ) 
    Debug [Main]: Making property binder for "visible" 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[PreviewDeck1]" , "" ) 
    Debug [Main]: Recordings folder set to "/home/nicola/Musica/Mixxx/Recordings" 
    Debug [Main]: BaseTrackCache(0x3624400) updateIndexWithQuery took 0 ms 
    Debug [Main]: PrepareLibraryTableModel(0x56732f0) select() took 1 ms 
    Debug [Main]: PrepareLibraryTableModel(0x56732f0) select() took 1 ms 
    Debug [Main]: DlgPrepare(0x5625c20, name = "DlgPrepare") analysisActive false 
    Debug [Main]: Making property binder for "visible" 
    Debug [Main]: Making property binder for "visible" 
    Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true 
    Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "" ) 
    Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 0 
    Debug [Main]: Making property binder for "visible" 
    Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true 
    Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "" ) 
    Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true 
    Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "" ) 
    Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 1 
    Debug [Main]: Making property binder for "visible" 
    Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true 
    Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors 
    Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "" ) 
    Debug [Main]: Setting visibility for "[Microphone]" "show_microphone" true 
    Debug [Main]: MixxxLibraryFeature::activate() 
    Debug [Main]: LibraryTableModel(0x363d7d0) select() took 0 ms 
    Debug [Main]: WSearchLineEdit::restoreSearch( "" ) 
    Debug [Controller]: ControllerManager: Setting up devices 
    Debug [Controller]: Scanning PortMIDI devices: 
    Debug [Main]: Constructed LibraryScanner 
    Debug [Main]: iTunes Album Art path is: "" 
    Debug [Main]: Displaying mixxx 
    Debug [Controller]: Scanning USB Bulk devices: 
    Debug [Controller]: Scanning HID devices: 
    Debug [Controller]: Found 0x7ffb1801afa0 0x7ffb180139e0 "r8704" S/N 0x0 "Interface 0" 
    Debug [Controller]: Found 0x7ffb1801afd0 0x7ffb18013a20 "r8704" S/N 0x0 "Interface 1" 
    Debug [Controller]: ControllerManager::getControllerList 
    Debug [Controller]: Loading controller preset from "/home/nicola/.mixxx/controllers/DJ_Control_MP3_e2_.bulk.xml" 
    Debug [Controller]: "DJ" settings found 
    Debug [Controller]: Opening controller: "DJ Control MP3 e2 " 
    Debug [Controller]: Controller in script engine is: "DJ Control MP3 e2 " 
    Debug [Controller]: Applying controller preset... 
    Debug [Controller]: ControllerEngine: Loading & evaluating all script code 
    Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/mixxx/controllers/common-controller-scripts.js" 
    Debug [Controller]: ControllerEngine: Loading "/usr/share/mixxx/controllers/common-controller-scripts.js" 
    Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/mixxx/controllers/common-bulk-midi.js" 
    Debug [Controller]: ControllerEngine: Loading "/usr/share/mixxx/controllers/common-bulk-midi.js" 
    Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/mixxx/controllers/Hercules DJ Control MP3 e2-scripts.js" 
    Debug [Controller]: ControllerEngine: Loading "/usr/share/mixxx/controllers/Hercules DJ Control MP3 e2-scripts.js" 
    Debug [Main]: resize QSize(1366, 725) 
    Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/mixxx/controllers/Hercules-mp3e2-compat.js" 
    Debug [Controller]: ControllerEngine: Loading "/usr/share/mixxx/controllers/Hercules-mp3e2-compat.js" 
    Warning [Controller]: ControllerEngine: No "" object in script 
    Warning [Controller]: ControllerEngine: No "" object in script 
    Warning [Controller]: ControllerEngine: No "" object in script 
    Debug [Main]: Running Mixxx 
    Debug [Controller]: Connection: "[Channel1]" "playposition" 
    Debug [Controller]: Connection: "[Channel2]" "playposition" 
    Debug [Controller]: Connection: "[Channel1]" "loop_start_position" 
    Debug [Controller]: Connection: "[Channel2]" "loop_start_position" 
    Debug [Controller]: Connection: "[Channel1]" "loop_end_position" 
    Debug [Controller]: Connection: "[Channel2]" "loop_end_position" 
    Debug [Controller]: Connection: "[Channel1]" "loop_start_position" 
    Debug [Controller]: Connection: "[Channel1]" "loop_end_position" 
    Debug [Controller]: Connection: "[Channel1]" "loop_enabled" 
    Debug [Controller]: Connection: "[Channel1]" "loop_enabled" 
    Debug [Controller]: Connection: "[Channel1]" "hotcue_1_enabled" 
    Debug [Controller]: Connection: "[Channel1]" "hotcue_2_enabled" 
    Debug [Controller]: Connection: "[Channel1]" "hotcue_3_enabled" 
    Debug [Controller]: Connection: "[Channel1]" "hotcue_4_enabled" 
    Debug [Controller]: Connection: "[Channel1]" "flanger" 
    Debug [Controller]: Connection: "[Channel1]" "play" 
    Debug [Controller]: Connection: "[Channel1]" "pfl" 
    Debug [Controller]: Connection: "[Channel1]" "beat_active" 
    Debug [Controller]: Connection: "[Channel2]" "loop_start_position" 
    Debug [Main]: ControllerManager::getControllerList 
    Debug [Controller]: Connection: "[Channel2]" "loop_end_position" 
    Debug [Controller]: Connection: "[Channel2]" "loop_enabled" 
    Debug [Controller]: Connection: "[Channel2]" "loop_enabled" 
    Debug [Controller]: Connection: "[Channel2]" "hotcue_1_enabled" 
    Debug [Controller]: Connection: "[Channel2]" "hotcue_2_enabled" 
    Debug [Controller]: Connection: "[Channel2]" "hotcue_3_enabled" 
    Debug [Controller]: Connection: "[Channel2]" "hotcue_4_enabled" 
    Debug [Controller]: Connection: "[Channel2]" "flanger" 
    Debug [Controller]: Connection: "[Channel2]" "play" 
    Debug [Controller]: Connection: "[Channel2]" "pfl" 
    Debug [Controller]: Connection: "[Channel2]" "beat_active" 
    Debug [Controller]: Loading controller preset from "/home/nicola/.mixxx/controllers/USB_Receiver__0.hid.xml" 
    Debug [Controller]: "USB" settings found 
    Debug [Controller]: Loading controller preset from "/home/nicola/.mixxx/controllers/USB_Receiver__1.hid.xml" 
    Debug [Controller]: "USB" settings found 
    Debug [Controller]: Controller polling stopped. 
    Warning [Main]: WaveformRenderBackground::generateImage() - file( "/usr/share/mixxx/skins/Deere1366x768-WXGA/style/style_bg_waveform.png" ) 415 x 119 do not fit the waveform widget size 339 x 119 
    Warning [Main]: WaveformRenderBackground::generateImage() - file( "/usr/share/mixxx/skins/Deere1366x768-WXGA/style/style_bg_waveform.png" ) 415 x 119 do not fit the waveform widget size 337 x 119