Moode Forum

Full Version: Official moOde 6.5.2 support thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
(05-19-2020, 08:17 AM)digitalfrog Wrote: [ -> ]New to Moode ! Thanks for your work.

I tried to find a solution but really can't figure it out.

In Album view, compilations show as individual tracks, and  Compilation identifier contains: Various Artists

See screenshot, left is my foobar2000 showing the compilation under one place. An overlay shows that Album Artist contains Various Artists 
And on the right Moode shows one album per file ....

https://imgur.com/a/4tHTlss

And this icon look like lowres even if hihres thumb is at 400x, but I'll investigate that later,

Prolly a tagging issue. Zip up one of the compilation albums that's exhibiting the problem and either email or PM me the download link. I'll try to repro.
(05-19-2020, 08:18 AM)JonPike Wrote: [ -> ]Don't know if this has been noticed earlier.  I have recently loaded up and am enjoying 6.5.2 in one of my players,  and tried the Crossfeed feature for the headphones for the first time in a while.  I get no sound and this error msg in a box:

MPD error

Failed to open "ALSA crossfeed" (alsa); Error opening ALSA device "crossfeed"; snd_pcm_hw_params() failed: Invalid argument


I tried first and last crossfeed options,  same error.  Turn it back off, and things play normally again.  Pi is a 3b v1.2

No issues on my end with crossfeed. I think it requires 16 bit.
(05-19-2020, 08:18 AM)JonPike Wrote: [ -> ]Don't know if this has been noticed earlier.  I have recently loaded up and am enjoying 6.5.2 in one of my players,  and tried the Crossfeed feature for the headphones for the first time in a while.  I get no sound and this error msg in a box:

MPD error

Failed to open "ALSA crossfeed" (alsa); Error opening ALSA device "crossfeed"; snd_pcm_hw_params() failed: Invalid argument


I tried first and last crossfeed options,  same error.  Turn it back off, and things play normally again.  Pi is a 3b v1.2

I had a similar issue with the graphic equaliser.  It was never an issue on earlier versions but with 6.5.2 I got the same error when enabling a low boost.

On reviewing my settings, I got it to work by changing the sampling rate in the MPD settings from 32bit 384khz to 24bit 192khz.

Perhaps give it a go and see if it works.
Just made the transition to 6.5.2 and all went well. Will look at most new features in the days to come. My few small mpd scripts still work and adding my selection of radio station was as easy as before.

Thanks!  Smile
Nothing important, in album view, when u click on an album to show tracks, then click on playbar, click on cover album to return on album view, and click on an album, it show "hide tracks", it should be "show tracks" since the tracks are not shown where u return to album view.
I can repro. It's an old issue but I added to 6.6.0 TODO list :-)
Thx Smile
(05-19-2020, 10:42 PM)Morias Wrote: [ -> ]
(05-19-2020, 08:18 AM)JonPike Wrote: [ -> ]Don't know if this has been noticed earlier.  I have recently loaded up and am enjoying 6.5.2 in one of my players,  and tried the Crossfeed feature for the headphones for the first time in a while.  I get no sound and this error msg in a box:

MPD error

Failed to open "ALSA crossfeed" (alsa); Error opening ALSA device "crossfeed"; snd_pcm_hw_params() failed: Invalid argument


I tried first and last crossfeed options,  same error.  Turn it back off, and things play normally again.  Pi is a 3b v1.2

I had a similar issue with the graphic equaliser.  It was never an issue on earlier versions but with 6.5.2 I got the same error when enabling a low boost.

On reviewing my settings, I got it to work by changing the sampling rate in the MPD settings from 32bit 384khz to 24bit 192khz.

Perhaps give it a go and see if it works.

OK, haven't had a chance to poke around with this lately,  but did try some different data depth/rates.  Interesting thing was I had just tried resampling to 32/384 and lower to see if it made any noticeable differences.  Changing back to a 24/* resample and it's playing,  So yes, the crossfeed (and other parts?) seem to be broken for a 32 bit audio stream.  

The question is, did this just happen in 6.5.2, or has it always been this way?  Sounds like that what you're seeing Morias?  Tried different DAC's?  I'll try later with my Allo Boss, to see if hardware makes a difference.
OK, have spent some time looking into this, and learned a few things. Long story short, it seems that certain higher sampling rates (above 192k?) with 32bit data won't work going thru the crossfeed and EQ blocks in the path. It seems part of the issue is one of my DAC's won't deal with data above 32/192?

I tested on 6.4.2 as well as 6.5.2, seeing the same behavior. Haven't checked any earlier versions. I did find some interesting quirks, but maybe I think I'll start a thread to unpack that rather than here, depending on what Tim prefers. There seems some oddities that I can't tell if it's Moode, or the DAC, or how Moode is characterizing that DAC.
Source repo for Crossfeed
https://sourceforge.net/projects/bs2b/

Here's the C header file for the Crossfeed software that defines what sample rates and bit depths are supported.
Code:
/*-
* Copyright (c) 2005 Boris Mikhaylov
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#ifndef BS2B_H
#define BS2B_H

#include "bs2bversion.h"
#include "bs2btypes.h"

/* Minimum/maximum sample rate (Hz) */
#define BS2B_MINSRATE 2000
#define BS2B_MAXSRATE 384000

/* Minimum/maximum cut frequency (Hz) */
/* bs2b_set_level_fcut() */
#define BS2B_MINFCUT 300
#define BS2B_MAXFCUT 2000

/* Minimum/maximum feed level (dB * 10 @ low frequencies) */
/* bs2b_set_level_feed() */
#define BS2B_MINFEED 10   /* 1 dB */
#define BS2B_MAXFEED 150  /* 15 dB */

/* Normal crossfeed levels (Obsolete) */
#define BS2B_HIGH_CLEVEL     ( ( uint32_t )700 | ( ( uint32_t )30 << 16 ) )
#define BS2B_MIDDLE_CLEVEL   ( ( uint32_t )500 | ( ( uint32_t )45 << 16 ) )
#define BS2B_LOW_CLEVEL      ( ( uint32_t )360 | ( ( uint32_t )60 << 16 ) )

/* Easy crossfeed levels (Obsolete) */
#define BS2B_HIGH_ECLEVEL    ( ( uint32_t )700 | ( ( uint32_t )60 << 16 ) )
#define BS2B_MIDDLE_ECLEVEL  ( ( uint32_t )500 | ( ( uint32_t )72 << 16 ) )
#define BS2B_LOW_ECLEVEL     ( ( uint32_t )360 | ( ( uint32_t )84 << 16 ) )

/* Default crossfeed levels */
/* bs2b_set_level() */
#define BS2B_DEFAULT_CLEVEL  ( ( uint32_t )700 | ( ( uint32_t )45 << 16 ) )
#define BS2B_CMOY_CLEVEL     ( ( uint32_t )700 | ( ( uint32_t )60 << 16 ) )
#define BS2B_JMEIER_CLEVEL   ( ( uint32_t )650 | ( ( uint32_t )95 << 16 ) )

/* Default sample rate (Hz) */
#define BS2B_DEFAULT_SRATE   44100

/* A delay at low frequency by microseconds according to cut frequency */
#define bs2b_level_delay( fcut ) ( ( 18700 / fcut ) * 10 )

typedef struct
{
    uint32_t level;              /* Crossfeed level */
    uint32_t srate;              /* Sample rate (Hz) */
    double a0_lo, b1_lo;         /* Lowpass IIR filter coefficients */
    double a0_hi, a1_hi, b1_hi;  /* Highboost IIR filter coefficients */
    double gain;                 /* Global gain against overloading */
    /* Buffer of last filtered sample: [0] 1-st channel, [1] 2-d channel */
    struct { double asis[ 2 ], lo[ 2 ], hi[ 2 ]; } lfs;
} t_bs2bd;

typedef t_bs2bd *t_bs2bdp;

#ifdef __cplusplus
extern "C"
{
#endif    /* __cplusplus */

/* Allocates and sets a data to defaults.
* Return NULL on error.
*/
t_bs2bdp bs2b_open( void );

/* Close */
void bs2b_close( t_bs2bdp bs2bdp );

/* Sets a new coefficients by new crossfeed value.
* level = ( ( uint32_t )fcut | ( ( uint32_t )feed << 16 ) )
* where 'feed' is crossfeeding level at low frequencies (dB * 10)
* and 'fcut' is cut frecuency (Hz)
*/
void bs2b_set_level( t_bs2bdp bs2bdp, uint32_t level );

/* Return a current crossfeed level value. */
uint32_t bs2b_get_level( t_bs2bdp bs2bdp );

/* Sets a new coefficients by new cut frecuency value (Hz). */
void bs2b_set_level_fcut( t_bs2bdp bs2bdp, int fcut );

/* Return a current cut frecuency value (Hz). */
int bs2b_get_level_fcut( t_bs2bdp bs2bdp );

/* Sets a new coefficients by new crossfeeding level value (dB * 10). */
void bs2b_set_level_feed( t_bs2bdp bs2bdp, int feed );

/* Return a current crossfeeding level value (dB * 10). */
int bs2b_get_level_feed( t_bs2bdp bs2bdp );

/* Return a current delay value at low frequencies (micro seconds). */
int bs2b_get_level_delay( t_bs2bdp bs2bdp );

/* Clear buffers and sets a new coefficients with new sample rate value.
* srate - sample rate by Hz.
*/
void bs2b_set_srate( t_bs2bdp bs2bdp, uint32_t srate );

/* Return current sample rate value */
uint32_t bs2b_get_srate( t_bs2bdp bs2bdp );

/* Clear buffer */
void bs2b_clear( t_bs2bdp bs2bdp );

/* Return 1 if buffer is clear */
int bs2b_is_clear( t_bs2bdp bs2bdp );

/* Return bs2b version string */
char const *bs2b_runtime_version( void );

/* Return bs2b version integer */
uint32_t bs2b_runtime_version_int( void );

/* 'bs2b_cross_feed_*' crossfeeds buffer of 'n' stereo samples
* pointed by 'sample'.
* sample[i]   - first channel,
* sample[i+1] - second channel.
* Where 'i' is ( i = 0; i < n * 2; i += 2 )
*/

/* sample poits to double floats native endians */
void bs2b_cross_feed_d( t_bs2bdp bs2bdp, double *sample, int n );

/* sample poits to double floats big endians */
void bs2b_cross_feed_dbe( t_bs2bdp bs2bdp, double *sample, int n );

/* sample poits to double floats little endians */
void bs2b_cross_feed_dle( t_bs2bdp bs2bdp, double *sample, int n );

/* sample poits to floats native endians */
void bs2b_cross_feed_f( t_bs2bdp bs2bdp, float *sample, int n );

/* sample poits to floats big endians */
void bs2b_cross_feed_fbe( t_bs2bdp bs2bdp, float *sample, int n );

/* sample poits to floats little endians */
void bs2b_cross_feed_fle( t_bs2bdp bs2bdp, float *sample, int n );

/* sample poits to 32bit signed integers native endians */
void bs2b_cross_feed_s32( t_bs2bdp bs2bdp, int32_t *sample, int n );

/* sample poits to 32bit unsigned integers native endians */
void bs2b_cross_feed_u32( t_bs2bdp bs2bdp, uint32_t *sample, int n );

/* sample poits to 32bit signed integers big endians */
void bs2b_cross_feed_s32be( t_bs2bdp bs2bdp, int32_t *sample, int n );

/* sample poits to 32bit unsigned integers big endians */
void bs2b_cross_feed_u32be( t_bs2bdp bs2bdp, uint32_t *sample, int n );

/* sample poits to 32bit signed integers little endians */
void bs2b_cross_feed_s32le( t_bs2bdp bs2bdp, int32_t *sample, int n );

/* sample poits to 32bit unsigned integers little endians */
void bs2b_cross_feed_u32le( t_bs2bdp bs2bdp, uint32_t *sample, int n );

/* sample poits to 16bit signed integers native endians */
void bs2b_cross_feed_s16( t_bs2bdp bs2bdp, int16_t *sample, int n );

/* sample poits to 16bit unsigned integers native endians */
void bs2b_cross_feed_u16( t_bs2bdp bs2bdp, uint16_t *sample, int n );

/* sample poits to 16bit signed integers big endians */
void bs2b_cross_feed_s16be( t_bs2bdp bs2bdp, int16_t *sample, int n );

/* sample poits to 16bit unsigned integers big endians */
void bs2b_cross_feed_u16be( t_bs2bdp bs2bdp, uint16_t *sample, int n );

/* sample poits to 16bit signed integers little endians */
void bs2b_cross_feed_s16le( t_bs2bdp bs2bdp, int16_t *sample, int n );

/* sample poits to 16bit unsigned integers little endians */
void bs2b_cross_feed_u16le( t_bs2bdp bs2bdp, uint16_t *sample, int n );

/* sample poits to 8bit signed integers */
void bs2b_cross_feed_s8( t_bs2bdp bs2bdp, int8_t *sample, int n );

/* sample poits to 8bit unsigned integers */
void bs2b_cross_feed_u8( t_bs2bdp bs2bdp, uint8_t *sample, int n );

/* sample poits to 24bit signed integers native endians */
void bs2b_cross_feed_s24( t_bs2bdp bs2bdp, bs2b_int24_t *sample, int n );

/* sample poits to 24bit unsigned integers native endians */
void bs2b_cross_feed_u24( t_bs2bdp bs2bdp, bs2b_uint24_t *sample, int n );

/* sample poits to 24bit signed integers be endians */
void bs2b_cross_feed_s24be( t_bs2bdp bs2bdp, bs2b_int24_t *sample, int n );

/* sample poits to 24bit unsigned integers be endians */
void bs2b_cross_feed_u24be( t_bs2bdp bs2bdp, bs2b_uint24_t *sample, int n );

/* sample poits to 24bit signed integers little endians */
void bs2b_cross_feed_s24le( t_bs2bdp bs2bdp, bs2b_int24_t *sample, int n );

/* sample poits to 24bit unsigned integers little endians */
void bs2b_cross_feed_u24le( t_bs2bdp bs2bdp, bs2b_uint24_t *sample, int n );

#ifdef __cplusplus
}    /* extern "C" */
#endif /* __cplusplus */

#endif    /* BS2B_H */
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16