Closed ali-fairbrass closed 9 years ago
You can get the sampling rate from the sound4python, as it was done in the previous calculation:
sr = self.s4p.wav[0]
On 29/10/14 11:19, ali-fairbrass wrote:
Have added new code to convertLabelRectsToRects to calculate frequency. This requires getting the sample rate of the wav file within the function (line 943). I've added filepath as an input to the function. However I get an error message when opening audioTagger saying issue at line 415 when the function is called by the updateSettings function. I think it's because the filepath is not being sent to convertLabelRectsToRects properly.
— Reply to this email directly or view it on GitHub https://github.com/groakat/AudioTagger/issues/55.
Have added new code to convertLabelRectsToRects to calculate frequency. This requires getting the sample rate of the wav file within the function (line 943). I've added filepath as an input to the function. However I get an error message when opening audioTagger saying issue at line 415 when the function is called by the updateSettings function. I think it's because the filepath is not being sent to convertLabelRectsToRects properly.