473,395 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

edit wav-file

bro
hi everybody,

i currently develop an app under c#. i want to play the last x seconds of a
previously recorded and saved wav-file. there is a simple way to achieve this?

If not, is there any way to edit the previously recorded wav-file in a way,
that the last x seconds are kept so that i can save these to new filename and
play this one?

Thanx a lot!
Aug 23 '06 #1
2 3328
I would recommend using mci, the media control interface.

You'll need "open waveaudio", "set time format ms", "status length", "play
from", and "close". If you want to save a cropped file, then "delete from"
and "save" would be helpful. See
http://www.geocities.com/smigman.geo/mci/wav.html for example mci commands.

"bro" <br*@discussions.microsoft.comwrote in message
news:04**********************************@microsof t.com...
hi everybody,

i currently develop an app under c#. i want to play the last x seconds of
a
previously recorded and saved wav-file. there is a simple way to achieve
this?

If not, is there any way to edit the previously recorded wav-file in a
way,
that the last x seconds are kept so that i can save these to new filename
and
play this one?

Thanx a lot!

Aug 23 '06 #2
bro
Thanks! i will try this tomorrow ;-)

"Ben Voigt" wrote:
I would recommend using mci, the media control interface.

You'll need "open waveaudio", "set time format ms", "status length", "play
from", and "close". If you want to save a cropped file, then "delete from"
and "save" would be helpful. See
http://www.geocities.com/smigman.geo/mci/wav.html for example mci commands.

"bro" <br*@discussions.microsoft.comwrote in message
news:04**********************************@microsof t.com...
hi everybody,

i currently develop an app under c#. i want to play the last x seconds of
a
previously recorded and saved wav-file. there is a simple way to achieve
this?

If not, is there any way to edit the previously recorded wav-file in a
way,
that the last x seconds are kept so that i can save these to new filename
and
play this one?

Thanx a lot!


Aug 23 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Chris Stiles | last post by:
Hi -- Is there a library available for python that will enable me to process .wav files ? Preferably extensible so I can write handlers for dealing with the non audio sections. --...
4
by: Todd Anderson | last post by:
Any body know of a javscript that will play a sound.wav file repeatedly onLoad? Thanks in advance for your help.
1
by: Koti | last post by:
Hi, In my program I have few wav files and I want to load different wav files based upon the input. Is there any API or component in .Net to load the WAV files. Thanks, Koti
2
by: Richard Brooks | last post by:
IE5.5 It's probably an oft repeated question but I have some code that used to work but does not now. This line in my Javascript code give an error now. document.embeds.play(); And the...
5
by: Lauren Wilson | last post by:
Hi Folks, I have an Access 2k app that is often run on a LAN with several users. Unfortunately there is one feature that fails to work in that setup. Our app allows the user to play WAV audio...
0
by: Mad Scientist | last post by:
Has anyone been able to play back a mono WAV while recording, and saving the results as a stereo WAV (left channel = first mono recording, right channel = new recording)? Any sample code would...
2
by: jerryb | last post by:
Anyone know how to convert vox files to wav from within VB .Net? Thanks for any help.
2
by: Nathan | last post by:
Can someone please point me in the right direction toward getting VB.NET to play WAV files, or any type of sound files for that matter?
0
by: arunbalait | last post by:
Anybody know how to insert wav data into sql server... What data type do I have to use create table for storing wav data? And how to insert them? Please give me syntax for all. And also to...
1
by: OBAFGKM_RNS | last post by:
In my html, I have an embedded sound wav. I access that sound from my javascript using Play() and Stop(). However, once stopped, the sound will aways resume from where it left off, (making Stop...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.