Skip to content

Commit

Permalink
Merge pull request #111 from neuromore/master
Browse files Browse the repository at this point in the history
Version 1.5.1
  • Loading branch information
cyberjunk authored Aug 25, 2021
2 parents 3dac20a + a59ae10 commit 643b474
Show file tree
Hide file tree
Showing 18 changed files with 221 additions and 152 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

[Click here to learn about neuromore Licensing](https://github.com/neuromore/studio/blob/master/neuromore-licensing-info.md)

## Getting started
## Getting started (all platforms)

1. Create a neuromore Cloud account at [https://www.neuromore.com/download](https://www.neuromore.com/download)
1. Create a neuromore Cloud account at [https://www.neuromore.com/createaccount](https://www.neuromore.com/createaccount)
2. Download the latest neuromore studio from our github [releases](https://github.com/neuromore/studio/releases) (or build it yourself).
3. Start neuromore studio, sign-in with the created community account, accept the license and you're ready to go.
4. Check out the wiki for specific device information or on examples on how to get started https://github.com/neuromore/studio/wiki
5. Watch the tutorials for more info [https://www.youtube.com/channel/UCAOU6SsvwCwC30hJaFLhWgw](https://www.youtube.com/channel/UCAOU6SsvwCwC30hJaFLhWgw)

## Contents

Expand Down
4 changes: 2 additions & 2 deletions dist/osx/Studio.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleVersion</key>
<string>Version 1.5.0</string>
<string>Version 1.5.1</string>
<key>CFBundleExecutable</key>
<string>Studio</string>
<key>CFBundleGetInfoString</key>
Expand All @@ -27,6 +27,6 @@
<key>LSMinimumSystemVersion</key>
<string>10.12.0</string>
<key>CFBundleShortVersionString</key>
<string>1.5.0</string>
<string>1.5.1</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion dist/ubuntu-18.04/studio/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: studio
Version: 1.5.0-1
Version: 1.5.1-1
Section: base
Priority: optional
Architecture: amd64
Expand Down
9 changes: 9 additions & 0 deletions src/Engine/Devices/eemagine/eemagineDevices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ eemagine8Device::eemagine8Device(DeviceDriver* driver) : eemagineDevice(driver)
{
LogDetailedInfo("Constructing eemagine with 8 channels ...");
CreateSensors();

// set powersupplytype to line
SetPowerSupplyType(EPowerSupplyType::POWERSUPPLY_LINE);
}

eemagine8Device::~eemagine8Device()
Expand Down Expand Up @@ -258,6 +261,9 @@ eemagine32Device::eemagine32Device(DeviceDriver* driver) : eemagineDevice(driver
{
LogDetailedInfo("Constructing eemagine with 32 channels ...");
CreateSensors();

// todo: set powersupplytype, battery or line?
//SetPowerSupplyType(EPowerSupplyType::POWERSUPPLY_LINE);
}

eemagine32Device::~eemagine32Device()
Expand Down Expand Up @@ -321,6 +327,9 @@ eemagine64Device::eemagine64Device(DeviceDriver* driver) : eemagineDevice(driver
{
LogDetailedInfo("Constructing eemagine with 64 channels ...");
CreateSensors();

// todo: set powersupplytype, battery or line?
//SetPowerSupplyType(EPowerSupplyType::POWERSUPPLY_LINE);
}

eemagine64Device::~eemagine64Device()
Expand Down
2 changes: 1 addition & 1 deletion src/Engine/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@

#define NEUROMORE_ENGINE_VERSION_MAJOR 1
#define NEUROMORE_ENGINE_VERSION_MINOR 5
#define NEUROMORE_ENGINE_VERSION_PATCH 0
#define NEUROMORE_ENGINE_VERSION_PATCH 1

#endif
2 changes: 1 addition & 1 deletion src/QtBase/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

#define NEUROMORE_QTBASE_VERSION_MAJOR 1
#define NEUROMORE_QTBASE_VERSION_MINOR 5
#define NEUROMORE_QTBASE_VERSION_PATCH 0
#define NEUROMORE_QTBASE_VERSION_PATCH 1

#endif
2 changes: 1 addition & 1 deletion src/Studio/AppManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class AppManager : public QObject
const char* GetDocumentationUrl() const { return "https://doc.neuromore.com"; }
const char* GetAccountUrl() const { return "https://account.eego-perform.com"; }
const char* GetStoreUrl() const { return "https://eego-perform.com"; }
const char* GetForgotPasswordUrl() const { return "https://account.eego-perform.com/#/resetrequest"; }
const char* GetForgotPasswordUrl() const { return "https://account.eego-perform.com/resetrequest"; }
const char* GetSupportEMail() const { return "[email protected]"; }
const char* GetAppShortName() const { return "eego-perform-studio"; }
const char* GetMenuStudioName() const { return "EPStudio"; }
Expand Down
5 changes: 2 additions & 3 deletions src/Studio/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2326,9 +2326,8 @@ void MainWindow::OnStartVisualization()
QAction* action = qobject_cast<QAction*>( sender() );
int vizIndex = action->property("index").toInt();

Visualization* visualization = GetManager()->GetVisualizationManager()->GetVisualization(vizIndex);
if (visualization != NULL)
visualization->Start();
// try to start it
const bool started = GetManager()->GetVisualizationManager()->Start(vizIndex);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <Backend/FileSystemGetRequest.h>
#include <Backend/FileSystemGetResponse.h>
#include "../../MainWindow.h"
#include "../../VisualizationManager.h"
#include "../../AppManager.h"
#include <QtBaseManager.h>
#include <QGridLayout>
Expand Down Expand Up @@ -147,6 +148,10 @@ void ExperienceSelectionWidget::ReInit(bool downloadAssets)
CreateWidgetsForFolders(downloadAssets);
else
CreateWidgetsForFiles(downloadAssets);

// stop a running visualization
if (GetUser()->FindRule("STUDIO_SETTING_EasyWorkflow") != NULL)
GetManager()->GetVisualizationManager()->Stop();
}


Expand Down
11 changes: 5 additions & 6 deletions src/Studio/Plugins/SessionControl/PreSessionWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ void PreSessionWidget::Init()
// add the level selection button (for local ones)
mVisSelectionButton = new QPushButton();

GetManager()->GetVisualizationManager()->ReInit();
if (GetManager()->GetVisualizationManager()->GetNumVisualizations() == 0)
mVisSelectionButton->setEnabled(false);

Expand Down Expand Up @@ -278,10 +277,10 @@ void PreSessionWidget::OnTotalTimeChanged(double value)

void PreSessionWidget::OnSelectVisualizationClicked()
{
// get the visualization manager and reinitalize it
VisualizationManager* vizManager = GetManager()->GetVisualizationManager();
vizManager->ReInit();

VisualizationSelectWindow selectVizWindow(GetMainWindow());
selectVizWindow.exec();
if (vizManager->GetNumVisualizations() > 0 && !vizManager->IsRunning())
{
VisualizationSelectWindow selectVizWindow(GetMainWindow());
selectVizWindow.exec();
}
}
8 changes: 2 additions & 6 deletions src/Studio/Plugins/SessionControl/SessionControlPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,13 +740,9 @@ void SessionControlPlugin::OnAfterLoadLayout()
{
if (GetUser()->FindRule("STUDIO_SETTING_EasyWorkflow") != NULL)
{
// get the visualization manager and reinitalize it
// open visualization select window if one is available and none is running
VisualizationManager* vizManager = GetManager()->GetVisualizationManager();
vizManager->ReInit();

// open visualization select window
const uint32 numVisualizations = vizManager->GetNumVisualizations();
if (numVisualizations > 0)
if (vizManager->GetNumVisualizations() > 0 && !vizManager->IsRunning())
{
VisualizationSelectWindow selectVizWindow(GetMainWindow());
selectVizWindow.exec();
Expand Down
8 changes: 4 additions & 4 deletions src/Studio/Resources/NMStudio.rc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,5,0,0
PRODUCTVERSION 1,5,0,0
FILEVERSION 1,5,1,0
PRODUCTVERSION 1,5,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -29,12 +29,12 @@ BLOCK "040004b0"
BEGIN
VALUE "CompanyName", "neuromore co"
VALUE "FileDescription", STRINGIZE(APPNAME)
VALUE "FileVersion", "1.5.0.0"
VALUE "FileVersion", "1.5.1.0"
VALUE "InternalName", "neuromore.studio"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", ""
VALUE "ProductName", STRINGIZE(APPNAME)
VALUE "ProductVersion", "1.5.0.0"
VALUE "ProductVersion", "1.5.1.0"
END
END
BLOCK "VarFileInfo"
Expand Down
2 changes: 1 addition & 1 deletion src/Studio/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@

#define NEUROMORE_STUDIO_VERSION_MAJOR 1
#define NEUROMORE_STUDIO_VERSION_MINOR 5
#define NEUROMORE_STUDIO_VERSION_PATCH 0
#define NEUROMORE_STUDIO_VERSION_PATCH 1

#endif
Loading

0 comments on commit 643b474

Please sign in to comment.