old demo that i want to try in mbed studio

Dependencies:   mbed SDFileSystem_Copy_of_mbed_version I2S

Revisions of NotchingDemo.cpp

Revision Date Message Actions
90:1dce46f0d9e5 2020-05-16 current version to try in mbed studio File  Diff  Annotate
89:936f37f90cc2 2019-10-03 WIP - minor changes on this old branch File  Diff  Annotate
88:76a4563ee9c7 2019-10-02 WIP - branch. Have performed tests where I have the exact same number of classSoundFile objects, but have no issues unlike in the top branch. Makes absolutely no sense whatsoever. File  Diff  Annotate
87:f5c9beae06ac 2019-10-02 WIP - still isn't working File  Diff  Annotate
86:404ce47e1e6e 2019-10-02 WIP - there is a memory problem that doesn't make sense. I have DEFINITELY filled up memory more than this. File  Diff  Annotate
85:e0c9ba778ae0 2019-10-02 WIP - as soon as i add in one more very small classSound object, the whole thing falls over. absolutely no point doing this project, mbed's resources on this chip are CRAP File  Diff  Annotate
84:0a259e261532 2019-10-02 WIP - have switched to this branch as I could not get this to work without "blipping" in the later commits File  Diff  Annotate
83:5b61f67f3020 2019-10-02 makes weird "pfft pfft pfft" noise when I dont use "Sound1.data_sptr" directly, but only indirectly File  Diff  Annotate
82:3694ee23a4d7 2019-10-02 WIP - trying to get errors out of the main loop File  Diff  Annotate
81:ec3a68c93bee 2019-10-01 WIP - trying to get new block logic working File  Diff  Annotate
80:9c70dc3fc16b 2019-10-01 WIP - minor changes. think my issues are all to do with pointers. can i cast to type without using pointers, so as i can advance wherever the heck i want to within a file? File  Diff  Annotate
79:00cc7799407f 2019-10-01 WIP - the issue i am getting here does not make any logical sense. Once I have assigned a variable, it should not make any difference if i change the variable i assigned it to File  Diff  Annotate
78:69a0c7a5fbdf 2019-10-01 seem to have solved this issue by reading everything for wav 2 into Sound2.FileInfo. File  Diff  Annotate
77:e93c944ed30f 2019-10-01 WIP - there is a bug which makes NO SENSE. If i assign data to data_sptr2, then we only hear file 2. But if we dont have this then we only hear file 1. File  Diff  Annotate
76:9535aedba4da 2019-10-01 WIP - ISSUE STILL HERE. does not make any sense. An fread up in the problem code can take 3000-odd micro seconds to occur. however only takes between 7 and 22 us to occur in the regular "notch" section at the end. File  Diff  Annotate
75:8a71e269b890 2019-10-01 WIP - ISSUE - appears to take 3000-odd micro seconds to perform freads in this section. CHECK how long it takes in the section that works! File  Diff  Annotate
74:e71a7815f63d 2019-09-30 WIP can play a single sound but can't do the fading yet (just sounds bitty and horrible for no apparent reason). File  Diff  Annotate
73:a5ab93214728 2019-09-30 WIP - This should do something, but instead get "Mbed OS fault handler. FAult type: hard fault" error File  Diff  Annotate
72:599068243a0f 2019-09-30 WIP - believe most of this logic is here? Now need to implement handshaking flag system? File  Diff  Annotate
71:1364f7d7bff3 2019-09-30 WIP - more changes File  Diff  Annotate
70:2b144da2c3b8 2019-09-30 WIP - still adding logic to the FadeIn stuff in Play_WaveFileLoop File  Diff  Annotate
69:df10ee3ad523 2019-09-29 WIP - have added some of the logic required into the Play_WaveFileLoop Fnc. File  Diff  Annotate
68:55e26c5e837b 2019-09-29 WIP - more minor changes File  Diff  Annotate
67:043fe0b81343 2019-09-29 WIP - Now contains Nothching up ISR and some other things. The main WaveFileLoop code can now be modified! File  Diff  Annotate
66:edf370edd21c 2019-09-29 WIP - NotchUpIsr() and NotchDownIsr() copied from another commit. File  Diff  Annotate
65:8b6a4e307941 2019-09-29 WIP - Added in a new class: classFade File  Diff  Annotate
64:6061ffe25985 2019-09-29 WIP - copied over "FadeDataInitialise" function File  Diff  Annotate
63:a8c1971d3d42 2019-09-29 WIP - Have now added various new elements to classPositionIndicators File  Diff  Annotate
62:ac63dfe15ef9 2019-09-27 Version to Read in all the different notch transition files and output their start and end times. File  Diff  Annotate
61:212d2db45c56 2019-09-27 WIP - adding in the stuff to do switching between files File  Diff  Annotate
60:36df2997de3d 2019-09-27 WIP - MILESTONE - Seem to be able to loop round a "file" within a file. File  Diff  Annotate
59:8e7c25a915a0 2019-09-27 WIP - when playing the largest file in a loop, you can hear a "blip". why?? Was this to do with the way that Audacity puts this all together? File  Diff  Annotate
58:a174e7a8f5f2 2019-09-27 WIP getting a mad error. Warning L6320W: Ignoring --keep command. Cannot find argument 'os_cb_sections'. File  Diff  Annotate
57:0c76b15cabaf 2019-09-27 WIP - part way through changing this to work for one large "Notch Sounds" File File  Diff  Annotate
56:3755c53ac4c6 2019-09-27 WIP - Commented out stuff to read in a bunch of files, the files do indeed include 44 byte long headers. Now to start playing loops from one large file! File  Diff  Annotate
55:5a441d3b0d57 2019-09-23 WIP - trying to read in sizes of data, so as we know whereabouts our file position indicators will need to go to, when all the sound is amalgamated into one huge file File  Diff  Annotate
54:606a83fff291 2019-09-23 WIP - version before seeing data sizes File  Diff  Annotate
53:954e8ac1df17 2019-09-15 wip - just makes a stupid sinusoid noise now WHY File  Diff  Annotate
52:3372052bb105 2019-09-14 wip - have taken out the fopen and close stuff, but still getting horrid "spitting" noise File  Diff  Annotate
51:dab013a902bd 2019-09-14 wip - playing stuff but still not correct. try and solve on Mon. 16/09/2019 File  Diff  Annotate
50:78ded157e9bb 2019-09-09 Added in appropriate stuff. Yet it does not work yet. Sounds terrible... File  Diff  Annotate
49:ce6b36eb0d88 2019-09-09 wip - not finished and doesn't even compile at the moment File  Diff  Annotate
48:01490448a05a 2019-09-08 WIP - beginning to add in extra code to make Transitions between notches work. Haven't figured out how to get passing in the names to work, but this will come later. Need to check that opening and closing dynamically wont stop it sounding good!! File  Diff  Annotate
47:9334a8f54997 2019-09-08 FINISHED - a basic Fade In demo. We aren't even using a switch on the input, and we have not yet written block 2. We also need to add in appropriate code to make fclose of different files work (hopefully) File  Diff  Annotate
46:de390e45c2af 2019-09-08 WIP current iteration, still not quite working File  Diff  Annotate
45:0e8e1f2ec5d2 2019-09-08 WIP - only seems to play a file. The FAding is not working (turns out the fade coefficients are NOT being recalculated!) File  Diff  Annotate
44:a9e84d333a6a 2019-09-08 WIP - Adding in appropriate info to use new method of sharing objects, Tristan and Rory idea File  Diff  Annotate
43:890d76ffe627 2019-09-07 WIP - more vectors stuff removed File  Diff  Annotate
42:f481dcabdc34 2019-09-07 WIP - Some vector junk removed, in prep for new method after conv. with Tristan File  Diff  Annotate
41:5dca752e6c40 2019-09-07 Last version to contain any mention of Vectors. Will be doing this another way after conv with Tristan File  Diff  Annotate
40:ba34990514fa 2019-06-17 WIP - Can now print out members of vectors, and delete vector elements. However, deleting an element does not leave an empty element. Need to find a way to replace any given deleted element with a placeholder (low memory) element. File  Diff  Annotate
39:69d5a5dd9163 2019-06-17 WIP - added in vector tests (not working at all, probably a stupid hardware issue as per usual) File  Diff  Annotate
38:3b4c05af5f36 2019-06-02 WIP - makes no sense. I can open up 15 files and close them one by one. But I CANNOT do this if it is done via Sound[aaa].FileInfo.WavFile... It will then hang.... File  Diff  Annotate
37:a563899ac0df 2019-05-27 WIP - Added in code to take logs of file names (non-interactive) File  Diff  Annotate
36:569ec4335f92 2019-05-27 WIP - just changing classSoundFile File  Diff  Annotate
35:4469b508dda3 2019-05-27 WIP - Can open wav file within play_wavefiledual and play it (with slight pause). File  Diff  Annotate
34:26118c8f2e48 2019-05-27 WIP - Can open another file whilst playing one such file (the file we are opening is unrelated to the 2 we are trying to play) File  Diff  Annotate
33:a75f0a30fbdc 2019-05-26 WIP - testing to see if we can switch files inside the main play loop. File  Diff  Annotate
32:6ee488c97dcc 2019-05-26 WIP - can transition between files naturally IF FILES ALREADY OPEN. File  Diff  Annotate
31:0f8c3adf09c3 2019-05-26 WIP - Have now discovered that the opening and closing may only take 5us and 13us respectively. Does this mean we can solve our overall problem? File  Diff  Annotate