Hey, is there any way to get the audio spectrum of a section of a song using FMOD if it is not playing?
Can I render a full song waveform using FMOD (+opengl/openframeworks/etc.) before the song is playing?
I create a .caf audio file using AVAudioRecorder and if I try and play it back using AVAudioPlay I get no sound on the iPhone (if played in simulator works fine). If I close my application and reopen the file plays fine. Also I am not able to adjust the phone volume after recording unless I close and reopen my application. Any ideas?
I am running a signed applet that needs to provide the ability for the user to select the input and output audio devices ( similar to what skype provides).
I borrowed the following code from other thread:
import javax.sound.sampled.*;
public class SoundAudit {
public static void main(String[] args) { try {
System.out.println("OS: "+System.getProperty("os.name")+" "+
System.getProperty("os.version")+"/"+
System.getProperty("os.arch")+"\nJava: "+
System.getProperty("java.version")+" ("+
System.getProperty("java.vendor")+")\n");
for (Mixer.Info thisMixerInfo : AudioSystem.getMixerInfo()) {
System.out.println("Mixer: "+thisMixerInfo.getDescription()+
" ["+thisMixerInfo.getName()+"]");
Mixer thisMixer = AudioSystem.getMixer(thisMixerInfo);
for (Line.Info thisLineInfo:thisMixer.getSourceLineInfo()) {
if (thisLineInfo.getLineClass().getName().equals(
"javax.sound.sampled.Port")) {
Line thisLine = thisMixer.getLine(thisLineInfo);
thisLine.open();
System.out.println(" Source Port: "
+thisLineInfo.toString());
for (Control thisControl : thisLine.getControls()) {
System.out.println(AnalyzeControl(thisControl));}
thisLine.close();}}
for (Line.Info thisLineInfo:thisMixer.getTargetLineInfo()) {
if (thisLineInfo.getLineClass().getName().equals(
"javax.sound.sampled.Port")) {
Line thisLine = thisMixer.getLine(thisLineInfo);
thisLine.open();
System.out.println(" Target Port: "
+thisLineInfo.toString());
for (Control thisControl : thisLine.getControls()) {
System.out.println(AnalyzeControl(thisControl));}
thisLine.close();}}}
} catch (Exception e) {e.printStackTrace();}}
public static String AnalyzeControl(Control thisControl) {
String type = thisControl.getType().toString();
if (thisControl instanceof BooleanControl) {
return " Control: "+type+" (boolean)"; }
if (thisControl instanceof CompoundControl) {
System.out.println(" Control: "+type+
" (compound - values below)");
String toReturn = "";
for (Control children:
((CompoundControl)thisControl).getMemberControls()) {
toReturn+=" "+AnalyzeControl(children)+"\n";}
return toReturn.substring(0, toReturn.length()-1);}
if (thisControl instanceof EnumControl) {
return " Control:"+type+" (enum: "+thisControl.toString()+")";}
if (thisControl instanceof FloatControl) {
return " Control: "+type+" (float: from "+
((FloatControl) thisControl).getMinimum()+" to "+
((FloatControl) thisControl).getMaximum()+")";}
return " Control: unknown type";}
}
But what I get:
Mixer: Software mixer and synthesizer [Java Sound Audio Engine]
Mixer: No details available [Microphone (Pink Front)]
I was expecting the get the real list of my devices (My preferences panels shows 3 output devices and 1 Microphone). I am running on Mac OS X 10.6.7.
Is there other way to get that info from Java?
I'd like to extract audio stream from a FLV stream in C#. I searched in Google and I found FLVExtract, but it supports only extracting from FLV files, and not from streams.
How can I do this?
I want to play any file for 6 seconds. Also suppose the audio is bigger then 6 sec the application will play only for 6 sec.and if it is less then 6 sec then play continuously. So is there any inbuilt option from any framework?
Hi
I'm wondering if anyone has any code samples or links to documentation that demonstrate how to capture audio from the device's microphone on the new Windows Phone Series 7. I've recently downloaded the Windows Phone SDK CTP for Visual Studio 2010 and I'm struggling to find any supporting documentation that might help.
Thanks,
Richard.
HI,
I want to convert MicrosoftOffice Docs(.doc,.docx,ppt,xlsx,xls) +PDF+Images++Audio/Video into an swf file. The idea behind this project is to open the documents on any machine which have a flash plugin. I want to do this in VC++.
I am trying to stream a video using MPMoviePlayerController but only audio is working. How can I get the video to appear?
- (void)loadView {
NSString *url = @"http://d1xt8xjto3lfs9.cloudfront.net/060810/afternoonupdate060810.mov";
MPMoviePlayerController *moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL URLWithString:url]];
[moviePlayer play];
}
Hi, I purchased Amazing Slow Downer for iphone. It permits to change audio speed without changing pitch. Could someone please help me in finding the source code for obtaining such a function.
Thank you
Mauro
Hi Everyone
Can anybody please tell me how to implement an audio player appilcation in iphone. I am pretty new to iphone development and i am just starting to learn the tricks of the trade.
Thanks
Hi all,
I have to implement chat application to mywebsite using php.
Chat has the features like audio, video, and file transefer.
so please give reply for this,
Thanks,
While, I'm reading gstreamer document I found this: "
Audioconvert converts raw audio buffers between various possible formats.
It supports integer to float conversion, width/depth conversion, signedness and endianness conversion and channel transformations."
I only understand
"depth" (bit number per sample)
"signedness and endianness" (for data representation)
And now, I'm looking for explanations of :
"integer to float conversion"
"width"
"channel transformations"
Thanks in advance
Hi All,
New to this and a bit confused as to why calling the following method creates a force close:
AudioManager myaudiomanager;
public void toggleSilent()
{
myaudiomanager.setRingerMode(AudioManager.RINGER_MODE_SILENT);
}
I don't see any blatant errors and I have added permissions to the manifest regarding the audio manager.
Anyone able to direct me further?
I want to record audio using the iphone (< 2 minutes) and save it to a file.
I looked at SpeakHere, but it confuses me. Which classes do I use? What delegate methods do I create?
Thanks!
hi,
I have audio files in var/
This is the file name
2-3109999999-3246758493-1271129518-1271129505.6.wav
Format
2=campaign id
3109999999=caller id
3246758493=number called
1271129518=timestamp call ended
1271129505=timestamp call started
6=call id
If I were to pass just the number called which was 3246758493, how can I find all the files without defining all the other variables(such as timestamp, etc) and just the files that have that number in the filename?
As the question says, is it possible to play an overlay video over the camera and record it.
Also, would it be possible to play an audio file while in camera mode.
Hi Team,
I am uploading audio files in asp.net using FFMPEG.My question is how can i get the duration of the file(in seconds).
Please suggest me.
Thanks and Regards
Srinivas M
Hi
I Want to understand the audioflinger and the audio HAL in android 25E.
16. Is there any document on this. Any suggestion is appreciated.
Thanks in advance
I am looking for some C# code .. or .NET component to record the activity of a form on my screen (not the whole desktop) along with audio, similar to what programs like Camtasia allow to do.
Does it load the entire file at a time? Or does it act lazy and load a chunk at a time? I'm primarily interested in knowing how much memory my audio uses.