| @@ -2,7 +2,7 @@ | |||
| # -*- coding: utf-8 -*- | |||
| # Carla plugin host | |||
| # Copyright (C) 2011-2015 Filipe Coelho <falktx@falktx.com> | |||
| # Copyright (C) 2011-2017 Filipe Coelho <falktx@falktx.com> | |||
| # | |||
| # This program is free software; you can redistribute it and/or | |||
| # modify it under the terms of the GNU General Public License as | |||
| @@ -16,47 +16,47 @@ | |||
| # | |||
| # For a full copy of the GNU General Public License see the doc/GPL.txt file. | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Imports (Custom Stuff) | |||
| from carla_host import * | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Main | |||
| if __name__ == '__main__': | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Read CLI args | |||
| initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App initialization | |||
| app = CarlaApplication("Carla2", libPrefix) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Set-up custom signal handling | |||
| setUpSignals() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Init host backend | |||
| host = initHost(initName, libPrefix, False, False, True) | |||
| loadHostSettings(host) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Create GUI | |||
| gui = HostWindow(host, True) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Show GUI | |||
| gui.show() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App-Loop | |||
| app.exit_exec() | |||
| @@ -2,7 +2,7 @@ | |||
| # -*- coding: utf-8 -*- | |||
| # Carla plugin host | |||
| # Copyright (C) 2011-2015 Filipe Coelho <falktx@falktx.com> | |||
| # Copyright (C) 2011-2017 Filipe Coelho <falktx@falktx.com> | |||
| # | |||
| # This program is free software; you can redistribute it and/or | |||
| # modify it under the terms of the GNU General Public License as | |||
| @@ -16,16 +16,16 @@ | |||
| # | |||
| # For a full copy of the GNU General Public License see the doc/GPL.txt file. | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Imports (Custom Stuff) | |||
| from carla_control import * | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Main | |||
| if __name__ == '__main__': | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Read CLI args | |||
| initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None) | |||
| @@ -37,17 +37,17 @@ if __name__ == '__main__': | |||
| else: | |||
| oscAddr = None | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App initialization | |||
| app = CarlaApplication("Carla2-Control", libPrefix) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Set-up custom signal handling | |||
| setUpSignals() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Init host backend | |||
| host = initHost(initName, libPrefix, True, False, True, CarlaHostOSC) | |||
| @@ -55,17 +55,17 @@ if __name__ == '__main__': | |||
| host.processModeForced = True | |||
| loadHostSettings(host) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Create GUI | |||
| gui = HostWindowOSC(host, oscAddr) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Show GUI | |||
| gui.show() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App-Loop | |||
| app.exit_exec() | |||
| @@ -16,31 +16,31 @@ | |||
| # | |||
| # For a full copy of the GNU General Public License see the doc/GPL.txt file. | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Imports (Custom Stuff) | |||
| from carla_host import * | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Main | |||
| if __name__ == '__main__': | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Read CLI args | |||
| initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App initialization | |||
| app = CarlaApplication("Carla2-Single-Client", libPrefix) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Set-up custom signal handling | |||
| setUpSignals() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Init host backend | |||
| host = initHost(initName, libPrefix, False, False, True) | |||
| @@ -50,17 +50,17 @@ if __name__ == '__main__': | |||
| host.transportMode = ENGINE_TRANSPORT_MODE_JACK | |||
| loadHostSettings(host) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Create GUI | |||
| gui = HostWindow(host, not(LADISH_APP_NAME or NSM_URL)) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Show GUI | |||
| gui.show() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App-Loop | |||
| app.exit_exec() | |||
| @@ -16,31 +16,31 @@ | |||
| # | |||
| # For a full copy of the GNU General Public License see the doc/GPL.txt file. | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Imports (Custom Stuff) | |||
| from carla_host import * | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Main | |||
| if __name__ == '__main__': | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Read CLI args | |||
| initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App initialization | |||
| app = CarlaApplication("Carla2-Single-Client", libPrefix) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Set-up custom signal handling | |||
| setUpSignals() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Init host backend | |||
| host = initHost(initName, libPrefix, False, False, True) | |||
| @@ -50,17 +50,17 @@ if __name__ == '__main__': | |||
| host.transportMode = ENGINE_TRANSPORT_MODE_JACK | |||
| loadHostSettings(host) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Create GUI | |||
| gui = HostWindow(host, not(LADISH_APP_NAME or NSM_URL)) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Show GUI | |||
| gui.show() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App-Loop | |||
| app.exit_exec() | |||
| @@ -2,7 +2,7 @@ | |||
| # -*- coding: utf-8 -*- | |||
| # Carla plugin host | |||
| # Copyright (C) 2011-2015 Filipe Coelho <falktx@falktx.com> | |||
| # Copyright (C) 2011-2017 Filipe Coelho <falktx@falktx.com> | |||
| # | |||
| # This program is free software; you can redistribute it and/or | |||
| # modify it under the terms of the GNU General Public License as | |||
| @@ -16,31 +16,31 @@ | |||
| # | |||
| # For a full copy of the GNU General Public License see the doc/GPL.txt file. | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Imports (Custom Stuff) | |||
| from carla_host import * | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Main | |||
| if __name__ == '__main__': | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Read CLI args | |||
| initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App initialization | |||
| app = CarlaApplication("Carla2-Patchbay", libPrefix) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Set-up custom signal handling | |||
| setUpSignals() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Init host backend | |||
| host = initHost(initName, libPrefix, False, False, True) | |||
| @@ -48,17 +48,17 @@ if __name__ == '__main__': | |||
| host.processModeForced = True | |||
| loadHostSettings(host) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Create GUI | |||
| gui = HostWindow(host, True) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Show GUI | |||
| gui.show() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App-Loop | |||
| app.exit_exec() | |||
| @@ -16,31 +16,31 @@ | |||
| # | |||
| # For a full copy of the GNU General Public License see the doc/GPL.txt file. | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Imports (Custom Stuff) | |||
| from carla_host import * | |||
| # ------------------------------------------------------------------------------------------------------------ | |||
| # ---------------------------------------------------------------------------------------------------------------------- | |||
| # Main | |||
| if __name__ == '__main__': | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Read CLI args | |||
| initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App initialization | |||
| app = CarlaApplication("Carla2-Rack", libPrefix) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Set-up custom signal handling | |||
| setUpSignals() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Init host backend | |||
| host = initHost(initName, libPrefix, False, False, True) | |||
| @@ -48,17 +48,17 @@ if __name__ == '__main__': | |||
| host.processModeForced = True | |||
| loadHostSettings(host) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Create GUI | |||
| gui = HostWindow(host, not(LADISH_APP_NAME or NSM_URL)) | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # Show GUI | |||
| gui.show() | |||
| # ------------------------------------------------------------- | |||
| # ------------------------------------------------------------------------------------------------------------------ | |||
| # App-Loop | |||
| app.exit_exec() | |||