Solved

Save data from Media Player

Posted on 1998-01-20
7
137 Views
Last Modified: 2010-04-04
Is it possible to get the "Media Player" in Delphi 2.0 to save data to harddrive at the same time as it is recording?
0
Comment
Question by:maw2
  • 4
  • 3
7 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1357066
This page should be very interesting for you :

http://www.informant.com/undu/DN970901/00000022.htm
0
 

Author Comment

by:maw2
ID: 1357067
Great site but it didn't tell how to write the data to the harddrive at the same time as it's recording.
I need to be able to record a complete song from an audio-cd
and save it in a wav-file.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1357068
But, it displays how to record a song, not? Isn't it possible to change the code (with all the included links?), so that you can write it down to disk?

But here is another option : use this component, it's freeware till v1.3 (link points to it):

http://ascu.unian.it/~milani/delphi/ewv103.zip

There you can define in how many buffers the sound can be put in. You get an event when one of these buffers is full. then the device takes the next buffer. In the OnData event you can write that buffer to disk.

What do you think?

c.u. Zif.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 8

Expert Comment

by:ZifNab
ID: 1357069
And, is it working like I proposed?
0
 

Author Comment

by:maw2
ID: 1357070
I finally got it to work. Thank you very much.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1357071
I'm going to answer the question now, so it's going away from the asking questions list. If you don't like this, just reject it.

But, it displays how to record a song, not? Isn't it possible to change the code (with all the included links?), so that you can write it down to
                          disk?

                          But here is another option : use this component, it's freeware till v1.3 (link points to it):

                          http://ascu.unian.it/~milani/delphi/ewv103.zip 

                          There you can define in how many buffers the sound can be put in. You get an event when one of these buffers is full. then the device takes
                          the next buffer. In the OnData event you can write that buffer to disk.

What do you think?

If you still need help, just give a comment, and I'll try to do what I can.

Regards,
Zif.

                          c.u. Zif.
0
 

Author Comment

by:maw2
ID: 1357072
I solved it yesterday and i thank you very much.

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question