Remove openAV references from the code
parent
e592d5dea4
commit
23839e4a91
2
Doxyfile
2
Doxyfile
|
@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
|
||||||
# title of most generated pages and in a few other places.
|
# title of most generated pages and in a few other places.
|
||||||
# The default value is: My Project.
|
# The default value is: My Project.
|
||||||
|
|
||||||
PROJECT_NAME = "openAV - Loopp"
|
PROJECT_NAME = "Loopp"
|
||||||
|
|
||||||
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
|
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
|
||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
Thanks for looking into packaging Loopp:
|
Thanks for looking into packaging Loopp:
|
||||||
OpenAV couldn't possibly package for every distro,
|
We couldn't possibly package for every distro,
|
||||||
your work is apprecatied!
|
your work is apprecatied!
|
||||||
|
|
||||||
CMake is used as the build system, checkout the compile.sh
|
CMake is used as the build system, checkout the compile.sh
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
project( 'openav_loopp', ['c','cpp'],
|
project( 'loopp', ['c','cpp'],
|
||||||
default_options : [
|
default_options : [
|
||||||
'cpp_std=c++11',
|
'cpp_std=c++11',
|
||||||
])
|
])
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<application>
|
<application>
|
||||||
<id type="desktop">loopp.desktop</id>
|
<id type="desktop">loopp.desktop</id>
|
||||||
<licence>CC0</licence>
|
<licence>CC0</licence>
|
||||||
<name>OpenAV Loopp</name>
|
<name>Loopp</name>
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
Loopp is a music creation tool, intended for live use. It
|
Loopp is a music creation tool, intended for live use. It
|
||||||
|
@ -22,8 +22,8 @@
|
||||||
</description>
|
</description>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<!-- the width and height are optional, but suggested -->
|
<!-- the width and height are optional, but suggested -->
|
||||||
<screenshot type="default" width="1110" height="650">https://raw.github.com/harryhaaren/openAV-Loopp/master/resources/screenshots/1.0.png</screenshot>
|
<screenshot type="default" width="1110" height="650">https://git.netzspielplatz.de/soundship/loopp/raw/master/resources/screenshots/1.2.png</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<url type="homepage">http://openavproductions.com/loopp</url>
|
<url type="homepage">http://loopp.soundship.de/</url>
|
||||||
<updatecontact>zbyszek@in.waw.pl</updatecontact>
|
<updatecontact>zbyszek@in.waw.pl</updatecontact>
|
||||||
</application>
|
</application>
|
||||||
|
|
|
@ -52,7 +52,7 @@ DiskReader::DiskReader()
|
||||||
int DiskReader::loadPreferences()
|
int DiskReader::loadPreferences()
|
||||||
{
|
{
|
||||||
stringstream s;
|
stringstream s;
|
||||||
s << getenv("HOME") << "/.config/openAV/loopp/loopp.prfs";
|
s << getenv("HOME") << "/.config/soundship/loopp/loopp.prfs";
|
||||||
std::ifstream sampleFile( s.str().c_str(), std::ios_base::in|std::ios_base::ate);
|
std::ifstream sampleFile( s.str().c_str(), std::ios_base::in|std::ios_base::ate);
|
||||||
|
|
||||||
long file_length = sampleFile.tellg();
|
long file_length = sampleFile.tellg();
|
||||||
|
@ -73,7 +73,7 @@ int DiskReader::loadPreferences()
|
||||||
if ( resample ) {
|
if ( resample ) {
|
||||||
resampleQuality = resample->valueint;
|
resampleQuality = resample->valueint;
|
||||||
if ( resampleQuality == 0 ) {
|
if ( resampleQuality == 0 ) {
|
||||||
LOOPP_NOTE("Using Linear resampling, may reduce quality. Check .config/openAV/loopp/loopp.prfs");
|
LOOPP_NOTE("Using Linear resampling, may reduce quality. Check .config/soundship/loopp/loopp.prfs");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cJSON* ctlrs = cJSON_GetObjectItem( preferencesJson, "defaultControllers" );
|
cJSON* ctlrs = cJSON_GetObjectItem( preferencesJson, "defaultControllers" );
|
||||||
|
@ -85,7 +85,7 @@ int DiskReader::loadPreferences()
|
||||||
if( ctlr ) {
|
if( ctlr ) {
|
||||||
LOOPP_NOTE("Loading controller %s", ctlr->valuestring);
|
LOOPP_NOTE("Loading controller %s", ctlr->valuestring);
|
||||||
stringstream s;
|
stringstream s;
|
||||||
s << getenv("HOME") << "/.config/openAV/loopp/controllers/" << ctlr->valuestring;
|
s << getenv("HOME") << "/.config/soundship/loopp/controllers/" << ctlr->valuestring;
|
||||||
gui->addMidiControllerToSetup( s.str() );
|
gui->addMidiControllerToSetup( s.str() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -131,7 +131,7 @@ int DiskReader::loadPreferences()
|
||||||
delete[] sampleString;
|
delete[] sampleString;
|
||||||
} else {
|
} else {
|
||||||
// empty file / file no exists:
|
// empty file / file no exists:
|
||||||
LOOPP_WARN("Preferences, file doesn't exist: ~/.config/openAV/loopp/loopp.prefs");
|
LOOPP_WARN("Preferences, file doesn't exist: ~/.config/soundship/loopp/loopp.prefs");
|
||||||
|
|
||||||
// so write default file
|
// so write default file
|
||||||
gui->getDiskWriter()->writeDefaultConfigToUserHome();
|
gui->getDiskWriter()->writeDefaultConfigToUserHome();
|
||||||
|
|
|
@ -55,38 +55,38 @@ DiskWriter::DiskWriter()
|
||||||
sessionName = "session";
|
sessionName = "session";
|
||||||
foldersCreated = false;
|
foldersCreated = false;
|
||||||
|
|
||||||
// create .config/openAV/loopp/ directory
|
// create .config/soundship/loopp/ directory
|
||||||
stringstream dotConfig;
|
stringstream dotConfig;
|
||||||
dotConfig << getenv("HOME") << "/.config/openAV/";
|
dotConfig << getenv("HOME") << "/.config/sounudship/";
|
||||||
int dotConfigDir = mkdir( dotConfig.str().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
|
int dotConfigDir = mkdir( dotConfig.str().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
|
||||||
if ( errno == EEXIST ) {
|
if ( errno == EEXIST ) {
|
||||||
//LOOPP_NOTE("dotConfigDir exists");
|
//LOOPP_NOTE("dotConfigDir exists");
|
||||||
} else if ( dotConfigDir ) {
|
} else if ( dotConfigDir ) {
|
||||||
LOOPP_WARN("Error creating dotConfigDir: %s", strerror(errno));
|
LOOPP_WARN("Error creating dotConfigDir: %s", strerror(errno));
|
||||||
} else {
|
} else {
|
||||||
LOOPP_NOTE("Creating .config/openAV/ directory");
|
LOOPP_NOTE("Creating .config/soundship/ directory");
|
||||||
}
|
}
|
||||||
|
|
||||||
stringstream dotConfigLoopp;
|
stringstream dotConfigLoopp;
|
||||||
dotConfigLoopp << getenv("HOME") << "/.config/openAV/loopp";
|
dotConfigLoopp << getenv("HOME") << "/.config/soundship/loopp";
|
||||||
int dotConfigLooppDir = mkdir( dotConfigLoopp.str().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
|
int dotConfigLooppDir = mkdir( dotConfigLoopp.str().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
|
||||||
if ( errno == EEXIST ) {
|
if ( errno == EEXIST ) {
|
||||||
//LOOPP_NOTE("dotConfigLooppDir exists");
|
//LOOPP_NOTE("dotConfigLooppDir exists");
|
||||||
} else if ( dotConfigLooppDir ) {
|
} else if ( dotConfigLooppDir ) {
|
||||||
LOOPP_WARN("Error creating dotConfigLooppDir: %s", strerror(errno));
|
LOOPP_WARN("Error creating dotConfigLooppDir: %s", strerror(errno));
|
||||||
} else {
|
} else {
|
||||||
LOOPP_NOTE("Creating .config/openAV/loopp directory");
|
LOOPP_NOTE("Creating .config/soundship/loopp directory");
|
||||||
}
|
}
|
||||||
|
|
||||||
stringstream dotConfigCtlr;
|
stringstream dotConfigCtlr;
|
||||||
dotConfigCtlr << getenv("HOME") << "/.config/openAV/loopp/controllers/";
|
dotConfigCtlr << getenv("HOME") << "/.config/soundship/loopp/controllers/";
|
||||||
int dotConfigCtlrDir = mkdir( dotConfigCtlr.str().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
|
int dotConfigCtlrDir = mkdir( dotConfigCtlr.str().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
|
||||||
if ( errno == EEXIST ) {
|
if ( errno == EEXIST ) {
|
||||||
//LOOPP_NOTE("dotConfigCtlrDir exists");
|
//LOOPP_NOTE("dotConfigCtlrDir exists");
|
||||||
} else if ( dotConfigCtlrDir ) {
|
} else if ( dotConfigCtlrDir ) {
|
||||||
LOOPP_WARN("Error creating dotConfigCtlrDir: %s", strerror(errno));
|
LOOPP_WARN("Error creating dotConfigCtlrDir: %s", strerror(errno));
|
||||||
} else {
|
} else {
|
||||||
LOOPP_NOTE("Creating .config/openAV/loopp directory");
|
LOOPP_NOTE("Creating .config/soundship/loopp directory");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -220,7 +220,7 @@ int DiskWriter::writeControllerFile( Controller* c )
|
||||||
|
|
||||||
// write the sample JSON node to <samplePath>/sample.cfg
|
// write the sample JSON node to <samplePath>/sample.cfg
|
||||||
stringstream controllerCfgPath;
|
stringstream controllerCfgPath;
|
||||||
controllerCfgPath << getenv("HOME") << "/.config/openAV/loopp/controllers/" << g->getName() << ".ctlr";
|
controllerCfgPath << getenv("HOME") << "/.config/soundship/loopp/controllers/" << g->getName() << ".ctlr";
|
||||||
|
|
||||||
ifstream infile( controllerCfgPath.str().c_str() );
|
ifstream infile( controllerCfgPath.str().c_str() );
|
||||||
if ( infile.good() ) {
|
if ( infile.good() ) {
|
||||||
|
@ -236,7 +236,7 @@ int DiskWriter::writeControllerFile( Controller* c )
|
||||||
if ( name ) {
|
if ( name ) {
|
||||||
// clear the filename
|
// clear the filename
|
||||||
controllerCfgPath.str( "" );
|
controllerCfgPath.str( "" );
|
||||||
controllerCfgPath << getenv("HOME") << "/.config/openAV/loopp/controllers/" << name << ".ctlr";
|
controllerCfgPath << getenv("HOME") << "/.config/soundship/loopp/controllers/" << name << ".ctlr";
|
||||||
LOOPP_NOTE( "New .ctlr filename %s", controllerCfgPath.str().c_str() );
|
LOOPP_NOTE( "New .ctlr filename %s", controllerCfgPath.str().c_str() );
|
||||||
} else {
|
} else {
|
||||||
LOOPP_NOTE("No name entered for .ctlr file, canceling!");
|
LOOPP_NOTE("No name entered for .ctlr file, canceling!");
|
||||||
|
@ -478,9 +478,9 @@ void DiskWriter::writeDefaultConfigToUserHome()
|
||||||
// cout << endl << cJSON_Print( prfs ) << endl << endl;
|
// cout << endl << cJSON_Print( prfs ) << endl << endl;
|
||||||
|
|
||||||
|
|
||||||
// write JSON to .config/openAV/loopp/loopp.prfs
|
// write JSON to .config/soundship/loopp/loopp.prfs
|
||||||
stringstream f;
|
stringstream f;
|
||||||
f << getenv("HOME") << "/.config/openAV/loopp/loopp.prfs";
|
f << getenv("HOME") << "/.config/soundship/loopp/loopp.prfs";
|
||||||
|
|
||||||
ofstream outFile;
|
ofstream outFile;
|
||||||
outFile.open ( f.str().c_str() );
|
outFile.open ( f.str().c_str() );
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OPENAV_DSP_DBMETER_H
|
#ifndef LOOPP_DSP_DBMETER_H
|
||||||
#define OPENAV_DSP_DBMETER_H
|
#define LOOPP_DSP_DBMETER_H
|
||||||
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -90,5 +90,5 @@ private:
|
||||||
float fvbargraph1;
|
float fvbargraph1;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // OPENAV_DSP_DBMETER_H
|
#endif // LOOPP_DSP_DBMETER_H
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef OPENAV_DSP_REVERB_H
|
#ifndef LOOPP_DSP_REVERB_H
|
||||||
#define OPENAV_DSP_REVERB_H
|
#define LOOPP_DSP_REVERB_H
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
@ -499,4 +499,4 @@ private:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // OPENAV_DSP_REVERB_H
|
#endif // LOOPP_DSP_REVERB_H
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OPENAV_DSP_SIDECHAIN_GAIN_H
|
#ifndef LOOPP_DSP_SIDECHAIN_GAIN_H
|
||||||
#define OPENAV_DSP_SIDECHAIN_GAIN_H
|
#define LOOPP_DSP_SIDECHAIN_GAIN_H
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -72,4 +72,4 @@ private:
|
||||||
float currentTarget;
|
float currentTarget;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // OPENAV_DSP_SIDECHAIN_GAIN_H
|
#endif // LOOPP_DSP_SIDECHAIN_GAIN_H
|
||||||
|
|
|
@ -153,7 +153,7 @@ static void selectLoadController(Fl_Widget* w, void* data)
|
||||||
fnfc.filter("Controllers\t*.ctlr");
|
fnfc.filter("Controllers\t*.ctlr");
|
||||||
|
|
||||||
stringstream s;
|
stringstream s;
|
||||||
s << getenv("HOME") << "/.config/openAV/loopp/controllers/";
|
s << getenv("HOME") << "/.config/soundship/loopp/controllers/";
|
||||||
fnfc.directory( s.str().c_str() ); // default directory to use
|
fnfc.directory( s.str().c_str() ); // default directory to use
|
||||||
// Show native chooser
|
// Show native chooser
|
||||||
switch ( fnfc.show() ) {
|
switch ( fnfc.show() ) {
|
||||||
|
|
Loading…
Reference in New Issue