Closed danpaul closed 11 years ago
Oh man, I feel silly. The issue was with iTunes, apparently playing a cached copy of the file. Things seem to be working fine when I open the wave file with a different application.
Thanks, I'm glad you find this gem useful! Since it sounds like you fixed the problem, I'll close this issue.
Thank you for your work on this. I really like this project. I have however noticed some odd behavior. When I write a file, if I attempt to overwrite, no changes are recorded. Oddly, even if I delete the file and allow the application to recreate it, the data from the previous file is recreated. However, if I change the file name, the new data is written to file. I'm not sure if I'm doing something wrong or if there's a bug.
Here is the application I'm working on:
After recording the 440 tone, if I then change it, the old tone is still recorded, even if I delete the file and allow the application to recreate it. However, if I rename the file i.e. "a_440_2.wav", the new tone will be recorded.
I'm using Ruby 1.9.3 and wavefile 0.5.0 on OSX 10.8.2
Thanks again.