BRIAN YU: Let's dive into helpers.c, where
you'll be writing all of your code.
In this problem, we're asking you to implement three different functions
in helpers.c--
is_rest, duration, and frequency.
Let's take a look at is_rest first.
The goal of is_rest is going to be a function
that we can see from its signature takes in a string, which we'll call s,
and returns a Boolean.
And effectively all is_rest needs to do is if s represents a rest, returns
true.
Otherwise it's going to return false.
So if you think back to how we represented rests using our notation
and what notes looked like on a given line
and what rests looked like in a given line,
you'll be able to figure out what it means for a particular line
to represent a rest.
If you're unsure, just think back to what our representation looks like
and how notes and rests are represented, and rest assured, you'll figure it out.