[GNU/Linux] No sounds using DDJ-400

Hi,

First of all, I am new to the Mixxx community and I would like to thanks all Mixxx contributors for their amazing work :slight_smile:

I am having an issue when I connect my DDJ-400 to have sound. Ideally, I would like to use my computer speaker as a master and the DDJ-400 channel for the headset. But when I try I have no sound from the computer speaker and from the headset connected to the DDJ-400.

Some details about my setup :

  • I am using Manjaro
  • I am using Mixxx 2.2.4
  • I am using the DDJ-400 mapping from Pioneer DDJ-400: Address outstanding issues by jusko · Pull Request #3479 · mixxxdj/mixxx · GitHub
    pwd /home/remake/.mixxx/controllers ls
    DDJ-400_----_4.hid.xml Pioneer-DDJ-400.midi.xml
    DDJ-400_MIDI_1.midi.xml Pioneer-DDJ-400-script.js
  • Looking at the Mixxx wiki I configured my user to be part of the “users” group and I have the udev rule file:
    $ ls /etc/udev/rules.d/mixxx-usb-uaccess.rules
    /etc/udev/rules.d/mixxx-usb-uaccess.rules

The first strange thing is that Mixxx finds “two controllers” instead of one (I never created the files for the "DDJ-400-----_4 controller)

This is the setup I have in the Sound Hardware menu where I am not able to see the DDJ-400 controller (I used to be able to see it even if it didn’t work neither):
Screenshot in the second post as I can only add one to this post.

Here are the Mixxx.log:
Info [Main]: SoundSourceProxy - Loading SoundSource plugins “/usr/lib/mixxx/plugins/soundsourceqt5”
Info [Main]: SoundSourcePluginLibrary - Dynamically loaded plugin library “/usr/lib/mixxx/plugins/soundsourceqt5/libsoundsourcem4a.so”
Info [Main]: SoundSourcePluginLibrary - Dynamically loaded plugin library “/usr/lib/mixxx/plugins/soundsourceqt5/libsoundsourcewv.so”
Debug [Main]: “Mixxx” “2.2.4” “(built on: Aug 16 2020 @ 14:41:39; flags: asan=0 battery=1 buildtime=1 bulk=1 color=0 coreaudio=0 faad=1 ffmpeg=1 hid=1 hss1394=0 ipod=0 lilv=1 localecompare=1 macappstore=0 mad=1 mediafoundation=0 modplug=1 opengles=0 optimize=portable opus=1 perftools=1 perftools_profiler=1 profiling=0 qt_sqlite_plugin=0 qtkeychain=1 shoutcast=1 test=1 tsan=0 ubsan=0 vamp=1 verbose=1 vinylcontrol=1 wv=1)” is starting…
Debug [Main]: Compile time library versions:
Debug [Main]: Qt: 5.15.2
Debug [Main]: libshout: 2.4.1
Debug [Main]: PortAudio: 1246720 PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4
Debug [Main]: RubberBand: 1.8.2
Debug [Main]: SoundTouch: 2.1.2
Debug [Main]: TagLib: 1.11.1
Debug [Main]: ChromaPrint: 1.5.0
Debug [Main]: Vorbis: Xiph.Org libVorbis 1.3.7
Debug [Main]: libsndfile: libsndfile-1.0.28
Debug [Main]: FLAC: 1.3.3
Debug [Main]: QDesktopServices::storageLocation(HomeLocation): “/home/remake”
Debug [Main]: QDesktopServices::storageLocation(DataLocation): “/home/remake/.local/share/data//Mixxx”
Debug [Main]: QCoreApplication::applicationDirPath() “/usr/bin”
Debug [Main]: Loading resources from “/usr/share/mixxx/”
Debug [Main]: Configuration file is at the current version 2.2.4
Info [Main]: BroadcastSettings - Found 1 profile(s)
Debug [Main]: Loading resources from “/usr/share/mixxx/”
Debug [Main]: Loading resources from “/usr/share/mixxx/”
Debug [Main]: Loading translations for locale “en_US” from translations folder “/usr/share/mixxx/translations/” : success
Debug [Main]: D-Bus global menu: no
Debug [Main]: “Error: Unable to import console: no such extension”
Debug [Main]: “Error: Unable to import svg: no such extension”
Debug [Main]: palette support is disabled
Debug [Main]: Loading resources from “/usr/share/mixxx/”
Debug [Main]: Compressor attack per frame: 0.000408163 decay per frame: 4.08163e-05
Debug [Main]: JACK client name set
Debug [Main]: EngineNetworkStream - addWorker: worker added
Debug [Main]: EngineNetworkStream - worker slots used: “1 out of 16”
Debug [Main]: BroadcastManager - addConnection: created connection for profile “Connection 1”
Debug [Main]: WARNING: AudioInput already registered!
Debug [Main]: WARNING: AudioInput already registered!
Debug [Main]: WARNING: AudioInput already registered!
Debug [Main]: WARNING: AudioInput already registered!
Info [Main]: DbConnection - Available drivers for database connections: (“QIBASE”, “QSQLITE”, “QMARIADB”, “QMYSQL”, “QMYSQL3”, “QODBC”, “QODBC3”, “QPSQL”, “QPSQL7”, “QTDS”, “QTDS7”)
Info [Main]: DbConnectionPool - Cloned thread-local database connection “MIXXX-1” QSqlDatabase(driver=“QSQLITE”, database="/home/remake/.mixxx/mixxxdb.sqlite", host=“localhost”, port=-1, user=“mixxx”, open=true)
Info [Main]: MixxxMainWindow - Connecting to database
Info [Main]: MixxxMainWindow - Initializing or upgrading database schema
Info [Main]: SchemaManager - Database schema is up-to-date at version 28
Debug [Main]: LibraryScanner - Starting thread
Info [Main]: Library - Connecting database
Debug [LibraryScanner 1]: LibraryScanner - Entering thread
Info [LibraryScanner 1]: DbConnectionPool - Cloned thread-local database connection “MIXXX-2” QSqlDatabase(driver=“QSQLITE”, database="/home/remake/.mixxx/mixxxdb.sqlite", host=“localhost”, port=-1, user=“mixxx”, open=true)
Info [LibraryScanner 1]: LibraryScanner - Cleaning up database…
Info [LibraryScanner 1]: LibraryScanner - Finished database cleanup: 1 ms
Debug [LibraryScanner 1]: LibraryScanner - Event loop starting
Debug [Main]: Committing transaction on “MIXXX-1” result: true
Debug [Main]: CrateFeature::rebuildChildModel() -1
Warning [Main]: QList::insert(): Index out of range.
Debug [Main]: Default quick links: ("/home/remake/Music/", “/home/remake/Downloads/”, “/home/remake/Desktop/”, “/home/remake/Documents/”)
Debug [Main]: Appending Quick Link: “Music” — “/home/remake/Music/”
Debug [Main]: Appending Quick Link: “Downloads” — “/home/remake/Downloads/”
Debug [Main]: Appending Quick Link: “Desktop” — “/home/remake/Desktop/”
Debug [Main]: Appending Quick Link: “Documents” — “/home/remake/Documents/”
Debug [Main]: Committing transaction on “MIXXX-1” result: true
Debug [Main]: Traktor Library Location=[ “/home/remake/collection.nml” ]
Debug [Main]: Checking for access to user’s library directories:
Debug [Main]: Checking for access to “/home/remake/Music” : true
Debug [AnalyzerQueue 1]: AnalyzerQueue - Entering thread
Info [AnalyzerQueue 1]: DbConnectionPool - Cloned thread-local database connection “MIXXX-3” QSqlDatabase(driver=“QSQLITE”, database="/home/remake/.mixxx/mixxxdb.sqlite", host=“localhost”, port=-1, user=“mixxx”, open=true)
Debug [Main]: Creating ControllerManager
Debug [Controller]: ControllerManager:slotInitialize
Debug [Main]: Set root GL Context widget valid: QGLWidget(0x562f7858acf0) true
Debug [Main]: Created root GL Context valid: 0x562f77532350 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]: Samples: -1
Debug [Main]: Stencil buffers: true
Debug [Main]: Stereo: false
Debug [Main]: “openGLVersionFlags 0xff07f” “4.5 (Compatibility Profile) Mesa 20.3.1” “AMD” “AMD BONAIRE (DRM 2.50.0, 5.10.2-2-MANJARO, LLVM 11.0.0)”
Debug [Main]: DBus interface org.freedesktop.ScreenSaver not valid
Debug [Main]: DBus interface org.gnome.ScreenSaver not valid
Debug [Main]: DBus interface org.kde.screensaver not valid
Debug [Main]: RLimit Cur 0
Debug [Main]: RLimit Max 0
Debug [Controller]: Extension .midi.xml total 116 presets
Debug [Controller]: Extension .hid.xml total 12 presets
Debug [Controller]: Extension .bulk.xml total 1 presets
Debug [Main]: ControllerManager::getControllerList
Info [Main]: VampPluginAdapter - Current VAMP_PATH is: “”
Debug [Main]: VampPluginAdapter - Ignoring non-existent path: “/home/rhn/.local/share/data/Mixxx”
Debug [Main]: VampPluginAdapter - Ignoring non-existent path: “/usr/bin”
Debug [Main]: VampPluginAdapter - Ignoring non-existent path: “/usr/bin”
Info [Main]: VampPluginAdapter - Setting VAMP_PATH to: “/usr/lib/mixxx/plugins/vampqt5”
Debug [Main]: VampPluginLoader::listPlugins() returned 4 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-keydetector:0” “Key Detector”
Debug [Main]: Plugin output displayname: “qm-keydetector:1” “Key Detector”
Debug [Main]: Plugin output displayname: “qm-keydetector:2” “Key Detector”
Debug [Main]: Plugin output displayname: “qm-keydetector:3” “Key Detector”
Debug [Main]: Plugin output displayname: “qm-tempotracker:0” “Tempo and Beat Tracker”
Debug [Main]: Plugin output displayname: “qm-tempotracker:1” “Tempo and Beat Tracker”
Debug [Main]: Plugin output displayname: “qm-tempotracker:2” “Tempo and Beat Tracker”
Debug [Main]: VampPluginLoader::listPlugins() returned 4 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-keydetector:0” “Key Detector”
Debug [Main]: Plugin output displayname: “qm-keydetector:1” “Key Detector”
Debug [Main]: Plugin output displayname: “qm-keydetector:2” “Key Detector”
Debug [Main]: Plugin output displayname: “qm-keydetector:3” “Key Detector”
Debug [Main]: Plugin output displayname: “qm-tempotracker:0” “Tempo and Beat Tracker”
Debug [Main]: Plugin output displayname: “qm-tempotracker:1” “Tempo and Beat Tracker”
Debug [Main]: Plugin output displayname: “qm-tempotracker:2” “Tempo and Beat Tracker”
Debug [Main]: DlgPrefKey::loadSettings
Debug [Main]: Key plugin ID: “qm-keydetector:2”
Debug [Main]: LegacySkinParser loading skin: “/usr/share/mixxx/skins/Deere”
Debug [Main]: “Error: Unable to import console: no such extension”
Debug [Main]: “Error: Unable to import svg: no such extension”
Debug [Main]: Skin is a >=1.12.0 style skin.
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Debug [Main]: GLWaveformRendererSignalShader::loadShaders
Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 0
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Debug [Main]: GLWaveformRendererSignalShader::loadShaders
Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 1
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Debug [Main]: GLWaveformRendererSignalShader::loadShaders
Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 2
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Debug [Main]: GLWaveformRendererSignalShader::loadShaders
Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 3
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Debug [Main]: WSearchLineEdit - Background color: QColor(ARGB 1, 1, 1, 1)
Debug [Main]: WSearchLineEdit - Foreground color: QColor(ARGB 1, 0, 0, 0)
Debug [Main]: WTrackTableView::loadTrackModel() HiddenTableModel(0x562f8635d880)
Debug [Main]: WTrackTableView::loadTrackModel() MissingTableModel(0x562f863a5c00)
Debug [Main]: WTrackTableView::loadTrackModel() PlaylistTableModel(0x562f74519340)
Warning [Main]: QList::insert(): Index out of range.
Debug [Main]: Recordings folder set to “/home/remake”
Debug [Main]: WTrackTableView::loadTrackModel() QSortFilterProxyModel(0x562f864722b0)
Debug [BrowseThread]: Append last 0
Debug [Main]: WTrackTableView::loadTrackModel() AnalysisLibraryTableModel(0x562f864e7880)
Debug [Main]: BaseTrackCache(0x562f6d345ba0) updateIndexWithQuery took 19 ms
Debug [Main]: AnalysisLibraryTableModel(0x562f864e7880) select() took 31 ms 0
Debug [Main]: AnalysisLibraryTableModel(0x562f864e7880) select() took 8 ms 0
Debug [Main]: DlgAnalysis(0x562f8584dba0, name=“DlgAnalysis”) analysisActive false
Warning [Main]: src/skin/legacyskinparser.cpp:2110 SKIN ERROR at skin:tool_bar.xml:344 : LegacySkinParser::setupConnections(): EmitOnPressAndRelease must not set false
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Warning [Main]: src/skin/legacyskinparser.cpp:2110 SKIN ERROR at skin:skin_settings.xml:40 : LegacySkinParser::setupConnections(): EmitOnPressAndRelease must not set false
Debug [Main]: MixxxLibraryFeature::activate()
Debug [Main]: WTrackTableView::loadTrackModel() LibraryTableModel(0x562f74519180)
Debug [Main]: LibraryTableModel(0x562f74519180) select() took 30 ms 2038
Debug [Main]: trying to restore position
Debug [Controller]: ControllerManager: Setting up devices
Debug [Controller]: Scanning PortMIDI devices:
Debug [Controller]: Found output device # 2 DDJ-400 MIDI 1
Debug [Controller]: Found input device # 3 DDJ-400 MIDI 1
Debug [Controller]: Linking to output device # 2 “DDJ-400 MIDI 1”
Debug [Controller]: Scanning USB Bulk devices:
Debug [Controller]: Scanning HID devices:
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler1]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler2]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler3]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler4]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler5]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler6]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler7]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler8]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler9]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler10]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler11]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler12]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler13]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler14]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler15]”
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack “[Sampler16]”
Debug [Main]: SoundManager::setupDevices()
Debug [Main]: SoundDevicePortAudio::open() “SoundDeviceId(HDA Intel PCH: ALC898 Analog, hw:0,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 [Controller]: Found “” “” “r21761” S/N “” “Interface 0”
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Debug [Controller]: Found “” “” “r21761” S/N “” “Interface 1”
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Debug [Controller]: Found “” “” “r8848” S/N “” “Interface 0”
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Debug [Controller]: Found “” “” “r256” S/N “” “Interface 1”
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Debug [Controller]: Found “Pioneer DJ Corporation” “DDJ-400” “r257” S/N “-----” “Interface 4”
Debug [Controller]: ControllerManager::getControllerList
Debug [Controller]: Searching for controller preset “DDJ-400_MIDI_1.midi.xml” in paths: “/home/remake/.mixxx/controllers/,/usr/share/mixxx/controllers/”
Debug [Controller]: Loading controller preset from “/home/remake/.mixxx/controllers/DDJ-400_MIDI_1.midi.xml”
Debug [Controller]: MidiControllerPresetFileHandler: Input mapping parsing complete.
Debug [Controller]: MidiPresetFileHandler: Output mapping parsing complete.
Debug [Controller]: Opening controller: “DDJ-400 MIDI 1”
Debug [Controller]: Controller in script engine is: “DDJ-400 MIDI 1”
Debug [Controller]: Applying controller preset…
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: “/home/rhn/.mixxx/controllers/Pioneer-DDJ-400-script.js”
Debug [Controller]: ControllerEngine: Loading “/home/rhn/.mixxx/controllers/Pioneer-DDJ-400-script.js”
Debug [Controller]: Searching for controller preset “DDJ-400_----4.hid.xml" in paths: “/home/rhn/.mixxx/controllers/,/usr/share/mixxx/controllers/”
Debug [Controller]: Loading controller preset from "/home/rhn/.mixxx/controllers/DDJ-400
----_4.hid.xml”
Debug [Controller]: Controller polling started.
Warning [Controller]: ControlDoublePrivate::getControl returning NULL for ( “[EffectRack1_EffectUnit1_Effect0]” , “meta” )
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: 23.22 ms
Debug [Main]: SoundDeviceNetwork - open: “Network stream”
Debug [Main]: framesPerBuffer: 1024
Debug [Main]: Requested sample rate: 44100 Hz, latency: 23219954 ns
Debug [Main]: Using “HDA Intel PCH: ALC898 Analog (hw:0,0)” as output sound device clock reference
Debug [Main]: 2 output sound devices opened
Debug [Main]: 0 input sound devices opened
Debug [Main]: Displaying main window
Debug [Main]: Running Mixxx
Debug [Main]: ControllerManager::getControllerList
Debug []: SSE: Denormals to zero mode already enabled
Debug []: SSE: Flush to zero mode already enabled
Debug []: Denormals to zero mode is working
Debug [Main]: Setting input delegate for column 0 QStyledItemDelegate(0x562f899b6d50)
Debug [Main]: Setting input delegate for column 1 QStyledItemDelegate(0x562f899b6d20)
Debug [Main]: Setting input delegate for column 2 QStyledItemDelegate(0x562f899b6d00)
Debug [Main]: Setting input delegate for column 3 MidiOptionsDelegate(0x562f899b6ce0)
Debug [Main]: Setting input delegate for column 4 ControlDelegate(0x562f899cd8e0)
Debug [Main]: Setting output delegate for column 0 QStyledItemDelegate(0x562f8a67b360)
Debug [Main]: Setting output delegate for column 1 QStyledItemDelegate(0x562f8a67b330)
Debug [Main]: Setting output delegate for column 2 QStyledItemDelegate(0x562f8a67b310)
Debug [Main]: Setting output delegate for column 3 QStyledItemDelegate(0x562f8a67b2f0)
Debug [Main]: Setting output delegate for column 4 QStyledItemDelegate(0x562f8a67b2d0)
Debug [Main]: Setting output delegate for column 5 ControlDelegate(0x562f8a693900)
Warning [Main]: QXcbConnection: XCB error: 8 (BadMatch), sequence: 24102, resource id: 44040232, major code: 153 (Unknown), minor code: 11
Warning [Main]: QXcbConnection: XCB error: 8 (BadMatch), sequence: 24104, resource id: 44040271, major code: 153 (Unknown), minor code: 11
Debug [Main]: Destroying MixxxMainWindow
Debug [Main]: 0 ms saving configuration
Debug [Main]: 0 ms deleting skin
Debug [Main]: ~DlgAutoDJ()
Debug [Main]: 867 ms deleting menubar
Debug [Main]: 867 ms deleting SoundManager
Debug [Main]: 885 ms deleting ControllerManager
Debug [Controller]: Controller polling stopped.
Debug [Controller]: Deleting PortMIDI devices…
Debug [Controller]: ControllerEngine shutting down…
Debug [Controller]: Deleting USB Bulk devices…
Debug [Controller]: Deleting HID devices…
Debug [Main]: 916 ms deleting VinylControlManager
Debug [Main]: ~CoverArtCache()
Debug [Main]: 917 ms deleting PlayerManager
Debug [AnalyzerQueue 1]: AnalyzerQueue - Exiting thread
Debug [Main]: AnalyzerWaveform - ~AnalyzerWaveform():
Debug [Main]: 918402162 ns deactivating GlobalTrackCache
Debug [Main]: 918 ms deleting Library
Debug [Main]: Wait to finish browser background thread
Debug [Main]: Browser background thread terminated!
Debug [Main]: Committing transaction on “MIXXX-1” result: true
Debug [Main]: PlaylistDAO::getHiddenType returns PLHT_UNKNOWN for playlistId 7
Info [Main]: Library - Disconnecting database
Debug [Main]: TrackDAO::finish()
Debug [Main]: Clearing played information for this session
Debug [Main]: Cleaning LibraryHashes/track_locations tables.
Debug [Main]: ~TrackDAO()
Debug [LibraryScanner 1]: LibraryScanner - Event loop stopped
Warning [LibraryScanner 1]: QSqlDatabasePrivate::removeDatabase: connection ‘MIXXX-2’ is still in use, all queries will cease to work.
Debug [LibraryScanner 1]: LibraryScanner - Exiting thread
Debug [Main]: ~TrackDAO()
Debug [Main]: 1016 ms closing database connection(s)
Debug [Main]: 1017 ms deleting RecordingManager
Debug [Main]: Delete RecordingManager
Debug [Main]: 1017 ms deleting BroadcastManager
Debug [Main]: DlgPrefBroadcast - broadcastEnabledChanged() 0
Debug [Main]: 1019 ms deleting EngineMaster
Debug [Main]: in ~EngineMaster()
Debug [Main]: 1050 ms deleting DlgPreferences
Debug [Main]: 1073 ms deleting EffectsManager
Debug [Main]: 1098 ms deleting SettingsManager
Debug [Main]: Mixxx shutdown complete with code 0

Many thanks for your help.

Remake

About multiple controller entries: Don’t worry. That is normal in many controllers. The correct one is the MIDI one. The other is just an HID interface which is not needed.

About internal soundcard not having sound: It might be that your system uses pulseaudio or JACK.
If it is the former, try to launch Mixxx with the pasuspender command ( pasuspender(1): Temporarily suspend PulseAudio - Linux man page ). Of course, that will make the audio of all other programs to stop.

About the DDJ400 not appearing as an option, I don’t know. I don’t know if you need support from the kernel, or what. Maybe other linux users could help you there.

If you click on Master in the Sound Hardware settings, the ddj is not listed in the dropdown menu? Not sure if you know it or i’m explaining you things you already know, but you have to tell mixxx which soundcard (and channel on this soundcard) you want to use for which stream. Master should go through the main output of your ddj and Headphones through the cue/headphone output of your controller. If mixxx doesn’t detect the ddj 400 as a soundcard, then it’s another problem.

1 Like

Thanks to both of you.

@JosepMa : I tried to launch Mixxx using pasuspender and unfortunately it didn’t improve the situation. But pasuspeneder itself works as I lost the audio on other program.

@obsoleszenz : My bad, I realized I pasted the wrong screenshot hence why the DDJ-400 was not used as a soundcard. Sorry for that. Here is the correct one:

With this setup I expect to hear the sound from my headset connected to the DDJ-400.
I don’t have monitors/speakers connected to the DDJ-400 so obviously I won’t hear sound from here but my understanding is that the headset should work and it doesn’t.

Because I don’t have monitors that I can connect to the DDJ-400, I would like to have the “external sound” going through my computer speaker and using my headset connected to the DDJ-400 if this is possible. What Pioneer calls “PC Master Out”.
(Screenshot in the next post)

Do you think this is feasible ?
Thanks.

Remake

Screenshot_2021-01-10_15-14-44

Just select your internal soundcard for the master. This way cuing/headphones will go through your DDJ 400, the master sound through your pc speakers or whatever you have connected.

Is the controller working with rekordbox? And do you have the cue enabled for a channel? Checked that the cue volume is not zero? Do you know how to use a dj controller? Sorry for probably trivial question, currently unsure where to start finding problems. The setup from your sound hardware looks good.

Like that ?

I don’t have a Windows/Mac OS computer with me to try but the DDJ-400 controler is able to control Mixxx with the mapping and when I quit Mixxx but let the DDJ-400 connected to my computer with a headset I am able to hear the sound trhough the headset so I believe the DDJ-400 works.

I am very new to this but I think I did it correctly on those points. I will post a screenshot of the Mixxx GUI so we can be 100% sure I did.

0 need to be sorry, you are actually helping me :slight_smile:
And you are very right, the probability that I am doing a beginner mistake is actually pretty high so checking everything is definitively a good idea.

Why have you turned the deck gain knobs all the way down?

Oups that was it indeed…issue solved.
Feel so embarassed :frowning:
So sorry for this…At least I was right saying a newbie mistake was highly possible…

Thanks so much for the help and If one day we meet AFK beers will be on me :slight_smile:

…also right-click the HEAD MIX and HEAD knobs at the top to restore the default positions.

And don’t touch the MASTER knob. If your output through the pc speakers is too quiet use the system audio mixer to adjust that (but there, too, try not to exceed 100% volume, it may cause clipping)

Thanks for the advices ronso, I will follow them.

Don’t worry, I had the same type of problems in the beginning too. No audio and 100 possible causes for this is always a bit complicated. But you will know them soon and see it quickly what the problem could be :slight_smile: Enjoy mixxxing!

Hopefully I will indeed improve :slight_smile:
Thank you again for your help and advices obsoleszenz.
I appreciate.