Difficult Question - Multitrack recoring using microphone issue
Hi,
I'm trying to make a simple multitrack recorder in unity (just for fun). I have all the tracks recording and playing together etc but the problem I have is that I obviously want to play back the tracks that have already been recorded whilst recording the new track. When I do this I need to get the track I'm recording and the track that's currently recorded in perfect sync. I'm trying to use AudioSource.timeSamples to do this and Microphone to record but not having much luck. The track that is recording always seems to be about 0.2 of a second behind the track that's playing.
Anyone have any idea how to either change the current time of the playing track to the current time of the recording track (or visa-versa)?
FYI - The issue definitely isn't with the playback as the timestamps are always in sync when just playing both tracks back, they are only out of sync when recording. This then means that when you play the tracks back together, the beats don't match.
Thanks in advance. - I know this is an unusual question and probably not one people have much knowledge of.
James
Your answer
Follow this Question
Related Questions
Recording with two microphones in Unity C# 0 Answers
The microphone.start() function doesn't work in Android platform 0 Answers
Trying to use derive pitch and db from realtime microphone input 0 Answers
Trying to use derive pitch and db from realtime microphone input 0 Answers
Audio Modifies Animation Time 0 Answers