The PARIS Forums


Home » The PARIS Forums » PARIS: Main » ASIO DRIVER current status ?
- Re: ASIO DRIVER current status ? [message #108439 is a reply to message #108437] Sun, 26 October 2014 00:15 Go to previous messageGo to next message
Kim W. is currently offline  Kim W.   AUSTRALIA
Messages: 189
Registered: January 2010
Location: Australia
Senior Member
Nice work, Mike.
This sounds very promising, even though I'd be happy with just 16 bit.
I still love the Paris software, but it is very picky with some plugins, which can crash Paris. I am using WIN7 64bit, but these issues existed with XP 32bit as well.
Looking forward to trying the ASIO driver with my next favourite DAW, Samplitude. (Native inserts on submixes would be joyous!!)
I'd stick with the Paris software if I could even do something as simple as strapping an external compressor, or even better a native plugin, on one EDS submix, (not just the global mix..)but alas this is a hard wired limitation.
Keep us posted.
Kim

- Re: ASIO DRIVER current status ? [message #108440 is a reply to message #108439] Sun, 26 October 2014 06:25 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Hi Kim,

I'm working really, really hard on this driver. Pro Tools is giving me the gears. I have it working, but there are stability issues when changing buffer sizes. It's driving me crazy trying to track the cause down. It works perfectly everywhere else, except for Harris Mixbus, which is a whole other adventure to be had.

But, I'll get it. I won't give up until this bug is dead.

All the best!

Mike
- Re: ASIO DRIVER current status ? [message #108442 is a reply to message #108438] Tue, 28 October 2014 07:46 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Hi All,

I just wanted to give an update. Getting the PARIS hardware to work with Pro Tools 10 reliably has been really challenging, and I'm still working on it.

I had to re-write the buffering engine to work at all because even though the ASIO spec has a mechanism for asking the driver what it's buffer sizes are, Pro Tools only allows 64/128/256/512 etc. The PARIS hardware requires buffer sizes that are a multiple of 10 for 24 bit transfers. So, I had to change things quite a bit to get it working.

The next two hurdles were because of bugs I created. Those bugs are my fault, but Pro Tools closes as soon as it detects a debugger attaching to its process. This is probably done to make it harder to crack the PACE copy protection. In my case, it just makes it harder for me to fix things.

I had a bug that didn't manifest in other hosts because they always initialized the buffers in the order the driver presented them to the app. Pro Tools changes the order, and that reveled a mistake I had made. It lead to not being able to record audio in Pro Tools. It's fixed.

The second bug I've been trying to track down is a crash that sometimes happens when the buffer size is changed. It seems to happen more when the buffers are at 128 samples, but I've seen it at higher buffer sizes, too. Because I can't use a debugger and the problem hasn't manifested in other apps, this has been really, really hard to track down. I've literally spent days and days coming up with new theories and trying to prove or disprove them. I think I've finally found the problem, and I hope to have it fixed in about a week.

As long as the buffer sizes are not changed, Pro Tools works perfectly right now. So, we're not too far away.

I'll post when I finally have this resolved.

I just wanted to let you guys know what is happening, and that I'm still working really hard on this.

I have to give an extra special thanks to the beta testers who have helped us get to this point. You guys rock!

All the best!

Mike

- Re: ASIO DRIVER current status ? [message #108443 is a reply to message #107792] Tue, 28 October 2014 08:55 Go to previous messageGo to next message
Dcbite is currently offline  Dcbite   AUSTRALIA
Messages: 12
Registered: October 2010
Junior Member
Thanks for the update Mike , greatly appreciated . Can't wait Laughing

www.symphonicsamples.com
- Re: ASIO DRIVER current status ? [message #108461 is a reply to message #107792] Sat, 15 November 2014 05:17 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Hi Guys,

Another update:

The good:

I've replaced the timer code and I'm getting 64 sample buffer sizes in Reaper with 12 inputs and 10 outputs working reliably. I am so excited bout that!

Also,I found out why I couldn't get as small buffer sizes in Pro Tools, and I've fixed it. I'm now getting 128 samples buffer size reliably in Pro Tools 10. 64 seems to be too small for that app. I still have to do a bit of testing to see if MIDI timing in Pro Tools is affected by what I've done, but I think it will be fine.

To do:

For some reason at the newer smaller buffer sizes I can now get, playback is garbled for the first playback. If I reset the driver, it's perfect from then on. I'm not sure if the sample position that is reported by the hardware is inaccurate when the MEC is still finishing its initialization, or if something in the PSCL is creating a race condition, or something else I haven't thought of. I'm working on it.

All the best!

Mike


- Re: ASIO DRIVER current status ? [message #108462 is a reply to message #108461] Sun, 16 November 2014 05:57 Go to previous messageGo to next message
Will The Weirdo is currently offline  Will The Weirdo   
Messages: 190
Registered: December 2009
Location: On The Lake
Senior Member
Mike, don't stress too much with PT buffer lower than 128, even my PTHD hardware would not get below 128 without issues.

Sounds like you are making great progress, can't wait to try it out.
- Re: ASIO DRIVER current status ? [message #108464 is a reply to message #108462] Mon, 17 November 2014 08:54 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Thanks, Will!

I think I found the bug I've been chasing. I discovered last night that the top 8 bits of project time are filled in by a helper thread in the PSCL, while the other 24 bits are read directly off the card. I think what has been happening is that I schedule the buffers before this thread is running, so I'm setting some things based on 24 good bits and 8 bits of garbage. If I stop the ASIO driver, the PSCL keeps running, so the helper thread is already running on the second attempt, and this second try always works.

I'm going to have to rewrite a bunch of stuff in the PSCL, but I should have this fixed by the weekend.

The Pro Tools problem was caused by something called dynamic priority boost in Windows. It boosts a thread's priority if it was waiting on an I/O operation or is involved in mouse input to the main window. This was causing mundane threads to preempt my timing loop and causing under-runs. I turned it off, and things worked so much better. I'm pretty sure reaper turns this off itself, which is why everything worked so well under reaper before.

All the best!

Mike

- Re: ASIO DRIVER current status ? [message #108465 is a reply to message #108464] Mon, 17 November 2014 09:15 Go to previous messageGo to next message
Studio111 is currently offline  Studio111   UNITED STATES
Messages: 21
Registered: October 2010
Location: Silicon Valley
Junior Member
Mike,

Things just keep getting better and better because of all your hard work!

Don
- Re: ASIO DRIVER current status ? [message #108467 is a reply to message #108464] Mon, 17 November 2014 10:34 Go to previous messageGo to next message
mani1147 is currently offline  mani1147   CANADA
Messages: 130
Registered: May 2009
Location: NB Canada
Senior Member
This is Epic new Mike. I have a rack full of dormant Paris hardware siting in my rack as I have switch to PT10 with Focusrite hardware. EDS / MEC hardware with PT would be so cool.

Keep up the awesome work and keep us posted on your progress.

Rob
- Re: ASIO DRIVER current status ? [message #108471 is a reply to message #107792] Sat, 22 November 2014 20:27 Go to previous messageGo to next message
casshern is currently offline  casshern   
Messages: 17
Registered: March 2012
Location: ohio
Junior Member
Has this been tested with FL Studio? How good is the implementation in Reaper?
Does this also work for output cards / external effects processing from within PARIS?
Any chance for a beta / preview? Interested even if I have to pay up...
- Re: ASIO DRIVER current status ? [message #108472 is a reply to message #108471] Sat, 22 November 2014 20:40 Go to previous messageGo to next message
kerryg is currently offline  kerryg   
Messages: 1529
Registered: February 2009
Senior Member
Administrator
Don't know about FLStudio; the implementation of the ASIO driver should be excellent in Reaper since that was a big testing platform.

The completely separate Reaper PAF import functionality mentioned above, written for us by a Reaper contributor, is pretty much flawless within its limitations - because it depends on libsndfile, our main library for PAF's compatibility with the outside world, it's hampered by a lingering bug in libsndfile that makes gibberish out of 24-bit files generated by the Mac version of PARIS only, but all PC-PARIS generated PAFS should import as easily as you'd import a wav.

Strongly doubt there will be any ability to access PARIS effects, but it may be possible one day! Fully accessing I/O cards though, I would imagine yes, since that's always been a core goal.

As far as paying up - this is all entirely new work by Mike, and even if every existing PARIS user chucked in a far bigger chunk than what I suspect he'll ask it would pay him pennies per hour for this labour of love, so I will be first in line with my cash in hand asking why I can't pay more! Smile



"... being bitter is like swallowing poison and waiting for the other guy to die..." - anon

[Updated on: Sat, 22 November 2014 20:47]

Report message to a moderator

- Re: ASIO DRIVER current status ? [message #108473 is a reply to message #108472] Sat, 22 November 2014 20:54 Go to previous messageGo to next message
casshern is currently offline  casshern   
Messages: 17
Registered: March 2012
Location: ohio
Junior Member
Well, I'm even more excited Very Happy
I use the Reaper PAF extension all the time these days, as PARIS is my core A/D source. Recording nearly daily. I just love the functionality and sound. ASIO drivers bring amazing news to the table for people like myself.
- Re: ASIO DRIVER current status ? [message #108474 is a reply to message #107792] Sun, 23 November 2014 04:53 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Hi Guys,

I'm so excited about this, too!

I've been working as hard as I can on this. I was hoping to avoid making too many changes to the PSCL because it then has to be tested to make sure it didn't break the PARIS app, but I'm going to have to make a bunch of changes. The kind of locking the PSCL uses to guard shared resources are too slow for the kind of buffer sizes I'm targeting. So, they have to be replaced. I'm also working on a new way to read project time and start and stop playback.

A big thing I'm working on now is getting the voice events that point at themselves to be reliable. The problem is that there is no way to tell them when to start playing/recording. They start the instant the EDS card is told about them. I may have to go back to scheduling voice events on the fly, but that 's a bit messy now that Pro Tools has required a circular buffer that doesn't line up with the buffer switches. It also adds more overhead to the buffer switches, which could affect how low we can get the buffer sizes.

We're getting there. It's just been harder than I thought it would be.

All the best,

Mike
- Re: ASIO DRIVER current status ? [message #108475 is a reply to message #108474] Sun, 23 November 2014 06:10 Go to previous messageGo to next message
Will The Weirdo is currently offline  Will The Weirdo   MEXICO
Messages: 190
Registered: December 2009
Location: On The Lake
Senior Member
Mike, If it was easy ID would have done it 13 years ago, lol.
- Re: ASIO DRIVER current status ? [message #108476 is a reply to message #108475] Sun, 23 November 2014 06:29 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Hi Will,

I actually don't want to criticize ID over this. There is a lot of good stuff in their work that I'm learning from. I don't think Ensoniq really had the money they needed to get this done right. We can certainly criticize ID over how they have handled the PACE thing, though.

I think just had a breakthrough - maybe there is a way to get these immediate buffers time aligned. I just loaded up a pro tools session at 128 samples, and it played back properly the first time, twice in a row. I'll have to do a bunch more tests to make sure all is well, but it's worked twice, and those are the only times it's ever worked.

I still have to fix the locking, and I have to make changes to the helper thread in the PSCL. It runs every 256 samples and does a bunch of housekeeping. But it touches resources my timer thread needs, and there is no time for contention at 64 sample buffer sizes. I'll need to make changes so that a special version runs when the ASIO thread attaches,

This is going to be so cool!

All the best!

Mike





- Re: ASIO DRIVER current status ? [message #108477 is a reply to message #107792] Sun, 23 November 2014 08:11 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Just an update: there is lots of testing yet to do, but after the last change, I've got Pro Tools running at 64 samples, 27 tracks playing, and no under-runs.

Sweeeet!

Mike
- Re: ASIO DRIVER current status ? [message #108478 is a reply to message #108477] Sun, 23 November 2014 09:29 Go to previous messageGo to next message
Studio111 is currently offline  Studio111   UNITED STATES
Messages: 21
Registered: October 2010
Location: Silicon Valley
Junior Member
Who would have thought this would be possible in 2014, so many years after Paris had been discontinued. This is going to be fun!

Unbelievable work by Mike.

Thank you Mike!!

Don
- Re: ASIO DRIVER current status ? [message #108479 is a reply to message #108477] Sun, 23 November 2014 19:46 Go to previous messageGo to next message
Will The Weirdo is currently offline  Will The Weirdo   
Messages: 190
Registered: December 2009
Location: On The Lake
Senior Member
Whoa Mike, 64 samples rocks! You sound like you are in a zone up there!

[Updated on: Sun, 23 November 2014 19:50]

Report message to a moderator

- Re: ASIO DRIVER current status ? [message #108480 is a reply to message #107792] Tue, 25 November 2014 11:20 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Now the not so good news: Now that we can test at 64 sample buffers, there is a bug in the firmware on the EDS cards where they misreport the project time every so often.

There is code to detect this kind of thing in the PSCL. I was hoping it was a leftover from an earlier firmware or simply covering for other mistakes in the PSCL. Keep in mind, the PSCL is huge, and the whole thing is built around the assumption that the time is checked every 256 samples. This was the first time I tried to bypass the code there to check the project time directly.

This issue was easier to deal with in the PARIS app, when the sample event fired every 256 samples (an IRQ fires every 256 samples), and the buffers were 3000 samples long. If the project time reported by the EDS card looked crazy, just report 256 samples more than the last time. It will be close enough. That isn't good enough at 64 sample buffer sizes.

I'm going to have to do a bunch of profiling to see exactly how this goes wrong and for how long. Then, I can interpolate by using the windows high resolution timer.

What a mess.

Just keeping everyone in the loop.

All the best,

Mike

- Re: ASIO DRIVER current status ? [message #108481 is a reply to message #108480] Tue, 25 November 2014 12:54 Go to previous messageGo to next message
Will The Weirdo is currently offline  Will The Weirdo   MEXICO
Messages: 190
Registered: December 2009
Location: On The Lake
Senior Member
Mike, you are the man! Seriously, who else would even be attempting this, lol. Thanks for the update.
- Re: ASIO DRIVER current status ? [message #108482 is a reply to message #108481] Tue, 25 November 2014 14:58 Go to previous messageGo to next message
laurent is currently offline  laurent   FRANCE
Messages: 39
Registered: February 2009
Member
reflashe the firmware eds cards ???
eds transfert = --,-- ??

le pere noel est bientot la

super mike

laurent
- Re: ASIO DRIVER current status ? [message #108483 is a reply to message #107792] Tue, 25 November 2014 15:01 Go to previous messageGo to next message
justcosmic is currently offline  justcosmic   UNITED KINGDOM
Messages: 31
Registered: April 2012
Location: London
Member
Brilliant work Mike.
That firmware issue seems a really annoying one to have to deal with...hope you manage to find an elegant solution.
Anyway, like everyone else reading this thread - very excited about the new developments - way to go!
- Re: ASIO DRIVER current status ? [message #108484 is a reply to message #108483] Tue, 25 November 2014 15:53 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Just an update: I have a new build, and I've been running Pro Tools for an hour with no issues. I'm reading the first 24 bits of project time off the cards and interpolating the top 8 bits.

So far so good.

I'll keep you guys posted.

Mike



- Re: ASIO DRIVER current status ? [message #108485 is a reply to message #107792] Tue, 25 November 2014 17:12 Go to previous messageGo to next message
justcosmic is currently offline  justcosmic   UNITED KINGDOM
Messages: 31
Registered: April 2012
Location: London
Member
So does that mean you've found a work around for the Firmware issue?

Also, small question re your planned implementation of Control 16 in the Asio driver:
Will it likely work with more than one C16 for those with multiple EDS cards or is it more likely that it will only work with one at a time?
Reason I ask is that I may sell off one.

- Re: ASIO DRIVER current status ? [message #108486 is a reply to message #108485] Tue, 25 November 2014 17:41 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Hi justcosmic1,

I sure hope so I've got it solved. I don't have access to the microcode on the card, so I have to do a lot of guessing. It's possible that it was something else causing the glitches. I really hope I didn't malign whoever wrote that code or mislead you guys. But, the glitches seem to have aligned with when the top 8 bits changed, and there is all kinds of stuff in the PSCL that seems to imply others thought this was happening. I hope I got it right and its fixed. I've been running my 27 track Pro Tools session for the better part of tonight at 64 samples, and it's been solid. I'm not doing anything to interpolate the first 24 bits yet. I'm just reading them. I'm adding one to a counter that acts as the top 8 bits every time the first 24 bits end up significantly smaller than the last check, which means they have wrapped. That happens every 5 or 6 minutes. This works because it is very unlikely we will have no buffer switch for 6 minutes. So far, so good.

As for the c16s, that's a great question! I don't think I had been planning to support more than one, but I just took a look, and the PSCL does send the card number with the callback. So, I'll try to use that to support more than one. I have a few around here to test with, too. I just only use one to save desk space.

All the best!

Mike
- Re: ASIO DRIVER current status ? [message #108487 is a reply to message #107792] Tue, 25 November 2014 17:53 Go to previous messageGo to next message
justcosmic is currently offline  justcosmic   UNITED KINGDOM
Messages: 31
Registered: April 2012
Location: London
Member
Oh that sounds really encouraging news!
Yes let's hope - it could be a great Christmas for Paris users !

Yes like you I nearly never get more than 1 C16 out for the exact same reason - so maybe I'll let one go anyway, we'll see - but good to know that there's potential for 32 faders anyway!

Thanks again for all the hard work.
- Re: ASIO DRIVER current status ? [message #108489 is a reply to message #108486] Sat, 29 November 2014 00:12 Go to previous messageGo to next message
Kim W. is currently offline  Kim W.   AUSTRALIA
Messages: 189
Registered: January 2010
Location: Australia
Senior Member
Hi Mike.
Please excuse my ignorance.
Are you suggesting that your asio driver would somehow incorporate c-16 functionality into a completely different DAW app?
If so, how? Would the Paris app have to be open in the background?
I'm excited about the prospect of using the c-16 (preferably two) with Magix Samplitude, which is my other DAW of choice.
Am I dreaming??
Regardless, I will be first on the purchase list of the driver when it hits "prime time".
- Re: ASIO DRIVER current status ? [message #108492 is a reply to message #108489] Mon, 01 December 2014 11:53 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Hi Kim,

The new driver takes the C16 input and converts it to MIDI sent out any port you select. There's no need to have the PARIS app open in the background. I've used it to control Reaper, but I haven;t tried it yet with anything else. Getting the core of the driver right while working with Pro Tools at 24 bit has been a struggle. I think I've got it working. Right now, I'm working on dealing with what happens when the 32 bit value that is the basis for project time rolls over to 0 again. It takes around 16 hours, but it happens, and the audio stops. I'm trying to fix it.

All the best,

Mike
- Re: ASIO DRIVER current status ? [message #108493 is a reply to message #108492] Mon, 01 December 2014 13:36 Go to previous messageGo to next message
Wayne is currently offline  Wayne   UNITED STATES
Messages: 206
Registered: July 2008
Location: Las Vegas
Senior Member
Mike, so very cool.

I'm adding a new topic on Virtual Via and I'd like to get your take on it.

Wayne
- Re: ASIO DRIVER current status ? [message #108504 is a reply to message #107792] Wed, 10 December 2014 07:10 Go to previous messageGo to next message
portscan is currently offline  portscan   FRANCE
Messages: 14
Registered: September 2009
Junior Member
hi
any chance to sse a wdm 64 bits version ?
would be great to use with asio4all then
i dream of having both my raydat and paris in the same daw.
- Re: ASIO DRIVER current status ? [message #108774 is a reply to message #107792] Thu, 28 May 2015 13:43 Go to previous messageGo to next message
casshern is currently offline  casshern   UNITED STATES
Messages: 17
Registered: March 2012
Location: ohio
Junior Member
Any updates on this?
- Re: ASIO DRIVER current status ? [message #108775 is a reply to message #108774] Fri, 29 May 2015 12:16 Go to previous messageGo to next message
Will The Weirdo is currently offline  Will The Weirdo   
Messages: 190
Registered: December 2009
Location: On The Lake
Senior Member
Mike has been fine tuning the driver and I'm confident he'll be releasing it soon.
- Re: ASIO DRIVER current status ? [message #108776 is a reply to message #107792] Wed, 03 June 2015 17:32 Go to previous messageGo to next message
justcosmic is currently offline  justcosmic   UNITED KINGDOM
Messages: 31
Registered: April 2012
Location: London
Member
I'm curious Mike - are we looking at a cut down release to start with just basically allowing access to the i/o control 16 etc, or are we looking at access to the FX and mixing functionality in the first release ?

I seem to remember a while back you were talking about doing it in stages as it's a HUUUUGE undertaking Very Happy

Either way, very much looking forward to continuing on with all that makes Paris great...also quite curious about Paris 3.2...

All in all, exciting times ahead in Paris world Smile
- Re: ASIO DRIVER current status ? [message #108777 is a reply to message #108776] Wed, 03 June 2015 17:40 Go to previous messageGo to next message
Will The Weirdo is currently offline  Will The Weirdo   MEXICO
Messages: 190
Registered: December 2009
Location: On The Lake
Senior Member
I don't want to speak for Mike but, I/O access to start is what I believe he has in mind.
- Re: ASIO DRIVER current status ? [message #108778 is a reply to message #108777] Thu, 04 June 2015 03:00 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
The version I'm working on is about I/O options, low buffer sizes, and 24 bit. What happens next depends on whether I can get PARIS 3.2 to work.

All the best,

Mike
- Re: ASIO DRIVER current status ? [message #108779 is a reply to message #107792] Thu, 04 June 2015 04:35 Go to previous messageGo to next message
justcosmic is currently offline  justcosmic   UNITED KINGDOM
Messages: 31
Registered: April 2012
Location: London
Member
Thanks for the clarification Mike.
- Re: ASIO DRIVER current status ? [message #108780 is a reply to message #108779] Thu, 04 June 2015 09:55 Go to previous messageGo to next message
Dimitrios is currently offline  Dimitrios   GREECE
Messages: 1056
Registered: August 2005
Senior Member
Great news Mike !!! I trying to build a modern PC with windows 7 so I am looking forward to all asio and driver.
You said ( wrote) something about Paris 3.2 ?????? What is that supposed to be ?
I am still using Paris on XP so if you need any beta tester let me know.
Thanks again my friend for all your efforts!
- Re: ASIO DRIVER current status ? [message #109093 is a reply to message #107792] Thu, 03 March 2016 14:04 Go to previous messageGo to next message
Will The Weirdo is currently offline  Will The Weirdo   MEXICO
Messages: 190
Registered: December 2009
Location: On The Lake
Senior Member
It's been slow around here so I want to say Mike's latest ASIO is working very well in every DAW, I could see a 2016 release coming soon.

I'm sure the PARIS world is waiting for this baby!

So Mike...... what's your plan?
- Re: ASIO DRIVER current status ? [message #109095 is a reply to message #109093] Thu, 03 March 2016 15:05 Go to previous messageGo to next message
mikeaudet   CANADA
Messages: 477
Registered: February 2009
Location: Canada
Senior Member
Hi Will,

I was getting a fair bit of time in, and then we all got a cold, and I've had two sick kids at home to look after.

I've got the MEC control panel done. I just have to test the +4/-10 controls. It's hard to check that from remote desktop on a laptop in the car with PARIS running in the house.

Last week, I discovered a bug that I though was squashed wasn't. After finishing the MEC control panel, I started testing all sorts of settings, and With 24 streams of audio, I'm getting occasional audio distortion at 64 samples. By streams I mean 24 I/O ports in use transferring audio on my MEC and 442. I took a look through the voice engine code, and I think I've figured out why.

The core of the voice engine that runs on the EDS card is something called the "big loop." It runs every 64 samples. It does all the memory transfers, and then it checks for new streams to add.

I think the work involved in setting up the 24 streams is delaying the loop by a few samples, and it just carries on at that point, every 64 samples, but slightly late. That puts it slightly out of sync with the main loop in the asio driver.

That's my theory, anyway.

So, I've been working on it. I've almost finished a function to change the frequency of the IRQ firing on the cards. Since the big loop fires the IRQ every 4th loop through the big loop, the IRQ is always in sync with the big loop. I think I've figured out how to make it fire every 64 samples instead of every 256. I can then run the ASIO loop from that.

Other than that, I've just got to do a simple dialog for the 442, and make a couple of additions to the C16 code. There are a couple of knobs I haven't wired in, but it's pretty simple stuff.

That's the latest! I'll get it out the second it's done and working perfectly.

I'm starting to think ahead to the next steps. I'm thinking of attacking the PSCL to port it to 64 bits so we can get a 64 bit ASIO. I'm also thinking about the Mac a lot, given the state of Windows. Reworking the PSCL would make it easier to port it to a new OS.

All the best,

Mike



- Re: ASIO DRIVER current status ? [message #109096 is a reply to message #109095] Thu, 03 March 2016 15:32 Go to previous messageGo to previous message
Studio111 is currently offline  Studio111   UNITED STATES
Messages: 21
Registered: October 2010
Location: Silicon Valley
Junior Member
Awesome Work...as always!
Previous Topic: Update....
Next Topic: How to properly route audio to the 8 out cards?
Goto Forum:
  


Current Time: Sun Dec 22 04:55:35 PST 2024

Total time taken to generate the page: 0.03160 seconds