DBraun / DawDreamer

Digital Audio Workstation with Python; VST instruments/effects, parameter automation, FAUST, JAX, Warp Markers, and JUCE processors
GNU General Public License v3.0
896 stars 65 forks source link

Kontakt 7.6 (newest release) not opening in DawDreamer #180

Open liamfudge opened 11 months ago

liamfudge commented 11 months ago

Issue Description

When trying to load the vst3 file “Kontakt 7.vst3” (version 7.6, the latest update), it fails to open within DawDreamer. However, it works perfectly within Logic/Cubase.

Kontakt 7.6 is *supposed to fix a massive bug for offline rendering of sequence/script-based .nki libraries (eg. Session Guitarist Acoustic Strummer, Action Drums Ensemble). Until this update, these libraries were unusable within DawDreamer due to audio dropouts and artifacts in the final audio exports.  

For clarification, here’s the code I ran and the resulting errors:

import dawdreamer as daw

SAMPLE_RATE = 44100
BUFFER_SIZE = 1024

KONTAKT7_PLUGIN = './plugins/Kontakt 7.vst3'

engine = daw.RenderEngine(SAMPLE_RATE, BUFFER_SIZE)

synth = engine.make_plugin_processor('instrument_name', KONTAKT7_PLUGIN)
assert synth.get_name() == 'instrument_name'
synth.open_editor()

Errors

error: attempt to map invalid URI `./plugins/Kontakt 7.vst3'
[2023-10-13 16:51:10.049] [error] rpc_client::connect: connect to /Users/Shared/Native Instruments/com.native-instruments.odr_agent.kks failed system:2
[2023-10-13 16:51:10.061] [info] BrowserModelObserver::browser_settings_changed()
The file /Library/Application Support/Native Instruments/Hardware/Hardware Connection Service/NIHardwareConnectionService.app does not exist.
[2023-10-13 16:51:10.062] [error] Couldn't start "open -j /Library/Application Support/Native Instruments/Hardware/Hardware Connection Service/NIHardwareConnectionService.app" returns 1
[2023-10-13 16:51:10.120] [error] rpc_client::connect: connect to /Users/Shared/Native Instruments/com.native-instruments.odr_agent.kks failed system:2
[2023-10-13 16:51:10.130] [info] BrowserModelObserver::browser_settings_changed()
The file /Library/Application Support/Native Instruments/Hardware/Hardware Connection Service/NIHardwareConnectionService.app does not exist.
[2023-10-13 16:51:10.132] [error] Couldn't start "open -j /Library/Application Support/Native Instruments/Hardware/Hardware Connection Service/NIHardwareConnectionService.app" returns 1
qrc:/imports/com/nativeinstruments/CXBrowser/Templates/ProductBrowser.qml:259:13: Unable to assign [undefined] to int 
                 property int cellWidthMin: root.productTileWidth 
                 ^
qrc:/imports/com/nativeinstruments/CXBrowser/Templates/ProductBrowser.qml:259:13: Unable to assign [undefined] to int
[2023-10-13 16:51:11.126] [info] BrowserModelObserver::browser_filter_changed() for property 6
[2023-10-13 16:51:11.126] [info] BrowserModelObserver::browser_sounds_changed()
[2023-10-13 16:51:11.128] [info] BrowserModelObserver::browser_filter_changed() for property 0
qrc:/imports/com/nativeinstruments/CXBrowser/Templates/ProductBrowser.qml:259:13: Unable to assign [undefined] to int 
                 property int cellWidthMin: root.productTileWidth 
                 ^
qrc:/imports/com/nativeinstruments/CXBrowser/Templates/ProductBrowser.qml:259:13: Unable to assign [undefined] to int
Segmentation fault: 11

Is it possible to get Kontakt 7.6 working with DawDreamer? It seems like DawDreamer is looking for files that aren’t crucial to running the vst, considering that Logic/Cubase are able to open the plugin.

DBraun commented 11 months ago

Sorry that it's not working. Could you check Spotify's pedalboard module as an alternative?

MrGrample commented 9 months ago

seems like a problem on NI side. Pedalboard has the same issue, as well as auto-rendering through Reaper using reapy. Reaper renders the audio correctly tho, only throwing these errors in log