Git Product home page Git Product logo

Comments (8)

WarmUpTill avatar WarmUpTill commented on June 11, 2024

It does sound like a cool idea.
But how would you imagine that to work exactly?

Does the tool you mentioned pre-analyse an audio file and somehow generate a scene sequence out of it?
Or does this happen "live" as audio is played?

The Advances Scene Switcher itself does not have an API to influence its behaviour.
It only loads and saves its configuration when interacting with its UI.
So the Advanced Scene Switcher would probably have to link against your code.

Does it make sense to reuse scene sequences for this case or should a completely new switch "type" be introduced?

from sceneswitcher.

laurentNoudohounsi avatar laurentNoudohounsi commented on June 11, 2024

Thanks for your quick reply and your interest in this feature.

This tool, Ableton Link, is a good candidat for a first try for several reason:

  • A lot of musician use Ableton Live (AL) as main audio software for live sessions and stream it. AL has the biggest market share as live audio software.
  • It’s really easy to setup thanks to their API and works really well regarding the temp broadcasting between AL and the software that have implemented Link api.

Basically, it’s work like this:

  • AL is launched and "link" is enabled.
  • every software that has the Link API will automatically receive any tempo change if they are on the same network or the same computer.

We can see this feature something as an external software that could change the delay between scenes in order to change them in tempo.

(Description: https://www.ableton.com/en/link/, api documentation: https://ableton.github.io/link/ and the header with the full Link public interface https://github.com/Ableton/link/blob/master/include/ableton/Link.hpp)

You’re idea to create a new type, let’s call it "Link" is good.
In this mode, the custom time will be deactivated and will be replace with the tempo in sec.

The steps to do this would be:

  • Add the Ableton link api to Advanced Scene Switcher so it could receive the broadcasted tempo from AL.
  • Add a new type called "Link"
  • Update the scene sequence delay every time a new tempo is receive if "Link" type is selected

I don’t think it will be difficult to do it, but i’m new in your codebase. Btw from what I see it a great quality code so I’m quite confident with this kind of change.

from sceneswitcher.

WarmUpTill avatar WarmUpTill commented on June 11, 2024

Sounds good!
Feel free to contact me here or on the OBS forums if you need any support or anything is unclear.

from sceneswitcher.

laurentNoudohounsi avatar laurentNoudohounsi commented on June 11, 2024

Thanks @WarmUpTill I really appreciate.

I've one issue when I try to compile the project:
compilation error

Did I make something wrong or is it something with my configuration? I'm on macOS 10.15.5 and Xcode 11.5

from sceneswitcher.

WarmUpTill avatar WarmUpTill commented on June 11, 2024

This is a QT function used for translations.
This stems from way back when the scene switcher was still supporting multiple languages.
(At least theoretically - it was never fully translated and just relied on the translations already completed for the built in scene switcher of OBS)

Feel free to remove the tr() calls in the mentioned files, as they do not serve a purpose anymore.

I am not sure however as to why the symbol was not found exactly.

from sceneswitcher.

laurentNoudohounsi avatar laurentNoudohounsi commented on June 11, 2024

Thanks you so much for you quick reply @WarmUpTill . I think I found a solution for this issue

I added the line:
set(CMAKE_AUTOMOC ON)
into the CMakeList.txt

I'm not used to work with Qt but I installed Qt using Brew install Qt5. With the help of this thread I think that Qt Application done some stuff in the background with QMake so I needed to run the MOC with set(CMAKE_AUTOMOC ON)

It compiles now :)

I will surely come back here for more question regarding the code and where to place mine in the right place :)

from sceneswitcher.

WarmUpTill avatar WarmUpTill commented on June 11, 2024

I am going to close this for now, feel free to reopen if there are any news.

from sceneswitcher.

laurentNoudohounsi avatar laurentNoudohounsi commented on June 11, 2024

@WarmUpTill Ok no problems.
I've been overwhelmed for external reasons. Since I'm new with QT I didn't find time to really explorer it properly. Will come back to this asap.

from sceneswitcher.

Related Issues (20)

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.