Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Ask Questions

Post your questions here and a professor/TA will answer them.

I promised that I would check out the problem with the quiet() function (Sound Coding, Q1) that arose in class.
# This is a valid JES program that generates a range error because of a bug with JES 3.
# It would get you full marks.
def quiet(sound):
  for sample in getSamples(sound):
    setSample(sample, 0)

# This is the version using ranges of samples. It really DOES work.
def quiet(sound):
  for snum in range(1, getLength(sound)+1):
    setSampleValueAt(sound, snum, 0)

I think the problem I had with the second function was that I did not re-load the function. Duh. Colin Potts

I also promised that I would post a (nearly) complete solution to Sound Coding, Q5 later today. We don't usually do that with test reviews, and we won't do that with other questions, but I ran out of time in class. Colin Potts
This is posted in the lecture slides/code under Design and Debugging http://coweb.cc.gatech.edu/cs1315/5168, because I wanted to show the stages I go through when writing something like this. This is much more complex than any question on the forthcoming test, so don't worry about having to produce something like this in a timed test. However, all the techniques and knowledge incorporated in the solution are things that you should know by now. Colin Potts

Toni- Did you ever figure out the answers to the questions we had in class? If so, I think it would be beneficial to post it here or as an announcement. Thanks, Steph
Since some of the functions in the book differ from functions used in class and on homeworks, will both forms of the functions be accepted on the exam?

ex: normalizing, increasing/decreasing volume, etc
Any code that works in JES will be graded as correct on an exam. Amanda Bennett
16 bits are used to represent sound right?
yes, and 8 for pictures
for the tracing movie code number two...we cant figure out where the rectangle moves. We looked at examples of code from hw3 but they all have the same string form.
The first part, 2nd question, it moves from top to bottom. I removed the entire 2nd part from the review because it was hard. Read my announcement in red. - Bobby Mathew
what is clipping?
in sounds is = equal to == in pictures? I don't remember doing any = in class for sounds. Would the ear drum be the rods & cones or the eye ball?
For sound coding number six I know that you would have to do getLength(sound) but could you just print what that value gets you or do you need to convert something?

yea im having problems with that one too. can someone answer it please.. thanks

can somebody please help me out with that? just a hint...

Link to this Page