BBC BASIC for Windows
« write sound wave to file/ not output realtime »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:24pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: write sound wave to file/ not output realtime  (Read 1034 times)
Gavin Lee
Guest
xx write sound wave to file/ not output realtime
« Thread started on: Apr 21st, 2011, 1:51pm »

Hi,
I've managed to use a tutorial I found on how to make my own created wave sound output in realtime (as opposed to playing from a file). And it works great. Apart from the slowness of my pc, which means stereo or higher sampling rates don't work.

I wondered if their is a simple way to write to a file rather than output to my sound card.

RE article on "Outputting real-time audio"
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: write sound wave to file/ not output realtime
« Reply #1 on: Apr 21st, 2011, 2:54pm »

on Apr 21st, 2011, 1:51pm, Guest-Gavin Lee wrote:
I wondered if their is a simple way to write to a file rather than output to my sound card.

These programs include code for outputting a WAV file, which you can probably adapt:

http://tech.groups.yahoo.com/group/bb4w/files/Multimedia/wavsplit.bbc
http://tech.groups.yahoo.com/group/bb4w/files/Multimedia/wavpitch.bbc

Richard.
User IP Logged

Gavin Lee
Guest
xx Re: write sound wave to file/ not output realtime
« Reply #2 on: Apr 28th, 2011, 5:58pm »

Thanks,
Although am getting a bit confused with buffers not being needed and what variable to stick where. But I'm sure I just need to trim original programs down to bare bones remove buffers etc and write directly to wave with BPUT. I think I'm almost there, but if anyone has any obvious and or helpful hints please leave a message, (I'm editing wavesplit with create wave output in real time from post that was on forum).
When I complete the program I shall post it so people can use the write wave directly to file program.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls