Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
11 crawler(s) on-line.
 83 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 outlawal2:  27 mins ago
 pixie:  39 mins ago
 Frank:  43 mins ago
 amigang:  1 hr ago
 Gunnar:  1 hr 4 mins ago
 kolla:  1 hr 17 mins ago
 matthey:  1 hr 20 mins ago
 OlafS25:  1 hr 20 mins ago
 Lou:  1 hr 36 mins ago
 MEGA_RJ_MICAL:  2 hrs 14 mins ago

/  Forum Index
   /  Amiga OS4 Software
      /  AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
spotUP 
AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 22-Mar-2006 21:36:34
#1 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

Hi, i am having problems with AHI's Device.Audio driver.
It's needed for some programs that use AHI exclusively, in a blocking way, I.E apps that you can't choose what AHI unit to use.
I have problems with it though, all apps I have tried to use it with have the same problem. The audio is played back waaay to fast and highpitched, it's playing at around double speed I think.
Could you guys test it with some apps, TuneNet for example.
I want to know if it's only on my machine, or on AOS4 in general. I already wrote Martin Blom and asked about it, he said it worked fine on 68k systems and on MorphOS.

Last edited by spotUP on 23-Mar-2006 at 12:37 AM.

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
number6 
Re: AOS4 Problems with AHI's Device.Audio?
Posted on 22-Mar-2006 21:49:35
#2 ]
Elite Member
Joined: 25-Mar-2005
Posts: 11589
From: In the village

@spotUP

I've been using simultaneous play of audio with audio.device with sdl audio of
MPlayer for ages. (and other combinations) I've never had a problem with it.
No problem in using it with WOS programs like FroggerNG AMP etc. either where
you can select audio.device instead of AHI for audio playback.
No problem with ANR either.
What program is giving you trouble?

#6

_________________
This posting, in its entirety, represents solely the perspective of the author.
*Secrecy has served us so well*

 Status: Offline
Profile     Report this post  
spotUP 
Re: AOS4 Problems with AHI's Device.Audio?
Posted on 22-Mar-2006 21:56:43
#3 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@number6

all ahi programs, but not audio.device, i am speaking of sys:devs/ahi/device.audio.
make sure you have device.audio installed and select
'unit 0:HiFi 16 bit stereo ++' as audio playback preference in TuneNet or any other AHI based player and see if it plays as it should.

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
spotUP 
Re: AOS4 Problems with AHI's Device.Audio?
Posted on 22-Mar-2006 22:31:38
#4 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@spotUP

hmm.. no-one dares to try it and report?

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
number6 
Re: AOS4 Problems with AHI's Device.Audio?
Posted on 22-Mar-2006 23:49:40
#5 ]
Elite Member
Joined: 25-Mar-2005
Posts: 11589
From: In the village

@thread

SpotUP is using ac97.
No problem here with his test on Micro with CMI8738. Works fine.

#6

_________________
This posting, in its entirety, represents solely the perspective of the author.
*Secrecy has served us so well*

 Status: Offline
Profile     Report this post  
spotUP 
Re: AOS4 Problems with AHI's Device.Audio?
Posted on 23-Mar-2006 0:39:50
#6 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@number6

shiiiite... i ... well it's solved now. that's really nice.
but.. it was such a SILLY thing. i am gonna kill myself after writing this post here. the device audio was set to 48000 instead of 41000 that's what caused the weird smurf effect. if i had any hair to pull to relief myself.. or a botte with some real strong liquid in it... grrr...

HUGE thanx to Number6 for hanging in there with me on irc helping me to analyze the problem the whole evening. You're the man!

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
Xenic 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 23-Mar-2006 4:29:52
#7 ]
Super Member
Joined: 2-Feb-2004
Posts: 1246
From: Pennsylvania, USA

@spotUP
Quote:

It's needed for some programs that use AHI exclusively, in a blocking way, I.E apps that you can't choose what AHI unit to use.
I have problems with it though, all apps I have tried to use it with have the same problem. The audio is played back waaay to fast and highpitched, it's playing at around double speed I think.
Could you guys test it with some apps, TuneNet for example.
I want to know if it's only on my machine, or on AOS4 in general. I already wrote Martin Blom and asked about it, he said it worked fine on 68k systems and on MorphOS.

I've been reporting a similar problem with device.audio on OS4pre4 for several weeks now. Datatypes sounds no longer work when a music program is playing through the AHI Music Unit even with device.audio installed and AHI prefs set to reroute Music Unit to Unit 0. If I play music with RockBeat, Amplifier or similar programs, datatype sounds won't play and "Play a test sound" for Unit 0 in the AHI prefs doesn't play.

I think part of the problem I've had getting this problem confirmed is that most people don't understand what "device.audio" is supposed to do. Can you give datatype soundplay a try with several different music programs to comfirm this problem??

_________________
X1000 with 2GB memory & OS4.1FE

 Status: Offline
Profile     Report this post  
number6 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 23-Mar-2006 13:07:39
#8 ]
Elite Member
Joined: 25-Mar-2005
Posts: 11589
From: In the village

@Xenic

No problem with ANR set for Music Unit and playing another MP3 simultaneously
with datatypes through Multiview.
I adjusted volume through ANR to balance the audio of the two MP3s.

For others having any problems, perhaps this is worth noting?
From DaveAE in December, 2005:
Quote:
Go to AHI prefs, select Music Unit, and select 'Device: Unit 0' from the list (or something that looks like it). If you don't have it in the AHI prefs, please install device.audio/DEVICE (?) in devs:AHI/Audiomodes.
Now the programs using the Music Unit (all self-respecting 'pro' programs) will be redirected to Unit 0.

Unfortunately, a scan of the ISO for OS update#4 (which was issued well after DaveAE's
advice) shows that neither "device.audio" or "device" is present on the ISO.
Download the archive "ahiusr.lha" on OS4depot to retrieve this file and place it
in SYS:devs/ahi. You will also need the file "device". Place this is in
SYS:devs/AudioModes.

@DaveAE

Please correct me if this advice is no longer current.

#6

Last edited by number6 on 23-Mar-2006 at 01:13 PM.

_________________
This posting, in its entirety, represents solely the perspective of the author.
*Secrecy has served us so well*

 Status: Offline
Profile     Report this post  
DaveAE 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 23-Mar-2006 13:55:35
#9 ]
Super Member
Joined: 21-Mar-2003
Posts: 1091
From: The Netherlands

@number6

It is current.

_________________
Audio Evolution
http://www.audio-evolution.com

 Status: Offline
Profile     Report this post  
spotUP 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 23-Mar-2006 14:46:47
#10 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@Xenic

i will try that later today, i don't have the a1 handy atm.
hmm, i tried to use device audio together with soundblaster yesterday aswell, but I didn't get any sound at all, but I might have done something wrong, I was tired, and I've had it with my SB I am selling it ASAP.

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
Xenic 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 23-Mar-2006 16:58:32
#11 ]
Super Member
Joined: 2-Feb-2004
Posts: 1246
From: Pennsylvania, USA

@DaveAE
And it's the one I've been using on OS4pre3 and Os4pre4. I have an OS4pre3 boot CD and if I boot with that there is no simultaneous sound problem. If I boot to OS4pre4 (with the exact same AHI files) datatype sounds won't play while a music program is playing. In fact if I have a music program playing, open AHI prefs, select Unit 0 and try to play the test sound, no test sound is played.

Some programs (like RockBeat) lock the Music Unit when they start and datatype sound play is locked out without even playing anything with RockBeat. However, RockBeat has other problems and will crash if I play a datatype sound in Multiview before starting RockBeat. I need to report that to the author as soon as I can. Ironically, I can play 2 music programs at the same time that use the Music Unit. It seems that use of the individual Units (Unit 0, Unit 1 etc.) gets locked out from sound play.

Since some people don't seem to notice this problem maybe it is a µA1 problem or related to the use of the cmi8738.device. I've tested this with 8svx sounds and wave sounds. They also think I mean audio.device when I say device.audio.

This was a problem for me before you introduced device.audio but everything was working fine on my system once I installed device.audio with Os4pre3. Since installing OS4pre4 simultaneous sound play of programs using Music Unit and others using Unit 0 (or Unit 1 etc.) no longer works. At first I blamed changes to datatypes for the problem but when I realized that playing a test sound for Unit 0 in AHI prefs failed when a music program used "Music Unit", I'm not sure where the problem is.

P.S. Trying to explain this and differenciating between "Music Unit" and an individual Music unit (like Unit 0) is really confusing. I think things would be clearer if the "Music Unit" was called "Music Device" or something.

_________________
X1000 with 2GB memory & OS4.1FE

 Status: Offline
Profile     Report this post  
number6 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 23-Mar-2006 17:10:37
#12 ]
Elite Member
Joined: 25-Mar-2005
Posts: 11589
From: In the village

@Xenic

As posted previously, I do not have this problem.
We both use Micro A1-C and CMI8738.
Please send me PM or irc with a specific example and I'll try to confirm the issue
or solve this with you.
Note that although my first post was an initial misunderstanding of what SpotUP
and I were discussing (I referred to audio.device), we discussed this in terms
of "device audio" later in irc. We understand the difference.

#6

Last edited by number6 on 23-Mar-2006 at 05:13 PM.

_________________
This posting, in its entirety, represents solely the perspective of the author.
*Secrecy has served us so well*

 Status: Offline
Profile     Report this post  
DaveAE 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 23-Mar-2006 18:50:27
#13 ]
Super Member
Joined: 21-Mar-2003
Posts: 1091
From: The Netherlands

@Xenic

Quote:
I think things would be clearer if the "Music Unit" was called "Music Device" or something.


I think it would be much clearer if there were NO audio modes or units at all.

_________________
Audio Evolution
http://www.audio-evolution.com

 Status: Offline
Profile     Report this post  
number6 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 23-Mar-2006 19:11:27
#14 ]
Elite Member
Joined: 25-Mar-2005
Posts: 11589
From: In the village

@DaveAE

Seconded. Motion carried?

#6

_________________
This posting, in its entirety, represents solely the perspective of the author.
*Secrecy has served us so well*

 Status: Offline
Profile     Report this post  
Xenic 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 28-Mar-2006 18:28:34
#15 ]
Super Member
Joined: 2-Feb-2004
Posts: 1246
From: Pennsylvania, USA

@number6
Quote:

Please send me PM or irc with a specific example and I'll try to confirm the issue or solve this with you.

Sorry it took so long to get back to you on this. I was tied up with some other issues. Here is a simple way to reproduce the problem:

Download Rockbeat from OS4Depot.
Unarchive Rockbeat (to ram: if you don't want to keep it).
Start Multiview and select one of the wave samples in the RockBEAT/drumsamples/default/ directory.
Play the sample in the Multiview window.
Double-click the RockBeat icon to open the program.
Try to play the sample in the Multiview window again.
Here the sample won't play after RockBeat is started.

Some music programs lock the AHI Music Unit when started and will prevent datatype sound play and others don't prevent datatype sound play until you start playing some music in the program.

If you can't reproduce this I guess I'll have to try another fresh install of OS4pre4 and see if it makes any difference.


_________________
X1000 with 2GB memory & OS4.1FE

 Status: Offline
Profile     Report this post  
number6 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 28-Mar-2006 19:31:51
#16 ]
Elite Member
Joined: 25-Mar-2005
Posts: 11589
From: In the village

@Xenic

Good instructions, but I can not reproduce this.
I loaded two different wavs (first and the last) into multiview.
They both played -before- loading RockBeat and -after- loading RockBeat.
Note:I had nothing else running and performed the test after hard reboot.

Quote:
If you can't reproduce this I guess I'll have to try another fresh install of OS4pre4 and see if it makes any difference.

Before you do that:
I did not comment on Mixer in the post that Davy confirmed as current info.
You are using V1.17? (current)
Regardless, have you tried dropping Mixer into WBstartup, if you haven't already
done so?
Also, any possibility of an incorrect config in AHI prefs?

In your post #11 you said:
Quote:
RockBeat has other problems and will crash if I play a datatype sound in Multiview before starting RockBeat.

So, you must have changed something -since- that post in order to report later
only an inability to hear the sound in Multiview.(as opposed to a crash)

#6

Last edited by number6 on 28-Mar-2006 at 08:02 PM.

_________________
This posting, in its entirety, represents solely the perspective of the author.
*Secrecy has served us so well*

 Status: Offline
Profile     Report this post  
Xenic 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 29-Mar-2006 6:32:03
#17 ]
Super Member
Joined: 2-Feb-2004
Posts: 1246
From: Pennsylvania, USA

@number6
My problem with RockBeat crashing seems to be inconsistant. It could have something to do with opening, playing and closing a number of music programs in the process of testing. I just used RockBeat for the test because it's relatively simple to install and play.
As far as Mixer is concerned, I've never had it installed at all. I was under the impression that it was only necessary if you have an additional sound card. I can download it and give it a try but I didn't need it with OS4pre3. Give me a day or 2 to do some more testing and I'll let you know if it helped.

_________________
X1000 with 2GB memory & OS4.1FE

 Status: Offline
Profile     Report this post  
Toaks 
Re: AOS4 Problems with AHI's Device.Audio?
Posted on 29-Mar-2006 6:34:47
#18 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

@spotUP

Quote:

spotUP wrote:
@number6

shiiiite... i ... well it's solved now. that's really nice.
but.. it was such a SILLY thing. i am gonna kill myself after writing this post here. the device audio was set to 48000 instead of 41000 that's what caused the weird smurf effect. if i had any hair to pull to relief myself.. or a botte with some real strong liquid in it... grrr...


let me guess, you made 44100 and not 41000 ;)

_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
DaveAE 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 29-Mar-2006 10:39:25
#19 ]
Super Member
Joined: 21-Mar-2003
Posts: 1091
From: The Netherlands

@number6

Mixer does not influence any of these problems. It is just to control the hardware and does not use AHI (besides opening AHI to make sure the cards are initialized).

_________________
Audio Evolution
http://www.audio-evolution.com

 Status: Offline
Profile     Report this post  
Xenic 
Re: AOS4 Problems with AHI's Device.Audio? [SOLVED!]
Posted on 29-Mar-2006 18:15:12
#20 ]
Super Member
Joined: 2-Feb-2004
Posts: 1246
From: Pennsylvania, USA

@DaveAE
Quote:

Mixer does not influence any of these problems. It is just to control the hardware and does not use AHI (besides opening AHI to make sure the cards are initialized).

In that case I won't waste my time. As I stated before, the problem doesn't occur if I cold boot with an OS4pre3 partition. However, I did a warm reboot into an OS4pre3 partition (which means the system is using OS4pre4 KickStart files but OS4pre3 system files) and the problem doesn't occur. Tonight I'm going to backup my OS4pre3 partition and start copying files from my OS4pre4 partition one directory at a time in an effort to track down the exact cause of the problem. I'll let you know if I can narrow the cause to a specific file or set of files.

_________________
X1000 with 2GB memory & OS4.1FE

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle