The Decoding Technique Used In Audio Decoders?
Oct 31, 2011
1.Converting a wav file to mp3
2.Create a mp3 player by use of a decoder for playing this mp3 file.
I want some help from the best audio programmer who can explain me the decoding logic used to play the mp3 file(Programatically) I am aware of the bit patterns and the data chunks of mp3.I have the knowledge of the data chunks used in mp3 and wav files .I have also used winmm.dll file earlier to ascend into and descend out of the data chunks of wave files.But don't know how the bits are played in a player.Now I need to convert the wav file into mp3 format by use of some encoder program.I came to know about some lame encoder program but am unable to get how to start understanding it's code.
View 1 Replies
ADVERTISEMENT
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
Sep 7, 2009
I would like to know how you can get into a game using the ReadProcessMemory technique. Could someone help me by telling me what information I need to get into the game and the code required.
View 5 Replies
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
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
Feb 26, 2007
make a VU meter for Audio to monitor audio input devices volume level such as microphone and etc?
View 7 Replies
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
Oct 6, 2011
I am trying to create a graph that changes every second and just shows a 3 second history. In my head it would make sense to tie it into the T variable (Time in seconds), so I have form1 outputting T to a text box on form2 and then everytime that textbox changes it graphs the new chart.
The reason I am doing the step ladder approach is because I wanted the numbers to appear under the points as they travel. does this make any sense at all, or am I completely off base?
[Code]...
View 1 Replies
Mar 29, 2011
I've been thinking about this problem for a while now and I'm still not sure what is the best approach.Basically I've got several hundred email addresses stored in a Database, and every week I would like to automatically send these addresses a bulletin of information. I've accomplished this with a Stored Procedure and a Scheduled Job on the DB (Oracle), but I'm sure this could be achieved better with some VB.net solution.I've read about people writing a Windows Service, or creating a Console Application and using Windows scheduler. I'm swaying to wards the Windows Service approach but I'm not sure how to tell the service to send emails at a specific time every week. Any ideas, or is there a better approach?Also, what would be best? Send individual emails to the addresses in the emailing list, or send one email with every address added as a BCC?
View 2 Replies
Dec 26, 2011
I know this is a VB.Net messageboard, but it can work with in all languages. Is there a quick way to complete a line (sample code):
//Setting variables set 1
a = e;
b = f;
c = g;
d = h;
.....
//Saving changes set 2
e = a;
f = b;
g = c;
h = d;
without having to type everything out...A technique using EXCEL or Notepad....Find and Replace. This would save a lot of time coding and becomes pain in the butt when you working with many variables.
View 4 Replies
Mar 8, 2010
I wrote some code to encode data using hashed technique,
HTML
Dim strPlainText As String = "admin"
Dim hashedbytes As Byte()
Dim encoder As New UTF8Encoding()
[Code]...
View 3 Replies
Apr 25, 2011
link where Programmers like me who are new and not very proficient in Vb.Net and ASp.NET..
View 10 Replies
Sep 23, 2009
how can i play the audio after the previous audio play is finish by using directx.
assume i have audio1.wav and audio2.wav.
i play audio1.wav by this code.
audio1 = audio.fromfile("D:audio1.wav", false)
how can i play audio2.wav after audio1.wav is finish? without use any button or signal. just depends on when the audio1.wav is finish, then audio2.wav will play automatically.
View 4 Replies
Dec 9, 2010
I have a pretty stupid problem I've done a simple string encoding function but I'm having some trouble to decode it again
Encoding Function
Private Sub Encrypt(ByVal EncString As String, ByVal blnStatus As Boolean)
If blnStatus = True Then
[code]......
View 4 Replies
Nov 29, 2011
I'm having difficulty decoding text in a VB GridView. Currently I have the following code:[code]But the text in "view" mode is still HTML encoded while in "edit" mode they are decoded.How do I get it so it is decoded in both modes?
View 1 Replies
Apr 9, 2009
symbol is put into my code, it is meant to be decoded as a /And when I put a % symbol into my code, it is meant to be decoded as a :I am using regex to do thisHere is my code to decode the coded adress (no pun intended):
Dim info As IO.FileInfo
Try
Dim SelectedLstItem As String
[code].....
View 3 Replies
Dec 12, 2010
Is there an easy way to encode and decode xml file so that it can only be read with a program that knows how to decrypt it.Basically i want to encode xml file and have a program that reads it.here is the code that is reading it now. thnx to .paul i learned how to read xml the link to that topic is How to read and sort xml
Quote:
vb
Public Class Form1
Dim ds As New DataSet
[code]....
View 8 Replies
Apr 19, 2012
I am writing some rest calls to the LinkedIn API using web request and have hit an encoding issue.The LinkedIn API takes requires an encoded URI as one of the parameters on the lookup i am trying to run.
We are calling the api through .Net's WebRequest.Create; and when we pass in the URI it decodes it and as a result we can't get the data from the call. Im trying to open a URI like this[URL]..Is there a mechanism in the webrequest class to stop it decoding the passed in URI; or a work around for this?
View 1 Replies
May 20, 2010
I'm having problems decoding a file with "ISO-8859-1" encoding.For example, I can't decode "%E7" to "รง".
View 1 Replies
Jan 4, 2012
I am using the method described in the following LINK and I am using the following code to encrypt:
'Page1.aspx
Protected Sub butEncrypt_Click(sender As Object, e As EventArgs) Handles butEncrypt.Click
Dim QueryString As String = "type=Int&pk=" & _primaryKey
QueryString = Tools.encryptQueryString(QueryString)
Response.Redirect(/SearchResults.aspx?Val=" & QueryString)
End Sub
and then finally de-encrypt:
[Code]...
View 1 Replies
Aug 2, 2011
I have a file from the client which is a text file. I have to decode the file to a graphical representation. Is there any way I can do it?
View 16 Replies
Feb 6, 2009
I'm using some functions which can be compared to encoding/decoding, but it's a really simple and basic application, not really an encoding function.The problem is, the decoding function doesn't seem to work. For some reason, it doesn't work correctly, and I'm a bit stressed, so even after searching for a while, I can't seem to find it.[code]
View 2 Replies
Jan 12, 2011
I need to work with Decoding so that I can Increase/Modify a String Value from 32 entries to 75 entries, and to include the corresponding checkboxes also.
View 14 Replies
Dec 6, 2010
I'm getting the following error when decoding a creation date:A first chance exception of type 'System.ArgumentOutOfRangeException'occurred in mscorlib.dll Hour, Minute, and Second parameters describe an un-representable DateTime.
I'm doing pdfdate.decode(xdoc.info("creationdate"))
Here's the info from the PDF file:
/CreationDate (D:191010319150120)
/Producer (Acrobat Distiller Daemon 3.01 for Solaris 2.3 and later
(SPARC))
/Creator (tif_convert_2_ps())
/Title (/tardir/tiffs/a386689.tiff)
/ModDate (D:20010320070957)
The Modification date seems to be a valid date, but, the creation date looks kinda weird to me. More intriguing is that when I get the properties of this file using ADOBE Reader it shows a valid date for the creation date field.
View 3 Replies
Aug 22, 2009
implement the huffman decoding algorithm
View 1 Replies
Dec 10, 2009
I'm not sure if "Simpleton Technique" is the term used to call "opening a single instance of a form", so please, by all means, correct me if I'm wrong.I opened a child form using the simpleton technique. The situation is like this:
I have three forms (frmUserProfileManager, frmUserInfo, and frmUAC), and all are child forms of the MDI form, MDIMain.You first access frmUserProfileManager using the menu bar. It opens the form using the simpleton technique:
[Code]...
I think maybe it has something to do with the event (MDIMain_Load)? I feel as if the program is only making a child instance of the frmUserInfo once (since the program only loads MDIMain once). And after I close it (frmUserInfo), it loads outside the MDI. Another thing, how do you kill forms that were hidden using .hide()? Is .dispose() applicable?
View 12 Replies
Aug 26, 2009
I am trying to write a thread safe application that contains 3 threads : -
1 - Data acquisition and decoding
2- Data graphing
3 - FFT and filtering
Thread 1 is collecting bytes from the serial port and converting them int integers (so taking two bytes) after is has captured 64 Bytes and converted into 32 integers, it then needs to pass the array to the graphing thread.
The graphing thread then plots the data and waits for more data.
Thread 3 also waits until thread one has collected 2023 integers and takes these and performs some FFT calculations (which take time).
My question is how do i share the arrays between the three threads without deadlocking the program? as the serial thread will be flying around reasonable fast (1000 bytes per second) so it will synclock onto the shared buffers for most of the time.
Originally i was going to use two synchronised queues, so when thread 1 has collected 32 bytes it queues the data into the graph queue, and once it has collected 2023 it queues the data into the FFT queue.
Then thread 2 and 3 can simple dequeue the data.
However using queues has the overhead of casting the data in and out, and as i know the data type i was planning on using two arrays :-
Dim GraphArray() as ushort
Dim FFTArray() as ushort
Then Thread 1 adds data to each thread, and thread 2 and 3 simple wait until the correct amount of data is available before removing the data. my question is there an array type that allows me to remove x amount of data from an array?
Because i cannot do this easily with the ararys defined as above (GraphArray, FFTArray), as i was planning on making them 1mByte and allowing thread 1 to fill them Knowing they should never overflow and then let thread 2 and 3 remove x amout of bytes at a time unless there is a better way of doing it
View 13 Replies
Jul 13, 2010
So, imagine I have a RichTextBox control and a few buttons to allow the user to change the font size, set/unset bold, italic etc, and perhaps change the colour. Not much more than that. Can I then - in code - loop through the contents of the RichTextBox and determine which words are in bold or red or whatever, and where paragraphs start and end?
View 9 Replies
Jan 23, 2012
I have all 66 books of the Bible in audio format. MP3 I believe. I want the users to have a choice of either reading the book of Romans or listening to it.
View 3 Replies
Feb 28, 2010
I've tried to use this and I got all the errors gone but two
Private Sub buttonSaveAs_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttonSaveAs.Click
If listViewTracks.SelectedIndices.Count > 0 Then
[Code]....
View 5 Replies