android
  #1  
Old 02-19-2010, 06:42 PM
delirius delirius is offline
Member
 
Join Date: Feb 2010
Posts: 131
Default Volume control application

My first app for zen X-Fi 2 is touch menu for changing volume, muting audio and changing output between phones and speaker. I learned a lot making it.

- known bug: it doesnt show correct setting in mute/unmute, but was written by creative api documentation. (any help in solving this would be apreciated)

feel free to share and modify code.
Attached Images
File Type: jpg volumeApp.jpg (13.4 KB, 116 views)
Attached Files
File Type: zip +-Volume.zip (46.2 KB, 946 views)

Last edited by delirius; 06-29-2011 at 05:16 AM.
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 02-20-2010, 03:16 AM
Tetrajak Tetrajak is offline
Member
 
Join Date: Feb 2010
Location: Oceania
Posts: 124
Default

Tested the App, it all works perfectly. Where exactly is this mute/unmute display that isn't working?
Reply With Quote

  #3  
Old 02-20-2010, 04:48 AM
Habhome's Avatar
Habhome Habhome is online now
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

I tried this app and this is my result:

I played a song and opened the app. Then I tried to (without headphones plugged in) set it to headphones. The audio disappeared as suspected. I set it back to speaker and it came back, all is well. Then I increased the volume a bit, worked, decreased, worked. I tried muting with the red button, it muted. I pressed the red again to see what happened, nothing of course. I pressed green and the sound came back, all is well. Then I pressed on the mute buttons again, I think it was the green one, and my player crashed completely and shut itself off.

I don't know if it was due to my combination of presses or something that just happened right then and was time delayed, but it crashed so there is probably something needing to be fixed, I cant determine what exactly.
__________________
"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

  #4  
Old 02-20-2010, 06:38 AM
delirius delirius is offline
Member
 
Join Date: Feb 2010
Posts: 131
Default

Thanx for feedback.

I use this app myself, because volume slider is too small and not precise enough. I Got no problems so far.

What firmware version do you have? I have 1.11.01

PS.: If firmware isnt cause, than i would appreciate check from lua programmer out here. I am just learning lua now.
Reply With Quote

  #5  
Old 02-20-2010, 07:35 AM
Habhome's Avatar
Habhome Habhome is online now
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Quote:
Originally Posted by delirius View Post
What firmware version do you have? I have 1.11.01

PS.: If firmware isnt cause, than i would appreciate check from lua programmer out here. I am just learning lua now.
I'm running the latest, not sure which one it is but I believe it's the 1.11.01?
__________________
"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

  #6  
Old 02-21-2010, 12:16 AM
nikc4 nikc4 is offline
Junior Member
 
Join Date: Feb 2010
Location: In a cardboard box
Posts: 46
Default

It would be awesome if you added a mono function that put both channels on both sides so that those of us who spend a lot of time with only one bud in will still hear all of the music.
Reply With Quote

  #7  
Old 02-21-2010, 11:44 AM
Tetrajak Tetrajak is offline
Member
 
Join Date: Feb 2010
Location: Oceania
Posts: 124
Default

Quote:
Originally Posted by nikc4 View Post
It would be awesome if you added a mono function that put both channels on both sides so that those of us who spend a lot of time with only one bud in will still hear all of the music.
Despite how useful this might be, I'm afraid there's no ZEN specific Lua code to change the audio output to mono. It's a cool idea though.
Reply With Quote

  #8  
Old 02-21-2010, 09:52 AM
chritysixty4 chritysixty4 is offline
Junior Member
 
Join Date: Feb 2010
Posts: 1
Default

i'm brand spanking new here today and am about to install my first app, but dumb as i am, can someone explain how i install it....please?

cheers!
Reply With Quote

  #9  
Old 02-21-2010, 10:08 AM
LordXenos's Avatar
LordXenos LordXenos is offline
Junior Member
 
Join Date: Dec 2009
Location: Louisville, KY, USA
Posts: 94
Default

@chritysixty4:

1. Download the .zip file of the app
2. Extract ALL of the contents from the .zip file
3. Plug your X-Fi2 into your computer
4. Create a new folder (with the app name) in the 'Applications' folder of your X-Fi2
5. Transfer ALL of the unzipped files into the folder (with windows explorer or similar program)
6. Safely remove your X-Fi2 from your computer
7. On you X-Fi2, select the applications icon from the main menu then select the desired app.
8. Enjoy!
__________________
If you have a question, please ask. I am more than happy to help.

Cheers,
Your friendly neighborhood
Dark Lord
Reply With Quote

  #10  
Old 03-22-2011, 09:06 PM
jnrice jnrice is offline
Junior Member
 
Join Date: Mar 2011
Posts: 3
Default

Love it! What are the odds of making a new player interface? I drive with mine and I am just looking for HUGE play controls (could care less about what is playing), maybe let the finger swipe go to the next track? Also can't seem in figure out how to get it to shuffle all content on the player, but I just got it so...
Reply With Quote

  #11  
Old 03-23-2011, 01:52 AM
Habhome's Avatar
Habhome Habhome is online now
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Quote:
Originally Posted by jnrice View Post
Love it! What are the odds of making a new player interface? I drive with mine and I am just looking for HUGE play controls (could care less about what is playing), maybe let the finger swipe go to the next track? Also can't seem in figure out how to get it to shuffle all content on the player, but I just got it so...
Not very likely to happen, we do not have access to those controls whatsoever, controlling the volume is as close as we can get, the rest we are shut out from.
__________________
"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

  #12  
Old 06-25-2011, 07:12 AM
Nediam Nori Nediam Nori is offline
Junior Member
 
Join Date: Jun 2011
Posts: 12
Default

do bass regulation
Reply With Quote

  #13  
Old 06-25-2011, 03:08 PM
delirius delirius is offline
Member
 
Join Date: Feb 2010
Posts: 131
Default

Quote:
do bass regulation
Unfortunately, i cant. There aren't functions in api for this.
Reply With Quote

  #14  
Old 06-28-2011, 02:23 PM
jameswalker101 jameswalker101 is offline
Junior Member
 
Join Date: Jul 2010
Location: United Kingdom
Posts: 91
Default

Could you upload a screenshot?

Good app by the way, better than the fiddly slider.
__________________
Apps: Guitar Tuner- http://anythingbutipod.com/forum/showthread.php?t=61049
Reply With Quote

  #15  
Old 06-29-2011, 05:17 AM
delirius delirius is offline
Member
 
Join Date: Feb 2010
Posts: 131
Default

Quote:
Could you upload a screenshot?
You are right, i totally forgot.
Reply With Quote

Reply

Tags
application, buttons, control, volume, zen x-fi 2

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 11:31 AM.