android
  #1  
Old 04-08-2011, 11:46 AM
jameswalker101 jameswalker101 is offline
Junior Member
 
Join Date: Jul 2010
Location: United Kingdom
Posts: 91
Help Guitar Tuner App

I want to improve my guitar tuner app and I think a volume control would be useful. Can anyone help with the code/images needed for this. Thank You.

PS.I don't mind what kind of volume control it is.
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 04-08-2011, 02:51 PM
WooDChecker's Avatar
WooDChecker WooDChecker is offline
Junior Member
 
Join Date: Dec 2010
Location: Germany
Posts: 35
Default

I don't know about the coding, but to make some images for your app should be no problem for me. So, just send me a pm what for graphics you need : )
__________________
Tell me if you need an unique design for your app ; )
Reply With Quote

  #3  
Old 04-08-2011, 06:18 PM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,081
Default

Increase/lower volume functions:
Code:
--Increases volume
function volPlus()
	volOld = audio.volume()
	if(volOld < 25) then
		audio.volume(volOld + 1)
	end
end

--Decreases volume
function volMinus()
	volOld = audio.volume()
	if(volOld > 0) then
		audio.volume(volOld - 1)
	end
end
Called like:
Code:
volPlus()

volMinus()
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^
Reply With Quote

Reply

Tags
guitar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 07:03 AM.