English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 11 February 2009, 19:49   #1
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
Portaudio support (was: WinUAE support for ASIO drivers)

Hey Toni!

We were talking with a musician friend about how the audio lag would make a lot of trouble on his working... He is trying to record some old tracks of him, which use OctaMED and a MIDI link to a Roland MC-303 groovebox. He says MIDI works better than on the PC host software! xD

However, the Amiga audio lags and he can't record his tunes properly.

I was thinking that perhaps one could use an ASIO low latency audio driver with WinUAE? I also have a professional audio interface and ASIO drivers put the latency down really, really low. It's almost useless with DirectX but ASIO is almost real time performance!

What do you think?
Akira is offline  
Old 11 February 2009, 19:58   #2
AmigaFriend
Registered User
AmigaFriend's Avatar
 
Join Date: Sep 2008
Location: CLI
Posts: 1,462
It's a pity that OctaMED doesn't use AHI audio, so we could use the low latency AHI WinUAE driver... as an alternative.

But it's a nice ideia Akira. ASIO sounds good to me!
AmigaFriend is offline  
Old 11 February 2009, 20:38   #3
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
Well, there's that new software, what was the name? Digibooster Pro? Maybe if it imports MEDs accurately my friend can do what he wants.
Akira is offline  
Old 11 February 2009, 20:40   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,019
I remember not finding any API documentation for ASIO or something.

btw, current WinUAE AHI is far from high quality (of course better than Paula). It mixes all channels to 2 channel output in software. (I still plan to create better that uses native sound card hardware mixing but there are some issues to solve..)
Toni Wilen is online now  
Old 11 February 2009, 23:20   #5
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
The AHI driver is amazing but old trackers (and games!) don't support AHI...
I'll try to find some documentation on how to use ASIO drivers in your soft... There has to be some data somewhere... for example, I can ask the writer of littlegptracker, he implemented ASIO support on his free software and he's a good friend.
Akira is offline  
Old 11 February 2009, 23:36   #6
AmigaFriend
Registered User
AmigaFriend's Avatar
 
Join Date: Sep 2008
Location: CLI
Posts: 1,462
I've got a PDF "ASIO SDK 2.0." is this you're looking Toni? It's from a Cubase CD I have.
AmigaFriend is offline  
Old 12 February 2009, 11:06   #7
amiga
Registered User
 
Join Date: Aug 2004
Location: Amiga_land
Posts: 443
@Akira:

Tell your friend to lower "Sound buffer size" in "Sound" panel of Winuae settings.
On today's PCs there's no need to keep a buffer so high with the consequence of an audio lag.

And for MIDI, set the priority to "below normal" or "low" in winuae settings.
amiga is offline  
Old 12 February 2009, 12:02   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,019
Quote:
Originally Posted by xpect View Post
I've got a PDF "ASIO SDK 2.0." is this you're looking Toni? It's from a Cubase CD I have.
Possibly, as long as it is new enough

Quote:
Tell your friend to lower "Sound buffer size" in "Sound" panel of Winuae settings.
On today's PCs there's no need to keep a buffer so high with the consequence of an audio lag.
Usually there is always at least 10ms latency caused by Windows sound system/card drivers etc when playing stream that is not (can't be) prebuffered.
Toni Wilen is online now  
Old 12 February 2009, 12:23   #9
AmigaBoy
Registered User

 
Join Date: Aug 2004
Location: 19 Jump Street
Posts: 227
The latest version of the SDK is 2.2 and is available directly from Steinberg at http://www.steinberg.net/en/company/...developer.html
AmigaBoy is offline  
Old 12 February 2009, 12:26   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,019
Ah, that was the problem, I refuse to register just to get some SDK..
Toni Wilen is online now  
Old 12 February 2009, 12:29   #11
AmigaBoy
Registered User

 
Join Date: Aug 2004
Location: 19 Jump Street
Posts: 227
The second login worked for me
http://www.bugmenot.com/view/steinberg.net

Turn on Javascript if you have it disabled in order to see the logins
AmigaBoy is offline  
Old 12 February 2009, 16:05   #12
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
I can register for you if you want! :P

Quote:
Originally Posted by amiga View Post
Tell your friend to lower "Sound buffer size" in "Sound" panel of Winuae settings.
On today's PCs there's no need to keep a buffer so high with the consequence of an audio lag.
He already did and noticed a difference between his audio and the groovebox. MIDI is running fine, he can see video alright and MIDI response is great but audio always lags behind. I can understand, these MIDI issues are very, very annoying and precise to very few ms.

He's got an Intel i7, by the way :P

On my lowly Asus eeePC, with a -shit- Behringer USB audio card, I get as low as 5 or 4ms latency using ASIO drivers on Ableton Live, compared to more than 50ms using DirectX.
Akira is offline  
Old 12 February 2009, 16:12   #13
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
I just uploaded the SDK to the Zone!
Akira is offline  
Old 12 February 2009, 20:11   #14
ceztko
Registered User
 
Join Date: Aug 2006
Location: Italy
Posts: 86
Quote:
Originally Posted by Akira View Post
What do you think?
As far as I know, Steinberg ASIO headers have a GPL incompatible license. Audacity, for example, provide ASIO support but not in the public build (you have to compile your own build with ASIO enabled).
ceztko is offline  
Old 12 February 2009, 20:13   #15
ceztko
Registered User
 
Join Date: Aug 2006
Location: Italy
Posts: 86
Quote:
Originally Posted by Akira View Post
I just uploaded the SDK to the Zone!
This MAY be not allowed... But it's not my prb, figure yourself.
ceztko is offline  
Old 12 February 2009, 21:21   #16
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
Well fuck me if it is illegal, I don't care about Steinberg, but if it brings troubles, well .... remove it xD

Gratzie for your insight!
Akira is offline  
Old 12 February 2009, 23:11   #17
ancalimon
Supernormal

ancalimon's Avatar
 
Join Date: Jul 2007
Location: Istanbul / Turkey
Age: 37
Posts: 1,229
http://www.asio4all.com/

This is the perfect asio driver that should work with any sound card.

Using this with Vista and and onboard sound I don't get any latency at all.
ancalimon is offline  
Old 12 February 2009, 23:59   #18
Sune Salminen
Dinamáquina
Sune Salminen's Avatar
 
Join Date: May 2002
Location: BH/Brasil
Age: 44
Posts: 365
Yes it is, but the point is that you can't use them with WinUAE since it has no ASIO support in the first place.

The drivers don't do anything by themselves.

Last edited by Sune Salminen; 13 February 2009 at 00:43.
Sune Salminen is offline  
Old 13 February 2009, 10:20   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,019
License is an issue. It seems you can't distribute binaries that uses ASIO without signing license agreement with Steinberg.. (which is incompatible with GPL)

"Have to build it yourself" solution seems to be the only current legal solution.
Toni Wilen is online now  
Old 15 February 2009, 15:15   #20
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,019
ASIO "API" looks weird, some annoying COM stuff that requires C++ (without rewriting the SDK, which probably isn't legal either..)

Perhaps I'll just support WaveRT, Vista/Windows 7 only ASIO-like low latency sound API. You can hate me by "supporting" Vista (but Windows 7 will be out this year and it is MUCH better) if you want but this sidesteps stupid license & SDK issues..
Toni Wilen is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does WinUAE Support AmigaOS 4.1? Oktai-Wanda support.WinUAE 1 15 July 2013 05:41
Catweasel MK4+ drivers including SID support! klx300r Amiga scene 4 22 January 2011 23:03
WinUAE will have overlay support again? Leandro Jardim support.WinUAE 2 17 October 2010 23:19
WinUAE ppc support? blasterreal support.WinUAE 8 29 September 2010 01:51
WinUAE serial support Fackamato support.WinUAE 1 08 May 2003 17:02

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

Forum Jump


All times are GMT +2. The time now is 21:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.08969 seconds with 13 queries