Posts: 566
Threads: 5
Joined: Mar 2020
Reputation:
31
(06-29-2021, 10:43 PM)Tim Curtis Wrote: (06-29-2021, 10:09 PM)fdealexa Wrote: Hello everybody,
would anyone be kind enough to try to help me?!?!?!?
I tried a fresh install twice and encountered the following problem: the
Quote:/var/local/www/currentsong.txt
it exists but is empty.
I have also tried, on the same system, to upgrade from 7.2.1 and it seems that the problem does not occur.
Do you have any suggestions?
Sincerely and thanks,
Francesco
On the r730 release image:
As shipped the file is empty
Code: pi@moode:~ $ cat /var/local/www/currentsong.txt
pi@moode:~ $
After turning the "Metadata file" option ON in System Config it gets populated
Code: pi@moode:~ $ cat /var/local/www/currentsong.txt
file=SDCARD/Stereo Test/LRMonoPhase4.flac
artist=Koz
album=Stereo Test
title=LR Channel And Phase
coverurl=/coverart.php/SDCARD%2FStereo%20Test%2FLRMonoPhase4.flac
track=1
date=1997
composer=
encoded=16/48 FLAC
bitrate=431 kbps
outrate=0 bps
volume=0
mute=0
state=pause
pi@moode:~ $
Thank you very much, Tim.
I also noticed that the "Show Now-playing icon" option works perfectly.
All of this is very welcome, commendable and very courteous of you.
Thanks a lot again,
Francesco
Posts: 13,405
Threads: 304
Joined: Mar 2018
Reputation:
543
06-30-2021, 10:22 AM
(This post was last modified: 06-30-2021, 10:33 AM by Tim Curtis.
Edit Reason: eta
)
(06-30-2021, 02:21 AM)Macdelf Wrote: (06-30-2021, 02:10 AM)Macdelf Wrote: (06-30-2021, 01:05 AM)Tim Curtis Wrote: Can you provide the file(s) and steps to repro the issue?
Code: ---
devices:
adjust_period: 10
capture:
type: File
channels: 2
filename: /dev/stdin
format: S32LE
capture_samplerate: 0
chunksize: 4096
enable_rate_adjust: true
enable_resampling: false
playback:
type: Alsa
channels: 2
device: hw:2,0
format: S32LE
queuelimit: 32
resampler_type: BalancedAsync
samplerate: 192000
silence_threshold: 0
silence_timeout: 0
target_level: 0
filters:
Lconv:
parameters:
filename: ../../../../home/pi/L_impulse_$samplerate$_rew.txt
format: TEXT
read_bytes_lines: 0
skip_bytes_lines: 15
type: Raw
type: Conv
Rconv:
parameters:
filename: ../../../../home/pi/R_impulse_$samplerate$_rew.txt
format: TEXT
read_bytes_lines: 0
skip_bytes_lines: 15
type: Raw
type: Conv
gainred:
parameters:
gain: -2
inverted: false
mute: false
type: Gain
pipeline:
- channel: 0
names:
- gainred
- Lconv
type: Filter
- channel: 1
names:
- gainred
- Rconv
type: Filter
...
The Impulse file is too large but here is the beginning
* Impulse Response data saved by REW V5.20
* IR is not normalised
* IR window has not been applied
* IR is not the min phase version
* Source: Microphone (Umik-1 Gain: 18dB ), MICROPHONE (Master Volume),
* Dated: Jan 25, 2021 11:13:13 AM
* Measurement: speakers set digital out Jan 25
* Excitation: 512k Log Swept Sine, 1 sweep at -12.0 dBFS using an acoust
* Response measured over: 10.0 to 20,000.0 Hz
0.1121257991 // Peak value before normalisation
11024 // Peak index
22051 // Response length
0.0000226757 // Sample interval (seconds)
-0.2500113249 // Start time (seconds)
* Data start
-0.0000033564495
-0.000002893786
-0.0000030472875
-0.0000031913376
-0.0000033453098
-0.0000032243236
-0.0000026446 Is there a way to send very large files? I cannot seem to attach the .txt impulse file. BTW the REW header is not used it is there just so I can debug in REW. I geneated the function by measuring with REW and my own Fourier transform. When I run this it dous seem to give the correcet amplitude results with a frequency sweep. It is a symettric impulse response and should have linear phase. REW says it does too. The phase plot from the moode pipeline editor bugs me and must be wrong.
Sure it could be a bug in CamillaPlot but your file(s) are needed in order to try and reproduce the issue so it could possibly be debugged.
You'll need to use a download service like DropBox, Google Drive etc for large files.
ETA: Missed your PM, thanks for the download link.
Posts: 63
Threads: 10
Joined: Apr 2018
Reputation:
2
06-30-2021, 12:18 PM
(This post was last modified: 06-30-2021, 12:41 PM by Macdelf.)
(06-30-2021, 10:22 AM)Tim Curtis Wrote: (06-30-2021, 02:21 AM)Macdelf Wrote: (06-30-2021, 02:10 AM)Macdelf Wrote: (06-30-2021, 01:05 AM)Tim Curtis Wrote: Can you provide the file(s) and steps to repro the issue?
Code: ---
devices:
adjust_period: 10
capture:
type: File
channels: 2
filename: /dev/stdin
format: S32LE
capture_samplerate: 0
chunksize: 4096
enable_rate_adjust: true
enable_resampling: false
playback:
type: Alsa
channels: 2
device: hw:2,0
format: S32LE
queuelimit: 32
resampler_type: BalancedAsync
samplerate: 192000
silence_threshold: 0
silence_timeout: 0
target_level: 0
filters:
Lconv:
parameters:
filename: ../../../../home/pi/L_impulse_$samplerate$_rew.txt
format: TEXT
read_bytes_lines: 0
skip_bytes_lines: 15
type: Raw
type: Conv
Rconv:
parameters:
filename: ../../../../home/pi/R_impulse_$samplerate$_rew.txt
format: TEXT
read_bytes_lines: 0
skip_bytes_lines: 15
type: Raw
type: Conv
gainred:
parameters:
gain: -2
inverted: false
mute: false
type: Gain
pipeline:
- channel: 0
names:
- gainred
- Lconv
type: Filter
- channel: 1
names:
- gainred
- Rconv
type: Filter
...
The Impulse file is too large but here is the beginning
* Impulse Response data saved by REW V5.20
* IR is not normalised
* IR window has not been applied
* IR is not the min phase version
* Source: Microphone (Umik-1 Gain: 18dB ), MICROPHONE (Master Volume),
* Dated: Jan 25, 2021 11:13:13 AM
* Measurement: speakers set digital out Jan 25
* Excitation: 512k Log Swept Sine, 1 sweep at -12.0 dBFS using an acoust
* Response measured over: 10.0 to 20,000.0 Hz
0.1121257991 // Peak value before normalisation
11024 // Peak index
22051 // Response length
0.0000226757 // Sample interval (seconds)
-0.2500113249 // Start time (seconds)
* Data start
-0.0000033564495
-0.000002893786
-0.0000030472875
-0.0000031913376
-0.0000033453098
-0.0000032243236
-0.0000026446 Is there a way to send very large files? I cannot seem to attach the .txt impulse file. BTW the REW header is not used it is there just so I can debug in REW. I geneated the function by measuring with REW and my own Fourier transform. When I run this it dous seem to give the correcet amplitude results with a frequency sweep. It is a symettric impulse response and should have linear phase. REW says it does too. The phase plot from the moode pipeline editor bugs me and must be wrong.
Sure it could be a bug in CamillaPlot but your file(s) are needed in order to try and reproduce the issue so it could possibly be debugged.
You'll need to use a download service like DropBox, Google Drive etc for large files.
ETA: Missed your PM, thanks for the download link. Thanks for looking into this. I just had a thought. Could the phase in this plot actually be linear? It is on a log plot which confuses things. That along with a course number of plotted point just might be the reason for the plots looking that way. It would be nice if the phase plots removed th main delay. Nice but not critical.
Posts: 6,018
Threads: 176
Joined: Apr 2018
Reputation:
235
06-30-2021, 06:26 PM
(This post was last modified: 06-30-2021, 06:59 PM by TheOldPresbyope.
Edit Reason: typo
)
@ Macdelf
It's been many decades since I played with Bode plots and that was in RF applications. I've forgotten more than I ever knew
Doesn't REW itself offer a way to create a phase plot from your data? What does that look like compared to the C-DSP plot?
Regards,
Kent
Posts: 24
Threads: 0
Joined: Sep 2020
Reputation:
0
(06-29-2021, 10:26 PM)oculto Wrote: (06-29-2021, 10:09 PM)uteroid Wrote: After the updated, I no longer see the 'Spotify Connected' screen when I go to the web interface and connected to Spotify, I can freely browse the web interface. Though if I try to play a song while Spotify is connected, I get an error "Failed to open "ALSA Default" (alsa); Failed to open ALSA device "_audioout": Device or resource busy". Is this expected behavior?
Same behavior as mine, and I am not sure if spotify render is using any EQ or respect any other settings. I cannot see the AUDIO INFO anymore with spotify (before was i little tricky but it was possible from any other screen)
a new fresh image fix the problem (i saved moodecfg.ini to make it quickly). Maybe there is a bug on upgrade script, something messing with the spotify overlay vs mdp
Posts: 13,405
Threads: 304
Joined: Mar 2018
Reputation:
543
When I tested the update on a stock r721 image everything looked ok but its always possible I missed something.
If more reports come in with same issue I'll go ahead and retest the update.
Posts: 63
Threads: 10
Joined: Apr 2018
Reputation:
2
(06-30-2021, 06:26 PM)TheOldPresbyope Wrote: @Macdelf
It's been many decades since I played with Bode plots and that was in RF applications. I've forgotten more than I ever knew
Doesn't REW itself offer a way to create a phase plot from your data? What does that look like compared to the C-DSP plot?
Regards,
Kent
Yes REW does plot phase. It looks flat within say 10 degrees. Unlike C-DSP, REW centers the delay on the peak so it is not wrapped around. My peak is 250 ms into the impulse response and symmetric about that peak. As a function that is symmetric it has a pure real, but delayed, frequency response. I am beginning to believe that all is fine and that low resolution of the data points that are so wrapped around are making the plot look as it does. C-DSP should probably time shift the data to the center of the file or, better, to the peak of the impulse response prior to Fourier transforming it. Such wrap around makes it impossible to read anything meaningful from the plot anyway and covers up the imulse response plot.
Posts: 6,018
Threads: 176
Joined: Apr 2018
Reputation:
235
@ Macdelf
Sounds like a new issue for the CamillaDSP project.
Regards,
Kent
Posts: 13,405
Threads: 304
Joined: Mar 2018
Reputation:
543
Posts: 4
Threads: 0
Joined: Jun 2021
Reputation:
0
(06-30-2021, 08:59 PM)Tim Curtis Wrote: When I tested the update on a stock r721 image everything looked ok but its always possible I missed something.
If more reports come in with same issue I'll go ahead and retest the update.
Hi Tim,
same issue for me. After updating to 7.3.0 , it was tricky to get a Spotify connection at all and when it worked, the screen didn't blur. I made a fresh install with a 7.3.0 image and now it works fine.
Oliver
|