Skip to content

Conversation

@Lucas-Mc
Copy link
Contributor

@Lucas-Mc Lucas-Mc commented Jun 17, 2020

Introduces the conversion of WAV files to MIT format. Fortunately, it doesn't use any outside libraries (even Python's wave package) since it is simply read using struct.unpack(). Further work plans to generate the .dat files. I think the .hea files can already be generated though some information may not appear correct due to the loss of some information while being stored in WAV format, such as only one adc_res and adc_gain value instead of a list provided in EDF format, for example. For this reason, writing test cases for this function may be difficult though I might explore it in the future if time permits and demand commands it.

Introduces the conversion of WAV files to MIT format. Fortunately, doesn't use any outside libraries (even Pythons wave package) since it is simply read using struct.unpack. Further work plans to generate the .dat files. I think the .hea files can already be generated though some information may not appear correct due to the loss of some information while being stored in WAV format, such as only one adc_res and adc_gain value instead of a list provided in EDF format, for example. For this reason, writing test cases for this function may be difficult though I might explore it in the future if time permits and demand commands it.
@Lucas-Mc Lucas-Mc self-assigned this Jun 17, 2020
@Lucas-Mc Lucas-Mc merged commit f65cf2e into master Jun 18, 2020
@Lucas-Mc Lucas-Mc deleted the wav2mit branch June 18, 2020 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants