Posts: 568
Threads: 5
Joined: Mar 2020
Reputation:
31
(12-11-2023, 05:46 PM)Nutul Wrote: (12-11-2023, 04:08 PM)raspiter Wrote: Yes, your is a more efficient solution, but I'd prefer not to convert/duplicate files.
This is not actually converting; it's more fixing-to-standard. It's not even duplicating, if you remove the original files after conversion (I guess you refer to m4a => flac, which I actually do). No loss in conversion, although m4a files are generally slightly smaller than the equivalent flac.
(12-11-2023, 04:08 PM)raspiter Wrote: Above all, I'm curious to understand what's happened to MPD and if there's a "software-side way" to fix the issue.
This IS a software way... nevertheless, if MPD complains only when PeppyMeters are involved, we may understand from @fdealexa how the stream is read, manipulated (as it clearly appears to be something MPD is complaining...) and output back to MPD.
I think that it may be either of:
1. something peppymeters don't do properly (hence corrupting the stream)
2. something weird in the stream itself, and peppymeters discarding some (for it) unnecessary information without fixing data elsewhere (if required) and rendering the stream valid, but not in its entirety (and MPD being very picky at formats...)
See what Francesco has to say, as I may be completely on the wrong path with my assumptions.
Hi everyone,
thanks for the information. First of all, I am not the owner nor the designer nor the author of Peppy: I just wrote a guide to install it in the moOde environment. From what I understand PeppyMeter is made up of 2 main blocks: PeppyAlsa and PeppyMeter. The first is mainly needed to create a fifo file with the two-channel signal level. The second does not manipulate any data: it only reads the fifo file and displays the levels graphically.
So the module that could be involved in the problem you describe is PeppyAlsa. To send the audio stream to this module I use the loopback function which allows you to send the stream to the real audio route and to PeppyAlsa. I'm not an Alsa specialist: on the diyaudio forum there are 2 threads where I found the author of Peppy and one of the best connoisseurs of Alsa.
It is my opinion that MPD is not involved in the issue. Could one of you, please, write a post describing the issue on that forum(I don't use apple)?
Best regards and thanks,
Francesco
Posts: 568
Threads: 5
Joined: Mar 2020
Reputation:
31
(12-11-2023, 05:46 PM)Nutul Wrote: (12-11-2023, 04:08 PM)raspiter Wrote: Yes, your is a more efficient solution, but I'd prefer not to convert/duplicate files.
This is not actually converting; it's more fixing-to-standard. It's not even duplicating, if you remove the original files after conversion (I guess you refer to m4a => flac, which I actually do). No loss in conversion, although m4a files are generally slightly smaller than the equivalent flac.
(12-11-2023, 04:08 PM)raspiter Wrote: Above all, I'm curious to understand what's happened to MPD and if there's a "software-side way" to fix the issue.
This IS a software way... nevertheless, if MPD complains only when PeppyMeters are involved, we may understand from @fdealexa how the stream is read, manipulated (as it clearly appears to be something MPD is complaining...) and output back to MPD.
I think that it may be either of:
1. something peppymeters don't do properly (hence corrupting the stream)
2. something weird in the stream itself, and peppymeters discarding some (for it) unnecessary information without fixing data elsewhere (if required) and rendering the stream valid, but not in its entirety (and MPD being very picky at formats...)
See what Francesco has to say, as I may be completely on the wrong path with my assumptions.
Hi everyone,
thanks for the information. First of all, I am not the owner nor the designer nor the author of Peppy: I just wrote a guide to install it in the moOde environment. From what I understand PeppyMeter is made up of 2 main blocks: PeppyAlsa and PeppyMeter. The first is mainly needed to create a fifo file with the two-channel signal level. The second does not manipulate any data: it only reads the fifo file and displays the levels graphically.
So the module that could be involved in the problem you describe is PeppyAlsa. To send the audio stream to this module I use the loopback function which allows you to send the stream to the real audio route and to PeppyAlsa. I'm not an Alsa specialist: on the diyaudio forum there are 2 threads where I found the author of Peppy and one of the best connoisseurs of Alsa.
It is my opinion that MPD is not involved in the issue. Could one of you, please, write a post describing the issue on that forum(I don't use apple)?
Best regards and thanks,
Francesco
Posts: 1,282
Threads: 24
Joined: Jun 2022
Reputation:
42
(12-11-2023, 03:20 PM)raspiter Wrote: Of course - without peppy - moode is able to play that kind of files. I've tried to study a bit the problem and I've found that the issue only occurs with purchased itunes files and not with any m4a itunes files that i've imported from my cd roms into itunes. And if I convert m4a/aac itunes files into m4a files moode is able to play them with no errors.
Reading better,
is moOde able to play the very same files IF you play them WITHOUT PeppyMeters? Or are you just mean ("that kind of files") that moOde can usually play .m4a files?
According to what Francesco is saying, the stream is kind of doubled: one copy is for MPD to play, and the other is for PeppyMeters to read and display.
Apart from timing conflicts, the only thing that comes to mind is some sort of DRM on the files, which Alsa observes, and limits MPD in its playback...
It could also be interesting to examine at byte-level the original file and the converted one... just for curiosity.
Posts: 6,027
Threads: 177
Joined: Apr 2018
Reputation:
235
I have owned several Apple devices for years but I've never bought into the Apple walled garden idea: iTunes, codecs, yada yada yada.
Still, this thread has tweaked my curiosity, Earlier this evening, I purchased and downloaded a classic album from the iTunes store for the first time just to see what there is to see. Haven't had time yet to example the contents but meanwhile I'm loving the remastered Jazz Messengers recording I bought.
Regards,
Kent
Posts: 1,282
Threads: 24
Joined: Jun 2022
Reputation:
42
12-12-2023, 02:21 AM
(This post was last modified: 12-12-2023, 02:22 AM by Nutul.)
(12-12-2023, 02:17 AM)TheOldPresbyope Wrote: Haven't had time yet to example the contents but meanwhile I'm loving the remastered Jazz Messengers recording I bought. Hi Kent,
so you are saying that they play on moOde, right?
This makes the things a little bit more confusing...
P.S.
What is exactly the album? I'm always all-ears when it comes to Jazz...
Posts: 6,027
Threads: 177
Joined: Apr 2018
Reputation:
235
12-12-2023, 03:08 AM
(This post was last modified: 12-12-2023, 03:25 AM by TheOldPresbyope.
Edit Reason: ETA
)
(12-12-2023, 02:21 AM)Nutul Wrote: (12-12-2023, 02:17 AM)TheOldPresbyope Wrote: Haven't had time yet to example the contents but meanwhile I'm loving the remastered Jazz Messengers recording I bought. Hi Kent,
so you are saying that they play on moOde, right?
This makes the things a little bit more confusing...
P.S.
What is exactly the album? I'm always all-ears when it comes to Jazz...
No, sorry, I was playing it on my iPad to make sure I got what I intended. I've just started transferring the files to my Linux Mint laptop.
For the first track, mediainfo reports
Code: kreed@T520:~/Music/Art Blakey & The Jazz Messengers/Moanin' (Remastered)$ mediainfo '01 Warm-Up and Dialogue Between Lee.m4a'
General
Complete name : 01 Warm-Up and Dialogue Between Lee.m4a
Format : MPEG-4
Format profile : Apple audio with iTunes info
Codec ID : M4A (M4A /mp42/isom)
File size : 1.67 MiB
Duration : 35 s 921 ms
Overall bit rate mode : Variable
Overall bit rate : 390 kb/s
Album : Moanin' (Remastered)
Album/Sorted by : Moanin' (Remastered)
Album/Performer : Art Blakey & The Jazz Messengers
Part/Position : 1
Part/Total : 1
Track name : Warm-Up and Dialogue Between Lee and Rudy
Track name/Position : 1
Track name/Total : 8
Performer : Art Blakey & The Jazz Messengers
Performer/Sorted by : Art Blakey & The Jazz Messengers
Composer : Spoken Word
Genre : Jazz
ContentType : Music
Recorded date : UTC 1958-01-01 12:00:00
Encoded date : UTC 2018-11-01 00:52:29
Tagged date : UTC 2023-12-11 18:30:52
Cover : Yes
AppleStoreCatalogID : 725816486
AlbumTitleID : 999447
cmID : 461986
PlayListID : 725816184
GenreID : 11
PurchaseDate : 2023-12-12 01:31:00
Title/Sort : Warm-Up and Dialogue Between Lee and Rudy
Audio
ID : 1
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 35 s 921 ms
Bit rate mode : Variable
Bit rate : 256 kb/s
Maximum bit rate : 456 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 1.13 MiB (68%)
Language : English
Encoded date : UTC 2018-11-01 00:52:29
Tagged date : UTC 2023-12-11 18:30:52
Note what it says for the Format profile: "Apple audio with iTunes info"
On the hunt to see what "...with iTunes info" means. And of course I still need to serve the files to moOde now that I've got them.
ETA - Yes, these tracks play in moOde.
This is classic hard bop jazz of the late 1950s. My tastes grew with time but II like revisiting the "masters".
Regards,
Kent
Posts: 6,027
Threads: 177
Joined: Apr 2018
Reputation:
235
12-12-2023, 03:30 AM
(This post was last modified: 12-12-2023, 08:48 PM by TheOldPresbyope.
Edit Reason: fixed my signature
)
@ raspiter
What is the output from execcuting mediainfo on one of your tracks which does not play with PeppyMeter enabled?
Regards.
Kent
(Don't know how I managed to get "Lemt" as a signature the first time)
Posts: 1,282
Threads: 24
Joined: Jun 2022
Reputation:
42
12-12-2023, 03:58 AM
(This post was last modified: 12-12-2023, 04:00 AM by Nutul.)
(12-12-2023, 03:08 AM)TheOldPresbyope Wrote: (12-12-2023, 02:21 AM)Nutul Wrote: (12-12-2023, 02:17 AM)TheOldPresbyope Wrote: Haven't had time yet to example the contents but meanwhile I'm loving the remastered Jazz Messengers recording I bought. Hi Kent,
so you are saying that they play on moOde, right?
This makes the things a little bit more confusing...
P.S.
What is exactly the album? I'm always all-ears when it comes to Jazz...
No, sorry, I was playing it on my iPad to make sure I got what I intended. I've just started transferring the files to my Linux Mint laptop.
For the first track, mediainfo reports
Code: kreed@T520:~/Music/Art Blakey & The Jazz Messengers/Moanin' (Remastered)$ mediainfo '01 Warm-Up and Dialogue Between Lee.m4a'
General
Complete name : 01 Warm-Up and Dialogue Between Lee.m4a
Format : MPEG-4
Format profile : Apple audio with iTunes info
Codec ID : M4A (M4A /mp42/isom)
File size : 1.67 MiB
Duration : 35 s 921 ms
Overall bit rate mode : Variable
Overall bit rate : 390 kb/s
Album : Moanin' (Remastered)
Album/Sorted by : Moanin' (Remastered)
Album/Performer : Art Blakey & The Jazz Messengers
Part/Position : 1
Part/Total : 1
Track name : Warm-Up and Dialogue Between Lee and Rudy
Track name/Position : 1
Track name/Total : 8
Performer : Art Blakey & The Jazz Messengers
Performer/Sorted by : Art Blakey & The Jazz Messengers
Composer : Spoken Word
Genre : Jazz
ContentType : Music
Recorded date : UTC 1958-01-01 12:00:00
Encoded date : UTC 2018-11-01 00:52:29
Tagged date : UTC 2023-12-11 18:30:52
Cover : Yes
AppleStoreCatalogID : 725816486
AlbumTitleID : 999447
cmID : 461986
PlayListID : 725816184
GenreID : 11
PurchaseDate : 2023-12-12 01:31:00
Title/Sort : Warm-Up and Dialogue Between Lee and Rudy
Audio
ID : 1
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 35 s 921 ms
Bit rate mode : Variable
Bit rate : 256 kb/s
Maximum bit rate : 456 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 1.13 MiB (68%)
Language : English
Encoded date : UTC 2018-11-01 00:52:29
Tagged date : UTC 2023-12-11 18:30:52
Note what it says for the Format profile: "Apple audio with iTunes info"
On the hunt to see what "...with iTunes info" means. And of course I still need to serve the files to moOde now that I've got them.
ETA - Yes, these tracks play in moOde.
This is classic hard bop jazz of the late 1950s. My tastes grew with time but II like revisiting the "masters".
Regards,
Kent
Ooo, Moanin' is a must-listen :-)
but... wait, what? I thought iTunes provided lossless downloads, Isn't it so? Or maybe you can chose, and pay accordingly...?
Anyway, AAC is probably the best, among the lossy codecs, uh?
Enjoy, I am currently with Mr. Miles Davis Kind of Blues (about the same years... 1959)
ETA
Oh, one more thing: album-art? Is it there? does moOde display it?
Also, all the metadata?
Posts: 6,027
Threads: 177
Joined: Apr 2018
Reputation:
235
Kind of Blue has been in my library for decades, first as LP, then CD, and now as FLACs. Had some other Blakey / Jazz Messengers but not Moanin’. Don’t remember why not.
Yes, all the usual track metadata are presented in moOde as is the coverart.
Candidly, I didn’t know what encoding to expect. As you see, I got AAC.
I need to go back and see if / how Apple sells lossless tracks.
Regards,
Kent
Posts: 1,282
Threads: 24
Joined: Jun 2022
Reputation:
42
(12-12-2023, 04:29 AM)TheOldPresbyope Wrote: Kind of Blue has been in my library for decades, first as LP, then CD, and now as FLACs. Had some other Blakey / Jazz Messengers but not Moanin’. Don’t remember why not.
Yes, all the usual track metadata are presented in moOde as is the coverart.
Cool!
|