The PARIS Forums


Home » The PARIS Forums » PARIS: Main » Scherzo news...
Scherzo news... [message #101174] Wed, 19 November 2008 16:31 Go to next message
mike audet[1] is currently offline  mike audet[1]
Messages: 129
Registered: February 2006
Senior Member
Hi All,

I've just past a really important milestone. In order to make the Scherzo
thread-safe, I had to replace the circular arrays used by the original Scherzo
with special Microsoft defined linked lists. I figured that would be the
hardest part. It didn't turn out to be all that hard. I was just afraid
of it because I had never worked with anything like the Microsoft linked
lists.

Anyway, I'm playing audio on a new build that uses the linked lists. :)

The next step is moving the functionality of the delayed procedure call into
the ISR and placing the ISR spinlock around the functions that change the
IRQ masks.

We're making progress.

Mike
Re: Scherzo news... [message #101175 is a reply to message #101174] Wed, 19 November 2008 15:49 Go to previous messageGo to next message
EK Sound is currently offline  EK Sound   CANADA
Messages: 939
Registered: June 2005
Senior Member
I just put this text into Babblefish and I still can't understand it... ;-)

Everyone repeat after me.... We're not worthy!

David.

Mike Audet wrote:
> Hi All,
>
> I've just past a really important milestone. In order to make the Scherzo
> thread-safe, I had to replace the circular arrays used by the original Scherzo
> with special Microsoft defined linked lists. I figured that would be the
> hardest part. It didn't turn out to be all that hard. I was just afraid
> of it because I had never worked with anything like the Microsoft linked
> lists.
>
> Anyway, I'm playing audio on a new build that uses the linked lists. :)
>
> The next step is moving the functionality of the delayed procedure call into
> the ISR and placing the ISR spinlock around the functions that change the
> IRQ masks.
>
> We're making progress.
>
> Mike
>
>
>
>
Re: Scherzo news... [message #101177 is a reply to message #101175] Wed, 19 November 2008 16:07 Go to previous messageGo to next message
Aaron Allen is currently offline  Aaron Allen   UNITED STATES
Messages: 1988
Registered: May 2008
Senior Member
We're not worthy... but man, I'm sure happy Mike's on the case!

AA


"EK Sound" <ask_me@nospam.net> wrote in message news:4924aa07$1@linux...
>I just put this text into Babblefish and I still can't understand it... ;-)
>
> Everyone repeat after me.... We're not worthy!
>
> David.
>
> Mike Audet wrote:
>> Hi All,
>>
>> I've just past a really important milestone. In order to make the
>> Scherzo
>> thread-safe, I had to replace the circular arrays used by the original
>> Scherzo
>> with special Microsoft defined linked lists. I figured that would be the
>> hardest part. It didn't turn out to be all that hard. I was just afraid
>> of it because I had never worked with anything like the Microsoft linked
>> lists. Anyway, I'm playing audio on a new build that uses the linked
>> lists. :)
>>
>> The next step is moving the functionality of the delayed procedure call
>> into
>> the ISR and placing the ISR spinlock around the functions that change the
>> IRQ masks.
>>
>> We're making progress.
>>
>> Mike
>>
>>
>>
Re: Scherzo news... [message #101178 is a reply to message #101174] Wed, 19 November 2008 17:24 Go to previous messageGo to next message
Ted Gerber is currently offline  Ted Gerber   
Messages: 705
Registered: January 2009
Senior Member
Thanks Mike!

Ted


"Mike Audet" <mike@....> wrote:
>
>Hi All,
>
>I've just past a really important milestone. In order to make the Scherzo
>thread-safe, I had to replace the circular arrays used by the original Scherzo
>with special Microsoft defined linked lists. I figured that would be the
>hardest part. It didn't turn out to be all that hard. I was just afraid
>of it because I had never worked with anything like the Microsoft linked
>lists.
>
>Anyway, I'm playing audio on a new build that uses the linked lists. :)
>
>The next step is moving the functionality of the delayed procedure call
into
>the ISR and placing the ISR spinlock around the functions that change the
>IRQ masks.
>
>We're making progress.
>
>Mike
>
>
>
>
Re: Scherzo news... [message #101181 is a reply to message #101178] Wed, 19 November 2008 17:07 Go to previous messageGo to next message
Tom Bruhl is currently offline  Tom Bruhl   UNITED STATES
Messages: 1368
Registered: June 2007
Senior Member
Hey there Milestone Mike,

Now, what does thread-safe mean?

Tom



"Ted Gerber" <tedgerber@rogers.com> wrote in message
news:4924ae54$1@linux...
>
> Thanks Mike!
>
> Ted
>
>
> "Mike Audet" <mike@....> wrote:
>>
>>Hi All,
>>
>>I've just past a really important milestone. In order to make the Scherzo
>>thread-safe, I had to replace the circular arrays used by the original
>>Scherzo
>>with special Microsoft defined linked lists. I figured that would be the
>>hardest part. It didn't turn out to be all that hard. I was just afraid
>>of it because I had never worked with anything like the Microsoft linked
>>lists.
>>
>>Anyway, I'm playing audio on a new build that uses the linked lists. :)
>>
>>The next step is moving the functionality of the delayed procedure call
> into
>>the ISR and placing the ISR spinlock around the functions that change the
>>IRQ masks.
>>
>>We're making progress.
>>
>>Mike
>>
>>
>>
>>
>
Re: Scherzo news... [message #101182 is a reply to message #101181] Wed, 19 November 2008 18:28 Go to previous messageGo to next message
mike audet[1] is currently offline  mike audet[1]
Messages: 129
Registered: February 2006
Senior Member
Hi Tom,

Thread-safe means that the code can be running on multiple CPUs at once without
crashing.

Cheers!

Mike


"Tom Bruhl" <arpegio@comcast.net> wrote:
>Hey there Milestone Mike,
>
>Now, what does thread-safe mean?
>
>Tom
>
>
>
>"Ted Gerber" <tedgerber@rogers.com> wrote in message
>news:4924ae54$1@linux...
>>
>> Thanks Mike!
>>
>> Ted
>>
>>
>> "Mike Audet" <mike@....> wrote:
>>>
>>>Hi All,
>>>
>>>I've just past a really important milestone. In order to make the Scherzo
>>>thread-safe, I had to replace the circular arrays used by the original

>>>Scherzo
>>>with special Microsoft defined linked lists. I figured that would be
the
>>>hardest part. It didn't turn out to be all that hard. I was just afraid
>>>of it because I had never worked with anything like the Microsoft linked
>>>lists.
>>>
>>>Anyway, I'm playing audio on a new build that uses the linked lists. :)
>>>
>>>The next step is moving the functionality of the delayed procedure call
>> into
>>>the ISR and placing the ISR spinlock around the functions that change
the
>>>IRQ masks.
>>>
>>>We're making progress.
>>>
>>>Mike
>>>
>>>
>>>
>>>
>>
>
>
Re: Scherzo news... [message #101183 is a reply to message #101175] Wed, 19 November 2008 18:40 Go to previous messageGo to next message
mike audet[1] is currently offline  mike audet[1]
Messages: 129
Registered: February 2006
Senior Member
Hey, I'm not sure I'm worthy!

Well, to explain this better...

There is a block of code that runs every time a piece of hardware interrupts
Windows to say "Hey, I'm ready for more data!" Microsft has put severe restrictions
on that code because if anything goes wrong with it, the whole computer crashes.


One of the restrictions is that you can't use the tools that you would usually
use to allow code to run on more than one CPU at once. They left one, single
type of list that you can use that is safe in a multiple CPU environment
- and I guess everyone just uses it. It's really weird to me, but it works
just fine.

So, to make a long story short, I had to replace all the code that stores
the info sent between the cards and the PARIS app with this new kind of list.
I just finished removing all of the old list code, and PARIS is still running
fine. :)

I've been so swamped teaching that I haven't been able to work on this for
two months. My report cards went in last week, so Sunday I spent 3 hours,
and I've spent a few hours tonight. It's moving fast.

Mike



EK Sound <ask_me@nospam.net> wrote:
>I just put this text into Babblefish and I still can't understand it...
;-)
>
>Everyone repeat after me.... We're not worthy!
>
>David.
>
>Mike Audet wrote:
>> Hi All,
>>
>> I've just past a really important milestone. In order to make the Scherzo
>> thread-safe, I had to replace the circular arrays used by the original
Scherzo
>> with special Microsoft defined linked lists. I figured that would be
the
>> hardest part. It didn't turn out to be all that hard. I was just afraid
>> of it because I had never worked with anything like the Microsoft linked
>> lists.
>>
>> Anyway, I'm playing audio on a new build that uses the linked lists. :)
>>
>> The next step is moving the functionality of the delayed procedure call
into
>> the ISR and placing the ISR spinlock around the functions that change
the
>> IRQ masks.
>>
>> We're making progress.
>>
>> Mike
>>
>>
>>
>>
Re: Scherzo news... [message #101185 is a reply to message #101182] Wed, 19 November 2008 18:12 Go to previous messageGo to next message
Tom Bruhl is currently offline  Tom Bruhl   UNITED STATES
Messages: 1368
Registered: June 2007
Senior Member
Hi Mike,

That sounds really great. Now we're talking about the Scherzo drivers
not the whole Paris app right? What benefit will this give us when
you get it ready for prime time? Will this eliminate some of the
multicore hurdles we have to jump now?

I am totally ready for whatever it is you can do for us and will gladly
pay you for your service.

Thankfully yours,
Tom




"Mike Audet" <mike@....> wrote in message news:4924bd52$1@linux...
>
> Hi Tom,
>
> Thread-safe means that the code can be running on multiple CPUs at once
> without
> crashing.
>
> Cheers!
>
> Mike
>
>
> "Tom Bruhl" <arpegio@comcast.net> wrote:
>>Hey there Milestone Mike,
>>
>>Now, what does thread-safe mean?
>>
>>Tom
>>
>>
>>
>>"Ted Gerber" <tedgerber@rogers.com> wrote in message
>>news:4924ae54$1@linux...
>>>
>>> Thanks Mike!
>>>
>>> Ted
>>>
>>>
>>> "Mike Audet" <mike@....> wrote:
>>>>
>>>>Hi All,
>>>>
>>>>I've just past a really important milestone. In order to make the
>>>>Scherzo
>>>>thread-safe, I had to replace the circular arrays used by the original
>
>>>>Scherzo
>>>>with special Microsoft defined linked lists. I figured that would be
> the
>>>>hardest part. It didn't turn out to be all that hard. I was just
>>>>afraid
>>>>of it because I had never worked with anything like the Microsoft linked
>>>>lists.
>>>>
>>>>Anyway, I'm playing audio on a new build that uses the linked lists. :)
>>>>
>>>>The next step is moving the functionality of the delayed procedure call
>>> into
>>>>the ISR and placing the ISR spinlock around the functions that change
> the
>>>>IRQ masks.
>>>>
>>>>We're making progress.
>>>>
>>>>Mike
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
Re: Scherzo news... [message #101186 is a reply to message #101185] Wed, 19 November 2008 19:40 Go to previous messageGo to next message
mike audet[1] is currently offline  mike audet[1]
Messages: 129
Registered: February 2006
Senior Member
It's just the driver I'm working with. If all goes well, we won't have to
jump through any hurdles to work on multi-core machines. It's possible that
the PARIS app may have threading issues, in which case we will still need
hoops for the PARIS app, but not for the ASIO driver.

Good times ahead. :)




"Tom Bruhl" <arpegio@comcast.net> wrote:
>Hi Mike,
>
>That sounds really great. Now we're talking about the Scherzo drivers
>not the whole Paris app right? What benefit will this give us when
>you get it ready for prime time? Will this eliminate some of the
>multicore hurdles we have to jump now?
>
>I am totally ready for whatever it is you can do for us and will gladly
>pay you for your service.
>
>Thankfully yours,
>Tom
>
>
>
>
>"Mike Audet" <mike@....> wrote in message news:4924bd52$1@linux...
>>
>> Hi Tom,
>>
>> Thread-safe means that the code can be running on multiple CPUs at once

>> without
>> crashing.
>>
>> Cheers!
>>
>> Mike
>>
>>
>> "Tom Bruhl" <arpegio@comcast.net> wrote:
>>>Hey there Milestone Mike,
>>>
>>>Now, what does thread-safe mean?
>>>
>>>Tom
>>>
>>>
>>>
>>>"Ted Gerber" <tedgerber@rogers.com> wrote in message
>>>news:4924ae54$1@linux...
>>>>
>>>> Thanks Mike!
>>>>
>>>> Ted
>>>>
>>>>
>>>> "Mike Audet" <mike@....> wrote:
>>>>>
>>>>>Hi All,
>>>>>
>>>>>I've just past a really important milestone. In order to make the
>>>>>Scherzo
>>>>>thread-safe, I had to replace the circular arrays used by the original
>>
>>>>>Scherzo
>>>>>with special Microsoft defined linked lists. I figured that would be
>> the
>>>>>hardest part. It didn't turn out to be all that hard. I was just
>>>>>afraid
>>>>>of it because I had never worked with anything like the Microsoft linked
>>>>>lists.
>>>>>
>>>>>Anyway, I'm playing audio on a new build that uses the linked lists.
:)
>>>>>
>>>>>The next step is moving the functionality of the delayed procedure call
>>>> into
>>>>>the ISR and placing the ISR spinlock around the functions that change
>> the
>>>>>IRQ masks.
>>>>>
>>>>>We're making progress.
>>>>>
>>>>>Mike
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>
Re: Scherzo news... [message #101187 is a reply to message #101186] Wed, 19 November 2008 18:49 Go to previous messageGo to next message
kerryg is currently offline  kerryg   CANADA
Messages: 1529
Registered: February 2009
Senior Member
Administrator
I didn't have the faintest idea you'd get so far so fast - that's crazy talk :D

Congrats!

- K


"... being bitter is like swallowing poison and waiting for the other guy to die..." - anon
Re: Scherzo news... [message #101190 is a reply to message #101186] Wed, 19 November 2008 20:59 Go to previous messageGo to next message
Neil is currently offline  Neil
Messages: 1645
Registered: April 2006
Senior Member
"Mike Audet" <mike@....> wrote:
>
>It's just the driver I'm working with. If all goes well, we won't have
to
>jump through any hurdles to work on multi-core machines. It's possible
that
>the PARIS app may have threading issues, in which case we will still need
>hoops for the PARIS app, but not for the ASIO driver.
>
>Good times ahead. :)


Geez, with all the work it looks like you've done, wouldn't it
be easier just to write a new DAW app that works with the Paris
hardware & incorporates your plugins? lol

Neil
Re: Scherzo news... [message #101193 is a reply to message #101175] Wed, 19 November 2008 21:34 Go to previous messageGo to next message
Deej [5] is currently offline  Deej [5]
Messages: 373
Registered: March 2008
Senior Member
EK Sound <ask_me@nospam.net> wrote:
>I just put this text into Babblefish and I still can't understand it...
;-)
>
>Everyone repeat after me.... We're not worthy!
>
>David.


....some people are just born smart.....

http://britneyspears.ac/physics/basics/basics.htm

;)
Re: Scherzo news... [message #101196 is a reply to message #101193] Thu, 20 November 2008 01:42 Go to previous messageGo to next message
rick is currently offline  rick   UNITED STATES
Messages: 1976
Registered: February 2006
Senior Member
and then there's peeps like us...the unworthy...



On 20 Nov 2008 15:34:32 +1000, "Deej" <noway@jose.net> wrote:

>
>EK Sound <ask_me@nospam.net> wrote:
>>I just put this text into Babblefish and I still can't understand it...
>;-)
>>
>>Everyone repeat after me.... We're not worthy!
>>
>>David.
>
>
>...some people are just born smart.....
>
>http://britneyspears.ac/physics/basics/basics.htm
>
>;)
Re: Scherzo news... [message #101197 is a reply to message #101174] Thu, 20 November 2008 03:58 Go to previous message
Robert is currently offline  Robert   CANADA
Messages: 127
Registered: May 2007
Senior Member
Way to go Mike, thanks for breathing new life into our old work horse. Keep
rockin that code on the front lines my man and we'll be out back, reedy for
any beta testing you may need!
Rob

"Mike Audet" <mike@....> wrote in message news:4924a1bf$1@linux...
>
> Hi All,
>
> I've just past a really important milestone. In order to make the Scherzo
> thread-safe, I had to replace the circular arrays used by the original
> Scherzo
> with special Microsoft defined linked lists. I figured that would be the
> hardest part. It didn't turn out to be all that hard. I was just afraid
> of it because I had never worked with anything like the Microsoft linked
> lists.
>
> Anyway, I'm playing audio on a new build that uses the linked lists. :)
>
> The next step is moving the functionality of the delayed procedure call
> into
> the ISR and placing the ISR spinlock around the functions that change the
> IRQ masks.
>
> We're making progress.
>
> Mike
>
>
>
>
Previous Topic: Can't Stream Data fast enough
Next Topic: PING! Rod Lincoln
Goto Forum:
  


Current Time: Sun Dec 22 02:11:51 PST 2024

Total time taken to generate the page: 0.02306 seconds