Feb 28, 2007 #1 Gdg2k5 Programmer Feb 28, 2007 1 IT Does any1 know how i would go about modelling a soundwave in qbasic... Thanx
Apr 15, 2007 #2 franklin97355 Technical User Jul 11, 2002 3,753 US Just what do you mean by model? the sin function will give you a value, what you do with it is up to you. The answer is "42" Upvote 0 Downvote
Just what do you mean by model? the sin function will give you a value, what you do with it is up to you. The answer is "42"
Jun 22, 2007 #3 ngxGraz Technical User Jun 22, 2007 56 CA depending the screen mode/resolution. A = (half of height of screen) B = width of screen for i=0, i < b print a dot at (x,A-A*sin(x)) if it's too 'smushed' then multiply the x in the sin line a factor. this is crappy old pseudocode, but i hope it helps. Upvote 0 Downvote
depending the screen mode/resolution. A = (half of height of screen) B = width of screen for i=0, i < b print a dot at (x,A-A*sin(x)) if it's too 'smushed' then multiply the x in the sin line a factor. this is crappy old pseudocode, but i hope it helps.