- Home
- Discussion Forum
- AROS FORUMS
- General Chat
- Volume control
Volume control
Last updated on 12 years ago
emeckJunior Member
Posted 12 years agoIs it possible to send an AREXX command to increase/decrease AHI master volume?
Or is there a mixer available for AROS for that?
Or is there a mixer available for AROS for that?
magoriumSoftware Dev
Posted 12 years agoNope, not atm :(
The only thing you _can_ influence atm is in the AHI preference utility. Setting the volumes for each unit and changing the nr of channels.
Theoretical it should be do-able to make e.g. a commandline tool to set the overall volume. Ofcourse that could result into something like a generic volume slider GUI util as well.
I said theoretical, because i am just figuring things out with our AHI device other then just playing some music :D
The only thing you _can_ influence atm is in the AHI preference utility. Setting the volumes for each unit and changing the nr of channels.
Theoretical it should be do-able to make e.g. a commandline tool to set the overall volume. Ofcourse that could result into something like a generic volume slider GUI util as well.
I said theoretical, because i am just figuring things out with our AHI device other then just playing some music :D
cavemannSoftware Dev
Posted 12 years agoI downloaded the Os4 Arexx volume control.
http://os4depot.net/index.php?function=showfile&file=utility/docky/mmvolume.lha
After changing the icon to work with AROS, the rx scripts seemed to run Ok but without any effect.
I suspect that AROS AHI only has null stubs for AREXX ports, because no error was returned.
Also I've noticed the the c:play command does not play a wave or iff sound even though I believe there is a datatype for it. Does it work for any of you guys?
http://os4depot.net/index.php?function=showfile&file=utility/docky/mmvolume.lha
After changing the icon to work with AROS, the rx scripts seemed to run Ok but without any effect.
I suspect that AROS AHI only has null stubs for AREXX ports, because no error was returned.
Also I've noticed the the c:play command does not play a wave or iff sound even though I believe there is a datatype for it. Does it work for any of you guys?
emeckJunior Member
Posted 12 years ago@cavemann
Is there an aiff datatype for AROS? I tried a couple samples and I get a message saying Can?t open file.aiff as a Datatype object.
The samples work under AOS 3.5 and Multiview but there is an aiff.datatype in there.
Is there an aiff datatype for AROS? I tried a couple samples and I get a message saying Can?t open file.aiff as a Datatype object.
The samples work under AOS 3.5 and Multiview but there is an aiff.datatype in there.
cavemannSoftware Dev
Posted 12 years agoThe AIFF datatype should be in Devs/Datatypes. The sample should play if you click on the icon and click again on the little waveform window.
emeckJunior Member
Posted 12 years ago@cavemann
Ok, there it is. I thought there should also be an aiff.datatype in Classes/Datatypes.
With AspireOS, double click on the sample icon opens the Execute requester. With Icaros I get a Software failure with the same sample.
Using c:play in both give the error reported earlier.
Ok, there it is. I thought there should also be an aiff.datatype in Classes/Datatypes.
With AspireOS, double click on the sample icon opens the Execute requester. With Icaros I get a Software failure with the same sample.
Using c:play in both give the error reported earlier.
Edited by emeck on 25-03-2013 02:17, 12 years ago
cavemannSoftware Dev
Posted 12 years ago@emeck
I have not been able to get c:play to work with any kind of sound file. I think it may be broken.
In Windows I converted some samples to AIFF. The AIFF from Audacity was not recognized by AROS and could not be played. The AIFF that was converted from SoundForge was recognized but would only play with mplayer. Maybe there is a problem with the AIFF datatype!!!
I have not been able to get c:play to work with any kind of sound file. I think it may be broken.
In Windows I converted some samples to AIFF. The AIFF from Audacity was not recognized by AROS and could not be played. The AIFF that was converted from SoundForge was recognized but would only play with mplayer. Maybe there is a problem with the AIFF datatype!!!
emeckJunior Member
Posted 12 years agoI've tried some of these aiff samples http://tdwhs.nwasco.k12.or.us/staff/lewing/resources/sound_effects.htm, which worked in Multiview under AOS 3.5
But not with Icaros or AspireOS, neither play command nor Multiview. The last just opens a small empty windows with just an OK button. It is not even resizeable and no sound. The samples also work fine with mplayer command line in Debian.
But not with Icaros or AspireOS, neither play command nor Multiview. The last just opens a small empty windows with just an OK button. It is not even resizeable and no sound. The samples also work fine with mplayer command line in Debian.
cavemannSoftware Dev
Posted 12 years agoI have started a thread at the Aros-exec bug forum about the play command. I have also mentioned that it won't play Aiff (and ogg). Hopefully the thread will catch the eye of one of the devs.
Please add your comments and maybe we will have a solution.
http://aros-exec.org/modules/newbb/viewtopic.php?topic_id=8141&forum=22&post_id=80420#forumpost80420
Please add your comments and maybe we will have a solution.
http://aros-exec.org/modules/newbb/viewtopic.php?topic_id=8141&forum=22&post_id=80420#forumpost80420
magoriumSoftware Dev
Posted 12 years agopardon the intrusion.
aiff comes in various formats (please note the various compressions) so a specifc aiff file might or might not be supported. Unfortunately i lack the knowledge of the details atm.
As for Ogg. Do we have even a datatype for it ? I couldn't find it, but i'm always walking behind the facts :)
aiff comes in various formats (please note the various compressions) so a specifc aiff file might or might not be supported. Unfortunately i lack the knowledge of the details atm.
As for Ogg. Do we have even a datatype for it ? I couldn't find it, but i'm always walking behind the facts :)
cavemannSoftware Dev
Posted 12 years agoQuote
magorium wrote:
pardon the intrusion.
aiff comes in various formats (please note the various compressions) so a specifc aiff file might or might not be supported. Unfortunately i lack the knowledge of the details atm.
As for Ogg. Do we have even a datatype for it ? I couldn't find it, but i'm always walking behind the facts :)
What intrusion? Don't be silly, this is your place, you have helped keep this site alive.
The ogg datatype is in Devs/datatypes. Is that not the correct place to check? Is there more to it?
And yes, there are different Aiff types (endian order too I think), but I could not find any Aiff file that would play, even though some of the files had an AROS datatype icon on it.
Emeck pointed out that the files he tried work in AmigaOS 3.5, then logically ;) they should work in AROS. Also, ogg vorbis is a popular (in games) open source format, so imo AROS utilities should play ogg files too.
magoriumSoftware Dev
Posted 12 years agoLet me be clear here: i have no clue as of how things work. So i'm just spilling what comes to mind :)
According to datatype library it states:
I believe _those_ can be found in sys:classes/datatypes
Now, you could think perhaps that sound.datatype does this automagically for all supported sound-formats. But be honest, do you see a ogg vorbis decoder in those 49kb ? Not to mention xm, s3m, mp3, flac etc etc.
We do see a wave.datatype there, so what on earth would that thing do ?
So let's ask emec if there are perhaps some datatype classes that are available on AOS 3.5 and are not present in AROS.
According to datatype library it states:
Quote
The datatypes.library provides transparent data handling abilities to applications. Application developers can register their data format with datatypes.library and provide a class library for handling their data within other applications.
I believe _those_ can be found in sys:classes/datatypes
Now, you could think perhaps that sound.datatype does this automagically for all supported sound-formats. But be honest, do you see a ogg vorbis decoder in those 49kb ? Not to mention xm, s3m, mp3, flac etc etc.
We do see a wave.datatype there, so what on earth would that thing do ?
So let's ask emec if there are perhaps some datatype classes that are available on AOS 3.5 and are not present in AROS.
cavemannSoftware Dev
Posted 12 years agoAha! Thanks for the info. Apparently I've been only looking at the iceberg peeking above the water.
So, Devs/datatypes only contains the file structure so the system can identify what type of file it is. Classes/datatypes are the public filters that can be used by any application. The datatype structures that do not have public classes most likely have private classes embedded in applications. Does that make sense?
So, Devs/datatypes only contains the file structure so the system can identify what type of file it is. Classes/datatypes are the public filters that can be used by any application. The datatype structures that do not have public classes most likely have private classes embedded in applications. Does that make sense?
magoriumSoftware Dev
Posted 12 years agoWell, i believe you hit the nail exactly on top of its head and hammered it with such a force that the nail and its head disappeared into the earth's core to be vaporized and never to been seen again :D
But please be aware that i still do not have a clue ;)
BTW: it does not explain why it does not play/support all wav format type files though. But if you stick to the list that is written here, then the play command should be able to put some pedal to the metal :)
But please be aware that i still do not have a clue ;)
BTW: it does not explain why it does not play/support all wav format type files though. But if you stick to the list that is written here, then the play command should be able to put some pedal to the metal :)
Edited by magorium on 27-03-2013 00:45, 12 years ago
emeckJunior Member
Posted 12 years ago@cavemann
@magorium
3 clueless guys trying to hit nails... Doesn't sound like a good idea :o
Anyway, this are the files in the Devs/Datatypes drawer in my AOS3.5 installation:
JPEG.info
JPEG
ILBM.info
ILBM
GIF.info
GIF
FTXT.info
FTXT
CDXL.info
CDXL
ANIM.info
ANIM
AmigaGuide.info
AmigaGuide
AIFF.info
AIFF
8SVX.info
8SVX
icon
Icon.info
And this are in Classes/Datatypes:
text.datatype
sound.datatype
jpeg.datatype
ilbm.datatype
gif.datatype
cdxl.datatype
ascii.datatype
animation.datatype
anim.datatype
amigaguide.datatype
picture.datatype.cgfx
aiff.datatype
8svx.datatype
picture.datatype
icon.datatype
So, if AROS works like AOS3.x maybe aiff.datatype file has to be in Classes/Datatypes for it to work?
@magorium
3 clueless guys trying to hit nails... Doesn't sound like a good idea :o
Anyway, this are the files in the Devs/Datatypes drawer in my AOS3.5 installation:
JPEG.info
JPEG
ILBM.info
ILBM
GIF.info
GIF
FTXT.info
FTXT
CDXL.info
CDXL
ANIM.info
ANIM
AmigaGuide.info
AmigaGuide
AIFF.info
AIFF
8SVX.info
8SVX
icon
Icon.info
And this are in Classes/Datatypes:
text.datatype
sound.datatype
jpeg.datatype
ilbm.datatype
gif.datatype
cdxl.datatype
ascii.datatype
animation.datatype
anim.datatype
amigaguide.datatype
picture.datatype.cgfx
aiff.datatype
8svx.datatype
picture.datatype
icon.datatype
So, if AROS works like AOS3.x maybe aiff.datatype file has to be in Classes/Datatypes for it to work?
magoriumSoftware Dev
Posted 12 years ago@emeck
Here is were it becomes a little adventurous :D If i take a good look at the sound.datatype i can see an header here that has aiff definitions.
But i am unsure as of why they are there exactly...
True is that there does not seem to be a aiff.datatype, so might explain things.
On the other hand it could also mean aiff is integrated in sound datatype by default (in which case i don't know which aiff format is supported)
but maybe someone can hit that nail again, or should we perhaps go for the hypersonic hydrolic powerdrill ? :)
Here is were it becomes a little adventurous :D If i take a good look at the sound.datatype i can see an header here that has aiff definitions.
But i am unsure as of why they are there exactly...
True is that there does not seem to be a aiff.datatype, so might explain things.
On the other hand it could also mean aiff is integrated in sound datatype by default (in which case i don't know which aiff format is supported)
but maybe someone can hit that nail again, or should we perhaps go for the hypersonic hydrolic powerdrill ? :)
cavemannSoftware Dev
Posted 12 years agoQuote
magorium wrote:
BTW: it does not explain why it does not play/support all wav format type files though. But if you stick to the list that is written here, then the play command should be able to put some pedal to the metal
I agree, the play command is still not working properly. Wave and 8svx files have datatypes and should play. I don't think the AROS datatype is the same version as the datatype in your link because au files won't play. But that doesn't count for much since c:play is not working.
Edit: deleted some stupid text here.
Another mystery that still remains is the issue of the Arexx Volume mute script that returns zero (meaning that it had no errors) yet it does not mute AHI.
Edited by cavemann on 27-03-2013 11:09, 12 years ago
cavemannSoftware Dev
Posted 12 years agoQuote
magorium wrote:
Here is were it becomes a little adventurous :D If i take a good look at the sound.datatype i can see an header here that has aiff definitions.
But i am unsure as of why they are there exactly...
The sound.datatype is the root data type for sounds. It contains the methods that are used to interact with all sound files. Which makes sense, there is no need have these generic functions repeated in every sound datatype subclass. It looks like the voiceheader which you linked to is used by the internal methods of the sound.datatype. Maybe because some Aiff formats are used on AROS by Audio Evolution 4 (which is on Icaros).
Enough hammering...my thumb is sore!
magoriumSoftware Dev
Posted 12 years agoAh yes cavemann.
afaik no arexx is supported in any of current programs. So neither for interacting with volume control :(
It could very well be that that link i provided is not representative for current datatypes, as the link is abiv1 related. I would have to dive into v0 sources to get a clear view on that. It was not so important for me.
So... play command is still unable to work ? is that what you are telling ? Reason i ask is because i needed to use it when mrdarek got his problem (remember ?) and it played certain wav-files.
Regarding the sound datatype: yes i know that it is the root class for the sounds, but at the same time i suspect(ed) some additions were added to make things lazy enough (as aiff is almost the same as iff) :D
For the rest we 'simply' need the additional datatypes in order to let them be played by the play command.
But i am still not sure about the non working play command. I'm a bit short in time but i was already planning for a playDT command for sounds, so i'm gonna shed my light over it.
Always be carefull hitting, sooner or later you might miss and end up with a sore thumb :D
But seriously, you perfectly explained how things are suppose to work. So thank you for that, and the additional info you posted and linked to.
afaik no arexx is supported in any of current programs. So neither for interacting with volume control :(
It could very well be that that link i provided is not representative for current datatypes, as the link is abiv1 related. I would have to dive into v0 sources to get a clear view on that. It was not so important for me.
So... play command is still unable to work ? is that what you are telling ? Reason i ask is because i needed to use it when mrdarek got his problem (remember ?) and it played certain wav-files.
Regarding the sound datatype: yes i know that it is the root class for the sounds, but at the same time i suspect(ed) some additions were added to make things lazy enough (as aiff is almost the same as iff) :D
For the rest we 'simply' need the additional datatypes in order to let them be played by the play command.
But i am still not sure about the non working play command. I'm a bit short in time but i was already planning for a playDT command for sounds, so i'm gonna shed my light over it.
Always be carefull hitting, sooner or later you might miss and end up with a sore thumb :D
But seriously, you perfectly explained how things are suppose to work. So thank you for that, and the additional info you posted and linked to.
cavemannSoftware Dev
Posted 12 years agoQuote
magorium wrote:
afaik no arexx is supported in any of current programs. So neither for interacting with volume control :(
Oh, I did not realize Arexx was in a sad state.
Quote
So... play command is still unable to work ? is that what you are telling ? Reason i ask is because i needed to use it when mrdarek got his problem (remember ?) and it played certain wav-files.
Now that you mention it, yes it worked not long ago.
Quote
For the rest we 'simply' need the additional datatypes in order to let them be played by the play command.
Yep, very simple ;)
Quote
But i am still not sure about the non working play command. I'm a bit short in time but i was already planning for a playDT command for sounds, so i'm gonna shed my light over it.
Good to hear :)
Quote
Always be carefull hitting, sooner or later you might miss and end up with a sore thumb :D
Ok I'll take care
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Moderator: Administrator