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

audioinjector looks like not registered? #10

Open
JanezJan opened this issue May 29, 2021 · 36 comments
Open

audioinjector looks like not registered? #10

JanezJan opened this issue May 29, 2021 · 36 comments

Comments

@JanezJan
Copy link

JanezJan commented May 29, 2021

Hello
So i am trying for couple days now :)

Got last image flashed on sd card for raspberry pi3b+
image is one from page... name: pideck-grandmaster-prerelease

after i flash and run i got problems with screen... I think becouse its some kind fake one 7 inch


FIRST CHANGES:
With ALT + F4 i close xwax and L + R buttons.... Create new folder from which i run terminal

/etc/default/keybord so i change the keyboard layout to SI
/etc/lightdm/lightdm.conf remove -nocursor to get cursor back

/boot/config.txt
ADDED
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0

so now i got normal position of all components.....


pideck-grandmaster-prerelease IMAGE:
The thing is that i can load usb, i can load track.... i can start time code from vinyl and i even got output beeeeep when i use BYPASS and music allso plays... try allso with amp

so soud card is working normaly i supose.,... But problem is when i want to use timecode from vinyl nothing happens....
allso try with amplifie signal with pioneer mixer so i have strong signal from vinyl but it doesnt run the time
tried diferent combinations with CUE1 and TIMECD and doesnt activate...

cat /proc/asound/cards
gives answaer:
0 [audioinjectorpi: audioinjector-p - audioinjector-pi-soundcard
adioinjectro-pi-soundcard

here it should have also "1 {device]"??? i am using audioinjector stereo sound card

aplay -l
answer:
card 0: audioinjectorpi [audioinjector-pi-soundcard],
device 0: audioinjector audio wm8731-hifi-0
Subdevices 1/1
Subdevice #0: subdevice#0

Here is the output of my dmesg:
audioinjector-stereo socsound ASoC: CODEC DAI wm8731-hifi not registered - will retry
audioinjector-stereo socsound snd_soc_register_card failed (-517)


/usr/bin/alsamixer is working ok,
AlsaMixer v1.1.6 showing Card: audioinjector-pi-soundcard
Line is in ''capture'' mode capture volume 56 (changeing it allso with pioner DJM preamp from mixer)

BTW: Some of tracks have bpm on list, but only 3 of 50 tracks.... i have to figure out what to do to mout bpm to others...

Touch screen doesnt work that's why i use mouse


NEWER IMAGE OF DEBIAL:
After couple days trying to do it working i strarted with new flas MICRO SD
So i flash last Raspberypi OS Debian 2021-05-07
i remove default sound card
i install ALSA and drivers for my audioinjector wm8731
VLC didnt play until i install i think its called SuX or some kind of codecs i think
than i got VLC playing music and all got right
later i install XWAX 1.7 to try but i got problem from XWAX becouse i ned to define at least one sound card fr one deck...
so i do command xwax -a and all went to STOP.... there was no definition right for my soundcard

So is there any ideas how to make any differences so this could work?

@JanezJan
Copy link
Author

This is video if you want to se my setup

https://we.tl/t-OOjE5tx9eE

its wetransfer link for download
1 week activated link.... starting from today 29.5.2021

If you need any other info i am here just say i will get everything :)

I really want to make it work :)

@JanezJan
Copy link
Author

display in known from this video: https://www.youtube.com/watch?v=TYzOhgUmZcw&t=1s

here you can se original and ''fake'' one....

@JanezJan JanezJan changed the title PiDeck start but no working audioinjector looks like not registered? May 31, 2021
@danielhjames
Copy link
Member

Hi @JanezJan thanks for the video, it looks like the issue is with your soundcard input signal because the scope on the right should be green, not orange when the vinyl is playing. Please see the example at http://xwax.org/screenshot_small.png

Are you using Traktor timecode vinyl by any chance?

@JanezJan
Copy link
Author

JanezJan commented Jun 3, 2021

Hello, Yes i am using Traktor scratch control vinyl MK2... Should i buy other time coded vinyl? I allso try with amplifying it with mixer...

@JanezJan
Copy link
Author

JanezJan commented Jun 3, 2021

@danielhjames

@danielhjames
Copy link
Member

danielhjames commented Jun 3, 2021

@JanezJan Sorry to say that xwax does not support Traktor Mk2 vinyl at present. We recommend Serato CV02 or later timecode vinyl for use with PiDeck.

@JanezJan
Copy link
Author

JanezJan commented Jun 3, 2021

OOOOOOOOOooooooooo nice to hear that! I will order it right now, i really want this sistem to eork :)

Thanks for answer, i will send feedback when i got it and hope it will work than :)

Thanks allot @danielhjames

@JanezJan
Copy link
Author

JanezJan commented Jun 3, 2021

https://www.thomann.de/intl/si/rane_serato_vinyl_black.htm

i ordered this.... I can't find no version of it... like you said CV02? I hope becouse it's new from store it will have fresh time code :)

@danielhjames
Copy link
Member

Hi @JanezJan I think that vinyl is CV02.5 which should work fine with PiDeck. It's pretty much the same as CV02 but 6dB louder, for a better signal to noise ratio. Please let us know if it works for you.

@JanezJan
Copy link
Author

JanezJan commented Jun 8, 2021

@danielhjames

Hello
I have bad luck... I try with this vinyl serato and no effect.... I make video of what is going on, but it looks like same like with traktor vinyl.....

https://www.sendtransfer.com/download.php?id=7815241959102e0a5c07f4a99a98a85f

CONFIG.TXT looks like this
20210608_131609

aplay -l
20210608_131652

I uninstall default sound card so the audioinjector card is working like it is.... But i find some problems when i write down command ''dmesg''

here is link for full picture cuted and pasted together.... at the bottom you can see some lines about time code probe....

https://www.sendtransfer.com/download.php?id=9007edc27b95ff3322a7891c0962e2cf

Got any idea what to do? Any sugesstions?

Thanks allot for takeing your time to check all the simptoms

@JanezJan
Copy link
Author

JanezJan commented Jun 8, 2021

@danielhjames

Now i try with fresh image on SD card pideck-grandmaster-prerelease
i change vinyl deck to MK5
And put the DJM-900 nxs mixer

same thing...

bypass signal strong and loud

dmesg give me nice return.... no time errors only this....

20210608_145010

@danielhjames
Copy link
Member

Hi @JanezJan from the video, it looks like the input signal from the turntable is not arriving to the audioinjector card, but as you can hear the bypass signal perhaps it is a level matching issue. I would suggest experimenting with the gain knob on the audio injector and the levels on the mixer. You might also have a ground loop in your system which is preventing a clean signal, so I would suggest you check if the mixer and Raspberry Pi are powered from the same mains outlet.

@JanezJan
Copy link
Author

JanezJan commented Jun 8, 2021

@danielhjames

Before i conected GND cable i got just once this strange line away from center...

20210608_145516

Now that i conected the GND cable and put it on one of GND pins on PI 3b+ i got line in center.... But the line... Looks like in MONO? Circle would be STEREO if i am correct? And when i look mixer it is nice stereo signal... I allso plug the output from mixet to my stereo sound sistem and it is beeep from both speakers... So it's stereo for shure...

Check the video if you see any strange things?

Any new sugestions? :)

https://www.sendtransfer.com/download.php?id=67264df65e8a741704e70dfaa7d564f9

@JanezJan
Copy link
Author

JanezJan commented Jun 8, 2021

@danielhjames
Huh.... I take the cable from sound card and activate the BYPASS... And it is not in stereo...

Any idea how to make stereo... It looks like this is problem... Signal from mixer is stereo... And sound card is makeing it in mono maybe?

@JanezJan
Copy link
Author

JanezJan commented Jun 8, 2021

@danielhjames

Now i got bigger line becouse i went to alsa mixer and make CAPTURE 12dB gain... so i amplifie it

@danielhjames
Copy link
Member

Hi @JanezJan if the system is mono this will definitely stop xwax from working, stereo is essential for timecode. Are you sure the signal from the mixer is not two channels of mono? Maybe check with a stereo analogue vinyl record that your cartridge headshell is wired correctly.

@JanezJan
Copy link
Author

JanezJan commented Jun 8, 2021

@danielhjames

So i dissasamble one of vinyl decks.... Technics...
My wires are like this

technics stereo

I checked the internet for connections and it looks like right...

technics stereo plan

Allso youtube video

https://www.youtube.com/watch?v=8VNh5ifwBNQ

Is there any othe options in software that makes mono?
Or to enable stereo?

@danielhjames
Copy link
Member

Hi @JanezJan in my experience it is more common to have wiring problems in the cartridge headshell where the four thin wires connect between the cartridge and the four pins which connect through to the tonearm.

@JanezJan
Copy link
Author

JanezJan commented Jun 8, 2021

@danielhjames

:) Ok, i will dissasemlel arm and ceck that :)

But i am really woried about, i can't belive that all 3 vinyl decks have same problem... Bu i will try with one of them...

What is this post about... I was looking for MONO ISSUE and find here some settings or what it is?

pideck/pideck#92

Is really no posibilities that it is in software problem?

@danielhjames
Copy link
Member

@JanezJan there should be no need to disassemble the headshell or arm, you can check from underneath the headshell if the wiring order is correct. This is a common wiring error when people change cartridges.
The other issue that mentions mono is a completely different soundcard. I think your audioinjector is working because the bypass command is recognised, but to be sure, try playing a sound file directly through it using the aplay command.

@JanezJan
Copy link
Author

JanezJan commented Jun 8, 2021

@danielhjames

i used: aplay --test-nowait

is this normal? 8bit, 8000Hz Mono
No sound came out...

20210608_191234

@danielhjames
Copy link
Member

@JanezJan try with an audio file:
aplay -c 2 stereo_test_file.wav

@JanezJan
Copy link
Author

@danielhjames i try:
aplay -c 2 stereo_test_file.wav
return: aplay: main:604: invalid channels argument 'stereo_test_file.wav'

I find on internet:
speaker-test -c2
firstly i got ' Device or resource busy'
so i close pideck app and try again

and it gives the noise on left, than on right speaker of my sound sistem....

So it looks like the audio interface work correctly :)

Still when i run PiDeck and use BYPASS it sends signal only to one speaker and i look at mixer i got stereo signal and allso i allredy check if the vinyl deck gives stereo and it is....

Any new sugestions?
Any test commands or any other commands that give me some information if anything is wrong or something?

It is strange that all looks like working well, but the time circle doesnt apear on xwax....

BTW: i now allso have new powersuply and it gives out: 5V 4A so it's really powerfull :)

@JanezJan
Copy link
Author

@danielhjames here are 2 videos so you can se what is going on :)

https://www.sendtransfer.com/download.php?id=25cea70bac6f808a3c236cf4cbf75feb

@danielhjames
Copy link
Member

@JanezJan Just to be clear, you need to copy a file stereo_test_file.wav into the working directory, that's just an example :-)

@danielhjames
Copy link
Member

Hi @JanezJan in your video where you show the line on the scope getting bigger and smaller, this looks like a phase issue. Personally I never experienced this but I wonder if it has something to do with running the timecode signal through a mixer rather than a simple pre-amp. Try connecting the turntable directly to the audioinjector inputs and using xwax's software preamp mode:
xwax --phono -a hw:0 -l /media/

@JanezJan
Copy link
Author

@danielhjames
xwax --phono -a hw:0 -l /media/
returns:
Initialising deck 0 (hw:0)...
ALSA hw_params_set_buffer_time_near: Invalid argument
Buffer of 8ms may be too small for this hardware.
Failed to open device for capture.

@danielhjames
Copy link
Member

danielhjames commented Jun 14, 2021 via email

@JanezJan
Copy link
Author

@danielhjames
buffer size lower than 32ms and the xwax don't start so....
i did it like this:

xwax --phono -r 44100 -m 32 -a hw:0 -l /media/

it starts the program but no playing vinyl....
But when i use bypass i got this different signal on cross

20210615_103847

@JanezJan
Copy link
Author

@danielhjames
Copy link
Member

Hi @JanezJan I have never seen these kinds of patterns in the scope, I'm beginning to wonder if your audioinjector card is broken. Is there any way you can remove it to try a USB interface instead please? Please see the list of tested soundcards at https://github.com/pideck/pideck/blob/master/soundcards.md

@JanezJan
Copy link
Author

@danielhjames before i order and get one of sound cards from list i will get the package of 3 audioinjectors, so i will wait... I think allredy this week they will arive :) date is a bit wide from 17 June till 15 July... Than i can try and change them and allso i have 2 raspbery pi 3b+ so i think i will make it work if this is faulty soundcard :)

I will let you know when the cards will arive and i will try with 2 systems created so i will see the changes and simptoms what is going on :)

I have 3 vinyl decks, 2 raspary pi and i will order the third one so i will make 3 systems :)

@JanezJan
Copy link
Author

JanezJan commented Sep 9, 2021

@danielhjames so i got scamed and hardly get back refound..... So i was looking to buy audio injector stereo sound card.... But it looks like it is out of stock... Can you say what sound card should i buy so you know it would work? Advice?

Thanks :)

@danielhjames
Copy link
Member

Hi @JanezJan I think the most exiting sound card at the moment is the audioinjector RCA preamplifier https://shop.audioinjector.net/detail/Sound_Cards/RCA+preamplifier but it seems like the base soundcard is not easy to get. I would suggest contacting Matt Flax at audioinjector.net to find out the current status.

Personally I find myself using the M-Audio Synchroscience Connectiv Torq USB device most regularly, which I got from eBay. It has two phono preamps and a headphone amplifier in a compact bus-powered package. All it is really missing is a crossfader and a VU meter, so I use a standard DJ mixer for that part.

@JanezJan
Copy link
Author

@danielhjames if i understand correctly....
to use this RCA sound card
https://shop.audioinjector.net/detail/Sound_Cards/RCA+preamplifier
i need to buy allso the base isolated chips
https://shop.audioinjector.net/detail/Sound_Cards/Isolated+soundcard
???

I am looking for simple solution cheap... I want to make it work... that's why i firstly started with stereo audio injector becouse it was cheap.... Got any cheap idea?

@danielhjames
Copy link
Member

@JanezJan that's correct, the lack of general availability of the base 'isolated soundcard' makes the RCA preamplifier not so useful for now.

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