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
9 crawler(s) on-line.
 53 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 matthey:  16 mins ago
 Hammer:  40 mins ago
 ruben:  1 hr 30 mins ago
 minator:  1 hr 30 mins ago
 agami:  1 hr 39 mins ago
 BigD:  1 hr 56 mins ago
 RobertB:  1 hr 59 mins ago
 Rob:  2 hrs 35 mins ago
 Panthro:  2 hrs 46 mins ago
 _ThEcRoW:  2 hrs 58 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Sound.datatype information for everyone!
Register To Post

PosterThread
Deniil715 
Sound.datatype information for everyone!
Posted on 12-Jul-2004 19:18:45
#1 ]
Elite Member
Joined: 14-May-2003
Posts: 4237
From: Sweden

I just got a reply from Stephan Rupprecht who is the author of SoundDT41. I thought SoundDT41 was the only solution to the sound in OS4. Well, I was wrong :)

Apparently there is an env var that can be set to enable OS3.9BB2 and OS4 sound.datatype (which is more, less or exactly the same) to use AHI on a unit basis, i.e. not exclusive use which locks out any other program using AHI at the same time.

Uninstall SoundDT41 (if you have installed it) and enter this in a shell:
SetEnv SAVE classes/datatypes/sound/ahi 0

This will enable OS3.9BB2 and OS4 sound.datatype to use AHI unit 0. Of course you can use any other number here, like 0,1,2 or 3.

Finally it is possible to use sounds in AmIRC/YAM/whatever at the same time as playing MP3's in f.ex. AmigaAmp without an additional sound card or messing around with external AHI-players everywhere! Some of you might think I'm a nut who didn't knew this, but as I haven't seen any docs about it, and no one mentioning it here or anywhere, it's not until now I realized that this was possible :)

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  
LordArt 
Re: Sound.datatype information for everyone!
Posted on 12-Jul-2004 19:28:26
#2 ]
Regular Member
Joined: 22-Apr-2003
Posts: 113
From: South Bound Brook, NJ

@Deniil715

I have one word. GAAAARRHHH!!!

Thanks! It works. This is the kinda stuff that needs to be on Intuition base. I've been using backdoor Arexx scripts using Play16 to get sounds out of my programs!

Thanks again!

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: Sound.datatype information for everyone!
Posted on 12-Jul-2004 20:05:38
#3 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3205
From: Beds, UK

@LordArt

More to the point, it should have been set up along with the OS4 install (and that goes for MIXER SETLEVELS as well which should have been in startup-sequence by default)

@Deniil715

Yaaaaaay! I have sound!!!!
(now to copy all the samples off the OS3.5 CD, as OS4 doesn't come with anything decent I can use for a beep)

Chris

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
Bladerunner 
Re: Sound.datatype information for everyone!
Posted on 12-Jul-2004 20:38:57
#4 ]
Member
Joined: 13-Jun-2004
Posts: 46
From: Unknown

Strange, Guys, really strange. I mean, does actually anyone read Docs? Ok, i don`t know if it is noted in OS 4.0 ( As I don`t have it) But, err...well
Here is what BB2 Readme says about the New Sound.datatype:

"Playing audio files via AHI"


To enable the AHI support in "sound.datatype", make sure you have
installed the AHI audio driver software. Then specify which AHI unit
should be used for sound output, i.e.:

SetEnv SAVE classes/datatypes/sound/AHI 0


For each of the four units, 0-3, you can use the
AHI preferences editor to specify which audio driver and sample frequency should be used.


So it is really old and allready documented, I have Ahi Support since ages on my A4k.

 Status: Offline
Profile     Report this post  
Matt 
Re: Sound.datatype information for everyone!
Posted on 12-Jul-2004 20:44:10
#5 ]
Regular Member
Joined: 16-Nov-2003
Posts: 467
From: Sherborne, UK

@Deniil715

Thanks!!

_________________


AmigaOne XE-G4, 512MB RAM (AmigaOS 4.1)
Radeon 9250, Terratec Aureon 5.1
CDRW, DVDRW, SII0680

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: Sound.datatype information for everyone!
Posted on 12-Jul-2004 21:42:39
#6 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3205
From: Beds, UK

@Bladerunner
Quote:
I mean, does actually anyone read Docs?


It's a little difficult when OS4 comes with absolutely no documentation at all.

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
RedMelons 
Re: Sound.datatype information for everyone!
Posted on 12-Jul-2004 22:15:06
#7 ]
Super Member
Joined: 7-Mar-2003
Posts: 1062
From: Merrie Olde England

Thanks VERY much for posting this Deniil715 - it's great to be able to play system sounds at last

Is there a wav datatype which works?

I have play16 1.10 installed, and trying to play an iff sample which works ok with multiview only produces "Error #ffffffff! Could not open audio device!"
Is Play16 supposed to work?

 Status: Offline
Profile     Report this post  
srupprecht 
Re: Sound.datatype information for everyone!
Posted on 12-Jul-2004 22:42:26
#8 ]
Regular Member
Joined: 23-Sep-2003
Posts: 166
From: Unknown

@RedMelons

> Is there a wav datatype which works?

You can still use my v41sound.datatype package.

> Is Play16 supposed to work?

IIRC you need to use "OUTPUT=AHI" as commandline option.

_________________
Stephan Rupprecht - AmigaOS4 developer

 Status: Offline
Profile     Report this post  
VooDoo 
Re: Sound.datatype information for everyone!
Posted on 12-Jul-2004 22:53:28
#9 ]
Super Member
Joined: 16-Jun-2003
Posts: 1503
From: Croatia

@Deniil715

Works...and thanx!

_________________
--

Amiga x5000 ı o2o ı 4GB RAM ı RadeonRX580 | SBlaster Audigy Fx - AmigaOS4.1 FInal Edition

A1200 sandwich :)

Croatian Amiga portal

 Status: Offline
Profile     Report this post  
Deniil715 
Re: Sound.datatype information for everyone!
Posted on 13-Jul-2004 16:51:12
#10 ]
Elite Member
Joined: 14-May-2003
Posts: 4237
From: Sweden

@RedMelons

You can use the v40 something WAV.datatype from Aminet.

@srupprecht

Does your v41 WAVE.datatype work with anything other than the v41sound.datatype? If so, it would be great as it is better :)

@all

I found one VERY annoying thing about using the sound.datatype this way, which is completely AHI to blaim: If I'm playing music and have sounds in AmIRC f.ex., the volume of the music gets lowered everytime a sample is played. This gets quite unbarable after a while, especially when playing loud music. It's totally uncomfortable :(

AHI needs to be modified some way so that it can mix different temporary sources without temporarly lower the volume. I know why this is done: it's to avoid distortion by clipping, but I also know that atleast Windows has managed to do this without any problem as long as I can remeber which means it is possible to solve.

AHI-guy(s)! Please add a switch "Do not divide amplitude when mixing" and a slider "Offset volume" or something that can be set in conjunction to the above switch to lower the risk of clipping.

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  

[ 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