All Questions
2 questions
0
votes
1
answer
508
views
Problem with pow() function, int frequency, helpers.c, pset3, music
I'm not getting the correct frequencies. When I execute ./notes, C4 through G#4 all return 220, and A4 through B4 return 440.
I've determined that the problem must be with pow(), I just don't know ...
2
votes
1
answer
844
views
Pset3 Helpers.c Frequency Not Working
Right now I am working on Pset3 with Music. I'm focusing on getting the frequency (in Hz) of all the octaves of A. I am including accidentals in my work as well.
The problem is that A4 returns 449 ...