Home of the Squeezebox™ & Transporter® network music players.
Page 16 of 18 FirstFirst ... 61415161718 LastLast
Results 151 to 160 of 172
  1. #151
    VU meters are available as both a stereo pair and as a single downmix meter

    for the smaller sub-inch downmix would look just fine



    you get these to display by -v for visualization and -m for the meters you want

    RN - random selection of base meters or you can give it a list in any combination of the following

    • SA 12-band Spectrum
    • VU VU meters
    • PK Peak meter (horizontal)
    • ST Spectrum Tornado
    • SM Spectrum Mirror
    • TY Toy VU - "the swoosh"


    NA None, deactivate - use for the gomonitor wrapper

    All-in-One modes

    • A1 all-in-one (special)
    • A1S all-in-one downmix SA
    • A1V all-in-one downmix VU


    -d to use downmix meters where its not implicitly configure - downmix only affect the visual data, audio is not modified

    for multiple mode pop them in quotes and comma separate, e.g.

    "SA,ST,SM,VU'

    for 3 spectrum variants and the VU meters; these would cycle and repeat

    if using gomonitor first param is always the viz modes followed by whatever other overrides/specifics you want

    by default I believe you get random

    if your roll your own command line the you have all the control you'd need for whatever combination

    note if your monitor is running on another device that isn't the pCP visualization is deactivated

    you can get visualization on a 2nd device but you'll need to use the SSE build and data service, discussed in the thread - I've not reviewed this in months - will get more detail and examples into the readme

    there's video of the visualizations in the repo and a bit of detail on what other modes are available

    the first chunky gif in the readme shows some of the viz modes in action too

    the modes have been discussed a couple of times in this thread including all-in-one modes

    • Stereo VU Meters - dBfs metered
    • Stereo 12-band Spectrum Analysis
    • Stereo 12-band "tornado" Spectrum Analysis
    • Stereo 12-band "mirror" Spectrum Analysis
    • Stereo Peak Meter - dBfs metered
    • Large Downmix (visual data only) VU meter
    • Large Downmix (visual data only) Spectrum
    • All-In-One - track details and spectrum/VU "swoosh" (use -a1 or simply -a)
    • All-In-One - fixed mode (use -a2 or simply -a -a)


    for temperature there's info about the weather parameter

    "weather", 'W', "APIKEY,UNITS", 0,
    "Climacell API key and required units (optional)"},

    "us" for F - described in the climacell docs as "Royal" - I guess they mean Imperial unless the PC world has caught up with temperature unit nomenclature
    "si" for C - for "Metric" - I guess they mean ISO

    so apikey,si
    Last edited by shunte88; 2020-09-15 at 21:31.
    As of 2020/09/22

    Total Tracks: 153,334
    Total Albums: 14,149
    Total Artists: 19,943
    Total Genres: 715
    Total Playing Time: 24458:30:17

  2. #152

    pics

    cool to see pics of peoples setups

    please post more pics, great to see what folks are doing
    As of 2020/09/22

    Total Tracks: 153,334
    Total Albums: 14,149
    Total Artists: 19,943
    Total Genres: 715
    Total Playing Time: 24458:30:17

  3. #153
    Junior Member
    Join Date
    Aug 2020
    Posts
    6

    UNIT option is not working, and some problems

    Quote Originally Posted by shunte88 View Post
    cool to see pics of peoples setups

    please post more pics, great to see what folks are doing
    Hi,

    I did test adding UNIT option. But, it's not working. [Adding si, or us to API key like as API KEY, us or API KEY, si ]
    It's not a serious issue.

    I tried many options only one combination working in my configuration, pls see the screenshots.

    I could see vu meter in this command.

    Name:  SSE_Working.png
Views: 85
Size:  35.8 KB

    Name:  2020-09-16 15.23.00.jpg
Views: 87
Size:  167.2 KB

    I tried change options, but I couldn't see meters.
    SSE error came out, I don't know the reason.

    Name:  SSE_error.png
Views: 86
Size:  43.3 KB

    I don't know if the PCM5122 DAC uses i2c, but I doubt if it is conflicting with the OLED. What command should be issued to display only the VU meter on the screen? When I run the command on github I can't see the vu meter. I can only see the clock and sound source tag information. It probably has something to do with the SSE error.

  4. #154
    bah! looks like units is problematic - fix will be in the buildtoday

    looks like all-in-one is functioning for you so visualization is working

    when you're running on the player SHMEM, shaired memory, visualization is what you want to see - and that's automatic
    SSE isn't required, the data streaming service for external monitors, unless you want visualizations on an external device - you'd need to add the SSE service, visionon, to your pCP where it reads the data from shared memory and stream in real-time using SSE - I'll need to trace what you're seeing there - you should not see that message on a pCP install

    just stick with running
    Code:
    sudo /mnt/mmcblk0p2/tce/lmsmonitor --name "pCP-PCM5122" -c -rix -v -mVU -o3 -d -V
    note I added -d for downmix - if you want a pair of meters omit the -d, -V or --verbose to get the maximum debug information

    my build with downmix requested
    Code:
    tc@koala:/mnt/mmcblk0p2/tce$ sudo /mnt/mmcblk0p2/tce/lmsmonitor --name "koala" -c -rix -v -mVU -V -d
    OLED Mode ...........: IIC
    This is lmsmonitor (0.4.56) - built Sep 15 2020 02:18:03.
    Platform ............: Raspberry Pi 3 Model B Rev 1.2
    Verbosity ...........: Maximum
    OLED Driver .........: (6) SH1106 I2C 128x64
    OLED Address ........: 0x3c
    Scrolling Mode ......: (0) Cylon (Default)
    OLED Clock Font .....: Classic LCD Clock Font
    2020-09-16 10:08:59 :: src/lmsmonitor.c-0782 : generalReset active
    LMS Discovery ........
    LMS server response .: Ok
    Server IP ...........: 192.168.1.25:3483
    *00                   SqueezeLite                koala xx:xx:xx:xx:xx:xx 192.168.1.129
     01                   SqueezeLite             caracara xx:xx:xx:xx:xx:xx 192.168.1.222
     02              Squeezebox Touch           livingroom xx:xx:xx:xx:xx:xx 192.168.1.101
    Player Name .........: koala
    Player ID ...........: xx:xx:xx:xx:xx:xx
    Player IP ...........: 192.168.1.129
    Visualization .......: VU
    Initializing SHMEM ...
    2020-09-16 10:08:59 :: src/lmsmonitor.c-0901 : activate visualization cycling
    Downmix VU+SA .......: Yes
    SHMEM Actively Monitoring ...
    LMS:Player Online ...: Yes
    LMS:Repeat ..........: 0
    LMS:Playing .........: No
    LMS:Volume ..........: 40
    LMS:Duration ........: 576
    LMS:Time Played .....: 0
    LMS:Sample Size .....: 24
    LMS:Album ...........: A Different Definition Of Love [RU] [DR-52]
    LMS:Track Artist(s) .: bvdub, Brock Van Wey, bvdub | Brock Van Wey
    LMS:Compilation .....: No
    LMS:Year ............: 2018
    LMS:Title ...........: 06 tearless [T]owers
    LMS:Album Artist ....: bvdub | Brock Van Wey
    LMS:Remote ..........: No
    LMS:Album ID ........: 75206
    LMS:Track ID ........: 829256
    LMS:Sample Rate .....: 48.0
    LMS:Artist ..........: bvdub
    LMS:Shuffle .........: 0
    Hostname ............: koala
    Interface ...........: eth0
    Address .............: 192.168.1.129
    Interface ...........: wlan0
    Address .............: 192.168.1.22
    GFX Font Width ......: 6 (px)
    GFX Font Height .....: 8 (px)
    2020-09-16 10:09:04 :: src/lmsmonitor.c-0976 : isRefreshed
    the sequence of parameters may be the problem, specify -v for visualization and then -m for the meters you want

    fix for units coming and I'll review if there's a parameter order dependency - Ill fix so if you request meters -v is assumed/optional

    Edit: checked the code and units do need a little TLC
    Last edited by shunte88; 2020-09-16 at 07:26.
    As of 2020/09/22

    Total Tracks: 153,334
    Total Albums: 14,149
    Total Artists: 19,943
    Total Genres: 715
    Total Playing Time: 24458:30:17

  5. #155
    Hmmm, still no luck:

    Code:
    tc@pcTest61:/mnt/mmcblk0p2/tce$ PNAME=`cat /usr/local/sbin/config.cfg | grep "^NAME=" | cut -d'"' -f2`
    tc@pcTest61:/mnt/mmcblk0p2/tce$
    tc@pcTest61:/mnt/mmcblk0p2/tce$ sudo /mnt/mmcblk0p2/tce/lmsmonitor -n ${PNAME} -c -z -f7 -V
    OLED Mode ...........: IIC
    This is lmsmonitor (0.4.56) - built Sep 15 2020 02:18:03.
    Platform ............: Raspberry Pi 3 Model B Plus Rev 1.3
    Verbosity ...........: Maximum
    OLED Driver .........: (6) SH1106 I2C 128x64
    OLED Address ........: 0x3c
    Scrolling Mode ......: (0) Cylon (Default)
    OLED Clock Font .....: Roboto Thin
    2020-09-16 18:29:06 :: src/lmsmonitor.c-0782 : generalReset active
    LMS Discovery ........
    LMS server response .: Ok
    Server IP ...........: 192.168.7.200:3483
    [lookupLMSPlayer] Failed to parse JSON, check adequate tokens allocated: -3
    {"params":["-",["players","0","99"]],"method":"slim.request","id":1,"result":{"count":5,"players_loop":[{"playerindex":"0","playerid":"b8:27:eb:cf:54:82","uuid":null,"ip":"192.168.7.184:51240","name":"pc3e","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.6-1206-pCP"},{"playerindex":1,"playerid":"b8:27:eb:90:f7:74","uuid":null,"ip":"192.168.7.150:34126","name":"pcKueche","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.0-1121-pCP"},{"playerindex":2,"playerid":"b8:27:eb:ca:fc:35","uuid":null,"ip":"192.168.7.191:53100","name":"pcWZ","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.0-1121-pCP"},{"playerindex":3,"playerid":"b8:27:eb:54:27:0c","uuid":null,"ip":"192.168.7.136:36616","name":"pcTest61","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":1,"isplaying":1,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.6-1206-pCP"},{"playerindex":4,"playerid":"70:85:c2:fc:3b:27","uui
    Could not find player "pcTest61" [discoverPlayer]
    tc@pcTest61:/mnt/mmcblk0p2/tce$
    Aki

  6. #156
    @Aki hold tight - I see what it is - 5 players means lots more tags so we're bumping into the limit I'd specified.

    fix will be in the next push

    @blackbird, units now working, but I need to make a couple of mods for the screen layout - mm/hr for rain

    code will be pushed today, looking at the parameter sequence and Aki's JSON token limits next

    Code:
    Sunrise .............: 09-16-2020 06:25:58
    Sunset ..............: 09-16-2020 18:51:28
    Set Display .........: Day Mode
    Temperature Units ...: Metric
    debug: climacell lat ->  42.3614
    debug: climacell lon -> -71.1040
    debug: climacell temp -> 21.56 C
    debug: climacell feels_like -> 21.56 C
    debug: climacell wind_speed ->  5.44 m/s
    debug: climacell baro_pressure -> 1022.31 hPa
    debug: climacell visibility -> 10.00 km
    debug: climacell humidity -> 48.31 %
    debug: climacell wind_direction ->  SW : 215.75 degrees
    debug: climacell precipitation ->  0.00 mm/hr
    debug: climacell weather_code -> clear : Clear (0)
    debug: climacell observation_time -> 2020-09-16T16:46:05.568Z
    Last edited by shunte88; 2020-09-16 at 10:01.
    As of 2020/09/22

    Total Tracks: 153,334
    Total Albums: 14,149
    Total Artists: 19,943
    Total Genres: 715
    Total Playing Time: 24458:30:17

  7. #157
    latest build is pushed

    has the weather units addressed, tweaked the meters/visualization which hopefully knocked off the sharp edges

    allocated discovery for up to 20 players on the network, if folks bump on this again I'll find a better library for the unmarshal

    if you hit any nasties let me know
    As of 2020/09/22

    Total Tracks: 153,334
    Total Albums: 14,149
    Total Artists: 19,943
    Total Genres: 715
    Total Playing Time: 24458:30:17

  8. #158
    Code:
    tc@pcTest61:~$ ./update_lmsmonitor.sh
    Connecting to github.com (140.82.121.3:443)
    Connecting to github.com (140.82.121.3:443)
    Connecting to raw.githubusercontent.com (151.101.0.133:443)
    lmsmonitorpcp.tgz    100% |************************************************************************|  398k  0:00:00 ETA
    gomonitor
    lmsmonitor
    OLED Mode ...........: IIC
    This is lmsmonitor (0.4.56) - built Sep 16 2020 13:16:19.
    Platform ............: Raspberry Pi 3 Model B Plus Rev 1.3
    Verbosity ...........: Maximum
    OLED Driver .........: (6) SH1106 I2C 128x64
    OLED Address ........: 0x3c
    Scrolling Mode ......: (0) Cylon (Default)
    OLED Clock Font .....: Roboto Thin
    2020-09-16 19:37:16 :: src/lmsmonitor.c-0781 : generalReset active
    LMS Discovery ........
    LMS server response .: Ok
    Server IP ...........: 192.168.7.200:3483
    [lookupLMSPlayer] Failed to parse JSON, check adequate tokens allocated: -3
    {"params":["-",["players","0","99"]],"method":"slim.request","id":1,"result":{"count":5,"players_loop":[{"playerindex":"0","playerid":"b8:27:eb:cf:54:82","uuid":null,"ip":"192.168.7.184:51240","name":"pc3e","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.6-1206-pCP"},{"playerindex":1,"playerid":"b8:27:eb:90:f7:74","uuid":null,"ip":"192.168.7.150:34126","name":"pcKueche","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.0-1121-pCP"},{"playerindex":2,"playerid":"b8:27:eb:ca:fc:35","uuid":null,"ip":"192.168.7.191:53100","name":"pcWZ","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.0-1121-pCP"},{"playerindex":3,"playerid":"b8:27:eb:54:27:0c","uuid":null,"ip":"192.168.7.136:40138","name":"pcTest61","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":1,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.6-1206-pCP"},{"playerindex":4,"playerid":"70:85:c2:fc:3b:27","uui
    Could not find player "pcTest61" [discoverPlayer]
    tc@pcTest61:~$ PNAME=`cat /usr/local/sbin/config.cfg | grep "^NAME=" | cut -d'"' -f2`
    tc@pcTest61:~$ sudo /mnt/mmcblk0p2/tce/lmsmonitor -n ${PNAME} -c -z -f7 -V
    OLED Mode ...........: IIC
    This is lmsmonitor (0.4.56) - built Sep 16 2020 13:16:19.
    Platform ............: Raspberry Pi 3 Model B Plus Rev 1.3
    Verbosity ...........: Maximum
    OLED Driver .........: (6) SH1106 I2C 128x64
    OLED Address ........: 0x3c
    Scrolling Mode ......: (0) Cylon (Default)
    OLED Clock Font .....: Roboto Thin
    2020-09-16 19:38:49 :: src/lmsmonitor.c-0781 : generalReset active
    LMS Discovery ........
    LMS server response .: Ok
    Server IP ...........: 192.168.7.200:3483
    [lookupLMSPlayer] Failed to parse JSON, check adequate tokens allocated: -3
    {"params":["-",["players","0","99"]],"method":"slim.request","id":1,"result":{"count":5,"players_loop":[{"playerindex":"0","playerid":"b8:27:eb:cf:54:82","uuid":null,"ip":"192.168.7.184:51240","name":"pc3e","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.6-1206-pCP"},{"playerindex":1,"playerid":"b8:27:eb:90:f7:74","uuid":null,"ip":"192.168.7.150:34126","name":"pcKueche","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.0-1121-pCP"},{"playerindex":2,"playerid":"b8:27:eb:ca:fc:35","uuid":null,"ip":"192.168.7.191:53100","name":"pcWZ","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.0-1121-pCP"},{"playerindex":3,"playerid":"b8:27:eb:54:27:0c","uuid":null,"ip":"192.168.7.136:40138","name":"pcTest61","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":1,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.6-1206-pCP"},{"playerindex":4,"playerid":"70:85:c2:fc:3b:27","uui
    Could not find player "pcTest61" [discoverPlayer]
    tc@pcTest61:~$

  9. #159
    hold tight needs more testing, running on Pi4 build but not happy on Pi3

    that JSON terminates badly - its incomplete

    let me push a build that has additional instrumentation turned on

    will be an hour or two as I have to catch up on some other work first
    Last edited by shunte88; 2020-09-16 at 11:13.
    As of 2020/09/22

    Total Tracks: 153,334
    Total Albums: 14,149
    Total Artists: 19,943
    Total Genres: 715
    Total Playing Time: 24458:30:17

  10. #160
    Take the time it takes, I'm in no hurry ;-)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •