Re: [SlimDevices: Touch] Changing volume control increments.
Imagewerx wrote: > By this do you mean I can only change from linear as it is now to > logarithmic? I wouldn't mind keeping it linear,but changing it to say > 0-30 for full volume rather than 0-100 if that's possible. No - I said the table is not linear and perception of loudness is not linear. Loudness is measured with a logarithmic scale but human perception of loudness is not necessarily logarithmic. It is up to you how you change the entries in the table. The volume map from the file Code: # The original Squeezebox2 firmware supported a fairly narrow volume range # below unity gain - 129 levels on a linear scale represented by a 1.7 # fixed point number (no sign, 1 integer, 7 fractional bits). # From FW 22 onwards, volume is sent as a 16.16 value (no sign, 16 integer, # 16 fractional bits), significantly increasing our fractional range. # Rather than test for the firmware level, we send both values in the # volume message. # We thought about sending a dB scale volume to the client, but decided # against it. Sending a fixed point multiplier allows us to change # the mapping of UI volume settings to gain as we want, without being # constrained by any scale other than that of the fixed point range allowed # by the client. # Old style volume: # we only have 129 levels to work with now, and within 100 range, # that's pretty tight. # this table is optimized for 40 steps (like we have in the current player UI. my @volume_map = ( 0, 1, 1, 1, 2, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 13, 14, 15, 16, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 37, 38, 39, 40, 42, 43, 44, 46, 47, 48, 50, 51, 53, 54, 56, 57, 59, 60, 61, 63, 65, 66, 68, 69, 71, 72, 74, 75, 77, 79, 80, 82, 84, 85, 87, 89, 90, 92, 94, 96, 97, 99, 101, 103, 104, 106, 108, 110, 112, 113, 115, 117, 119, 121, 123, 125, 127, 128 ); bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
bpa wrote: > It's the Player version - I suggest not touching the code but altering > the volume map which has a volume level for each increment (vol control > has about 100 increments in all) but make sure the volume level never > exceeds the maximum level. > > The volume map means at low volume an increment only makes a small > change in volume level but at louder levels - each increment make a > bigger volume change - this is because the way loudness is perceived is > not linear. By this do you mean I can only change from linear as it is now to logarithmic? Imagewerx's Profile: http://forums.slimdevices.com/member.php?userid=62479 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
jimbobvfr400 wrote: > What does the original remote do? If that handles repeating in a more > satisfactory manner then it could simply be the code you have learned > for volume isn't exactly right. > > Does the IR device have the capability to have codes downloaded to it or > is it strictly learning only? > > Sent from my Nexus 7 using Tapatalk I've tried teaching it in both single press and press and hold mode and the output from it is the same,not tried the touch remote since the steering wheel has been installed but will try it again soon.It can only learn commands from an IR transmitter,no download is possible with it. Imagewerx's Profile: http://forums.slimdevices.com/member.php?userid=62479 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
Mnyb wrote: > You have to activate remote login in the settings . > > Touch is a bit quirky . > > You have to > > > Code: > > CD / > > > > Before doing . > > > Code: > > find -name Squeezebox2.pm > > > > There are 2(4) such files on my Touch dont mind the one in the > overlay file system ,thats whats save you when you screw up if you > totally b*llo*x it up you can always factory reset , so it's a risk > free but annoying :D way to learn Linux commands . > > > Code: > > > # cd / > # find -name Squeezebox2.pm > ./usr/squeezecenter/Slim/Display/Squeezebox2.pm > ./usr/squeezecenter/Slim/Player/Squeezebox2.pm > find: ./mnt/overlay: Operation not permitted > # > > > > > I would guess it's this one in > /usr/squeezecenter/Slim/Player/Squeezebox2.pm there is a Volume > function between line 174 - 306 I have not tried to muck with it > myself dont so i would have any specifs to try . I'm still a hopeless noob at this sort of thing.I need an SSH client which I've got,I log in to the IP address the SBT gives me,this is as far as I've got,what am I supposed to do next? Imagewerx's Profile: http://forums.slimdevices.com/member.php?userid=62479 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
jimbobvfr400 wrote: > What does the original remote do? If that handles repeating in a more > satisfactory manner then it could simply be the code you have learned > for volume isn't exactly right. Don't know about Touch but for Boom the IR signal were processed by a microcontroller which IIRC throttled the rate in which signals were generated and sent to LMS to avoid overload but conversely to avoid lags in vol changes, vol control was handled locally and "confirmed " by LMS server. So it's possible max repeat rate cannot be affected by IR remote behaviour. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
Mnyb wrote: > I would guess it's this one in > /usr/squeezecenter/Slim/Player/Squeezebox2.pm there is a Volume function > between line 174 - 306 I have not tried to muck with it myself dont so > i would have any specifs to try . It's the Player version - I suggest not touching the code but altering the volume map which has a volume level for each increment (vol control has about 100 increments in all) but make sure the volume level never exceeds the maximum level. The volume map means at low volume an increment only makes a small change in volume level but at louder levels - each increment make a bigger volume change - this is because the way loudness is perceived is not linear. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
What does the original remote do? If that handles repeating in a more satisfactory manner then it could simply be the code you have learned for volume isn't exactly right. Does the IR device have the capability to have codes downloaded to it or is it strictly learning only? Sent from my Nexus 7 using Tapatalk jimbobvfr400's Profile: http://forums.slimdevices.com/member.php?userid=56857 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
bpa wrote: > If you are using LMS in the SBT - then you login to the SBT using ssh > and then edit the file using vi. I don't know the file structure within > SBT but I'd use find to locate the file. You have to activate remote login in the settings . Touch is a bit quirky . You have to Code: CD / Before doing . Code: find -name Squeezebox2.pm There are 2(4) such files on my Touch dont mind the one in the overlay file system ,thats whats save you when you screw up if you totally b*llo*x it up you can always factory reset , so it's a risk free but annoying :D way to learn Linux commands . Code: # cd / # find -name Squeezebox2.pm ./usr/squeezecenter/Slim/Display/Squeezebox2.pm ./usr/squeezecenter/Slim/Player/Squeezebox2.pm find: ./mnt/overlay: Operation not permitted # I would guess it's this one in /usr/squeezecenter/Slim/Player/Squeezebox2.pm there is a Volume function between line 174 - 306 I have not tried to muck with it myself dont so i would have any specifs to try . Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (in storage SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
Imagewerx wrote: > Ok thanks for that but how do I get and use this code please? If you are using LMS in the SBT - then you login to the SBT using ssh and then edit the file using vi. I don't know the file structure within SBT but I'd use find to locate the file. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
bpa wrote: > The code you want is in the file Squeezebox2.pm - the Touch player is > actually a Squeezeplay.pm type player but there is commonality through > subclassing. Ok thanks for that but how do I get and use this code please? Imagewerx's Profile: http://forums.slimdevices.com/member.php?userid=62479 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
Mnyb wrote: > I don't read this kind of code very well but I do think a starting place > actually is the server code , not the player code . > The perls scripts *.pm are actually humanly readable ( I guess that's > one if the niceties of script language the source is the code and vice > versa ) . Unless you run LMS in win where I think they compiled an exe > off it all . Thank you,so this mean it's do-able but no one has done it yet? Imagewerx's Profile: http://forums.slimdevices.com/member.php?userid=62479 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
DJanGo wrote: > Hmm... > > If you think its easy (without knowing how to code ) and you think i am > not helpful to write down it isnt that easy and i would choose another > way - may thats correct. > > Again you have a workaround (home device in a car) and use another 3rd > party ir thingy and another powercircuit to not let the workaround > shutdown and thats why you need another workaround. The easy way you > cant go cause of you need another (wlan mobile device) workaround to > handle some other things > > None of the less you using the build in lms from the touch. > > > Go to egay buy yourself a ipad 1 forget the steering volume thing (that > must be look ugly if its not a device with the steering wheel) and put > your lib to that ipad tablet. > > You wrote you have no cash to spend but in germany we have a phrase > Domt throw good money into a wortless project. There is no room for another IR transmitter inside the steering wheel,I'm using the smallest one there is and that ONLY JUST fits in there,the airbag occupies the rest of this space.. '[image: https://farm4.staticflickr.com/3878/14242797349_cb672a2122_o.jpg]' (https://flic.kr/p/nGA4rx)'20140614_184245' (https://flic.kr/p/nGA4rx) by 'Imagewerx R32' (https://www.flickr.com/people//) '[image: https://farm4.staticflickr.com/3868/14428148232_5d6e0d28ee_o.jpg]' (https://flic.kr/p/nYY2Nq)'20140615_145749' (https://flic.kr/p/nYY2Nq) by 'Imagewerx R32' (https://www.flickr.com/people//) I would never ever pay a penny for any Apple product ever made,if I did permanently install another controller it would be something like a Nexus 7 Android tablet.But this would get me back to square one again with touch screen controls which are just dangerous in a car when being used by the driver,the reason I've done this is to give me safe hands-free control of the SBT without taking my hands off the wheel or my eyes off the road. And nowhere have I said I don't have any cash to spend on it,I'll spend what ever it costs to get it working my way. Imagewerx's Profile: http://forums.slimdevices.com/member.php?userid=62479 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
Imagewerx wrote: > Again this must be a very simple line of code that sets how fast the > volume control changes by? The code you want is in the file Squeezebox2.pm - the Touch player is actually a Squeezeplay.pm type player but there is commonality through subclassing. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
Imagewerx wrote: > You're not being very helpful are you? I bought my car privately and I > am the alarm fitter at the garage I work at,I can fit a whole new alarm > if I need to but as I've already said,I'd like to find a software way of > doing this first where the SBT itself switches the WLAN off when I put > it into standby and switches WLAN back on again when I take it out of > standby.It's got to be just a couple of lines of code,if so it really > can't be all that difficult can it? Hmm... If you think its easy (without knowing how to code ) and you think i am not helpful to write down it isnt that easy and i would choose another way - may thats correct. Again you have a workaround (home device in a car) and use another 3rd party ir thingy and another powercircuit to not let the workaround shutdown and thats why you need another workaround. The easy way you cant go cause of you need another (wlan mobile device) workaround to handle some other things None of the less you using the build in lms from the touch. Go to egay buy yourself a ipad 1 forget the steering volume thing (that must be look ugly if its not a device with the steering wheel) and put your lib to that ipad tablet. You wrote you have no cash to spend but in germany we have a phrase Domt throw good money into a wortless project. Gruss Jan DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
I don't read this kind of code very well but I do think a starting place actually is the server code , not the player code . The perls scripts *.pm are actually humanly readable ( I guess that's one if the niceties of script language the source is the code and vice versa ) . Unless you run LMS in win where I think they compiled an exe off it all . Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (in storage SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
Mnyb wrote: > The ir device simple repeats to slowly ? Can that be changed . Not according to the man who sells the kit it can't. Imagewerx's Profile: http://forums.slimdevices.com/member.php?userid=62479 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
bpa wrote: > The user has an IR control. This is why I said an LMS solution (e.g. an > applet) is needed to re-enabled as a new menu option which can be > chosen using the IR remote needs to be created which will reenable the > WLAN. > > > As I see it - the volume change and WLAN change are both very niche > requirements and if a solution is created there is an expectation of > ongoing support so it would be better if user could find a solution > which they could support themselves (e.g. check if an IR remote with a > faster repeat function would help). The IR mimic is working at full speed and it makes no difference if I teach it with a single press of the volume buttons or press and hold them,when I ply them back they do them at the slow speed I've mentioned.I have also tried it with another remote I bought specifically for this purpose and it's no different.Again this must be a very simple line of code that sets how fast the volume control changes by? Imagewerx's Profile: http://forums.slimdevices.com/member.php?userid=62479 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch
Re: [SlimDevices: Touch] Changing volume control increments.
DJanGo wrote: > hmm... > > To write code you irst must know what you want:mad: > > > > How do you reenable a disabled wlan over a wlan connection from your > Phone? > > > Than ask the dealer (not the tirekicker just someone how knows about > your alarmthingy) where you buy your car:p You're not being very helpful are you? I bought my car privately and I am the alarm fitter at the garage I work at,I can fit a whole new alarm if I need to but as I've already said,I'd like to find a software way of doing this first where the SBT itself switches the WLAN off when I put it into standby and switches WLAN back on again when I take it out of standby.It's got to be just a couple of lines of code,if so it really can't be all that difficult can it? Imagewerx's Profile: http://forums.slimdevices.com/member.php?userid=62479 View this thread: http://forums.slimdevices.com/showthread.php?t=101736 ___ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch