Hi everyone, I’m new to ProffieOS. I know Python fairly well and whilst different it does help me kinda work some of this stuff out.
My setup is closely based on MiCom which no longer produces sound rigs for cosplay etc. My friend has one so I know how the hardware is setup (Teensy).
But obviously I can’t see the profile that has been installed on the board. (Recently found there is one included in the OS folders ‘teensy_audio_shield_micom.h’).
I’m just trying to piece everything together.
In the config file above I see some presets which mentions some sound files but these can’t be the only ones that are used. How does this reference what would be on the SD Card?
#ifdef CONFIG_PRESETS
Preset presets[] = {
{ "vadert~1", "tracks/vader.wav", ""},
{ "micom2", "tracks/cantina.wav", ""},
{ "vader", "tracks/vader.wav", ""},
{ "TeensySF", "tracks/title.wav", ""},
};
I then also see this file is referencing another one:
#include “…/props/micom.h”
Is where we are defining what the buttons do? IE Click or Hold.
I see there is stuff in there for moving into a ‘sub category’ of sound files which I know is used on some profiles such as Vader. but not for every button.
The others have different sounds depending on whether the button is clicked or held.
Am sure these wont be my last questions but this will certainly get me started.
Many thanks!