old demo that i want to try in mbed studio
Dependencies: mbed SDFileSystem_Copy_of_mbed_version I2S
Revision 84:0a259e261532, committed 2019-10-02
- Comitter:
- roryhand
- Date:
- Wed Oct 02 19:16:26 2019 +0000
- Branch:
- LargeFile_Tests
- Parent:
- 78:69a0c7a5fbdf
- Child:
- 85:e0c9ba778ae0
- Commit message:
- WIP - have switched to this branch as I could not get this to work without "blipping" in the later commits
Changed in this revision
| NotchingDemo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/NotchingDemo.cpp Tue Oct 01 20:14:26 2019 +0000
+++ b/NotchingDemo.cpp Wed Oct 02 19:16:26 2019 +0000
@@ -728,7 +728,7 @@
*/
//else
//{
- *Sound1.data_sptr = *data_sptr1*NotchFadeOut.FadeCoeff + *data_sptr2;
+ *Sound1.data_sptr = *data_sptr1;//*NotchFadeOut.FadeCoeff + *data_sptr2;
//*Sound1.data_sptr = *data_sptr1;// + *data_sptr2;
@@ -754,7 +754,9 @@
printf("It took %d useconds to perform fread operation.\n\r",OperationsTimer.read_us());
Positions.notch_position_indicators[1] = Positions.notch_position_indicators[1] + 2;//i.e. 2 bytes, per sample, for 2-byte (16-bit) data
*/
- Sound1.data_sptr=(short *)Sound1.FileInfo.slice_buf; // 16 bit samples
+ data_sptr1=(short *)Sound1.FileInfo.slice_buf;
+ *Sound1.data_sptr = *data_sptr1;
+ //Sound1.data_sptr=(short *)Sound1.FileInfo.slice_buf; // 16 bit samples
}
//=============================================================================================