|
hydrogen 1.2.3
|
Manager for User Preferences File (singleton) More...
#include <Preferences.h>
Public Types | |
| enum | { USE_JACK_TRANSPORT = 0 , USE_JACK_TIME_MASTER = 0 , SET_PLAY_ON = 0 , BC_ON = 0 , NO_JACK_TRANSPORT = 1 , NO_JACK_TIME_MASTER = 1 , SET_PLAY_OFF = 1 , BC_OFF = 1 } |
| 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 | JackBBTSyncMethod { constMeasure = 0 , identicalBars = 1 } |
| Specifies the variable, which has to remain constant in order to guarantee a working synchronization and relocation with Hydrogen as JACK timebase client. 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 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 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 |
| 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. | |
| int | m_bJackMasterMode |
| Specifies if Hydrogen should run as JACK time master. | |
| bool | m_bJackTimebaseEnabled |
| External applications with a faulty JACK timebase master implementation can mess up the transport within Hydrogen. | |
| 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!! | |
| JackBBTSyncMethod | m_JackBBTSync |
| Since Hydrogen uses both fixed pattern lengths and recalculates the tick size each time it encounters an alternative tempo, its transport is incompatible to the BBT information provided by the JACK server. | |
| 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_sAudioDriver |
| Audio driver. | |
| 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 |
Manager for User Preferences File (singleton)
Definition at line 77 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_TIME_MASTER | Specifies that Hydrogen is using in the time master mode and will thus control specific aspects of the transport like the overall tempo. Its counterpart is NO_JACK_TIME_MASTER. |
| 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_TIME_MASTER | Specifies that Hydrogen is note using in the time master mode. Its counterpart is USE_JACK_TIME_MASTER. |
| SET_PLAY_OFF | |
| BC_OFF | |
Definition at line 81 of file Preferences.h.
| enum Changes |
Bitwise or-able options showing which part of the Preferences were altered using the PreferencesDialog.
Definition at line 118 of file Preferences.h.
|
strong |
Specifies the variable, which has to remain constant in order to guarantee a working synchronization and relocation with Hydrogen as JACK timebase client.
| Enumerator | |
|---|---|
| constMeasure | The measure - could be any - does not change during the song. |
| identicalBars | The length of each pattern must match the measure of the corresponding bar in the timebase master. This way both the pattern position of Hydrogen and the bar information provided by JACK can be assumed to be identical. |
Definition at line 345 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 319 of file Preferences.h.
| ~Preferences | ( | ) |
Definition at line 283 of file Preferences.cpp.
|
private |
Definition at line 61 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 54 of file Preferences.cpp.
|
inlinestatic |
Returns a pointer to the current Preferences singleton stored in __instance.
Definition at line 398 of file Preferences.h.
|
inline |
Definition at line 1164 of file Preferences.h.
|
inline |
Definition at line 1323 of file Preferences.h.
|
inline |
Definition at line 1283 of file Preferences.h.
|
inline |
Definition at line 1351 of file Preferences.h.
| const QString & getDataDirectory | ( | ) |
|
inline |
Definition at line 992 of file Preferences.h.
|
inline |
Definition at line 1000 of file Preferences.h.
|
inline |
Definition at line 1344 of file Preferences.h.
|
inline |
Definition at line 967 of file Preferences.h.
|
inline |
Definition at line 952 of file Preferences.h.
|
inline |
Definition at line 962 of file Preferences.h.
|
inline |
Definition at line 982 of file Preferences.h.
|
inline |
Definition at line 1185 of file Preferences.h.
|
inline |
Definition at line 1461 of file Preferences.h.
|
inline |
Definition at line 1098 of file Preferences.h.
|
inline |
Definition at line 1016 of file Preferences.h.
|
inline |
Definition at line 1316 of file Preferences.h.
|
inline |
Definition at line 1330 of file Preferences.h.
|
inline |
Definition at line 862 of file Preferences.h.
|
inline |
Definition at line 853 of file Preferences.h.
|
inline |
Definition at line 844 of file Preferences.h.
|
inline |
Definition at line 847 of file Preferences.h.
|
inline |
Definition at line 829 of file Preferences.h.
|
inline |
Definition at line 832 of file Preferences.h.
|
inline |
Definition at line 874 of file Preferences.h.
|
inline |
Definition at line 850 of file Preferences.h.
|
inline |
Definition at line 871 of file Preferences.h.
|
inline |
Definition at line 856 of file Preferences.h.
|
inline |
Definition at line 841 of file Preferences.h.
|
inline |
Definition at line 859 of file Preferences.h.
|
inline |
Definition at line 838 of file Preferences.h.
|
inline |
Definition at line 1450 of file Preferences.h.
|
inline |
Definition at line 865 of file Preferences.h.
|
inline |
Definition at line 1091 of file Preferences.h.
|
inline |
Definition at line 868 of file Preferences.h.
|
inline |
Definition at line 835 of file Preferences.h.
|
inline |
Definition at line 1084 of file Preferences.h.
|
inline |
Definition at line 1171 of file Preferences.h.
|
inline |
Definition at line 1178 of file Preferences.h.
|
inline |
Definition at line 1470 of file Preferences.h.
|
inline |
Definition at line 1287 of file Preferences.h.
|
inline |
Definition at line 1369 of file Preferences.h.
|
inline |
Definition at line 1377 of file Preferences.h.
|
inline |
Definition at line 1275 of file Preferences.h.
|
inline |
Definition at line 942 of file Preferences.h.
|
inline |
Definition at line 1192 of file Preferences.h.
|
inline |
Definition at line 1294 of file Preferences.h.
|
inline |
Definition at line 1394 of file Preferences.h.
|
inline |
Definition at line 1402 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 232 of file Preferences.h.
|
inline |
Definition at line 1415 of file Preferences.h.
|
inline |
Definition at line 1408 of file Preferences.h.
|
inline |
Definition at line 1422 of file Preferences.h.
|
inline |
Definition at line 1263 of file Preferences.h.
|
inline |
Definition at line 1247 of file Preferences.h.
|
inline |
Definition at line 1205 of file Preferences.h.
|
inline |
Definition at line 1253 of file Preferences.h.
|
inline |
Definition at line 1301 of file Preferences.h.
|
inline |
Definition at line 1337 of file Preferences.h.
| QString getPreferencesOverwritePath | ( | ) |
Returns m_sPreferencesOverwritePath.
|
inline |
Definition at line 1025 of file Preferences.h.
|
inline |
Definition at line 1112 of file Preferences.h.
|
inline |
Definition at line 1119 of file Preferences.h.
|
inline |
Definition at line 1158 of file Preferences.h.
|
inline |
Definition at line 1141 of file Preferences.h.
|
inline |
Definition at line 1148 of file Preferences.h.
|
inline |
Definition at line 1152 of file Preferences.h.
|
inline |
Definition at line 1105 of file Preferences.h.
|
inline |
Definition at line 1443 of file Preferences.h.
|
inline |
Definition at line 1226 of file Preferences.h.
|
inline |
Definition at line 1049 of file Preferences.h.
|
inline |
Definition at line 1053 of file Preferences.h.
|
inline |
Definition at line 1439 of file Preferences.h.
|
inline |
Definition at line 1234 of file Preferences.h.
|
inline |
Definition at line 1240 of file Preferences.h.
|
inline |
Definition at line 1308 of file Preferences.h.
|
inline |
Definition at line 1467 of file Preferences.h.
|
inline |
Definition at line 1008 of file Preferences.h.
|
inline |
Whether to use the bpm of the timeline.
Definition at line 1429 of file Preferences.h.
|
inline |
Definition at line 1269 of file Preferences.h.
|
inline |
Definition at line 1385 of file Preferences.h.
|
inline |
Definition at line 1065 of file Preferences.h.
|
inline |
Definition at line 1123 of file Preferences.h.
|
inline |
Definition at line 1219 of file Preferences.h.
|
inline |
Definition at line 1212 of file Preferences.h.
|
inline |
Definition at line 1077 of file Preferences.h.
|
inline |
Definition at line 1073 of file Preferences.h.
|
inline |
Definition at line 1069 of file Preferences.h.
| bool loadPreferences | ( | bool | bGlobal | ) |
Load the preferences file.
Definition at line 297 of file Preferences.cpp.
|
private |
Read the xml nodes related to window properties.
Definition at line 1252 of file Preferences.cpp.
| bool savePreferences | ( | ) |
Save the preferences file.
Definition at line 850 of file Preferences.cpp.
|
inline |
Definition at line 1167 of file Preferences.h.
|
inline |
Definition at line 1326 of file Preferences.h.
|
inline |
Definition at line 1279 of file Preferences.h.
|
inline |
Definition at line 1354 of file Preferences.h.
|
inline |
Definition at line 996 of file Preferences.h.
|
inline |
Definition at line 1004 of file Preferences.h.
|
inline |
Definition at line 1347 of file Preferences.h.
|
inline |
Definition at line 972 of file Preferences.h.
|
inline |
Definition at line 957 of file Preferences.h.
|
inline |
Definition at line 977 of file Preferences.h.
|
inline |
Definition at line 987 of file Preferences.h.
|
inline |
Definition at line 1188 of file Preferences.h.
|
inline |
Definition at line 1222 of file Preferences.h.
|
inline |
Definition at line 1457 of file Preferences.h.
|
inline |
Definition at line 1095 of file Preferences.h.
|
inline |
Definition at line 1061 of file Preferences.h.
|
inline |
Definition at line 1020 of file Preferences.h.
|
inline |
Definition at line 1201 of file Preferences.h.
|
inline |
Definition at line 1319 of file Preferences.h.
|
inline |
Definition at line 1333 of file Preferences.h.
|
inline |
Definition at line 921 of file Preferences.h.
|
inline |
Definition at line 909 of file Preferences.h.
|
inline |
Definition at line 897 of file Preferences.h.
|
inline |
Definition at line 901 of file Preferences.h.
|
inline |
Definition at line 877 of file Preferences.h.
|
inline |
Definition at line 881 of file Preferences.h.
|
inline |
Definition at line 937 of file Preferences.h.
|
inline |
Definition at line 905 of file Preferences.h.
|
inline |
Definition at line 933 of file Preferences.h.
|
inline |
Definition at line 913 of file Preferences.h.
|
inline |
Definition at line 893 of file Preferences.h.
|
inline |
Definition at line 917 of file Preferences.h.
|
inline |
Definition at line 889 of file Preferences.h.
|
inline |
Definition at line 1453 of file Preferences.h.
|
inline |
Definition at line 925 of file Preferences.h.
|
inline |
Definition at line 1088 of file Preferences.h.
|
inline |
Definition at line 929 of file Preferences.h.
|
inline |
Definition at line 885 of file Preferences.h.
|
inline |
Definition at line 1081 of file Preferences.h.
|
inline |
Definition at line 1174 of file Preferences.h.
|
inline |
Definition at line 1181 of file Preferences.h.
|
inline |
Definition at line 1290 of file Preferences.h.
|
inline |
| bars | Sets m_nMaxBars. |
Definition at line 1365 of file Preferences.h.
|
inline |
| layers | Sets m_nMaxLayers. |
Definition at line 1373 of file Preferences.h.
|
inline |
Definition at line 1272 of file Preferences.h.
|
inline |
Definition at line 947 of file Preferences.h.
|
inline |
Definition at line 1195 of file Preferences.h.
|
inline |
Definition at line 1297 of file Preferences.h.
| void setMostRecentFX | ( | QString | FX_name | ) |
Definition at line 1240 of file Preferences.cpp.
|
inline |
Definition at line 1390 of file Preferences.h.
|
inline |
Definition at line 1398 of file Preferences.h.
|
inline |
| val | Sets m_bOscFeedbackEnabled |
Definition at line 1418 of file Preferences.h.
|
inline |
| val | Sets m_bOscServerEnabled |
Definition at line 1411 of file Preferences.h.
|
inline |
| oscPort | Sets m_nOscServerPort |
Definition at line 1425 of file Preferences.h.
|
inline |
Definition at line 1260 of file Preferences.h.
|
inline |
Definition at line 1250 of file Preferences.h.
|
inline |
Definition at line 1208 of file Preferences.h.
|
inline |
Definition at line 1256 of file Preferences.h.
|
inline |
Definition at line 1304 of file Preferences.h.
|
inline |
Definition at line 1215 of file Preferences.h.
|
inline |
Definition at line 1340 of file Preferences.h.
| void setPreferencesOverwritePath | ( | const QString & | newPath | ) |
Setting m_sPreferencesOverwritePath.
| newPath | Path to a local preferences file. |
|
inline |
Definition at line 1029 of file Preferences.h.
|
inline |
Definition at line 1109 of file Preferences.h.
|
inline |
Definition at line 1116 of file Preferences.h.
|
inline |
Definition at line 1161 of file Preferences.h.
|
inline |
Definition at line 1138 of file Preferences.h.
|
inline |
Definition at line 1145 of file Preferences.h.
|
inline |
Definition at line 1102 of file Preferences.h.
|
inline |
Definition at line 1037 of file Preferences.h.
|
inline |
Definition at line 1033 of file Preferences.h.
|
inline |
Definition at line 1446 of file Preferences.h.
|
inline |
Definition at line 1229 of file Preferences.h.
|
inline |
Definition at line 1045 of file Preferences.h.
|
inline |
Definition at line 1057 of file Preferences.h.
|
inline |
Definition at line 1436 of file Preferences.h.
|
inline |
Definition at line 1237 of file Preferences.h.
|
inline |
Definition at line 1243 of file Preferences.h.
|
inline |
Definition at line 1311 of file Preferences.h.
|
inline |
Definition at line 1464 of file Preferences.h.
|
inline |
Definition at line 1012 of file Preferences.h.
|
inline |
Definition at line 1361 of file Preferences.h.
|
inline |
Definition at line 1041 of file Preferences.h.
|
inline |
|
inline |
Definition at line 1266 of file Preferences.h.
|
inline |
Definition at line 1381 of file Preferences.h.
|
inline |
Definition at line 1198 of file Preferences.h.
|
inline |
Definition at line 1133 of file Preferences.h.
|
inline |
Definition at line 1358 of file Preferences.h.
|
private |
Write the xml nodes related to window properties.
Definition at line 1276 of file Preferences.cpp.
| bool __expandPatternItem |
Definition at line 150 of file Preferences.h.
| bool __expandSongItem |
Definition at line 149 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 684 of file Preferences.h.
| bool __playsamplesonclicking |
Definition at line 138 of file Preferences.h.
| bool __playselectedinstrument |
Definition at line 140 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 747 of file Preferences.h.
|
private |
Definition at line 769 of file Preferences.h.
|
private |
Definition at line 728 of file Preferences.h.
|
private |
Definition at line 768 of file Preferences.h.
| bool m_bbc |
Definition at line 153 of file Preferences.h.
| bool m_bEnableMidiFeedback |
Definition at line 240 of file Preferences.h.
| bool m_bFollowPlayhead |
Definition at line 142 of file Preferences.h.
|
private |
Definition at line 709 of file Preferences.h.
|
private |
Definition at line 757 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 308 of file Preferences.h.
| int m_bJackMasterMode |
Specifies if Hydrogen should run as JACK time master.
It has two states: Preferences::USE_JACK_TIME_MASTER and Preferences::NO_JACK_TIME_MASTER. It is set to Preferences::NO_JACK_TIME_MASTER by the JackAudioDriver::initTimebaseMaster() if Hydrogen couldn't be registered as time master.
Definition at line 377 of file Preferences.h.
| bool m_bJackTimebaseEnabled |
External applications with a faulty JACK timebase master 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 339 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 315 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 305 of file Preferences.h.
|
private |
Definition at line 826 of file Preferences.h.
| bool m_bMidiDiscardNoteAfterAction |
Definition at line 239 of file Preferences.h.
| bool m_bMidiFixedMapping |
Definition at line 238 of file Preferences.h.
| bool m_bMidiNoteOffIgnore |
Definition at line 237 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 269 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 255 of file Preferences.h.
|
private |
Definition at line 755 of file Preferences.h.
| bool m_brestartLash |
Definition at line 145 of file Preferences.h.
|
private |
Definition at line 695 of file Preferences.h.
|
private |
Definition at line 694 of file Preferences.h.
| bool m_bsetLash |
Definition at line 146 of file Preferences.h.
|
private |
Definition at line 758 of file Preferences.h.
|
private |
Definition at line 698 of file Preferences.h.
| bool m_bShowExportDrumkitAttributionWarning |
Definition at line 664 of file Preferences.h.
| bool m_bShowExportDrumkitCopyleftWarning |
Definition at line 663 of file Preferences.h.
| bool m_bShowExportDrumkitLicenseWarning |
Definition at line 662 of file Preferences.h.
| bool m_bShowExportSongLicenseWarning |
Definition at line 661 of file Preferences.h.
|
private |
Definition at line 756 of file Preferences.h.
|
private |
Last song used.
Definition at line 699 of file Preferences.h.
|
private |
Definition at line 752 of file Preferences.h.
|
private |
Show development version warning?
Definition at line 696 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 185 of file Preferences.h.
|
private |
Definition at line 759 of file Preferences.h.
| int m_countOffset |
Definition at line 156 of file Preferences.h.
|
private |
Definition at line 772 of file Preferences.h.
| float m_fMetronomeVolume |
Metronome volume FIXME: remove this volume!!
Definition at line 187 of file Preferences.h.
| JackBBTSyncMethod m_JackBBTSync |
Since Hydrogen uses both fixed pattern lengths and recalculates the tick size each time it encounters an alternative tempo, its transport is incompatible to the BBT information provided by the JACK server.
Only if the length of each pattern corresponds to the measure of the respective bar in the timebase master application, the bar information provided by JACK can be used directly to determine chosen pattern. If this, however, is not the case - which can quite easily happen - a complete history of all measure and tempo changes would be required to correctly identify the pattern. Since this is not provided by JACK, one has to either assume the measure or tempo to be constant or that the user took care of adjusting the lengths properly.
Definition at line 368 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 329 of file Preferences.h.
|
private |
Definition at line 770 of file Preferences.h.
|
private |
Definition at line 702 of file Preferences.h.
|
private |
Definition at line 701 of file Preferences.h.
| bool m_mmcsetplay |
Definition at line 154 of file Preferences.h.
| int m_nAutosavesPerHour |
Definition at line 382 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 196 of file Preferences.h.
|
private |
Definition at line 795 of file Preferences.h.
|
private |
Definition at line 797 of file Preferences.h.
|
private |
Definition at line 796 of file Preferences.h.
|
private |
Definition at line 798 of file Preferences.h.
|
private |
Definition at line 751 of file Preferences.h.
| int m_nLatencyTarget |
Definition at line 292 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 718 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 727 of file Preferences.h.
| unsigned m_nMaxNotes |
max notes
Definition at line 189 of file Preferences.h.
| int m_nMidiChannelFilter |
Definition at line 236 of file Preferences.h.
|
private |
Definition at line 802 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 284 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 277 of file Preferences.h.
|
private |
Definition at line 760 of file Preferences.h.
|
private |
Definition at line 754 of file Preferences.h.
|
private |
Definition at line 761 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 203 of file Preferences.h.
|
private |
Definition at line 762 of file Preferences.h.
|
private |
Definition at line 763 of file Preferences.h.
| std::list<QString> m_patternCategories |
Definition at line 161 of file Preferences.h.
|
private |
Definition at line 771 of file Preferences.h.
|
private |
Definition at line 686 of file Preferences.h.
|
private |
Definition at line 731 of file Preferences.h.
|
private |
Definition at line 730 of file Preferences.h.
| QString m_rubberBandCLIexecutable |
Rubberband CLI.
Definition at line 385 of file Preferences.h.
| QString m_sAlsaAudioDevice |
Definition at line 287 of file Preferences.h.
| QString m_sAudioDriver |
Audio driver.
Used in the audioEngine_startAudioDrivers() to create an audio driver using createDriver().
These choices are support:
Definition at line 181 of file Preferences.h.
| QString m_sCoreAudioDevice |
Definition at line 295 of file Preferences.h.
| QString m_sDefaultEditor |
Default text editor (used by Playlisteditor)
Definition at line 381 of file Preferences.h.
|
private |
Definition at line 689 of file Preferences.h.
| QString m_sJackPortName1 |
Definition at line 298 of file Preferences.h.
| QString m_sJackPortName2 |
Definition at line 299 of file Preferences.h.
|
private |
Definition at line 788 of file Preferences.h.
|
private |
Definition at line 785 of file Preferences.h.
|
private |
Definition at line 782 of file Preferences.h.
|
private |
Definition at line 783 of file Preferences.h.
|
private |
Definition at line 777 of file Preferences.h.
|
private |
Definition at line 778 of file Preferences.h.
|
private |
Definition at line 792 of file Preferences.h.
|
private |
Definition at line 784 of file Preferences.h.
|
private |
Definition at line 791 of file Preferences.h.
|
private |
Definition at line 786 of file Preferences.h.
|
private |
Definition at line 781 of file Preferences.h.
|
private |
Definition at line 787 of file Preferences.h.
|
private |
Definition at line 780 of file Preferences.h.
|
private |
Definition at line 789 of file Preferences.h.
|
private |
Definition at line 790 of file Preferences.h.
|
private |
Definition at line 779 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 221 of file Preferences.h.
| QString m_sMidiOutputPortName |
Definition at line 223 of file Preferences.h.
| QString m_sMidiPortName |
Definition at line 222 of file Preferences.h.
|
private |
Definition at line 734 of file Preferences.h.
|
private |
Definition at line 735 of file Preferences.h.
| QString m_sOSSDevice |
Device used for output.
Definition at line 206 of file Preferences.h.
| QString m_sPortAudioDevice |
Definition at line 290 of file Preferences.h.
| QString m_sPortAudioHostAPI |
Definition at line 291 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 819 of file Preferences.h.
|
private |
Definition at line 774 of file Preferences.h.
| int m_startOffset |
Definition at line 157 of file Preferences.h.
|
private |
|
private |
Definition at line 764 of file Preferences.h.
|
private |
Definition at line 765 of file Preferences.h.
|
private |
Definition at line 766 of file Preferences.h.
|
private |
Definition at line 707 of file Preferences.h.
|
private |
Definition at line 708 of file Preferences.h.
|
private |
Definition at line 704 of file Preferences.h.
|
private |
Definition at line 706 of file Preferences.h.
|
private |
Definition at line 705 of file Preferences.h.
|
private |
Definition at line 767 of file Preferences.h.
| std::list<QString> sServerList |
Definition at line 160 of file Preferences.h.
|
private |
Definition at line 738 of file Preferences.h.