Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Changing Volume in Music?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Fexter




PostPosted: Fri Nov 04, 2011 5:09 pm   Post subject: Changing Volume in Music?

What is it you are trying to achieve?
I want to make a program that plays music, and allows the user to change the volume in the music.

What is the problem you are having?
I can't figure out what code to use to get the volume to change, other than to turn it off and back on.


Describe what you have tried to solve this problem
I have tried searching in the Documentation menu, but can't find anything that would work.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
I don't have any code for changing the volume, but I am using the following commands to play and stop it:

Turing:


Please specify what version of Turing you are using
I am using Turing 4.1.1.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Fri Nov 04, 2011 5:26 pm   Post subject: RE:Changing Volume in Music?

There are a number of volume filters that are passed though:
- volume knob on the hardware speakers
- volume controls in the operating system
- volume controls (if implemented) in the music playing library

I don't believe that Turing has access to any of those. Although you could fake volume controls if you pre-record music files at different volume levels, and switch between those. That will allow for some control within a limited range.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: