Save Raw Audio / Picture Data To A String?

Dec 20, 2011

What I'm wanting to do is add something to my software that sort of acts in place of an archive by saving pictures an audio clips as string.

I want to be able to save an image/audio clip to a string, and then pull that data from the string again and convert it back to an image/audio file. The purpose of this is so that I can save multiple images and audio clips all within one string, using datasplits to later separate them again.

Basically, what I had in mind was saving an picture/audio file to a string setting (let's call it my.settings.audiofile), and then pulling that string setting and writing it to an jpg/mp3 file using my SaveFileDialog.

So, how would I write raw audio/picture data to a string?

View 5 Replies


ADVERTISEMENT

Communications :: How To Save Audio File In Picture

Jul 11, 2010

I want to save audio file in picture. I am using vb.net Express 2008.

View 15 Replies

RTF Extract Picture Data And Save To File?

Aug 19, 2009

i am able extract TEXT from rtf file, but i am unable to extract and convert to images as bmp or jpeg or gif and save them to harddisk.is there any options for converting hex/binary to image?i tried to hex to base64, still it no-use

View 1 Replies

Audio Management System - Allow User To Add Audio Files Itself Into Database Together With Audio Information

Jan 28, 2010

I'm developing a standslone system for my school project. I'm developing an audio management system which allow user to add audio files itself into database together with the audio information such as artist name and album year. I just started it few days ago and face some problems.. my song in the playlist wont continue to play after 1 finished and i need some idea on how to store the audio files into database ... in blob types may be?

Heres the screenshot and codes

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_add.Click

[CODE]............................

View 2 Replies

Show Picture Before Playing Audio Clip?

Dec 6, 2009

I'm working on a program that allows a person to click on some text and it will read the text (play a wav file) using My.Computer.Audio.Play. The program calls a procedure called PlayAudioClip which uses AudioPlayMode.WaitToComplete because in some cases two wav files will be played one after the other(two languages). During the playing of the wav files I want to show a visible indicator that there is audio. I've got a picturebox called "AudioPic" who's image property points to a picture in my.resources. THe visible property of AudioPic is set to false when the form loads When the user clicks on the text my program should display the image (Visible=true), play the clip (or two) and then hide it again.

It seems that the picture is not completely loaded before the wav file plays and since I have it set to WaitToComplete it stops the loading until the wav file has played, at which time the program hides it.

How can I force it to finish showing the picture before playing the clip?[code]...

View 4 Replies

Create Picture Cover For Audio File Path?

Mar 26, 2012

You did it very good and i will ask you step by step to fulfil my knowledge and keeping it as the sample for the learners who love to know the Visual Basic language especially with the song program. Could you please add the cover picture to audio file path in Add A New Song Form as in the picture below.

View 1 Replies

Cut And Save The Audio Files Played In Media Player

Aug 5, 2009

I have created a small media player calling COM component of Windows media player. Now i want to cut and save the audio files played in media player? is it possible with windows media player or i would have to use some other media player object? I can have the files info which i am using in window media player to play..but cant able to get the details which we can finds with our OS( windows) like compression format, bit-rate etc.

View 1 Replies

Put A Date In A Picture And Save It As A New Picture?

Nov 5, 2010

I'm a programming enthusiast, and recently I am making a program that communicates with a webcam and captures an image. I copied the API call for avicap32.dll from some website and the program works just fine.

View 2 Replies

Audio Converter And Compressor - Audio & Video - Dream.In.Code

Mar 13, 2009

I just want to ask or I need some idea on how to convert wav files to mp3 and compressed the file to make the size smaller. I've search on the internet and find vorbis.dll as a reference object and lame.exe for converter. With regards to the audio compression, i downloaded monkey's audio software but doesnt have an idea on how to incorporate it.

View 2 Replies

VS 2008 Recording Audio - Capture The Audio Played On My Laptop

Jun 11, 2009

Im trying to capture the audio played on my laptop. so i have searched the internet and found a source code for doing exactly that. the problem i have is that my audio device is not listed in the dropdown box (see picture) but it does when its run on windows xp (im running windows 7 x64) the goal of this application would be to capture my friends radio stream and save the individual played mp3's to a loction on my hard drive.(yes i have permission) i have included the source code so perhaps some 1 could have a look at it. (source code)[URL]

View 2 Replies

Play Audio Resource File By String Dynamically?

Apr 28, 2012

The code below works so i know the resource is registering correctly ...

vb.net
My.Computer.Audio.Play(My.Resources.alrt2xuk, AudioPlayMode.Background)

But what im trying to do is make a function where I can play the audio file in the programs resources with a string variable being passed to it representing the resource objects filename.

this is so users can type in a audio files name and pull it from the program's resources dynamically VS a big case i would keep having to expand ...

heres my code

[Code]....

but that isnt working for some reason ... keeps throwing "objects reference not set to instant of an object" on the "Return ..." line

View 2 Replies

Make A VU Meter For Audio To Monitor Audio Input?

Feb 26, 2007

make a VU meter for Audio to monitor audio input devices volume level such as microphone and etc?

View 7 Replies

Routing Modem Audio Out To SR Engine Audio Input Under VB / VBA?

May 20, 2009

I have a database application developed around Access with VBA,I have used the Speech SDK and developed an application that in conjunction with MSCOMM 6.0 library calls into a remote IVR system.It sends in the credentials and queries information in response to that IVR's verbal requests. All seems successfull except for one problem;I'm using a shared SR engine and its using the system microphone as its audio input, this in turn gets the sound from the speakers which are routed to the telephone line through the modem. Of course this has a number of disadvantages - noise added to the sound from the environment and sound quality degredation as well as speaker volume dependency.

I would like the SR engine to take its audio input from the modem in paralell with the sound that goes to the speakers (so we can listen in to the call as well). This means that I must route the system audio output to the SR engine audio input. It seems that I must use an InProc SR instance - however in VBA that type is not recognized - since the shared SR uses the microphone as input by default. there is some statement to the effect that it is difficult in Microsoft's Help file. I'm unable to set the SR audio input to the modem output stream in VBA.As needed I can accomplish the C++ interface using an ActiveX object or a DLL to expose the missing API to VBA?

View 7 Replies

Getting Data About Your Audio Files (And Not Using Metadata)?

Jun 10, 2011

Early on the OP was asked "how will you get the data about your music?" and it went into a whole other direction, but that's what I'm here to show: Another way to get the data about your music without dependence on the metadata.The music that I have has fairly extensive tags embedded but as I've discovered, that's not the case with all of them. It's a good starting point I suppose but is there another way? Let me jump to the end, then in the next several posts, we'll dissect the parts of it. My goal was use "only out of the components and methods" and this is what we end up with: Aside from the rudimentary things like song duration, how about if we could get a host of information about the songs, including the cover art? As shown in the example above, some also will have a link to additional information. The additional information may even contain a way to watch a music video for that song like this: Further, some will even contain what I call "Liner Notes" like this:

If this interests you, read on ...This isn't a new thought at all; I've explored this area before. Have a look at this on Code Project. Now before you go thinking that you've found the keys to the kingdom, I should explain a little minor issue about that - it doesn't work! In that, he relies heavily on three web services: Amazon Web Service MusicBrainz LyricWiki Amazon has significantly modified their service such that his methods don't work now. If you follow the posts following the thread, you'll see a few people have tried workarounds but over the years, even those stopped working because apparently they (Amazon) are in a state of flux regarding their API. LyricWiki is still alive and well, but - the music recording industry forced them to no longer offer their service to developers. MusicBrainz is in fact a heck of a resource and if you're at all interested in this topic, I would encourage you to have a look around. It's odd to work with, but it's chock full of good information and they're constantly adding to it or so it seems. All that said, this example won't use any of those but rather a different service all together: Last Dot FM. I can't say that I know much about them, but I happened onto them a few months back when I was first experimenting with all this stuff.

View 1 Replies

.net - How To Save Picture In The Database

Jul 28, 2011

I am using following code to save my data to database Where does the statement to save a picture in the database fit?

[Code]...

View 1 Replies

App To Take A Picture Then Save It Automatically

Dec 5, 2009

I want my app to take a picture, then save it automatically. Can I do that with the save file dialog or how would I do that?

[Code]...

View 1 Replies

Save Picture Box Error

Oct 14, 2009

I am trying to save the picture that I have in my picture box using this[code]...

View 2 Replies

Save Picture From WebBrowser1?

Mar 29, 2012

I am trying to save a picture from WebBrowser1. I tried to move it into the picturebox then save it, but it doesnt open in picturebox:

[Code]...

View 6 Replies

Save Picture In Database

Jun 11, 2011

how do i want to save a picture in accsess database?

View 2 Replies

Save Picture In Database?

Jul 28, 2011

How to save picture in the database

View 1 Replies

Save Picture To File?

Dec 4, 2009

I am trying to write some code to my program that will allow the user to rename and save a pciture they have selected, here is what i have so far.it saves the picture but not in a jpg file type, the file type is "file"

[Code]...

View 13 Replies

Copy-Paste-Save Picture?

Apr 27, 2011

Im about practicing vb .net, manipulated different controls, im trying to createapplication like PAINT, Heres my problem at this point what controls should i choose? then i like to copy-paste-save the image to sql server, or save as jpg or bitmap, i have some syntax from vb classic but it didnt work, pls. help me with this kind of situation,

View 5 Replies

Resize A Picture Then Save It In Another Folder?

Apr 18, 2010

I have a Picture Box Name "PicFront" and a button to add picture this picbox I need When I Select Picture from Clicking Add Button, the Picture is resize then display in Picbox Finaly When I Click Save Button save resizeing picture in another Folder?

View 5 Replies

Save A Picture Box With Label Inside It?

Oct 8, 2011

I need to save a picture box to the hard disk with some text labels inside it.

View 6 Replies

Save And Show Picture In Vb From Database?

May 16, 2009

Save And show picture in vb from database?

View 1 Replies

Save Changed Picture Box To SQL Server?

May 25, 2009

I have been working on a project. In this project I wish to be able to create electronic signatures. I have perfected the signing routine and also creating the memory astream and saving and retrieving an image. The problem comes in when I retrieve the image from the database. The image being saved does not capture the signature (the changes I've made to the picturebox)

1. I load a small bmp as the template on where to sign with by setting the picturebox.imagelocation to a network share

2. Using mousemove and mouseclick, and draw events I draw a signature on top of the picture box

3. I picturebox.image.save(memorystream) the picture box to a sql server from a button click event.

4. When I retrieve the saved image there are no edits (No signature) only the original image. I am sure that the original image is going in and that it is coming out every time.

My question is thus: How can I capture the signature that I have edited into the picture box. I have tried picturebox.save like I mentioned above and I have tried picturebox.update() but without success. Does anyone know what I missing I think that the answer lies in refreshing or updating the picturebox, but I'm not sure how.

View 3 Replies

Save Path Picture Using Mysql?

Jun 11, 2011

I'am using vb.net and MySQL as database. How do I save the image path to mysql database. So later when the customer list form when I select a customer and so appear on the customer edit form automatically direct the picture appears too

View 1 Replies

Save Picture Selected By The User?

Sep 11, 2009

May I know if its possible to save a picture file like .jpeg file in vb after the user chooses his picture? As i want the user to be able to save the picture that he chooses at run time. So that the next time he runs the app, the picture will still be there.the below is the code that i used to open the picture.

Dim strFileName As String
OpenFileDialog1.InitialDirectory = "C:"
OpenFileDialog1.Title = "Open an Picture File"

[code]....

Is it i save using the my.setting part? but i'm not so sure abt the setting type. AS there doesnt seem to have system.drawing.image.

View 4 Replies

Save The Clientarea Of A Form As Picture?

Aug 31, 2011

I want to save the clientarea of a form as picture and I got the following coding to do it. But while executing it I get fully-blacked picture saved.

Declare
Function BitBlt
Lib

[Code]....

View 5 Replies

VS 2010 Save Text To Picture?

Jan 14, 2012

I need code to build something that if I record the image in textbox1, etc. I keep one whole picture ..

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved