Metric Halo Discussion Forum
The place to talk MH!

Home   Search      Help    Register    Login
Home » Hardware » MIOConsole » Auto changing of sample rate
Auto changing of sample rate [message #87375] Mon, 28 October 2019 15:32 Go to next message
MatthieuTibi is currently offline  MatthieuTibi
Messages: 44
Registered: July 2017
Location: Paris
Member
Hello,

Is it possible to make a sample rate change (typically from 48kHz to 44,1kHz or reverse) from an external application ?

For example audiophile applications like Swinsian (and many other) have the ability to change the audio device sample rate depending off the source.

But when I check that option in Swinsian, nothing happens :

if the 2882 is set in 48kHz, the read of a 44,1kHz song in Swinsian doesn't change the sample rate in MIO console.

My OS is 10.13.6.
I use a old MIO version (MIOConsole_v.5.6.06.218.zip), because of a bug in the ulterior versions
(see topic « 882 2d - Surround Monitor path not working »)

Is it related to this old version ?
Or is it not possible with Metric Halo sound cards ?

Thanks,
Matthieu
Re: Auto changing of sample rate [message #87376 is a reply to message #87375] Mon, 28 October 2019 16:50 Go to previous messageGo to next message
bj is currently offline  bj
Messages: 412
Registered: July 2011
Senior Member
If the MIO is set to internal clock, then any CoreAudio device can change its sample rate. Logic, Pro Tools, DP, etc. do this all the time.

If the app is not changing the sample rate, it is likely due to a bug in the app as that control is published through CoreAudio.

If the MIO is set to external clock, then the computer can't control the clock rate - the external source does.
Re: Auto changing of sample rate [message #87377 is a reply to message #87376] Mon, 28 October 2019 16:55 Go to previous messageGo to next message
MatthieuTibi is currently offline  MatthieuTibi
Messages: 44
Registered: July 2017
Location: Paris
Member
Hello,

Ok so it must be a bug of Swinsian...
I'll try with another soft.

Thanks !
Matthieu

[Updated on: Mon, 28 October 2019 17:02]

Report message to a moderator

Re: Auto changing of sample rate [message #87378 is a reply to message #87377] Mon, 28 October 2019 17:46 Go to previous messageGo to next message
MatthieuTibi is currently offline  MatthieuTibi
Messages: 44
Registered: July 2017
Location: Paris
Member
Hello,

That's correct I just tried with another Player, Audirvana, and it works.
So there must be a bug with Swinsian.

Thanks,
Matthieu
Re: Auto changing of sample rate [message #87559 is a reply to message #87378] Fri, 17 April 2020 08:57 Go to previous messageGo to next message
MatthieuTibi is currently offline  MatthieuTibi
Messages: 44
Registered: July 2017
Location: Paris
Member
Hello,

I'm back on that subject because there is a second application which is not able to change the internal sample rate of my 2882 2d : Kodi.

It's a very good freeware, capable of changing the sampling of the audio device (I tried with internal soundcard).

I believed you when I asked the 1st time, but now if 2 apps can't do it I really suspect the Metric Halo driver...

Could you try with Kodi and tell if it works for you ?

Here's my setup :

- 2882 2d with MIOConsole_v.5.6.06.218
- mac os 10.13.6
- Kodi 18.4

Thanks !

[Updated on: Fri, 17 April 2020 08:59]

Report message to a moderator

Re: Auto changing of sample rate [message #87563 is a reply to message #87559] Fri, 17 April 2020 14:11 Go to previous messageGo to next message
bj is currently offline  bj
Messages: 412
Registered: July 2011
Senior Member
So two applications can't do it, and multiple applications can, and it is a driver bug?

Matthieu, I am telling you the MIO driver exposes a CA Sample Rate control; as long as the box is on internal clock, any properly implemented CA application can change the sample rate of the device. It's been this way for almost 18 years.

We are trying to download Kodi to take a look, but it is downloading very slowly.

In any case, I don't see us making changes to the FireWire driver at this time. If you put a 3d card in your box and continue to have problems we can keep investigating it, but in the end I am certain that this is an application bug.
Re: Auto changing of sample rate [message #87564 is a reply to message #87563] Fri, 17 April 2020 14:43 Go to previous messageGo to next message
MatthieuTibi is currently offline  MatthieuTibi
Messages: 44
Registered: July 2017
Location: Paris
Member
Hello,

I told the guys of Kodi the problem I had, and they were convinced it was a driver problem...
(I'll talk about them about "CA applications" to see if they understand)

In the end, I'm between 2 teams telling me it's somebody else's fault !

And the fact is that I love and respect both of you !
(Kodi is a freeware but a very old ans serious software)

Well.

And I'd LIKE to upgrade (the 3D card is waiting on my shell since since 2 months), but I can't because I tried to redo my all-day config with the "offline domaine" and there are bugs (that I already reported)...
And because of this bugs I can't do my configuration....So I can't upgrade for now !
I wait for news about you telling if those bugs were detected (and corrected)
Before that I won't make a move.

I'm sorry I really don't want to be the guy who complains about stupid stuffs...
And it won't be the end of the world if I don't use Kodi for playing my music (the world has bigger problems this times...)

Maybe it's just my Mac OS who is broken ?
But if you guys have 2 minutes to test Kodi, that would be really nice...

Here are the few steps, after the installation :
(I use the version 18, not the 19)

- Go to "system settings"
- System
- Audio
- choose "expert" mode (down on the left)
- setup the 2882 2D as audio device
- "Output configuration : Best Match"
- play a 44,1kHz and a 48kHz files in it, and check if the Sample Rate of the 2882 follow the sample rate of the medias.
(for this step, you may have to go to Settings/Medias/Library and add a directory containing the 2 audio files. Then they will appear in the library)

I know it tames a bit of time, if somebody passing on the forum and confined at home has the time to try I could be helpful too.
Thank you very much for your help, and good luck for those hard times we're in)
Matthieu

Re: Auto changing of sample rate [message #87565 is a reply to message #87564] Fri, 17 April 2020 16:33 Go to previous messageGo to next message
bj is currently offline  bj
Messages: 412
Registered: July 2011
Senior Member
We finally got KODI downloaded and configured.

As you say, it doesn't change the S/R on the 2d box.

It does change the sample rate on the 3d box.

I turned on advanced logging and looked at the log and it appears to me that they are doing the Sample Rate change wrong.

There is a CoreAudio property called NominalSampleRate that is what should be used for changing the device sample rate.

They appear to be trying to manually change the device stream format, and it looks like they are coming up with an unsupported configuration for the 2d device. Now, it is likely that our reported configuration (which is actually correct) is leading to their code building an invalid configuration for the stream format. But that's why CA hosts shouldn't try to manipulate the stream format directly -- it is too easy to mess it up. If they use the NominalSampleRate property, CA will manage the stream format for them and the sample rate will change.

In any case, I stand by my statement; they have a bug.

If any app can change the sample rate on the device using CoreAudio (and many can), then the driver is implemented correctly. Its up to the apps to implement their side of the API correctly.

Re: Auto changing of sample rate [message #87566 is a reply to message #87565] Fri, 17 April 2020 16:46 Go to previous messageGo to next message
MatthieuTibi is currently offline  MatthieuTibi
Messages: 44
Registered: July 2017
Location: Paris
Member
Hello BJ,

OK thanks for having take the time...

I'll report that to the Kodi team (if it's ok for you), it may help them to debug their software.

And I can't wait to upgrade to 3d when possible !
(hopefully the next version ?)

Have a good week-end,
Matthieu
Re: Auto changing of sample rate [message #87567 is a reply to message #87566] Fri, 17 April 2020 16:55 Go to previous message
bj is currently offline  bj
Messages: 412
Registered: July 2011
Senior Member
Of course.
Previous Topic: no sound until MIOconsole is launched
Next Topic: Internal clipping
Goto Forum:
  

[ PDF ]

Current Time: Thu Aug 06 03:26:14 EDT 2020