Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clicking measure produces an error at the end of its run #8

Open
fossfreedom opened this issue Jun 27, 2015 · 3 comments
Open

clicking measure produces an error at the end of its run #8

fossfreedom opened this issue Jun 27, 2015 · 3 comments

Comments

@fossfreedom
Copy link
Contributor

observed the following error:

Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/DRC/DRCUi.py", line 432, in on_execMeasure
    evalDlg = MeasureQADlg(self.parent, raw_sweep_file_base_name, raw_sweep_recorded_base_name, impOutputFile, self.sweep_level)
  File "/usr/lib/rhythmbox/plugins/DRC/DRCUi.py", line 132, in __init__
    measSweepData = DRCFileTool.LoadAudioFile(measSweepFile, 1)
  File "/usr/lib/rhythmbox/plugins/DRC/DRCFileTool.py", line 172, in LoadAudioFile
    filter_array = LoadRawFile(filename, numChannels)
  File "/usr/lib/rhythmbox/plugins/DRC/DRCFileTool.py", line 127, in LoadRawFile
    filterFile = open( filename, "rb" )
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/msrecsweep.pcm'

debian package here - https://launchpad.net/~fossfreedom/+archive/ubuntu/playground/+files/rhythmbox-plugin-drc_0.1.4-1_all.deb

@fossfreedom
Copy link
Contributor Author

hmm - just wondering - is the Makefile still correct after the directory restructuring work in the last couple of days?

@TheBigW
Copy link
Owner

TheBigW commented Jun 27, 2015

good news is that I can reliably reproduce when I use my internal sound card: never did as my calibrated mic needs 48V phantom powering which only my USB interfaces can provide. Big relief it still works for my usual set-up so I did not break anything in my recent clean-ups :).

I need to dig a bit deeper tomorrow. All recent findings were definitely good to have been fixed and probably this one too.

@TheBigW
Copy link
Owner

TheBigW commented Jun 27, 2015

couldn't wait :)

basically the recording calls a script:

/usr/share/rhythmbox/plugins/DRC/measure 32 44100 45 21000 5 2 hw:0,0 hw:0,0 /home/tobias/.cache/rhythmbox/DRC/MeasureResults/impOutputFile20150627230427_45_21000_5.wav 0.5 2

last parameter is the record channel. Strange that for my internal soundcard only '2' worked. After I figured that out I changed the input channel in the UI and that worked too.
Not that it would make a difference as there are no calibrated mics for internal sound cards :). But maybe still good to have a look: can you call the measure script directly and give me the output?

in my case I got an alsa error for channel one and recording just did not happen at all:

arecord: set_params:1239: Channels count non available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants