Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Thread Closed 
Upcoming moOde 7 series
What do you mean by "lossless interpolation"?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
(09-21-2020, 02:45 PM)Tim Curtis Wrote: What do you mean by "lossless interpolation"?

same thing than interpolation used in dac chips, or interpolator chips :
keep all the original samples and only calculate intermediate samples.

And especially not to recalculate the whole flow, as in the SRC (which is not lossless).
musical regards

y.
(09-22-2020, 06:54 AM)yannig Wrote:
(09-21-2020, 02:45 PM)Tim Curtis Wrote: What do you mean by "lossless interpolation"?

same thing than interpolation used in dac chips, or interpolator chips :
keep all the original samples and only calculate intermediate samples.

And especially not to recalculate the whole flow, as in the SRC (which is not lossless).

@yannig moOde makes use of the existing sox (the soxr library) resampler.

You can find a lot of information about the (internal) working of this resampler, for example: The great thing about sox is that you can download the sox commandline tool and analyse the output yourself.
(09-22-2020, 10:26 AM)bitlab Wrote:
(09-22-2020, 06:54 AM)yannig Wrote:
(09-21-2020, 02:45 PM)Tim Curtis Wrote: What do you mean by "lossless interpolation"?

same thing than interpolation used in dac chips, or interpolator chips :
keep all the original samples and only calculate intermediate samples.

And especially not to recalculate the whole flow, as in the SRC (which is not lossless).

@yannig moOde makes use of the existing sox (the soxr library) resampler.

You can find a lot of information about the (internal) working of this resampler, for example: The great thing about sox is that you can download the sox commandline tool and analyse the output yourself.

Thanks for the links, but I do not found what I'm looking for there.


 I do not like the sound of the Sox resampler, and I ALWAYS preferred interpolators integrated into dacs, or external DF170x (matter of taste, shall we say).
And in addition there are different interpolation filters in modern dacs.


Perhaps I do not test all the Sox feature, and it is possible to make it lossless.
but SRC are usually not lossless, it really seems that it is still the case for Sox (and I found nothing about lossless Sox on the whole web).
musical regards

y.
There is no concept of "lossless" in the process of interpolation. I've never seen the term used in that context. Can you provide link(s) referencing "lossless interpolation"?

Lossless transformations are 2-way where the original data is (1) transformed and (2) recovered without any data loss or change in the data. For example data file compression or lossless audio or image file compression.

Interpolation on the other hand is a 1-way transformation that changes the original data in an imperfect way. It consists of two processes.

1. Upsampling

Insert zero-valued samples between each pair of input samples. This is called zero-stuffing. It creates a new, higher rate signal whose frequency spectrum and bandwidth is the same as the original signal but with signal distortion consisting of images of the original signal centered on multiples of the original sampling rate.

2. Low-pass filtering the result

The goal of this process is to eliminate the distortion caused by upsampling.

The end result, assuming a perfect interpolation process, would be a signal at N times the rate of the original signal which has the same frequency spectrum and bandwidth as the original signal but without any of the distortion caused by updsampling.

There is no such thing as a perfect interpolation filter and so the result will always contain some amount of distortion. Whether or not the the distortion matters depends on the quality of the interpolator routine and how the resulting signal is being used downstream.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Here's the latest WIP release notes :-)

The main changes are:

- NEW: Library option to select which tag for the Artist list
- UPD: Add "Clear Library cache" to Library menu
- UPD: Add place holder H/W for native lazyload
- UPD: Add "Now Playing" EQ style icon to the Queue
- UPD: Include Add next, Play next in list of "One touch actions"

New Library option to select which tag, Artist or Album Artist, is used to populate the Artist list in Tag view. This nice enhancement is from dev @seashell.
         

One touch action list and animated Now Playing EQ icon for the Queue
         

Code:
########################################################
//
// 2020-MM-DD TC moOde 7.0.0
//
########################################################

New features

- NEW: Selective resampling modes
- NEW: Custom SoX resampling recipes
- NEW: Radio view with sort/group and metadata
- NEW: Resource limits in MPD Config
- NEW: Auto-shuffle Album mode option
- NEW: Option to display thumbnails in the Queue
- NEW: Thumbnails displayed for albums in Folder view
- NEW: Albums played directly if already in the Queue
- NEW: Library support for tracks tagged with multiple genres
- NEW: Library filters (Lossless, Lossy, Format or Directory)
- NEW: Library option to select which tag for the Artist list
- NEW: Option for Renderer backdrop (Cover or Backdrop image)
- NEW: Add next, Play next by inserting after current item

Updates

- UPD: Bump to Linux kernel 5.4.61 build #1339
- UPD: Bump to MPD 0.22~git commit 67c7116 20200904
- UPD: Bump to Auto-shuffle (ashuffle) 3.7.2
- UPD: Bump to squeezelite 1.9.7-1270
- UPD: Bump to librespot 0.1.3
- UPD: Remove unused MPD plugins soundcloud, tidal, qobuz
- UPD: Remove Ethernet port fix for Pi-3B+ due to ethtool fail
- UPD: Add Genre to the Extra metadata Appearance option
- UPD: Add Appearance option to include the comment tag
- UPD: Add higher resolutions for thumbnail generator
- UPD: Add "Update Library" to action list for Clock Radio
- UPD: Add MUSICBRAINZ_ALBUMID as part of the album key
- UPD: Add "Clear Library cache" to Library menu
- UPD: Add place holder H/W for native lazyload
- UPD: Add "Now Playing" EQ style icon to the Queue
- UPD: Include Add next, Play next in list of "One touch actions"
- UPD: Improve logging for Library update process
- UPD: Extend HD badging to Playbar, CoverView amd Playback
- UPD: Report 24 bit if ALAC encoded m4a reports 32 bit
- UPD: Show volume level on Playbar
- UPD: Generate additional set of small thumbnails for lists
- UPD: Honor "Resume MPD" setting when disconnecting a renderer
- UPD: Only load CoverView Queue HTML when it's opened

Radio stations

- UPD: Radio Caroline playable URL
- UPD: Soma FM - DEF CON Radio logo image
- UPD: Update NME station URL's to 256 kbps MP3
- DEL: Radio X London due to metadata issues
- DEL: Megarock Radio due to failed stream link

Bug fixes

- FIX: Album key and cross-index for Tag and Album views
- FIX: Track list show/hide not preserved when switching views
- FIX: Manual entry of SSID not accepting embedded space
- FIX: Graphic EQ curves are +6 alsaequal units too high
- FIX: Listall.sh script not handling mixed case file extentions
- FIX: Airplay and Spotify renderers started after BlueZ disconnect
- FIX: Disabled volume knob processing scroll/swipe events
- FIX: Regression causing Folder view, Advanced search to fail
- FIX: Item highlight/de-highlight in all views
- FIX: Radio Instant play not obeying the "No Action" option
- FIX: Insufficient bottom padding on Library tracks list
- FIX: Wrong Playlist width (mobile) when CV auto-display enabled
- FIX: Library special year search partially broken

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
(09-24-2020, 05:12 PM)Tim Curtis Wrote: Here's the latest WIP release notes :-)

The main changes are:

- NEW: Library option to select which tag for the Artist list
- UPD: Add "Clear Library cache" to Library menu
- UPD: Add place holder H/W for native lazyload
- UPD: Add "Now Playing" EQ style icon to the Queue
- UPD: Include Add next, Play next in list of "One touch actions"

New Library option to select which tag, Artist or Album Artist, is used to populate the Artist list in Tag view. This nice enhancement is from dev @seashell.
 

One touch action list and animated Now Playing EQ icon for the Queue
 

Code:
########################################################
//
// 2020-MM-DD TC moOde 7.0.0
//
########################################################

New features

- NEW: Selective resampling modes
- NEW: Custom SoX resampling recipes
- NEW: Radio view with sort/group and metadata
- NEW: Resource limits in MPD Config
- NEW: Auto-shuffle Album mode option
- NEW: Option to display thumbnails in the Queue
- NEW: Thumbnails displayed for albums in Folder view
- NEW: Albums played directly if already in the Queue
- NEW: Library support for tracks tagged with multiple genres
- NEW: Library filters (Lossless, Lossy, Format or Directory)
- NEW: Library option to select which tag for the Artist list
- NEW: Option for Renderer backdrop (Cover or Backdrop image)
- NEW: Add next, Play next by inserting after current item

Updates

- UPD: Bump to Linux kernel 5.4.61 build #1339
- UPD: Bump to MPD 0.22~git commit 67c7116 20200904
- UPD: Bump to Auto-shuffle (ashuffle) 3.7.2
- UPD: Bump to squeezelite 1.9.7-1270
- UPD: Bump to librespot 0.1.3
- UPD: Remove unused MPD plugins soundcloud, tidal, qobuz
- UPD: Remove Ethernet port fix for Pi-3B+ due to ethtool fail
- UPD: Add Genre to the Extra metadata Appearance option
- UPD: Add Appearance option to include the comment tag
- UPD: Add higher resolutions for thumbnail generator
- UPD: Add "Update Library" to action list for Clock Radio
- UPD: Add MUSICBRAINZ_ALBUMID as part of the album key
- UPD: Add "Clear Library cache" to Library menu
- UPD: Add place holder H/W for native lazyload
- UPD: Add "Now Playing" EQ style icon to the Queue
- UPD: Include Add next, Play next in list of "One touch actions"
- UPD: Improve logging for Library update process
- UPD: Extend HD badging to Playbar, CoverView amd Playback
- UPD: Report 24 bit if ALAC encoded m4a reports 32 bit
- UPD: Show volume level on Playbar
- UPD: Generate additional set of small thumbnails for lists
- UPD: Honor "Resume MPD" setting when disconnecting a renderer
- UPD: Only load CoverView Queue HTML when it's opened

Radio stations

- UPD: Radio Caroline playable URL
- UPD: Soma FM - DEF CON Radio logo image
- UPD: Update NME station URL's to 256 kbps MP3
- DEL: Radio X London due to metadata issues
- DEL: Megarock Radio due to failed stream link

Bug fixes

- FIX: Album key and cross-index for Tag and Album views
- FIX: Track list show/hide not preserved when switching views
- FIX: Manual entry of SSID not accepting embedded space
- FIX: Graphic EQ curves are +6 alsaequal units too high
- FIX: Listall.sh script not handling mixed case file extentions
- FIX: Airplay and Spotify renderers started after BlueZ disconnect
- FIX: Disabled volume knob processing scroll/swipe events
- FIX: Regression causing Folder view, Advanced search to fail
- FIX: Item highlight/de-highlight in all views
- FIX: Radio Instant play not obeying the "No Action" option
- FIX: Insufficient bottom padding on Library tracks list
- FIX: Wrong Playlist width (mobile) when CV auto-display enabled
- FIX: Library special year search partially broken

-Tim

yay it looks beautiful!
(09-24-2020, 05:12 PM)Tim Curtis Wrote: Here's the latest WIP release notes :-)

<<
<<

Any ETA in mind?
 

Code:
########################################################
//
// 2020-MM-DD TC moOde 7.0.0
//
########################################################

New features

- NEW: Selective resampling modes
- NEW: Custom SoX resampling recipes
- NEW: Radio view with sort/group and metadata
- NEW: Resource limits in MPD Config
- NEW: Auto-shuffle Album mode option
- NEW: Option to display thumbnails in the Queue
- NEW: Thumbnails displayed for albums in Folder view
- NEW: Albums played directly if already in the Queue
- NEW: Library support for tracks tagged with multiple genres
- NEW: Library filters (Lossless, Lossy, Format or Directory)
- NEW: Library option to select which tag for the Artist list
- NEW: Option for Renderer backdrop (Cover or Backdrop image)
- NEW: Add next, Play next by inserting after current item

Updates

- UPD: Bump to Linux kernel 5.4.61 build #1339
- UPD: Bump to MPD 0.22~git commit 67c7116 20200904
- UPD: Bump to Auto-shuffle (ashuffle) 3.7.2
- UPD: Bump to squeezelite 1.9.7-1270
- UPD: Bump to librespot 0.1.3
- UPD: Remove unused MPD plugins soundcloud, tidal, qobuz
- UPD: Remove Ethernet port fix for Pi-3B+ due to ethtool fail
- UPD: Add Genre to the Extra metadata Appearance option
- UPD: Add Appearance option to include the comment tag
- UPD: Add higher resolutions for thumbnail generator
- UPD: Add "Update Library" to action list for Clock Radio
- UPD: Add MUSICBRAINZ_ALBUMID as part of the album key
- UPD: Add "Clear Library cache" to Library menu
- UPD: Add place holder H/W for native lazyload
- UPD: Add "Now Playing" EQ style icon to the Queue
- UPD: Include Add next, Play next in list of "One touch actions"
- UPD: Improve logging for Library update process
- UPD: Extend HD badging to Playbar, CoverView amd Playback
- UPD: Report 24 bit if ALAC encoded m4a reports 32 bit
- UPD: Show volume level on Playbar
- UPD: Generate additional set of small thumbnails for lists
- UPD: Honor "Resume MPD" setting when disconnecting a renderer
- UPD: Only load CoverView Queue HTML when it's opened

Radio stations

- UPD: Radio Caroline playable URL
- UPD: Soma FM - DEF CON Radio logo image
- UPD: Update NME station URL's to 256 kbps MP3
- DEL: Radio X London due to metadata issues
- DEL: Megarock Radio due to failed stream link

Bug fixes

- FIX: Album key and cross-index for Tag and Album views
- FIX: Track list show/hide not preserved when switching views
- FIX: Manual entry of SSID not accepting embedded space
- FIX: Graphic EQ curves are +6 alsaequal units too high
- FIX: Listall.sh script not handling mixed case file extentions
- FIX: Airplay and Spotify renderers started after BlueZ disconnect
- FIX: Disabled volume knob processing scroll/swipe events
- FIX: Regression causing Folder view, Advanced search to fail
- FIX: Item highlight/de-highlight in all views
- FIX: Radio Instant play not obeying the "No Action" option
- FIX: Insufficient bottom padding on Library tracks list
- FIX: Wrong Playlist width (mobile) when CV auto-display enabled
- FIX: Library special year search partially broken

-Tim
You can't rush things.
https://www.youtube.com/watch?v=oSs6DcA6dFI
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Tim, could you please add a option to maintain the spotify cache? For me it is important, as i use large sd card to listen spotify offline (with cache avaliable, it works). With precary internet connection the traffic is limited....

At the moment i need to alter the code to use the cache (remove —disable-cache with is hardcoded)

With an option, we can reenable it easly if it will desired


Forum Jump: