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

AudioPlayer::Soundfile::soundfile_error #154

Open
RarogCmex opened this issue Aug 31, 2019 · 10 comments
Open

AudioPlayer::Soundfile::soundfile_error #154

RarogCmex opened this issue Aug 31, 2019 · 10 comments

Comments

@RarogCmex
Copy link

RarogCmex commented Aug 31, 2019

SSR 0.5 , Gentoo Linux.

terminate called after throwing an instance of 'AudioPlayer::Soundfile::soundfile_error'
what(): get_format(): ERROR: Can't connect; chainsetup not valid!
Cannot read socket fd = 5 err = Выполнено
CheckRes error
JackSocketClientChannel read fail
terminate called recursively
Unable to start Dr. Konqi

@RarogCmex
Copy link
Author

RarogCmex commented Aug 31, 2019

That's with any file.
SSR being compiled and installed without issues
Emerge --info http://dpaste.com/01V5XK1
About libsndfile version http://dpaste.com/1TQZXWN (eix -vvv)
Can I add any additional helpful info?

@JensAhrens
Copy link
Contributor

What kind of sound files is it?

@JensAhrens
Copy link
Contributor

... I could also imagine that there is an issue with the path to the file (special characters or paths that are too long or so). Could this be?

@RarogCmex
Copy link
Author

RarogCmex commented Aug 31, 2019

Tested with wav and flac files.

... I could also imagine that there is an issue with the path to the file (special characters or paths that are too long or so). Could this be?

Yes, it could, because my native language is Russian so my system uses ru_RU.utf-8 locale. I tested it with paths without any cirrylic symbols but it didn't help so I haven't had any confidence yet.

@RarogCmex
Copy link
Author

Example of tested stuff
Test_Epidemia_Opus.zip

@JensAhrens
Copy link
Contributor

Sorry for the delay... I tested your file on maxOS and it works well. The only proposition that I have is re-installing libsndfile and ecasound. We've seen problems with ecasound on some systems that could only be solved by compiling ecasound on that system.

Your error sounds similar to this one: https://ssr.readthedocs.io/en/0.5.0/operation.html#ecasound-cannot-open-a-jack-port (there is a solution proposed)

Finally, another issue can be that jack might be running with realtime priority. This can prevent clients without realtime priority from connecting to it.

@RarogCmex
Copy link
Author

You're never guilty in the unavoidable :)
That's seems strange, because my Gentoo Linux is source-based and I set up that any package with jack support compiled with its (with added USE="jack" in global make.conf). But I'll test Ecasound connections.
The issue with realtime jack... I didn't use to see that before, And I didn't think that it's possible.

@JensAhrens
Copy link
Contributor

Please check if ecasound can play your files to jack. The command would be something like

ecasound -i AUDIO_FILE_NAME.FLAC -o jack,system

Make sure you keep the volume low. ;) It'll play with maximum amplitude directly to your audio interface.

@RarogCmex
Copy link
Author

RarogCmex commented Sep 5, 2019

Yes, Ecasoud seems working well. I'm hearing my file in ecasound without any distortion
`**************************************************************************

  •    ecasound v2.9.1 (C) 1997-2014 Kai Vehmanen and others    
    

(audioio_jack_manager) JACK transport: send/receive disabled (mode: notransport)
(eca-chainsetup) Chainsetup "untitled-chainsetup"
(eca-chainsetup) "rt" buffering mode selected.
(eca-chainsetup) Opened input "Test_Europe_Carry.wav", mode "read". Format: s16_le, channels 2, srate 44100, interleaved (locked
... params).
(eca-chainsetup) NOTE: using existing audio parameters -f:f32_le,2,44100 for object 'jack' (tried to open with
... -f:s16_le,2,44100).
(eca-chainsetup) Opened output "jack", mode "write". Format: f32_le, channels 2, srate 44100, noninterleaved (locked params).

  • [ Connected chainsetup: "untitled-chainsetup" ] ------------------------
  • [ Controller/Starting batch processing ] -------------------------------
  • [ Engine - Driver start ] ----------------------------------------------
    ^C- [ Controller/Batch processing finished (0) ] ---------------------------
  • [ Engine exiting ] -----------------------------------------------------
    (eca-control-objects) Disconnecting chainsetup: "untitled-chainsetup".
    `

@JensAhrens
Copy link
Contributor

Sorry, I have no idea what to do now. The problem occurs here.

Ecasound seems to be having trouble opening the file. I'd suggest that you try to invoke the same ecasound commands on the command line that are being invoked in lines 120-130 and see if that tells you anything...

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