<< Chapter < Page Chapter >> Page >
This module explains how to create an audio graph of a sinusoid in a format that is accessible to blind students. The program could easily be modified to create audio graphs of other functions such as parabolas, exponentials, etc. The module also explains how to create stereo sound.

Table of contents

Preface

This module is part of a collection titled Accessible Objected-Oriented Programming Concepts for Blind Students using Java . It explains how to create an audio graph of a sinusoid in a format that isaccessible to blind students. The program could easily be modified to create audio graphs of other functions such as parabolas, exponentials, etc.

Previous modules have created only monaural sound. This module also explains how to create stereo sound.

Viewing tip

I recommend that you open another copy of this module in a separate browser window and use the following links to easily find the listings while you are reading about them.

Listings

  • Listing 1 . Beginning of the class named AudioGraphSinusoidal.
  • Listing 2 . Beginning of the getMelody method.
  • Listing 3 . Declare speaker volume variables.
  • Listing 4 . Miscellaneous operations.
  • Listing 5 . Map the sinusoidal function values into pulse frequencies.
  • Listing 6 . Shape the pulse amplitude from beginning to end.
  • Listing 7 . Compute the gain for the left and right speakers.
  • Listing 8 . Deposit stereo audio data in the melody file.
  • Listing 9 . The class named MusicComposer07.
  • Listing 10 . The class named AudioGraphSinusoidal.

General background information

Previous modules have introduced you to the concept of an audio graph consisting of audio pulses that represent points on the graph of a function.Click AudioGraphSquareWave to hear an audio graph of a square wave function. Click AudioGraphSinusoidal to hear an audio graph of a sinusoidal function. (You should be able to play these audio files with any standard media player that can handle the AU file type. In case you are on the OpenStax site and youare unable to download the audio files, click the Legacy Site link at the top of this page to switch over to the same module on the Legacysite. You should be able to download the audio files from there.)

In this module, I will explain how to create the audio graph of the sinusoid. The program could easily be modified to create audio graphs of other functionssuch as parabolas, exponentials, etc.

Questions & Answers

What is the law of demand
Yaw Reply
price increase demand decrease...price decrease demand increase
Mujahid
ıf the price increase the demand decrease and if the demand increase the price decrease
MUBARAK
all other things being equal, an increase in demand causes a decrease in supply and vice versa
SETHUAH
yah
Johnson
how is the economy of usa now
Johnson
What is demand
jude Reply
Demand is the quantity of goods and services a consumer is willing and able to purchase at various prices over a given period of time.
Yaw
yea
SETHUAH
Okay congratulations I'll join you guys later .
Aj
yes
MUBARAK
calculate elasticity of income exercises
HABANABAKIZE Reply
If potatoes cost Jane $1 per kilogram and she has $5 that could possibly spend on potatoes or other items. If she feels that the first kilogram of potatoes is worth $1.50, the second kilogram is worth$1.14, the third is worth $1.05 and subsequent kilograms are worth $0.30, how many kilograms of potatoes will she purchase? What if she only had $2 to spend?
Susan Reply
cause of poverty in urban
DAVY Reply
QI: (A) Asume the following cost data are for a purely competitive producer: At a product price Of $56. will this firm produce in the short run? Why Why not? If it is preferable to produce, what will be the profit-maximizing Or loss-minimizing Output? Explain. What economic profit or loss will the
Falak Reply
what is money
DAVY Reply
money is any asset that is generally acceptable for the exchange of goods and for the settlement of debts
Mnoko
what is economic
Stephen Reply
economics is the study of ways in which people use resources to satisfy their wants
Falak
what is Price mechanism
Dhany Reply
what is Economics
ERNESTINA
The study of resource allocation,distribution and consumption.
Emelyn
introduction to economics
Uday Reply
welfare definition of economics
Uday
examine the wealth and welfare definitions of economics
Uday
read book by ml jhingan
Anand
What do we mean by Asian tigers
Aeesha Reply
Dm me I will tell u
Shailendra
Hi
Aeesha
hi
Pixel
What is Average revenue
KEMZO
How are u doing
KEMZO
it is so fantastic
metasebia
uday
Uday
it is a group of 4 countries named Singapore, South Korea, Taiwan and Hong Kong because their economies are growing very faster
Anand
fyn
EDWARD
Please, average revenue is an amount of money you gained after deducted your total expenditure from your total income.
EDWARD
what's a demand
Edward Reply
it is the quantity of commodities that consumers are willing and able to purchase at particular prices and at a given time
Munanag
quantity of commodities dgat consumers are willing to pat at particular price
Omed
demand depends upon 2 things 1wish to buy 2 have purchasing power of that deserving commodity except any from both can't be said demand.
Bashir
Demand is a various quantity of a commodities that a consumer is willing and able to buy at a particular price within a given period of time. All other things been equal.
Vedzi
State the law of demand
Vedzi
The desire to get something is called demand.
Mahabuba
what is the use of something should pay for its opportunity foregone to indicate?
Random Reply
Why in monopoly does the firm maximize profits when its marginal revenue equals marginal cost
astrid Reply
different between economic n history
Falma Reply
A soccer field is a rectangle 130 meters wide and 110 meters long. The coach asks players to run from one corner to the other corner diagonally across. What is that distance, to the nearest tenths place.
Kimberly Reply
Jeannette has $5 and $10 bills in her wallet. The number of fives is three more than six times the number of tens. Let t represent the number of tens. Write an expression for the number of fives.
August Reply
What is the expressiin for seven less than four times the number of nickels
Leonardo Reply
How do i figure this problem out.
how do you translate this in Algebraic Expressions
linda Reply
why surface tension is zero at critical temperature
Shanjida
I think if critical temperature denote high temperature then a liquid stats boils that time the water stats to evaporate so some moles of h2o to up and due to high temp the bonding break they have low density so it can be a reason
s.
Need to simplify the expresin. 3/7 (x+y)-1/7 (x-1)=
Crystal Reply
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
Chris Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play




Source:  OpenStax, Accessible objected-oriented programming concepts for blind students using java. OpenStax CNX. Sep 01, 2014 Download for free at https://legacy.cnx.org/content/col11349/1.17
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Accessible objected-oriented programming concepts for blind students using java' conversation and receive update notifications?

Ask