Soundcard input
Soundcard input
Would love to see the ability to have a function that grabs samples from an input on a soundcard
Put these into a buffer or save directly to a raw file.
Eg:
Grab .125ms of 8Bit mono speech from LineIN put into buffer, then use CreateUDPobject to transmit the buffer
Then have an incoming server running to grab the buffer and play it back again.
Thinking VOIP client for all AOS,MOS,AROS, 2D puzzle game that would allow players to talk to each other etc etc
Put these into a buffer or save directly to a raw file.
Eg:
Grab .125ms of 8Bit mono speech from LineIN put into buffer, then use CreateUDPobject to transmit the buffer
Then have an incoming server running to grab the buffer and play it back again.
Thinking VOIP client for all AOS,MOS,AROS, 2D puzzle game that would allow players to talk to each other etc etc
AmigaOne X1000 - RadeonHD 7870, 4GB RAM - AmigaOS 4.1ß
AmigaOne X5000 - Radeon R7 250, 2GB RAM - AmigaOS 4.1ß
AmigaOne X5000 - Radeon R7 250, 2GB RAM - AmigaOS 4.1ß
Re: Soundcard input
I second that, That would be a good idea.
- airsoftsoftwair
- Posts: 5830
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Soundcard input
Support for recording audio is planned for a future version.
Re: Soundcard input
I would just like to bump this one.
As a long time supporter of Hollywood (7 Years Now V4 to V8).
Its the only language I use now. I've had a project on the back burner and wish to revisit it.
Could you add the ability to sample audio, via AHI, put it into a buffer that could be be sent using SendData() and play the buffer at the destination.
In the past I've run a amiga dos script from with in hollywood to sample to a file using audio: device. Then used hollywood to read the file as a string and send it. At the destination save the incoming data to file, then play the file. The overheads and delay create large gaps.
I did find this recently
https://wiki.amigaos.net/wiki/AHI_Devic ... AHI_Device
As a long time supporter of Hollywood (7 Years Now V4 to V8).
Could you add the ability to sample audio, via AHI, put it into a buffer that could be be sent using SendData() and play the buffer at the destination.
In the past I've run a amiga dos script from with in hollywood to sample to a file using audio: device. Then used hollywood to read the file as a string and send it. At the destination save the incoming data to file, then play the file. The overheads and delay create large gaps.
I did find this recently
https://wiki.amigaos.net/wiki/AHI_Devic ... AHI_Device
AmigaOne X1000 - RadeonHD 7870, 4GB RAM - AmigaOS 4.1ß
AmigaOne X5000 - Radeon R7 250, 2GB RAM - AmigaOS 4.1ß
AmigaOne X5000 - Radeon R7 250, 2GB RAM - AmigaOS 4.1ß
- airsoftsoftwair
- Posts: 5830
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Soundcard input
It's still on my list, I've bumped it now 
- airsoftsoftwair
- Posts: 5830
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Soundcard input
Only took like 13 years or so but here it finally is, sorry for the delay 
Code: Select all
- New: Audio recording is finally supported using the new RecordAudio() function; this function allows you
to record audio directly to a file in various audio formats (also extensible via plugins); you can also
configure things like channels, bit depth and sampling frequency in the optional table argument; finally
asynchronous recording is also supported by setting the "Async" tag to TRUE; note that on slower systems
like AmigaOS 3 it's recommended to use an output audio format that doesn't use any compression (e.g.
uncompressed RIFF WAVE) to make sure the file saver can keep up with the audio recorder
Re: Soundcard input
In the next release of Hollywood?
- airsoftsoftwair
- Posts: 5830
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Soundcard input
Yup.
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Soundcard input
Well, thank you with this function, now will be possible to make an easy sound convert.airsoftsoftwair wrote: ↑Sun May 11, 2025 7:26 pm Only took like 13 years or so but here it finally is, sorry for the delay
Code: Select all
- New: Audio recording is finally supported using the new RecordAudio() function; this function allows you to record audio directly to a file in various audio formats (also extensible via plugins); you can also configure things like channels, bit depth and sampling frequency in the optional table argument; finally asynchronous recording is also supported by setting the "Async" tag to TRUE; note that on slower systems like AmigaOS 3 it's recommended to use an output audio format that doesn't use any compression (e.g. uncompressed RIFF WAVE) to make sure the file saver can keep up with the audio recorder