ProjectSAEJE / ProjectSAEJE

0 stars 0 forks source link

Metronome Sound Output Concurrency #3

Open nashau01 opened 8 years ago

nashau01 commented 8 years ago

The metronome class is functional in the sense that it keeps time with beats internally, but there have been several problems with getting the sound to output correctly. Solving this problem may require greater knowledge multithreading for the application to output sound at the same time that it is recording sound from the user in the CaptureThread class. Attempts using SoundPool and AudioTrack to output the sound has been unsuccessful thus far (the click sound only plays after suspending the recording thread).

woodev01 commented 8 years ago

We should be able to access a Thread Pool, which will allow us to manually multithread it.

nashau01 commented 7 years ago

Did we ever give this a try? I'm thinking we're close to revisiting playback-implementation. We can use some of the code I've already written, if we can easily multi-thread it.