record

Record Audio and Upload as Wav or MP3 to server

柔情痞子 提交于 2019-11-30 20:41:09
Im not sure if Im asking the right place, but basically Im looking for advice on the best way to: Record Audio through a microphone on a website and Upload the audio as a Wav or MP3 file to the server Has anyone got extensive experience with flash, would this be difficult to do, is there anything on the market that currently does this? I was thinking about implimenting this as a Java applet but I find java applets abit annoying to use, abit 1998! Are there any tools that do this already or anyone got any guides or whatever Any advice is appreciated Thanks Phil Konrad Use Adobe Flash Media

Simple read/write record .dat file in Delphi

空扰寡人 提交于 2019-11-30 19:23:13
For some reason my OpenID account no longer exists even when I used it yesterday. But anyway. I need to save record data into a .dat file. I tried a lot of searching, but it was all related to databases and BLOB things. I wasn't able to construct anything from it. I have the following record type Scores = record name: string[50]; score: integer; end; var rank: array[1..3] of scores; I just need a simple way of saving and reading the record data from a .dat file. I had the book on how to do it, but that's at school. You should also take a look at the file of -method. This is kinda out-dated,

How to stop the capturing mediastream that is started by chrome.tabCapture API in chrome

柔情痞子 提交于 2019-11-30 19:01:46
问题 I am developing a chrome extension and I use chrome.tabCapture API to capture the stream from a tab of the chrome browser and to record the stream using MediaStreamRecorder.js. I could stop the recording of the stream using mediaRecorder.stop() but that chrome.tabCapture API doesn't end. It continously sends the stream. I need to stop the chrome.tabCapture API running for the particular tab. 回答1: Try : stream.getVideoTracks()[0].stop(); To improve video quality, specify videoConstraints :

Get Position of a struct var AKA Offset of record field

天大地大妈咪最大 提交于 2019-11-30 18:00:40
问题 I would like to get a "position" of a structure/record. Say I have this record: type MyStruct = record MyInteger : Integer; MyInteger2 : Integer; MyInteger3 : Integer; MyFunc : function (FirstParam : WideString; SecondParam : String) : Integer; MyString : String; MyString2 : WideString; MyPchar : pchar; end; As you can see this record has a size of 28 bytes (7 vars x 4 bytes). Basically because all the vars are either 4 byte vars (such as Integer) or pointers (also 4 bytes). Now let's say we

Record and play simultaneously on iOS (Phonegap build)

爷,独闯天下 提交于 2019-11-30 17:17:25
问题 I'm developing iOS and Android application using Phonegap Build version 3.3.0. Main focus of application is audio recording with another audio / music playing in the background. For both instances i'm using phonegap media api with correct audio files for recording (iOs - *.wav / Android - *.amr ) and playing (iOs and Android - *.mp3). Example: var audioRec = new Media(audioRecSrc, onSuccess, onError); audioRec.startRecord(); var audioPlay = new Media(audioPlaySrc, onSuccess, onError);

EXECUTE…INTO…USING statement in PL/pgSQL can't execute into a record?

橙三吉。 提交于 2019-11-30 15:31:49
I'm attempting to write an area of a function in PL/pgSQL that loops through an hstore and sets a record's column(the key of the hstore ) to a specific value (the value of the hstore ). I'm using Postgres 9.1. The hstore will look like: ' "column1"=>"value1","column2"=>"value2" ' Generally, here is what I want from a function that takes in an hstore and has a record with values to modify: FOR my_key, my_value IN SELECT key, value FROM EACH( in_hstore ) LOOP EXECUTE 'SELECT $1' INTO my_row.my_key USING my_value; END LOOP; The error which I am getting with this code: "myrow" has no field "my_key

AudioRecord and AudioTrack latency

老子叫甜甜 提交于 2019-11-30 13:53:06
I'm trying to develop an aplication like iRig for android, so the first step is to capture the mic input and play it at the same time. I have it, but the problem is that i get some latency that makes this unusable, and if I start processing the buffer i'm afraid it will get totally unusable. I use audiorecord and audiotrack like this: new Thread(new Runnable() { public void run() { while(mRunning){ mRecorder.read(mBuffer, 0, mBufferSize); //Todo: Apply filters here into the buffer and then play it modified mPlayer.write(mBuffer, 0, mBufferSize); //Log.v("MY AMP","ARA"); } And the

Android: Listener to record sound if any sound occurs

这一生的挚爱 提交于 2019-11-30 12:20:08
问题 In my application I want to implement methods which record the sound if any sound occurs. Something similar like this app: Talking Tom Cat So what should I have to do? Is there any demo that listens for sound and records it if any sound occurs? 回答1: Try this code in your application... private int RECORDER_CHANNELS = AudioFormat.CHANNEL_CONFIGURATION_MONO; private int RECORDER_AUDIO_ENCODING = AudioFormat.ENCODING_PCM_16BIT; private int RECORDER_SAMPLERATE = 44100; private byte RECORDER_BPP =

Convert any record to a string and back?

三世轮回 提交于 2019-11-30 09:39:52
How can I convert any record type to a single String and back? Perhaps load the record into a stream and read it as a String? The records I'm using won't have any special types included - they're just using simple things like String , Integer , PChar , DWORD , and Array of [String] , etc. and nothing like classes or functions. This string will further be saved into various places, such as a flat text file, database record, sent over the network, etc. The string contents may be transferred by other means between each of these, such as copying the string from a text file and saving it to a

Javascript code to record click on link to PDF - Qualtrics

放肆的年华 提交于 2019-11-30 09:30:04
问题 For a survey experiment built in Qualtrics, I need to record whether respondents clicked on a hyperlink to a pdf document attached to one of my questions. I have set it up so that the pdf document opens in another tab. I am not proficient with Javasctript. What would be the simplest solution to record this information? Thank you in advance! Another user asked a similar question about tracking hyperlink clicks to an external webpage, but I'm unsure if I can use a click thru when the document