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

how to modify hw:0 for plughw:0? #4

Open
FLY909 opened this issue Jun 8, 2019 · 1 comment
Open

how to modify hw:0 for plughw:0? #4

FLY909 opened this issue Jun 8, 2019 · 1 comment

Comments

@FLY909
Copy link

FLY909 commented Jun 8, 2019

Hello, I have a problem with the installation.

If you see a desktop but you don't see xwax start, run the /usr/share/pideck/pideck script from a shell to find out the error message. For example, your particular sound card might require you to use a plughw:0 Rather than hw:0 device when starting xwax.

My test result is to use plughw:0, but how to modify hw:0 for plughw:0? Forgive me for being a computer idiot. I used the first generation sound card built in rane57.

Thank you for project and help :)

@danielhjames
Copy link
Member

Hi @FLY909, for test purposes you can substitute $XCARD at the end of the /usr/share/pideck/pideck script with whatever device name you want to test.

The plughw device is suboptimal in a realtime application like xwax because it uses a conversion layer. If your device runs with plughw:0 but not hw:0 the first thing to try is to change SAMPLERATE="48000" to SAMPLERATE="44100" near the top of /usr/share/pideck/pideck and then try the hw:0 device again.

This is because some DJ hardware only opens at 44100 Hz sample rate, and plughw is converting this for you so that xwax can open at the 48000 Hz default rate.

Please let us know how you get on! We should be able to figure this out between us, then we can add lines for the Rane 57 into https://github.com/pideck/pideck/blob/master/cards_autodetect so that it works out of the box for everyone.

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