Announcement

Collapse
No announcement yet.

[Beta Announce] Revised Inguz DSP plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Thanks. again. I could see one of the players in the custom-convert file as I have been testing on (bb:bb:67:2d:35:e3). Also tried 3-CPO. Last executed shows the files played (e.g flc:flc) but no InguzEQ call being made. Attached are the custom-convert and server log files. Attaching the file type screen around flc as an example too.

    Click image for larger version  Name:	image.png Views:	12 Size:	55.7 KB ID:	1626574
    Attached Files
    Last edited by devgcl; 2023-01-11, 22:03.

    Comment


      Hi, Some progress today. It seems after shut down and restart of the NAS, the log file did get created (see attached).
      So now have the following remaining issues:
      1. WAV file playback does not invoke InguzEQ. Tried a 44.1kps convolver to match the WAV file played but no joy. It also seems once InguzEQ unssuccesfully process WAV file, it ignores it forever - saw that at the beginning of the log - now WAV playback never invokes InguzEQ
      2. FLAC files invoke InguzEQ but saw an error in the Settings per the log file. I thought it must be that the sox file cannot be found. I did a Linux search and found sox ok as below. Not sure why this error.
      3. Spotty also does not invoke InguzEQ.

      -------------------- Sox on the NAS -------------
      [email protected]:/$ sudo find . -name "sox"
      Password:
      ./volume1/@docker/aufs/mnt/e96b2944a94a0dc7913d64ee20a03420a3441a59e07027d202 9956b4b2ea4a95/lms/Bin/aarch64-linux/sox
      ./volume1/@docker/aufs/mnt/e96b2944a94a0dc7913d64ee20a03420a3441a59e07027d202 9956b4b2ea4a95/lms/Bin/x86_64-linux/sox
      ./volume1/@docker/aufs/mnt/e96b2944a94a0dc7913d64ee20a03420a3441a59e07027d202 9956b4b2ea4a95/lms/Bin/armhf-linux/sox
      ./volume1/@docker/aufs/diff/69bb2e9c4b99e24f8520052983bb77e6c7f49c348e7b30b4b0 0892ebf41abade/lms/Bin/aarch64-linux/sox
      ./volume1/@docker/aufs/diff/69bb2e9c4b99e24f8520052983bb77e6c7f49c348e7b30b4b0 0892ebf41abade/lms/Bin/x86_64-linux/sox
      ./volume1/@docker/aufs/diff/69bb2e9c4b99e24f8520052983bb77e6c7f49c348e7b30b4b0 0892ebf41abade/lms/Bin/armhf-linux/sox
      ./volume1/@docker/aufs/diff/e96b2944a94a0dc7913d64ee20a03420a3441a59e07027d202 9956b4b2ea4a95/lms/Bin/aarch64-linux/sox
      ./volume1/@docker/aufs/diff/e96b2944a94a0dc7913d64ee20a03420a3441a59e07027d202 9956b4b2ea4a95/lms/Bin/x86_64-linux/sox
      ./volume1/@docker/aufs/diff/e96b2944a94a0dc7913d64ee20a03420a3441a59e07027d202 9956b4b2ea4a95/lms/Bin/armhf-linux/sox
      Attached Files

      Comment


        That's good progress.

        Let's deal with the logging first - I had a look at the log file and don't see anything to be concerned about. The log level is quite "chatty" which means it is logging more than many systems would. What is happening is that the convolver is detecting that the impulse sample is at a different sampling frequency to the music, it will then check for a resampled version and then if it doesn't find that it will resample using sox.

        wav files are not going through the convolver because there is no entry in the custom-convert.conf for wav to wav conversions. The options are for me to amend the plugin to add this conversion or to amend the file type mapping. or to convert the wav file to flac.
        On my own server I have converted all my wav files to flac, so don't see the problem. If you want to do this on the fly you can use settings->advanced->file types and scroll down to the setting for WAV, it will look something like this

        FLAC (F) InguzDSP/flac
        FLAC (F) InguzDSP/flac
        FLAC (F) InguzDSP/flac
        FLAC (F) InguzDSP/flac
        MP3 (F, I) lame
        PCM (F, I) Native
        WAV (F, I) Native​

        If you disable the last two (PCM and WAV) it should force the converter to use FLAC and trigger Inguz.

        It is a similar story with Spotty, the quickest thing to do is setup file types - mine looks like this

        Spotty
        FLAC (R) Disabled
        FLAC (R) spotty.exe/sox
        FLAC (R) spotty.exe/sox
        FLAC (R) spotty.exe/sox
        FLAC (R) spotty.exe/sox
        MP3 (R) spotty.exe/lame
        Ogg Vorbis (R) Disabled
        PCM (R) Disabled
        FLAC (F) InguzDSP/flac
        FLAC (F) InguzDSP/flac
        FLAC (F) InguzDSP/flac
        FLAC (F) InguzDSP/flac​


        and my spotty command looks like this through C-3PO

        spotty.exe] --ap-port=12321 --enable-volume-normalisation -n Squeezebox -c "C:\ProgramData\Squeezebox\Cache\spotty\70a51b 7b" --single-track $FILE$ --disable-discovery --disable-audio-cache $START$ | [sox] -q -t raw -b 16 -e signed -c 2 -r 44.1k -L - -t wav - | [InguzDSP] -id "d0:50:99:85:19:e9" -wav -wavo -d 24 | [flac] -cs -0 --totally-silent --ignore-chunk-sizes -




        Comment


          Thats was an excellent pointer. Spotty and MP3 are now working fine calling Inguz.
          However, I am struggling with WAV file as it still does not call Inguz. Tried disabling almost all WAV transcode except to FLAC but no success (disabling WAV to FLC does not play the track hence had to enable it).
          Anything else I can try?

          Click image for larger version  Name:	image.png Views:	18 Size:	6.9 KB ID:	1626818

          Click image for larger version  Name:	image.png Views:	17 Size:	3.7 KB ID:	1626819

          Click image for larger version  Name:	image.png Views:	17 Size:	3.8 KB ID:	1626820
          Last edited by devgcl; 2023-01-13, 11:47.

          Comment


            Have you tried checking what C-3PO says is running when you decode a flac?
            If you can't resolve by amending the file types then the options are
            • convert the wav file to flac - I obviously don't know whether this is practical for you
            • wait for me to patch the build.
            I am using my spare time to write a replacement for the Inguz solution as the base software is quite old and doesn't have parametric EQ. So it would probably be the end of next week or even the week after before I can release a patch. The work is mainly testing..

            Comment


              Hi Jonathan,
              I disabled Inguz then re-enabled it playing with the file types as you suggested. All files types work fine now!!!!
              Thank you for your help and patience. I think adding the logic within the plugin will make it easier but if you cant no dramas.
              You already provided an excellent option for filtering so thanks heaps for making this beautiful plugin available again.
              Best regards,

              Comment


                Finally managed (I think) ti create a convolution WAV in REW, but when I use it in Inguz, it sounds like it is played slower. What might be the problem?

                Comment


                  Originally posted by Zombie View Post
                  What might be the problem?
                  What format did you use for the saved WAV? I've found 24/44 mono works well.

                  Last edited by Apesbrain; 2023-01-21, 14:40.

                  Comment


                    Mono and 32-bit float and 48 kHz
                    Maybe that wasn't correct, changed to mono 24/48 at it is fine.
                    Thank you for your input to lead me right.
                    I now use the convolution file with some minor adjustments on the 31 band eq where the filter isn't changing anything.

                    Last song in log looks like this:
                    20230121173616: InguzDSP (/share/CACHEDEV2_DATA/.qpkg/LogitechMediaServer/SlimServer/prefs/InguzEQ/Settings/) -id -wav -wavo -d 24
                    20230121173616: InguzDSP (version 0.9.34) -id -wav -wavo -d 24
                    20230121173616: Settings not found in InguzDSP.dll.config: debug input rawIn rawtype rawbits rawchan output outbits rawOut maximpulse tail slow soxFmt aftenExe aftenFmt ambiDistance ambiShelfFreq
                    20230121173616: Gain -16 dB
                    20230121173617: Impulse Impulses/dec 17 - Tilt 0 L+R-filters-48k.wav, matrix (null)
                    20230121173617: Can't use Impulses/dec 17 - Tilt 0 L+R-filters-48k.wav: its sample rate is 48000 not 44100
                    20230121173617: Using resampled version Temp/44100_000314BD9F_Impulses_dec 17 - Tilt 0 L+R-filters-48k.wav instead
                    20230121173617: EQ0059221A46
                    20230121173618: 16/44100 PCM => 24/44100 PCM TRIANGULAR, gain -16 dB
                    20230121173821: Write DSPUtil.FastConvolver.MAC-ADDRESS.tail (98300)
                    20230121173821: 15403248 samples, 125197.1505 ms (1648.8692 init), 2.7898 * realtime, peak -0.4905 dBfs​
                    Last edited by Zombie; 2023-01-21, 15:49.

                    Comment


                      Is it possible to use convolution files for L and R separately in InguzEQ in LMS?

                      Comment


                        Originally posted by Zombie View Post
                        Is it possible to use convolution files for L and R separately in InguzEQ in LMS?
                        Interesting question. If you have separate mono impulse WAVs for L and R, try combining them in a stereo WAV. Audacity should allow you to do this, then export as a stereo 24/48 WAV.

                        I don't know if this will work, but easy enough to try. Just watch your volume until you know what it does.

                        Comment


                          This might be a very small thing, but anyway
                          When I choose the Room Correction file it sticks between restarts etc. and it is possible to choose None.
                          But with Load a preset: the chosen preset disappears even if I just move elsewhere in LMS and come back. It changes to None, but the setting is retained regardless of LMS being restarted etc. Is it possible to keep and show the name of the current setting? Not a big deal, but a little pimple in the backside nevertheless.

                          Comment


                            Regarding Separate files - currently you have to merge to Stereo as Apesbrain suggests.

                            I get where you are coming from with the preset vs filename. I think, I have this fixed in the new DSP plugin that I am working on. NB I have fixed it and tested but I can't be 100% sure it works in all cases.

                            Comment


                              Hi,
                              I thought I played all file types using Inguz but its the first time i actually played WMAL (WMA Lossless). As the file start playing, it gets jumbled up with sound suddenly burst out loud and clipped.
                              Noticed the mappings in File Types for WMAL are all disabled (see below). Anything I can do to re-enable it to use Inguz properly?
                              FYI all other files types work fine with Inguz effect.
                              Thanks
                              Click image for larger version

Name:	image.png
Views:	208
Size:	3.2 KB
ID:	1629600

                              Comment


                                Originally posted by devgcl View Post
                                Hi,
                                I thought I played all file types using Inguz but its the first time i actually played WMAL (WMA Lossless). As the file start playing, it gets jumbled up with sound suddenly burst out loud and clipped.
                                Noticed the mappings in File Types for WMAL are all disabled (see below). Anything I can do to re-enable it to use Inguz properly?
                                FYI all other files types work fine with Inguz effect.
                                Thanks
                                Click image for larger version  Name:	image.png Views:	6 Size:	3.2 KB ID:	1629600
                                I don't really use WMA Lossless as a source myself. But I think you want something like this


                                WMA Lossless
                                FLAC (F, R) wmadec/flac
                                FLAC (F, R) wmadec/InguzDSP
                                MP3 (F, R) Disabled
                                PCM (F, R) wmadec
                                WMA Lossless (F, I) Disabled

                                Comment

                                Working...
                                X