All Questions
4 questions
0
votes
2
answers
45
views
Pset3, Issue with duration in helpers. Can't compile, strange error message
Back again, this time trying to figure out pset3. I think everone is familiar with the pset, but for anyone who isn't, I'm trying to convert a fraction (1/8, 1/4, 1/2, etc) to a number of eighths.
...
0
votes
1
answer
83
views
PSET3: Music, getting this error 'expected exit code 0, not 1'
Please I'm getting this error when I try to submit pset3.
expected exit code 0, not 1
My code for synthesizing works fine and I'm able to play wav files from text files.
I'm not sure if it's ok ...
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 ...