Re: [ARMini-support] USBScope info

  • From: Jean-Michel <jmc.bruck@xxxxxxxxx>
  • To: armini-support@xxxxxxxxxxxxx
  • Date: Tue, 05 Jan 2021 16:54:30 +0100

In message <58ea1e85c6jcgl@xxxxxxxxxxxxxxx>
          Jim Lesurf <jcgl@xxxxxxxxxxxxxxx> wrote:

In article <S8ea1c5861bob@xxxxxxxxxxxxxxxx>, Bob Latham
<bob@xxxxxxxxxxxxxxxx> wrote:

Using Mini.m computer with Scarlett 2i2 I get an image as attached.

That looks OK. :-)

It seems to re-scan about every 3 seconds and and does seem to work if
that's what you would expect.

Probably. The scan time tends to be dominated by how long the machine takes
to process and display each chunk of data, but there is also currently a
short 'wait' in the loop which could be made a user 'setting'. I doubt this
will make it run much faster on a given machine, but can be played with.

Most interesting and could also be quite useful.

Is it possible to try 192K sample rate, just for the fun of it?

Yes, in principle, although I have no idea if it will work at present.  To
find out...

If you have the 'Acorn'/ROOL (ex Norcroft) C complier etc, anyone can tweak
this as follows:

Find the 'main' C file of code. Make a backup. (Or copy the entire app to a
safe place.) Find the part that is currently...

int main(void)
{


  usbaudio_initialise();
  atexit(finish);

  samplerate = 96000; pipe = find_input_pipe(samplerate);
  if (pipe == NULL) {samplerate = 48000; pipe =
find_input_pipe(samplerate);}
  if (pipe == NULL)


...near the top of the main part of the code. This currently tells the
program to seek for 96000 rate, but if it can't find that, try 48000 rate.

So if 96k works you can change the 96000 to 192000, and change the 48000 to
96000. Then run 'Mk'. It should build a version that tries for 192k, and if
it can't find that, it will drop back to 96k.
Yes this is what I did and it works.
I don't currently have an 192k ADC to try, aiming to get one as soon as
feasible. Hence I've not been able to find out if either the ArminiX or
ARMX6 are 'fast enough'. So it would be interesting to know what happens.
I put a screenshot in previous message, works on ARMX6....
Either way, please let me know how you get on, and what ADC you are trying
to use.

Jim



-- 
Jean-Michel
---
To alter your preferences or leave the group, 
visit //www.freelists.org/list/armini-support
List-related queries to info@xxxxxxxxxxxx

Other related posts: