|
hydrogen 1.2.6
|
Manager for User Preferences File (singleton) More...
#include <Preferences.h>
Public Types | |
| enum | { USE_JACK_TRANSPORT = 0 , USE_JACK_TIMEBASE_CONTROL = 0 , SET_PLAY_ON = 0 , BC_ON = 0 , NO_JACK_TRANSPORT = 1 , NO_JACK_TIMEBASE_CONTROL = 1 , SET_PLAY_OFF = 1 , BC_OFF = 1 } |
| enum class | AudioDriver { None , Null , Fake , Disk , Auto , Jack , Oss , Alsa , PulseAudio , CoreAudio , PortAudio } |
| enum | Changes { None = 0x000 , Font = 0x001 , Colors = 0x002 , AppearanceTab = 0x004 , GeneralTab = 0x008 , AudioTab = 0x010 , MidiTab = 0x020 , OscTab = 0x040 } |
| Bitwise or-able options showing which part of the Preferences were altered using the PreferencesDialog. More... | |
| enum class | JackTrackOutputMode { postFader = 0 , preFader = 1 } |
| Specifies which audio settings will be applied to the sample supplied in the JACK per track output ports. More... | |
Static Public Member Functions | |
| static QString | audioDriverToQString (const AudioDriver &driver) |
| static bool | checkJackSupport () |
| Attempts to call several JACK executables in order to check for existing JACK support. | |
| static void | create_instance () |
| If __instance equals 0, a new Preferences singleton will be created and stored in it. | |
| static Preferences * | get_instance () |
| Returns a pointer to the current Preferences singleton stored in __instance. | |
| static QString | getNullMidiPort () |
| Choice of m_sMidiPortName and m_sMidiOutputPortName in case no port/device was selected. | |
| static std::vector< AudioDriver > | getSupportedAudioDrivers () |
| static AudioDriver | parseAudioDriver (const QString &sDriver) |
Static Public Member Functions inherited from Base | |
| static const char * | _class_name () |
| return the class name | |
| static QString | base_clock (const QString &sMsg) |
| Measures the current time and stores it in __last_clock. | |
| static QString | base_clock_in (const QString &sMsg) |
| static int | bootstrap (Logger *logger, bool count=false) |
| must be called before any Object instantiation ! | |
| static bool | count_active () |
| static int | getAliveObjectCount () |
| static object_map_t | getObjectMap () |
| static Logger * | logger () |
| return the logger instance | |
| static int | objects_count () |
| static void | printObjectMapDiff (object_map_t map) |
| Creates the difference between a snapshot of the object map and its current state and prints it to std::cout. | |
| static void | set_count (bool flag) |
| enable/disable class instances counting | |
| static void | write_objects_map_to (std::ostream &out, object_map_t *map=nullptr) |
| output the full objects map to a given ostream | |
| static void | write_objects_map_to_cerr () |
| output objects map to stderr | |
Data Fields | |
| bool | __expandPatternItem |
| bool | __expandSongItem |
| bool | __playsamplesonclicking |
| bool | __playselectedinstrument |
| AudioDriver | m_audioDriver |
| Audio driver. | |
| bool | m_bbc |
| bool | m_bEnableMidiFeedback |
| bool | m_bFollowPlayhead |
| bool | m_bJackConnectDefaults |
| Toggles auto-connecting of the main stereo output ports to the system's default ports when starting the JACK server. | |
| bool | m_bJackTimebaseEnabled |
| External applications with a faulty JACK Timebase implementation can mess up the transport within Hydrogen. | |
| int | m_bJackTimebaseMode |
| Specifies if Hydrogen support the of JACK Timebase protocol. | |
| bool | m_bJackTrackOuts |
| If set to true, JackAudioDriver::makeTrackOutputs() will create two individual left and right output ports for every component of each instrument. | |
| int | m_bJackTransportMode |
| Specifies whether or not Hydrogen will use the JACK transport system. | |
| bool | m_bMidiDiscardNoteAfterAction |
| bool | m_bMidiFixedMapping |
| bool | m_bMidiNoteOffIgnore |
| bool | m_bOscFeedbackEnabled |
| Whether to send the current state of Hydrogen to the OSC clients. | |
| bool | m_bOscServerEnabled |
| Whether to start the OscServer thread. | |
| bool | m_brestartLash |
| bool | m_bsetLash |
| bool | m_bShowExportDrumkitAttributionWarning |
| bool | m_bShowExportDrumkitCopyleftWarning |
| bool | m_bShowExportDrumkitLicenseWarning |
| bool | m_bShowExportSongLicenseWarning |
| bool | m_bUseMetronome |
| If set to true, samples of the metronome will be added to H2Core::AudioEngine::m_songNoteQueue and thus played back on a regular basis. | |
| int | m_countOffset |
| float | m_fMetronomeVolume |
| Metronome volume FIXME: remove this volume!! | |
| JackTrackOutputMode | m_JackTrackOutputMode |
| Specifies which audio settings will be applied to the sample supplied in the JACK per track output ports. | |
| bool | m_mmcsetplay |
| int | m_nAutosavesPerHour |
| unsigned | m_nBufferSize |
| Buffer size of the audio. | |
| int | m_nLatencyTarget |
| unsigned | m_nMaxNotes |
| max notes | |
| int | m_nMidiChannelFilter |
| int | m_nOscServerPort |
| Port number the OscServer will be started at. | |
| int | m_nOscTemporaryPort |
| In case m_nOscServerPort is already occupied by another client, the alternative - random - port number provided by the OSC server will be stored in this variable. | |
| unsigned | m_nSampleRate |
| Sample rate of the audio. | |
| std::list< QString > | m_patternCategories |
| QString | m_rubberBandCLIexecutable |
| Rubberband CLI. | |
| QString | m_sAlsaAudioDevice |
| QString | m_sCoreAudioDevice |
| QString | m_sDefaultEditor |
| Default text editor (used by Playlisteditor) | |
| QString | m_sJackPortName1 |
| QString | m_sJackPortName2 |
| QString | m_sMidiDriver |
| MIDI driver. | |
| QString | m_sMidiOutputPortName |
| QString | m_sMidiPortName |
| QString | m_sOSSDevice |
| Device used for output. | |
| QString | m_sPortAudioDevice |
| QString | m_sPortAudioHostAPI |
| int | m_startOffset |
| std::list< QString > | sServerList |
Private Member Functions | |
| Preferences () | |
| WindowProperties | readWindowProperties (XMLNode parent, const QString &windowName, WindowProperties defaultProp) |
| Read the xml nodes related to window properties. | |
| void | writeWindowProperties (XMLNode parent, const QString &windowName, const WindowProperties &prop) |
| Write the xml nodes related to window properties. | |
Static Private Attributes | |
| static Preferences * | __instance = nullptr |
| Object holding the current Preferences singleton. | |
Additional Inherited Members | |
Static Public Attributes inherited from Base | |
| static QString | sPrintIndention = " " |
| String used to format the debugging string output of some core classes. | |
Protected Member Functions inherited from Object< Preferences > | |
| ~Object () | |
Protected Member Functions inherited from Base | |
| ~Base () | |
Static Protected Member Functions inherited from Base | |
| static void | registerClass (const char *name, const atomic_obj_cpt_t *counters) |
Static Protected Attributes inherited from Base | |
| static bool | __count = false |
| should we count class instances | |
| static timeval | __last_clock = { 0, 0 } |
| static Logger * | __logger = nullptr |
| static bool | bLogColors = true |
Manager for User Preferences File (singleton)
Definition at line 78 of file Preferences.h.
| anonymous enum |
| Enumerator | |
|---|---|
| USE_JACK_TRANSPORT | Specifies whether or not to use JACK transport capabilities. If set, Hydrogen will start playing as soon as any over JACK client using its transport system is starting to play. Its counterpart is NO_JACK_TRANSPORT. |
| USE_JACK_TIMEBASE_CONTROL | Specifies that Hydrogen should attempt to acquire JACK Timebase control. This represent the state desired by the user. The actual one is stored in H2Core::JackAudioDriver::m_timebaseState. Its counterpart is NO_JACK_TIMEBASE_CONTROL. |
| SET_PLAY_ON | |
| BC_ON | |
| NO_JACK_TRANSPORT | Specifies whether or not to use JACK transport capabilities. If set, Hydrogen can be used independent of the JACK system while still using the JackAudioDriver. Its counterpart is USE_JACK_TRANSPORT. |
| NO_JACK_TIMEBASE_CONTROL | Specifies that Hydrogen should not be in control of JACK Timebase information. This could mean both that there is an external application controlling position and tempo of Hydrogen and that there are just equal JACK clients. This represent the state desired by the user. The actual one is stored in H2Core::JackAudioDriver::m_timebaseState. Its counterpart is USE_JACK_TIMEBASE_CONTROL. |
| SET_PLAY_OFF | |
| BC_OFF | |
Definition at line 82 of file Preferences.h.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Null | |
| Fake | |
| Disk | |
| Auto | |
| Jack | |
| Oss | |
| Alsa | |
| PulseAudio | |
| CoreAudio | |
| PortAudio | |
Definition at line 174 of file Preferences.h.
| enum Changes |
Bitwise or-able options showing which part of the Preferences were altered using the PreferencesDialog.
Definition at line 128 of file Preferences.h.
|
strong |
Specifies which audio settings will be applied to the sample supplied in the JACK per track output ports.
Definition at line 359 of file Preferences.h.
| ~Preferences | ( | ) |
Definition at line 285 of file Preferences.cpp.
|
private |
Definition at line 62 of file Preferences.cpp.
|
static |
Definition at line 1252 of file Preferences.cpp.
|
static |
Attempts to call several JACK executables in order to check for existing JACK support.
In an earlier version I tried checking the presence of the libjack.so shared library. But this one comes preinstalled with most Linux distribution regardless of JACK itself is present or not.
Definition at line 1281 of file Preferences.cpp.
|
static |
If __instance equals 0, a new Preferences singleton will be created and stored in it.
It is called in Hydrogen::create_instance().
Definition at line 55 of file Preferences.cpp.
|
inlinestatic |
Returns a pointer to the current Preferences singleton stored in __instance.
Definition at line 406 of file Preferences.h.
|
inline |
Definition at line 1185 of file Preferences.h.
|
inline |
Definition at line 1344 of file Preferences.h.
|
inline |
Definition at line 1304 of file Preferences.h.
|
inline |
Definition at line 1372 of file Preferences.h.
| const QString & getDataDirectory | ( | ) |
|
inline |
Definition at line 1013 of file Preferences.h.
|
inline |
Definition at line 1021 of file Preferences.h.
|
inline |
Definition at line 1365 of file Preferences.h.
|
inline |
Definition at line 1003 of file Preferences.h.
|
inline |
Definition at line 993 of file Preferences.h.
|
inline |
Definition at line 978 of file Preferences.h.
|
inline |
Definition at line 963 of file Preferences.h.
|
inline |
Definition at line 973 of file Preferences.h.
|
inline |
Definition at line 1206 of file Preferences.h.
|
inline |
Definition at line 1482 of file Preferences.h.
|
inline |
Definition at line 1119 of file Preferences.h.
|
inline |
Definition at line 1037 of file Preferences.h.
|
inline |
Definition at line 1337 of file Preferences.h.
|
inline |
Definition at line 1351 of file Preferences.h.
|
inline |
Definition at line 873 of file Preferences.h.
|
inline |
Definition at line 864 of file Preferences.h.
|
inline |
Definition at line 855 of file Preferences.h.
|
inline |
Definition at line 858 of file Preferences.h.
|
inline |
Definition at line 840 of file Preferences.h.
|
inline |
Definition at line 843 of file Preferences.h.
|
inline |
Definition at line 885 of file Preferences.h.
|
inline |
Definition at line 861 of file Preferences.h.
|
inline |
Definition at line 882 of file Preferences.h.
|
inline |
Definition at line 867 of file Preferences.h.
|
inline |
Definition at line 852 of file Preferences.h.
|
inline |
Definition at line 870 of file Preferences.h.
|
inline |
Definition at line 849 of file Preferences.h.
|
inline |
Definition at line 1471 of file Preferences.h.
|
inline |
Definition at line 876 of file Preferences.h.
|
inline |
Definition at line 1112 of file Preferences.h.
|
inline |
Definition at line 879 of file Preferences.h.
|
inline |
Definition at line 846 of file Preferences.h.
|
inline |
Definition at line 1105 of file Preferences.h.
|
inline |
Definition at line 1192 of file Preferences.h.
|
inline |
Definition at line 1199 of file Preferences.h.
|
inline |
Definition at line 1491 of file Preferences.h.
|
inline |
Definition at line 1308 of file Preferences.h.
|
inline |
Definition at line 1390 of file Preferences.h.
|
inline |
Definition at line 1398 of file Preferences.h.
|
inline |
Definition at line 1296 of file Preferences.h.
|
inline |
Definition at line 953 of file Preferences.h.
|
inline |
Definition at line 1213 of file Preferences.h.
|
inline |
Definition at line 1315 of file Preferences.h.
|
inline |
Definition at line 1415 of file Preferences.h.
|
inline |
Definition at line 1423 of file Preferences.h.
|
inlinestatic |
Choice of m_sMidiPortName and m_sMidiOutputPortName in case no port/device was selected.
Pinning its value to "None" will prevent Hydrogen to connect to ports/devices using this exact name but is still done for backward compatibility.
Definition at line 272 of file Preferences.h.
|
inline |
Definition at line 1436 of file Preferences.h.
|
inline |
Definition at line 1429 of file Preferences.h.
|
inline |
Definition at line 1443 of file Preferences.h.
|
inline |
Definition at line 1284 of file Preferences.h.
|
inline |
Definition at line 1268 of file Preferences.h.
|
inline |
Definition at line 1226 of file Preferences.h.
|
inline |
Definition at line 1274 of file Preferences.h.
|
inline |
Definition at line 1322 of file Preferences.h.
|
inline |
Definition at line 1358 of file Preferences.h.
| QString getPreferencesOverwritePath | ( | ) |
Returns m_sPreferencesOverwritePath.
|
inline |
Definition at line 1046 of file Preferences.h.
|
inline |
Definition at line 1133 of file Preferences.h.
|
inline |
Definition at line 1140 of file Preferences.h.
|
inline |
Definition at line 1179 of file Preferences.h.
|
inline |
Definition at line 1162 of file Preferences.h.
|
inline |
Definition at line 1169 of file Preferences.h.
|
inline |
Definition at line 1173 of file Preferences.h.
|
inline |
Definition at line 1126 of file Preferences.h.
|
inline |
Definition at line 1464 of file Preferences.h.
|
inline |
Definition at line 1247 of file Preferences.h.
|
inline |
Definition at line 1070 of file Preferences.h.
|
inline |
Definition at line 1074 of file Preferences.h.
|
inline |
Definition at line 1460 of file Preferences.h.
|
inline |
Definition at line 1255 of file Preferences.h.
|
inline |
Definition at line 1261 of file Preferences.h.
|
inline |
Definition at line 1329 of file Preferences.h.
|
static |
Definition at line 1376 of file Preferences.cpp.
|
inline |
Definition at line 1488 of file Preferences.h.
|
inline |
Definition at line 1029 of file Preferences.h.
|
inline |
Whether to use the bpm of the timeline.
Definition at line 1450 of file Preferences.h.
|
inline |
Definition at line 1290 of file Preferences.h.
|
inline |
Definition at line 1406 of file Preferences.h.
|
inline |
Definition at line 1086 of file Preferences.h.
|
inline |
Definition at line 1144 of file Preferences.h.
|
inline |
Definition at line 1240 of file Preferences.h.
|
inline |
Definition at line 1233 of file Preferences.h.
|
inline |
Definition at line 1098 of file Preferences.h.
|
inline |
Definition at line 1094 of file Preferences.h.
|
inline |
Definition at line 1090 of file Preferences.h.
| bool loadPreferences | ( | bool | bGlobal | ) |
Load the preferences file.
Definition at line 294 of file Preferences.cpp.
|
static |
Definition at line 1221 of file Preferences.cpp.
|
private |
Read the xml nodes related to window properties.
Definition at line 1440 of file Preferences.cpp.
| bool savePreferences | ( | ) |
Save the preferences file.
Definition at line 835 of file Preferences.cpp.
|
inline |
Definition at line 1188 of file Preferences.h.
|
inline |
Definition at line 1347 of file Preferences.h.
|
inline |
Definition at line 1300 of file Preferences.h.
|
inline |
Definition at line 1375 of file Preferences.h.
|
inline |
Definition at line 1017 of file Preferences.h.
|
inline |
Definition at line 1025 of file Preferences.h.
|
inline |
Definition at line 1368 of file Preferences.h.
|
inline |
Definition at line 1008 of file Preferences.h.
|
inline |
Definition at line 998 of file Preferences.h.
|
inline |
Definition at line 983 of file Preferences.h.
|
inline |
Definition at line 968 of file Preferences.h.
|
inline |
Definition at line 988 of file Preferences.h.
|
inline |
Definition at line 1209 of file Preferences.h.
|
inline |
Definition at line 1243 of file Preferences.h.
|
inline |
Definition at line 1478 of file Preferences.h.
|
inline |
Definition at line 1116 of file Preferences.h.
|
inline |
Definition at line 1082 of file Preferences.h.
|
inline |
Definition at line 1041 of file Preferences.h.
|
inline |
Definition at line 1222 of file Preferences.h.
|
inline |
Definition at line 1340 of file Preferences.h.
|
inline |
Definition at line 1354 of file Preferences.h.
|
inline |
Definition at line 932 of file Preferences.h.
|
inline |
Definition at line 920 of file Preferences.h.
|
inline |
Definition at line 908 of file Preferences.h.
|
inline |
Definition at line 912 of file Preferences.h.
|
inline |
Definition at line 888 of file Preferences.h.
|
inline |
Definition at line 892 of file Preferences.h.
|
inline |
Definition at line 948 of file Preferences.h.
|
inline |
Definition at line 916 of file Preferences.h.
|
inline |
Definition at line 944 of file Preferences.h.
|
inline |
Definition at line 924 of file Preferences.h.
|
inline |
Definition at line 904 of file Preferences.h.
|
inline |
Definition at line 928 of file Preferences.h.
|
inline |
Definition at line 900 of file Preferences.h.
|
inline |
Definition at line 1474 of file Preferences.h.
|
inline |
Definition at line 936 of file Preferences.h.
|
inline |
Definition at line 1109 of file Preferences.h.
|
inline |
Definition at line 940 of file Preferences.h.
|
inline |
Definition at line 896 of file Preferences.h.
|
inline |
Definition at line 1102 of file Preferences.h.
|
inline |
Definition at line 1195 of file Preferences.h.
|
inline |
Definition at line 1202 of file Preferences.h.
|
inline |
Definition at line 1311 of file Preferences.h.
|
inline |
| bars | Sets m_nMaxBars. |
Definition at line 1386 of file Preferences.h.
|
inline |
| layers | Sets m_nMaxLayers. |
Definition at line 1394 of file Preferences.h.
|
inline |
Definition at line 1293 of file Preferences.h.
|
inline |
Definition at line 958 of file Preferences.h.
|
inline |
Definition at line 1216 of file Preferences.h.
|
inline |
Definition at line 1318 of file Preferences.h.
| void setMostRecentFX | ( | QString | FX_name | ) |
Definition at line 1428 of file Preferences.cpp.
|
inline |
Definition at line 1411 of file Preferences.h.
|
inline |
Definition at line 1419 of file Preferences.h.
|
inline |
| val | Sets m_bOscFeedbackEnabled |
Definition at line 1439 of file Preferences.h.
|
inline |
| val | Sets m_bOscServerEnabled |
Definition at line 1432 of file Preferences.h.
|
inline |
| oscPort | Sets m_nOscServerPort |
Definition at line 1446 of file Preferences.h.
|
inline |
Definition at line 1281 of file Preferences.h.
|
inline |
Definition at line 1271 of file Preferences.h.
|
inline |
Definition at line 1229 of file Preferences.h.
|
inline |
Definition at line 1277 of file Preferences.h.
|
inline |
Definition at line 1325 of file Preferences.h.
|
inline |
Definition at line 1236 of file Preferences.h.
|
inline |
Definition at line 1361 of file Preferences.h.
| void setPreferencesOverwritePath | ( | const QString & | newPath | ) |
Setting m_sPreferencesOverwritePath.
| newPath | Path to a local preferences file. |
|
inline |
Definition at line 1050 of file Preferences.h.
|
inline |
Definition at line 1130 of file Preferences.h.
|
inline |
Definition at line 1137 of file Preferences.h.
|
inline |
Definition at line 1182 of file Preferences.h.
|
inline |
Definition at line 1159 of file Preferences.h.
|
inline |
Definition at line 1166 of file Preferences.h.
|
inline |
Definition at line 1123 of file Preferences.h.
|
inline |
Definition at line 1058 of file Preferences.h.
|
inline |
Definition at line 1054 of file Preferences.h.
|
inline |
Definition at line 1467 of file Preferences.h.
|
inline |
Definition at line 1250 of file Preferences.h.
|
inline |
Definition at line 1066 of file Preferences.h.
|
inline |
Definition at line 1078 of file Preferences.h.
|
inline |
Definition at line 1457 of file Preferences.h.
|
inline |
Definition at line 1258 of file Preferences.h.
|
inline |
Definition at line 1264 of file Preferences.h.
|
inline |
Definition at line 1332 of file Preferences.h.
|
inline |
Definition at line 1485 of file Preferences.h.
|
inline |
Definition at line 1033 of file Preferences.h.
|
inline |
Definition at line 1382 of file Preferences.h.
|
inline |
Definition at line 1062 of file Preferences.h.
|
inline |
|
inline |
Definition at line 1287 of file Preferences.h.
|
inline |
Definition at line 1402 of file Preferences.h.
|
inline |
Definition at line 1219 of file Preferences.h.
|
inline |
Definition at line 1154 of file Preferences.h.
|
inline |
Definition at line 1379 of file Preferences.h.
|
private |
Write the xml nodes related to window properties.
Definition at line 1464 of file Preferences.cpp.
| bool __expandPatternItem |
Definition at line 160 of file Preferences.h.
| bool __expandSongItem |
Definition at line 159 of file Preferences.h.
|
staticprivate |
Object holding the current Preferences singleton.
It is initialized with NULL, set with create_instance(), and accessed with get_instance().
Definition at line 694 of file Preferences.h.
| bool __playsamplesonclicking |
Definition at line 148 of file Preferences.h.
| bool __playselectedinstrument |
Definition at line 150 of file Preferences.h.
|
private |
Whether to use local speeds specified along the Timeline or a constant tempo for the whole Song in Hydrogen::getTimelineBpm() and Hydrogen::getTimelineBpm().
It is set using setUseTimelineBpm() and accessed via getUseTimelineBpm().
Definition at line 757 of file Preferences.h.
|
private |
Definition at line 779 of file Preferences.h.
|
private |
Definition at line 738 of file Preferences.h.
|
private |
Definition at line 778 of file Preferences.h.
| AudioDriver m_audioDriver |
Audio driver.
Used in the audioEngine_startAudioDrivers() to create an audio driver using createDriver().
These choices are support:
Definition at line 221 of file Preferences.h.
| bool m_bbc |
Definition at line 163 of file Preferences.h.
| bool m_bEnableMidiFeedback |
Definition at line 280 of file Preferences.h.
| bool m_bFollowPlayhead |
Definition at line 152 of file Preferences.h.
|
private |
Definition at line 719 of file Preferences.h.
|
private |
Definition at line 767 of file Preferences.h.
| bool m_bJackConnectDefaults |
Toggles auto-connecting of the main stereo output ports to the system's default ports when starting the JACK server.
Definition at line 348 of file Preferences.h.
| bool m_bJackTimebaseEnabled |
External applications with a faulty JACK Timebase implementation can mess up the transport within Hydrogen.
To guarantee the basic functionality, the user can disable Timebase support and make Hydrogen only listen to the frame number broadcast by the JACK server.
Definition at line 377 of file Preferences.h.
| int m_bJackTimebaseMode |
Specifies if Hydrogen support the of JACK Timebase protocol.
It has two states: Preferences::USE_JACK_TIMEBASE_CONTROL and Preferences::NO_JACK_TIMEBASE_CONTROL. It is set to Preferences::NO_JACK_TIMEBASE_CONTROL by the JackAudioDriver::initTimebaseControl() if Hydrogen couldn't acquire Timebase control.
Definition at line 385 of file Preferences.h.
| bool m_bJackTrackOuts |
If set to true, JackAudioDriver::makeTrackOutputs() will create two individual left and right output ports for every component of each instrument.
If false, one usual stereo output will be created.
Definition at line 355 of file Preferences.h.
| int m_bJackTransportMode |
Specifies whether or not Hydrogen will use the JACK transport system.
It has two different states: USE_JACK_TRANSPORT and NO_JACK_TRANSPORT.
Definition at line 345 of file Preferences.h.
|
private |
Definition at line 837 of file Preferences.h.
| bool m_bMidiDiscardNoteAfterAction |
Definition at line 279 of file Preferences.h.
| bool m_bMidiFixedMapping |
Definition at line 278 of file Preferences.h.
| bool m_bMidiNoteOffIgnore |
Definition at line 277 of file Preferences.h.
| bool m_bOscFeedbackEnabled |
Whether to send the current state of Hydrogen to the OSC clients.
If set to true, the current state of Hydrogen will be sent to all known OSC clients using CoreActionController::initExternalControlInterfaces() and OscServer::handleAction() via OSC messages each time it gets updated..
Set by setOscFeedbackEnabled() and queried by getOscFeedbackEnabled().
Definition at line 309 of file Preferences.h.
| bool m_bOscServerEnabled |
Whether to start the OscServer thread.
If set to true, the OscServer::start() function of the OscServer singleton will be called in Hydrogen::Hydrogen(). This will register all OSC message handlers and makes the server listen to port m_nOscServerPort.
Set by setOscServerEnabled() and queried by getOscServerEnabled().
Definition at line 295 of file Preferences.h.
|
private |
Definition at line 765 of file Preferences.h.
| bool m_brestartLash |
Definition at line 155 of file Preferences.h.
|
private |
Definition at line 705 of file Preferences.h.
|
private |
Definition at line 704 of file Preferences.h.
| bool m_bsetLash |
Definition at line 156 of file Preferences.h.
|
private |
Definition at line 768 of file Preferences.h.
|
private |
Definition at line 708 of file Preferences.h.
| bool m_bShowExportDrumkitAttributionWarning |
Definition at line 674 of file Preferences.h.
| bool m_bShowExportDrumkitCopyleftWarning |
Definition at line 673 of file Preferences.h.
| bool m_bShowExportDrumkitLicenseWarning |
Definition at line 672 of file Preferences.h.
| bool m_bShowExportSongLicenseWarning |
Definition at line 671 of file Preferences.h.
|
private |
Definition at line 766 of file Preferences.h.
|
private |
Last song used.
Definition at line 709 of file Preferences.h.
|
private |
Definition at line 762 of file Preferences.h.
|
private |
Show development version warning?
Definition at line 706 of file Preferences.h.
| bool m_bUseMetronome |
If set to true, samples of the metronome will be added to H2Core::AudioEngine::m_songNoteQueue and thus played back on a regular basis.
Definition at line 225 of file Preferences.h.
|
private |
Definition at line 769 of file Preferences.h.
| int m_countOffset |
Definition at line 166 of file Preferences.h.
|
private |
Definition at line 782 of file Preferences.h.
|
private |
Definition at line 808 of file Preferences.h.
|
private |
Definition at line 809 of file Preferences.h.
| float m_fMetronomeVolume |
Metronome volume FIXME: remove this volume!!
Definition at line 227 of file Preferences.h.
| JackTrackOutputMode m_JackTrackOutputMode |
Specifies which audio settings will be applied to the sample supplied in the JACK per track output ports.
Definition at line 369 of file Preferences.h.
|
private |
Definition at line 780 of file Preferences.h.
|
private |
Definition at line 712 of file Preferences.h.
|
private |
Definition at line 711 of file Preferences.h.
| bool m_mmcsetplay |
Definition at line 164 of file Preferences.h.
| int m_nAutosavesPerHour |
Definition at line 390 of file Preferences.h.
| unsigned m_nBufferSize |
Buffer size of the audio.
It is set e.g. by JackAudioDriver::init() to the buffer size of the freshly opened JACK client.
Definition at line 236 of file Preferences.h.
|
private |
Definition at line 805 of file Preferences.h.
|
private |
Definition at line 807 of file Preferences.h.
|
private |
Definition at line 806 of file Preferences.h.
|
private |
Definition at line 761 of file Preferences.h.
| int m_nLatencyTarget |
Definition at line 332 of file Preferences.h.
|
private |
Maximum number of bars shown in the Song Editor at once.
It is set by setMaxBars() and queried by getMaxBars(). In order to change this value, you have to manually edit the <maxBars> tag in the configuration file of Hydrogen in your home folder. Default value assigned in constructor: 400.
Definition at line 728 of file Preferences.h.
|
private |
Maximum number of layers to be used in the Instrument editor.
It is set by setMaxLayers() and queried by getMaxLayers(). It is setIn order to change this value, you have to manually edit the <maxLayers> tag in the configuration file of Hydrogen in your home folder. Default value assigned in constructor: 16.
Definition at line 737 of file Preferences.h.
| unsigned m_nMaxNotes |
max notes
Definition at line 229 of file Preferences.h.
| int m_nMidiChannelFilter |
Definition at line 276 of file Preferences.h.
|
private |
Definition at line 813 of file Preferences.h.
| int m_nOscServerPort |
Port number the OscServer will be started at.
Set by setOscServerPort() and queried by getOscServerPort().
Definition at line 324 of file Preferences.h.
| int m_nOscTemporaryPort |
In case m_nOscServerPort is already occupied by another client, the alternative - random - port number provided by the OSC server will be stored in this variable.
If the connection using the default port succeeded, the variable will be set to -1.
Definition at line 317 of file Preferences.h.
|
private |
Definition at line 770 of file Preferences.h.
|
private |
Definition at line 764 of file Preferences.h.
|
private |
Definition at line 771 of file Preferences.h.
| unsigned m_nSampleRate |
Sample rate of the audio.
It is set e.g. by JackAudioDriver::init() to the sample rate of the freshly opened JACK client.
Definition at line 243 of file Preferences.h.
|
private |
Definition at line 772 of file Preferences.h.
|
private |
Definition at line 773 of file Preferences.h.
| std::list<QString> m_patternCategories |
Definition at line 171 of file Preferences.h.
|
private |
Definition at line 781 of file Preferences.h.
|
private |
Definition at line 696 of file Preferences.h.
|
private |
Definition at line 741 of file Preferences.h.
|
private |
Definition at line 740 of file Preferences.h.
| QString m_rubberBandCLIexecutable |
Rubberband CLI.
Definition at line 393 of file Preferences.h.
| QString m_sAlsaAudioDevice |
Definition at line 327 of file Preferences.h.
| QString m_sCoreAudioDevice |
Definition at line 335 of file Preferences.h.
| QString m_sDefaultEditor |
Default text editor (used by Playlisteditor)
Definition at line 389 of file Preferences.h.
|
private |
Definition at line 699 of file Preferences.h.
| QString m_sJackPortName1 |
Definition at line 338 of file Preferences.h.
| QString m_sJackPortName2 |
Definition at line 339 of file Preferences.h.
|
private |
Definition at line 798 of file Preferences.h.
|
private |
Definition at line 795 of file Preferences.h.
|
private |
Definition at line 792 of file Preferences.h.
|
private |
Definition at line 793 of file Preferences.h.
|
private |
Definition at line 787 of file Preferences.h.
|
private |
Definition at line 788 of file Preferences.h.
|
private |
Definition at line 802 of file Preferences.h.
|
private |
Definition at line 794 of file Preferences.h.
|
private |
Definition at line 801 of file Preferences.h.
|
private |
Definition at line 796 of file Preferences.h.
|
private |
Definition at line 791 of file Preferences.h.
|
private |
Definition at line 797 of file Preferences.h.
|
private |
Definition at line 790 of file Preferences.h.
|
private |
Definition at line 799 of file Preferences.h.
|
private |
Definition at line 800 of file Preferences.h.
|
private |
Definition at line 789 of file Preferences.h.
| QString m_sMidiDriver |
MIDI driver.
Used in the audioEngine_startAudioDrivers() to create an MIDI driver.
These choices are support:
Definition at line 261 of file Preferences.h.
| QString m_sMidiOutputPortName |
Definition at line 263 of file Preferences.h.
| QString m_sMidiPortName |
Definition at line 262 of file Preferences.h.
|
private |
Definition at line 744 of file Preferences.h.
|
private |
Definition at line 745 of file Preferences.h.
| QString m_sOSSDevice |
Device used for output.
Definition at line 246 of file Preferences.h.
| QString m_sPortAudioDevice |
Definition at line 330 of file Preferences.h.
| QString m_sPortAudioHostAPI |
Definition at line 331 of file Preferences.h.
|
private |
Full path to local preferences file.
Used in nsm_open_cb() to specify a preferences file specific to the current session.
If non-empty, the local file will be loaded instead of Filesystem::usr_config_path() or Filesystem::sys_config_path(). In general the underlying file does not have to be named "hydrogen.conf". But for the sake of consistency the latter naming is strongly recommended.
Note that this variable is a session variable, which won't be stored in the hydrogen.conf preferences file!
Definition at line 830 of file Preferences.h.
|
private |
Definition at line 784 of file Preferences.h.
| int m_startOffset |
Definition at line 167 of file Preferences.h.
|
private |
|
private |
Definition at line 774 of file Preferences.h.
|
private |
Definition at line 775 of file Preferences.h.
|
private |
Definition at line 776 of file Preferences.h.
|
private |
Definition at line 717 of file Preferences.h.
|
private |
Definition at line 718 of file Preferences.h.
|
private |
Definition at line 714 of file Preferences.h.
|
private |
Definition at line 716 of file Preferences.h.
|
private |
Definition at line 715 of file Preferences.h.
|
private |
Definition at line 777 of file Preferences.h.
| std::list<QString> sServerList |
Definition at line 170 of file Preferences.h.
|
private |
Definition at line 748 of file Preferences.h.