Code Monkey home page Code Monkey logo

musec-legacy's Introduction

This guy wants to be an audio nerd.

musec-legacy's People

Contributors

xris1658 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

519984307

musec-legacy's Issues

Crashes on unloading Kontakt 7

Kontakt 7 is a sampler from Native Instruments.

Repoduce

  • Load Kontakt 7 on a instrument track
  • Delete the plugin

Error message

Exception 0xc0000005 encountered at address 0x00007ffb6fa40979: Access violation reading location 0x00000000

Stack trace

Module Name Address
Kontakt 7.vst3 0x00007ffb6fa40979
Kontakt 7.vst3 0x00007ffb6fa43b7f
Kontakt 7.vst3 0x00007ffb6fa45703
user32.dll UserCallWinProcCheckWow(_ACTIVATION_CONTEXT * __ptr64,__int64 (__cdecl*)(tagWND * __ptr64,unsigned int,unsigned __int64,__int64),HWND__ * __ptr64,_WM_VALUE,unsigned __int64,__int64,void * __ptr64,int) 0x00007ffc0f5ce858
user32.dll DispatchMessageWorker 0x00007ffc0f5ce299
Qt5Cored.dll QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag>) 0x00007ffb7c0475d3
qwindowsd.dll QWindowsGuiEventDispatcher::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag>) 0x00007ffb79b647b4
Qt5Cored.dll QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag>) 0x00007ffb7bf6f39b
Qt5Cored.dll QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag>) 0x00007ffb7bf6f604
Qt5Cored.dll QCoreApplication::exec() 0x00007ffb7bf72919
Qt5Guid.dll QGuiApplication::exec() 0x00007ffb7c81d648
Qt5Widgetsd.dll QApplication::exec() 0x00007ffb96d7972a
Musec.exe main(int, char **) main.cpp:105
Musec.exe invoke_main() 0x00007ff709895eb9
Musec.exe __scrt_common_main_seh() 0x00007ff709895d9e
Musec.exe __scrt_common_main() 0x00007ff709895c5e
Musec.exe mainCRTStartup(void *) 0x00007ff709895f4e
kernel32.dll <unknown> 0x00007ffc0fb57034
ntdll.dll <unknown> 0x00007ffc10902651

Seems like the event loop of the plugin window is still running after the plugin has been unloaded.

More details

  • I encountered this issue with the Player version. I actually don't have the full version, but I'm pretty sure the issue will be present.
  • I tested another NI plugin called Raum, which didn't make the application crash while unloading.

Playback problem with FlexASIO

Only the right channel will be heard when using FlexASIO. The content of the left channel are successfully written in the left channel, but they are absent in the playback.

When Musec uses other drivers (e.g. ASIO4ALL), the playback has no problem; when FlexASIO is used by other DAWs, the playback has no problem either. So the problem might comes from Musec::Audio::Driver::onASIOBufferSwitchTimeInfo with case ASIOSTFloat32LSB, which is used by FlexASIO.

Musec crashes when trying to replace FabFilter plugins

If the user has load a FabFilter plugin (either the VST2 version or VST3), then replacing this plugin with any other ones will crash the program. The return code is 0xc0000409, which leads to ERROR_STACK_BUFFER_OVERRUN.

The following articles might be useful:

CLAP plugin support is not ready

CLAP is a new plugin format. Check out free-audio/clap for details.

Problems I encountered or noticed

  • While scanning plugins, the application will access invalid memory while destructing CLAPPlugin::eventInputList_, leading the program to crash.
  • If EventList from clap-helpers is used for plugin process, then the process callback will make EventList access invalid memory, causing the program to crash. Currently CLAPPlugin::process won't call the process callback of the plugin (i.e. the CLAP plugins are "bypassed").

[REQ] fix license on GH

Hi there, 1st of all thanks for your awesome (voluntary) work !

Since we've doxed this git in our HyMPS project (under the DAW section), can you please fix licensing terms for it ?

Our "problem" is that does not generates a correct badge:


(generate url: https://flat.badgen.net/github/license/xris1658/musec/?label=LICENSE)

This could easily be fixed by choosing a "correct" license file through the GH's wizard.

Although it may sounds like a minor aspect, this could help other devs to understand how reuse your code in other open projects and vice-versa.

Last but not least, let us know how (in your opinion) we could improve our categorizations and links to resources in order to favor collaboration (and therefore evolution) between developers of listed projects.

Thanks in advance.

Crisp and Diopser in nih-plug doesn't work correctly

nih-plug is a set of plugins written in Rust. It's available in VST3 and CLAP.

Problems I encountered or noticed

  • Parameters cannot be adjusted via the user interface.
  • If I delete the plugin from the mixer, then the program will execute invalid memory after the plugin is unloaded, causing the program to crash.
    • The program might used dangling pointer of the window and its message processing function, because
      • Only Crisp and Diopser in nih-plug raise the issue, and only these plugins have the user interface.
      • QEventDispatcherWin32::processEvents(QFlags<…>) qeventdispatcher_win.cpp:607 is found in the call stack. This line calls DispatchMessage(const MSG*) of Windows API.
    • If I directly close the program without deleting the plugin first, the program will exit with no problem.

I'm pretty sure the problems are caused by the host instead of the plugin. I used MultitrackStudio Lite to use these plugins, and they worked with no problems I mentioned above.

The QRC resource file is problematic

The executable built with CMake misses UI components written with QML. So it can't boot. The executable built with qmake is fine though.

If this problem is fixed, then the build guide will be much easier.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.