{"size": 1148, "ext": "js", "max_stars_repo_path": "music_paradigm_web/src/store/keyboard.module/getters.js", "max_stars_repo_name": "AlexandreMorinvil/music_paradigm", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "music_paradigm_web/src/store/keyboard.module/getters.js", "max_issues_repo_name": "AlexandreMorinvil/music_paradigm", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "music_paradigm_web/src/store/keyboard.module/getters.js", "max_forks_repo_name": "AlexandreMorinvil/music_paradigm", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.9565217391, "max_line_length": 82, "alphanum_fraction": 0.737804878}
export default {
	// Getter for the piano initialization status
	isKeyboardInitialized: (state) => {
		return state.isKeyboardInitialized;
	},

	isKeyboardPaused: (state) => {
		return state.isKeyboardPaused;
	},

	// Getter for the pressed keys
	currentlyPressedKeyboardKeys: (state) => {
		return state.pressedKeys;
	},

	pressedKeyboardKeys: (state) => {
		return state.played.presses.keys;
	},

	// Getter for the reference keys
	referenceKeyboardKeys: (state) => {
		return state.referenceKeys;
	},

	results: (state) => {
		return state.played.evaluation.results;
	},

	keyboardSimpleLogSummary: (state) => {
		return {
			referenceKeyboardName: '@keyboard_sequence : ' + state.referenceKeys.join('-'),
			referenceKeyboardKeys: state.referenceKeys,

			pressedKeyboardStartTime: state.played.startTime,
			pressedKeyboardKeys: state.played.presses.keys,
			pressedKeyboardTime: state.played.presses.time,
			pressedKeyboardDuration: state.played.presses.duration,
			pressKeyboardConsideredStart: state.played.evaluation.consideredStart,
		};
	},

	keyboardSimpleLogPreprocesed: (state) => {
		return state.played.evaluation.results;
	},
};
