Go Back   Home > Forums > Design & Build > Equipment & Tools

Equipment & Tools From test equipment to hand tools

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 2nd May 2013, 04:20 PM   #2561
HpW is offline HpW  Switzerland
diyAudio Member
 
Join Date: Mar 2002
Location: Switzerland (Bern)
Quote:
Originally Posted by davada View Post
Will ASIO support any sample rate?
ASIO itself dos not defines the sample rate, it's the protocol/API to the HW driver as MME/WDM/WASAPI (MS Windows). The sample rate on the API is usual a 32bit value.

It's the underlying HW, who allows to deal with given/supported sample rates.

Just look on RME: Home or Lynx Studio Technology, Inc. with upper level sound cards & USB based systems.

Usual seen sample rates are may 0.25, 0.5, 1, 2, 4 times of 32/44.1/48 kHz. 8 times the 48Khz = 384Khz is a very rare seen rate.

Hp
__________________
www.hpw-works.com

Last edited by HpW; 2nd May 2013 at 04:32 PM.
  Reply With Quote
Old 2nd May 2013, 06:10 PM   #2562
davada is offline davada  Canada
diyAudio Member
 
Join Date: Jul 2004
Location: Fort St John, BC Canada
Quote:
Originally Posted by HpW View Post
ASIO itself dos not defines the sample rate, it's the protocol/API to the HW driver as MME/WDM/WASAPI (MS Windows). The sample rate on the API is usual a 32bit value.

It's the underlying HW, who allows to deal with given/supported sample rates.

Just look on RME: Home or Lynx Studio Technology, Inc. with upper level sound cards & USB based systems.

Usual seen sample rates are may 0.25, 0.5, 1, 2, 4 times of 32/44.1/48 kHz. 8 times the 48Khz = 384Khz is a very rare seen rate.

Hp
Are sample rates between the given multiples possible if the HD supports it?
This is what I'm getting at. If sample rate to 192ksps are supported is a sample rate of 100ksps possible?
__________________
David.
  Reply With Quote
Old 2nd May 2013, 06:37 PM   #2563
HpW is offline HpW  Switzerland
diyAudio Member
 
Join Date: Mar 2002
Location: Switzerland (Bern)
Quote:
Originally Posted by davada View Post
Are sample rates between the given multiples possible if the HD supports it?
This is what I'm getting at. If sample rate to 192ksps are supported is a sample rate of 100ksps possible?
- Sample rates relates to the on board crystal oscillator and is usual fixed.

- All is Audio related 44.1 & 48kHz, some also support 32kHz, often due the
digital I/O support

- Usual audio sample rates 32, 44.1, 48 and multiple of them are available.
(This what I have seen in the last 20 years,
dealing with my FFT-Analyzer and those HW)

- may some small pitch correction is available, more I haven't seen.
In other words: A custom sample rate as 100Khz no easy way...

As I understand, you would like to have a different sample rate as the standard sample rates provides.... then may alter the on board oscillator but also fake the displayed sample rate (a feature of my SW) ...

Hp
__________________
www.hpw-works.com
  Reply With Quote
Old 2nd May 2013, 06:44 PM   #2564
davada is offline davada  Canada
diyAudio Member
 
Join Date: Jul 2004
Location: Fort St John, BC Canada
Quote:
Originally Posted by HpW View Post
- Sample rates relates to the on board crystal oscillator and is usual fixed.

- All is Audio related 44.1 & 48kHz, some also support 32kHz, often due the
digital I/O support

- Usual audio sample rates 32, 44.1, 48 and multiple of them are available.
(This what I have seen in the last 20 years,
dealing with my FFT-Analyzer and those HW)

- may some small pitch correction is available, more I haven't seen.
In other words: A custom sample rate as 100Khz no easy way...

As I understand, you would like to have a different sample rate as the standard sample rates provides.... then may alter the on board oscillator but also fake the displayed sample rate (a feature of my SW) ...

Hp
Hi HpW,

If I use an industrial ADC where I can define the sample rate will an ASIO driver and a program like ARTA handle sample rates other than the standard audio sample rates.
Consider no hardware limitation here.
__________________
David.
  Reply With Quote
Old 2nd May 2013, 07:34 PM   #2565
HpW is offline HpW  Switzerland
diyAudio Member
 
Join Date: Mar 2002
Location: Switzerland (Bern)
Quote:
Originally Posted by davada View Post
Hi HpW,

If I use an industrial ADC where I can define the sample rate will an ASIO driver and a program like ARTA handle sample rates other than the standard audio sample rates.
Consider no hardware limitation here.
I may write on my own FFT Analyzer & Wave Generator where I support a custom sample rate (any 32bit value) and may not able to speak for ARTA.

First, you have to understand what the HW does/is able, what the related (ASIO-) HW driver does/is able, what the Driver Interface ASIO does/ is able and finally the application (GUI).

In other words the layers as like for ASIO:

1) HW: is designed to support 44.1 & 48 kHz or any other sample rat(s). And only this and no else value.

2) HW Driver: proper implemented, it allows to sample on the supported sample rates as in 1). In other words he will complain on the API with OK or NOK states.

3) Driver Interface: Its a specific API specification who you have to deal with the HW Driver. ASIO / MME & WDM / WASAPI have a complete different implementation!

4) Application: Deals with the Driver Interface (API)

Now, If you would like to render on an unsupported Sample Rate:

1) The application has to support to enter a custom sample rate. Usual a fixed list is provided.

2) If the application supports such custom sample rate, the API Interface do NOT care on the custom sample rate! It just send the value to the HW driver.

3) The HW driver checks the requested sample rate, the API interface result will be OK/NOK and only if the state is OK, it prepares/sets his base frequency according to the requested sample rate. Then the application and API I/O Buffer reservation, channel selection and the following start sample = buffer switching & notification to the application will occur ...

this is all a bit simplified... WASAPI is able to do some sample rate conversions but this is the an other story and for measurement puts the result to hell.

In other words this is the system behavior and not the other way round.

Hopefully, may you get this now ....

Hp
__________________
www.hpw-works.com

Last edited by HpW; 2nd May 2013 at 07:38 PM.
  Reply With Quote
Old 3rd May 2013, 12:29 AM   #2566
davada is offline davada  Canada
diyAudio Member
 
Join Date: Jul 2004
Location: Fort St John, BC Canada
Quote:
Originally Posted by HpW View Post
I may write on my own FFT Analyzer & Wave Generator where I support a custom sample rate (any 32bit value) and may not able to speak for ARTA.

First, you have to understand what the HW does/is able, what the related (ASIO-) HW driver does/is able, what the Driver Interface ASIO does/ is able and finally the application (GUI).

In other words the layers as like for ASIO:

1) HW: is designed to support 44.1 & 48 kHz or any other sample rat(s). And only this and no else value.

2) HW Driver: proper implemented, it allows to sample on the supported sample rates as in 1). In other words he will complain on the API with OK or NOK states.

3) Driver Interface: Its a specific API specification who you have to deal with the HW Driver. ASIO / MME & WDM / WASAPI have a complete different implementation!

4) Application: Deals with the Driver Interface (API)

Now, If you would like to render on an unsupported Sample Rate:

1) The application has to support to enter a custom sample rate. Usual a fixed list is provided.

2) If the application supports such custom sample rate, the API Interface do NOT care on the custom sample rate! It just send the value to the HW driver.

3) The HW driver checks the requested sample rate, the API interface result will be OK/NOK and only if the state is OK, it prepares/sets his base frequency according to the requested sample rate. Then the application and API I/O Buffer reservation, channel selection and the following start sample = buffer switching & notification to the application will occur ...

this is all a bit simplified... WASAPI is able to do some sample rate conversions but this is the an other story and for measurement puts the result to hell.

In other words this is the system behavior and not the other way round.

Hopefully, may you get this now ....

Hp
Thanks,

So the answer is no. One would have to write a custom driver, API and app to handle the HD.

Cheers,
__________________
David.
  Reply With Quote
Old 3rd May 2013, 05:35 AM   #2567
HpW is offline HpW  Switzerland
diyAudio Member
 
Join Date: Mar 2002
Location: Switzerland (Bern)
Quote:
Originally Posted by davada View Post
Thanks,

So the answer is no. One would have to write a custom driver, API and app to handle the HD.

Cheers,
As I already mentioned, use an existing HW and alter the base oscillator so that 96kHz will be 100 kHz and fake on the GUI 96khz as 100khz. This is on my FFT Analyzer already implemented.

Cheers too

Hp
__________________
www.hpw-works.com
  Reply With Quote
Old 3rd May 2013, 04:09 PM   #2568
1audio is online now 1audio  United States
diyAudio Member
 
Join Date: Mar 2004
Location: SF Bay Area
Blog Entries: 2
I think you can use both the RME and the Lynx with any sample rate up to 218 KHz. You can get SPDIF transmitters that work up to 216 KHz and the ADC's can so if getting measurements past 100 KHz is important combining several available pieces will get you there- Demo board for TI or AKM, Xtal or Synthesizer for the desired clock, RME or Lynx card and HPW software. (now I have removed whatever remaining reason I had not to buy a copy since I have the first three. . .)
__________________
Demian Martin
Product Design Services
  Reply With Quote
Old 3rd May 2013, 04:53 PM   #2569
diyAudio Member
 
myhrrhleine's Avatar
 
Join Date: Jan 2006
Location: Avalon Island
What would be the benefit of a custom sample rate?
__________________
Just because you can't hear it doesn't mean no one can.
  Reply With Quote
Old 3rd May 2013, 06:33 PM   #2570
RNMarsh is offline RNMarsh  United States
diyAudio Member
 
RNMarsh's Avatar
 
Join Date: May 2012
Location: 2457 Cascade Trail; Cool, CA. 95614
An Idea from Matt at QA is the following but he cant do it for a long time -- busy with China customer work -- but thought it would be easy to do -->

How long would it take to add an external trigger I/O port so that up to 16 ADC's could be triggered to sample at same time . and then all imported waveforms into PC and then sycnhronously average those.


Thx-RNMarsh

Last edited by RNMarsh; 3rd May 2013 at 06:38 PM.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radford Low Distortion Oscillator Series 2 audiomik Equipment & Tools 21 19th February 2014 10:46 AM
ultra-low distortion audio oscillator geekysuavo Analog Line Level 16 26th March 2013 03:04 PM
Low distortion oscillator? rjm Equipment & Tools 30 4th May 2011 10:45 PM
Can we improve this low distortion sine oscillator ? gaetan8888 Solid State 22 29th March 2009 12:30 PM
Simple, low distortion 1kHz oscillator jackinnj Solid State 4 6th October 2003 03:58 AM


New To Site? Need Help?

All times are GMT. The time now is 09:11 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2