Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
399 views

is_rest() and duration() bugs in helpers.c of Pset3 Music

// Helper functions for music #include <stdio.h> #include <cs50.h> #include <string.h> #include <math.h> #include "helpers.h" // Converts a fraction formatted as X/Y to ...
D.Tan's user avatar
  • 3
0 votes
1 answer
111 views

Pset 3 Music. Brute forced the frequency function, no syntax errors but only getting 0's for all my answers? Any Ideas?

I know my code is not clean at all. For the frequency function I just brute forced it by just starting with "what if there were only A's?" and copied that for the rest of the letters. Naturally messy ...
Ali Halawa's user avatar
0 votes
3 answers
2k views

Pset3 music - load of null pointer of type 'char'

So I just finished up pset3 and when I run checks for correctness and style everything comes up good. The only issue I seem to be having is if I go to manually test with ./synthesize test.wav then ...
DylieWylie's user avatar