Welcome, Guest
Username: Password: Remember me
Here is the place to share your questions/comments about your setup of the UMIK-1 USB measurement microphone


NOTE: This is a "Community" forum. Please be mindful that community members are here to help as part of a community effort. We therefore appreciate your effort in keeping this forum a happy place!

If you have a specific issue (e.g. hardware, failure) and want help from our support team, please use our tech support portal (Support menu - > Contact Us).
Thanks a lot of your help in making a better community.
  • Page:
  • 1
  • 2

TOPIC: Linux and Umik

Linux and Umik 6 years 1 month ago #14775

Dear all,

The status of the compatibility of umik with linux is unclear to me. Some documents (pdf) said it is supported whereas the website precises Win and Mac, without Linux. Some users reported problems to record with umik under linux.

Now my question. Under linux, is umik usable only with Rew, or is it recognized by alsa and usable in every application under alsa ? ( Besides speaker measurement, I would like to record some piano).

Thank for the answer,
Laurent.
The administrator has disabled public write access.

Linux and Umik 6 years 1 month ago #14811

  • devteam
  • devteam's Avatar
  • Online
  • Administrator
  • Posts: 8750
  • Thank you received: 1125
  • Karma: 162
Laurent,

We haven't fully tested the UMIK-1 under Linux but see no reason for the issue since the device is a standard USB audio class1.
From what we recall of a support case (the only one we heard of the issue), the misconfiguration was more on the software side than the driver side. Not sure what came out of this case to be honest. If there are Linux guys out there able to try, would be great if you were to pitch in to give some feedback?

DevTeam
miniDSP, building a DSP community one board at a time.
The administrator has disabled public write access.
The following user(s) said Thank You: laurentEvain

Linux and Umik 6 years 1 month ago #14817

  • OllBoll
  • OllBoll's Avatar
  • Offline
  • Expert Boarder
  • Posts: 101
  • Thank you received: 8
  • Karma: 7
I can confirm that the UMIK-1 works great on linux, it uses standard drivers so it's just plug and play.

And of course it is ALSA that has support of it, in REW I usually just go through pulse also because it is easy but if you wanted to you could make REW use ALSA directly. Latency from having pulse in the middle isn't a problem though so it would only be more complicated to bypass =)
Last Edit: 6 years 1 month ago by OllBoll.
The administrator has disabled public write access.
The following user(s) said Thank You: devteam, laurentEvain

Linux and Umik 6 years 1 month ago #14824

  • devteam
  • devteam's Avatar
  • Online
  • Administrator
  • Posts: 8750
  • Thank you received: 1125
  • Karma: 162
That's what I call great community support! Knowledgeable community members pitching in to answer configuration we just haven't had a chance to test. :-)

Thanks @ Ollboll!

DevTeam
miniDSP, building a DSP community one board at a time.
The administrator has disabled public write access.

Linux and Umik 5 years 7 months ago #17075

  • pander
  • pander's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
  • Karma: 0
Perhaps good to post some working examples. Here are a few to begin with.

You can record in Linux with SoX. Below is an example to record for 60 seconds after 5 seconds of waiting
$ sudo apt-get install sox
$ export AUDIODEV=hw:1,0
$ export AUDIODRIVER=alsa
$ rec -q -r 48000 -c 1 -b 16 filename.wav trim 5 60

Recording works directly out of the box in Audacity.

If anybody has some examples of using arecord and using the calibration file, please post them here as well.
The administrator has disabled public write access.

Linux and Umik 5 years 7 months ago #17077

  • pander
  • pander's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
  • Karma: 0
I have setup a repository on GitHub to collect all documentation for using UMIK-1 on Linux. Please see github.com/PanderMusubi/umik-1
The administrator has disabled public write access.

Linux and Umik 5 years 7 months ago #17078

  • pander
  • pander's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
  • Karma: 0
Did anyone get the UMIK-1 working with arecord?

This
arecord -l -L
indicates to use it as
arecord -vv -D sysdefault:CARD=U18dB -c 1 -r 48000 -d 60 filename.wav
but the recording stalls. What do I need to alter?
The administrator has disabled public write access.

Linux and Umik 5 years 7 months ago #17089

  • devteam
  • devteam's Avatar
  • Online
  • Administrator
  • Posts: 8750
  • Thank you received: 1125
  • Karma: 162
@ Pander,

Wow.. Very impressive how well you've been documenting all this! :-) Great job!
We're sorry that we're not Linux guru's though so can't help much on the rest.. Hoping someone in the community with more knowledge will be able to help you..

Can we link that good info on the product page so end users can find it? With all credits to you of course. :-)

DevTeam
miniDSP, building a DSP community one board at a time.
The administrator has disabled public write access.

Linux and Umik 5 years 7 months ago #17102

  • OllBoll
  • OllBoll's Avatar
  • Offline
  • Expert Boarder
  • Posts: 101
  • Thank you received: 8
  • Karma: 7
pander wrote:
Did anyone get the UMIK-1 working with arecord?

This
arecord -l -L
indicates to use it as
arecord -vv -D sysdefault:CARD=U18dB -c 1 -r 48000 -d 60 filename.wav
but the recording stalls. What do I need to alter?

recording from hardware with ALSA is pretty overkill, won't it be easier to use a middle layer like Jack or Pulseaudio?
The administrator has disabled public write access.

Linux and Umik 5 years 7 months ago #17103

  • pander
  • pander's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
  • Karma: 0
Not all systems have that installed. For example a Raspbarry Pi works initially via ALSA. But if you have any examples, please share them here or, beter, via GitHub.
The administrator has disabled public write access.

Linux and Umik 5 years 7 months ago #17104

  • pander
  • pander's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
  • Karma: 0
@devteam

yes, I am fine with linking to it. if users want to contribute more examples and documentation I will add it or give them rights to add it themselves.

PS I am also working on making sox.sourceforge.net being able to work with the calibration file.
The administrator has disabled public write access.
The following user(s) said Thank You: devteam

Linux and Umik 5 years 7 months ago #17105

  • OllBoll
  • OllBoll's Avatar
  • Offline
  • Expert Boarder
  • Posts: 101
  • Thank you received: 8
  • Karma: 7
I run Ubuntu so I don't have to do anything, it just works out of the box. You can install pulseaudio on the raspberry pi. And if you really want to minimize buffer size you could throw in a kernel with RT-priority on pulse. Much more fiddly though than just having more powerful hardware and installing a full distro where it works by default.
The administrator has disabled public write access.

Linux and Umik 5 years 4 months ago #18502

  • pander
  • pander's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
  • Karma: 0
Meanwhile I have extra plots, interpolations, extrapolations, fits and more. Before I and going to share these publicly, I am looking for someone who would like to review my work. Let me know if you would like to do this and hereby improving support on Linux but also other platforms with the improved calibration files.
The administrator has disabled public write access.

Linux and Umik 5 years 3 weeks ago #20429

  • pander
  • pander's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
  • Karma: 0
I will have improved software and interpolated and extrapolated calibration curves coming up in a week a three. Who would like to review it?
Last Edit: 5 years 3 weeks ago by pander.
The administrator has disabled public write access.

Linux and Umik 5 years 3 weeks ago #20458

  • devteam
  • devteam's Avatar
  • Online
  • Administrator
  • Posts: 8750
  • Thank you received: 1125
  • Karma: 162
Oh great news.. Keep us in the loop when it's ready. We're not linux guru but hope that we can get the word out there to get more UMIK-1 users to help.
If you get something going, we can help you to publish some documentation for the community!

DevTeam
miniDSP, building a DSP community one board at a time.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: devteam