How to play wav files with Garageband/Midi keyboard
Hello,
I'm using Garagband (on my MAC, not iPad) and a midi keyboard for making songs. I just got a couple of cd's from Miroslav Philharmonik, but the sounds are all in standalone WAV files. There is no installation required. How can i use these sounds with Garageband? Must i copy/paste them in a specified directory on the HD? Or is a sample library necessary? I tried drag and drop, but that dind't work out...
Thanx in advance for your help.
this should help:
import com.ms.win32.*;
public void play()
try
URL url = new URL("file","C:\\","Hallo.wav");
String wav= new String(url.getHost()+url.getFile());
Winmm.PlaySound(wav,1,1);
catch(MalformedURLException e)
or something like this ;))
Quaxi
Similar Messages
-
hi all..
can i play '.wav' files using other than the AudioClip method?
how ever i have tried to use the method as below but it still isn't working..please help me out...thanksI had same problem,wouldn,t play waves convert to .au using goldwave(freeware... www.goldwave.com)then it will play
p. -
How to Play .wav files in Safari?
Hi:
I need a little help.
I would like Safari to play wav files instead of downloading those file to my Downloads folder. Can this be done.
Thanks,
-AstraPointGreetings,
I would like Safari to play wav files instead of downloading those file to my Downloads folder.
Can this be done?
Maybe. First, what is the URL for a .wav file you're trying to play in Safari? I want to test this before I say whether or not it will work. -
How to play wave files from a jar archive?
Dear friends,
I have a .jar archive with several .wav files, and I would like to play them without extract these files.
This is possible to do? If yes, please show me how to do this.
Thank you for your attention,
Augusto NunesThis discussion of getResource is very useful: http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html#getresource
-
HT1711 How to play FLAC files with iTunes?
How do you play FLAC music file with iTunes on a MacPro?
Convert them to a format that is compatible with iTunes, such as aac, mp4, mp3, wav, etc.
Then play your compatible music in iTunes on your MacPro. -
How to play .wav file from url in iphone.
We are using callfire API for in our iPhone application(Hybrid application build using sencha and phonegap). The concept of the app is to show the recorded calls in a list and on click of any call in the list it will play the recorded audio file(.wav format). Now the problem is that we are not able to play that file in our Application. We also tried to play that URL directly on iPhone browser but it also didn't worked.
Here is one of the URL of audio file formathttps://www.callfire.com/cloud/1/files/recording/dynamic/864c81f4a8e6a898042cb47 251ca1c85/2012/8/6065312/cid_1319779221_1.wav
When we put this audio file in our server and tried to play it our Application, it worked perfectly.
Can you please tell us what is the reason behind this?
We are using iPhone 3 with software version 6.0 for testing.You'll have to ask the devleopers of sencha and phonegap.
-
How to play WAV file in Forms 4.5
hello,
i want to play a .WAV file when a stacked canvas come to visible. im trying to use BELL, it is giving very low voice. while playing i dont want to get delay to show stacked canvas.
Thanks in advanceI think that you would be better posting this question on the Oracle Forms forum.
Regards,
Danny -
How to read .wav files with DIADEM
I have done a acoustic analysis with a microphone, and I have save the different Files with .wav format.
I need to read these waveform files with DIADEM.
Diadem recognize the different files however it returns the message "Diadem d'ont load the files ---.wav"Hello Jean-Julien!
Get and install the Audio Data PlugIn. You can get ist here: http://zone.ni.com/devzone/cda/epd/p/id/44
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater? -
How to play flv-files with Flashplayer
Hello,
I encoded avi's getting flash 8 flv's; I used Adobe Première Pro CS3 and Adobe Flash Encoder as well.
I would like to play these flv's with Flashplayer 8; how should I proceed?
With the VLC-player 0-8-6c the flv's are displayed nicely.
Thank you very much,
MarcFlash video is played in a browser with the Flash plug-in installed. The video needs to be authored in Flash where a player interface is created. The video is either embedded in a web page or linked to the page. The player interface is downloaded with the video from the host.
-
How to play .VOB files with QuickTime?
I get an "Error opening file" message trying to play a VTS014.VOB file. This is a file of home movies scanned to the above file. I use Pro (QuickTime™ Version 7.1.6, Player Version 7.1.6) with the mpeg-2 addition and went through the process identifying QuickTime as the default player in "Get Info".
I can watch with iDVD and something else called VLC Media Player. I want to be able to pull off segments for other applications like making an DVD with just parts of the full file.
Thanks for your help.The mpeg2playbackcomponent will not play mpeg2 files that are in transport stream format, as the VTS in the file name you cite suggests. There is, however, a freeware that can use the playback component and read transport streams. It also will do some simple editing of vob files and save them without re-encoding, or export them to non-mpeg form such as DVStream for use in apps like iMovie.
Mpeg StreamClip
eMac 700 mhz Mac OS 9.2.x -
How to play .wmv file with a MSS1 stream encoded?
I found a bunch of old tutorials on my HD and tried to play them. QT gave me an error message about not having a codec. VLC also couldn't play them. I was able to open the files in QT and do a 'get info'. That's where I found the MSS1 info. Anyone have any ideas about this one?
Thanks,
ChrisInteresting, but any idea how to play them w/in QT?
Believe it would take a 5-8 year old player (WMV or third-party) to support the WMV 7 Screen format. My WMV experience doesn't go back that far so I am not even sure it was ever supported on the Mac. Believe Flip4Mac assumed support of WMV four years after the codec was initially released and it doesn't list MSS1 as being supported at this time. Would probably be easier to see if any old Windows users might have a compatible application and convert the files on the Windows machine. -
How to play .wav file from URL in web browser embed
Hi;
I want to play a .wav sound file in embed default media player in IE. Sound file is on some HTTP location. I am unable to sound it in that player.
Following is the code.
URL url = new URL("http://www.concidel.com/upload/myfile.wav");
URLConnection urlc = url.openConnection();
InputStream is = (InputStream)urlc.getInputStream();
fileBytes = new byte[is.available()];
while (is.read(fileBytes,0,fileBytes.length)!=-1){}
BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream());
out.write(fileBytes);Here is embed code of HTML.
<embed src="CallStatesTreeAction.do?ivrCallId=${requestScope.vo.callId}&agentId=${requestScope.vo.agentId}" type="application/x-mplayer2" autostart="0" playcount="1" style="width: 40%; height: 45" />1. If I write in FileOutputStream then it plays well
2. If I replace my code of getting file from URL to my local hard disk. then it also works fine.
I don't know why I am unable to play file from HTTP. And why it plays well from local hard disk.
Please help.You'll have to ask the devleopers of sencha and phonegap.
-
How to Play Stereo sound with the MIDI API
Hi!
I wanna know how can I make and application like the FL Studio's Piano Roll using the java sound midi API.
How can I convert this MIDI sequence to a stereo sound.
Thank's a lot for your answershttp://java.sun.com/j2se/1.5.0/docs/guide/sound/programmer_guide/contents.html
http://java.sun.com/products/java-media/sound/index.jsp
http://java.sun.com/products/java-media/sound/list.html
lutha -
Play audio file with jmf on linux?
a simple audio player as flow:
import javax.media.*;
import java.io.File;
import java.net.URL;
public class SimpleAudioPlayer {
private Player audioPlayer = null;
public SimpleAudioPlayer(URL url) throws Exception {
audioPlayer = Manager.createRealizedPlayer(url);
public SimpleAudioPlayer(File file) throws Exception {
this(file.toURL());
public void play() {
audioPlayer.start();
public void stop() {
audioPlayer.close();
public static void main(String[] args) throws Exception {
File file = new File("/usr/local/download/1.wav");
SimpleAudioPlayer sap = new SimpleAudioPlayer(file);
sap.play();
}when run the program
javac -cp jmf.jar SimpleAudioPlayer.java
java -cp .:jmf.jar SimpleAudioPlayer
the output as flow:
Unable to handle format: ima4/ms, 8000.0 Hz, 4-bit, Mono, Unsigned, 4027.0 frame rate, FrameSize=4096 bits
Failed to prefetch: com.sun.media.PlaybackEngine@defa1a
Error: Unable to prefetch com.sun.media.PlaybackEngine@defa1a
How can I play wav file with jmf on linux?(OS is debian5 and jmf cross-platform pack)thanks for your reply.
I tried to replace the wav file "1.wav" with the linear encoded WAV download from pscode.org,and run the code again,but
BasicTrackControl:prefetchTrack():96 1 bm = com.sun.media.BasicRendererModule@1186fab
BasicRendererModule.doPrefetch:155 Render : true
Render buffer size: 32768
BasicRenderModule.doPrefetch:159
javax.media.ResourceUnavailableException: Cannot intialize audio device for playback
at com.sun.media.renderer.audio.JavaSoundRenderer.open(JavaSoundRenderer.java:93)
at com.sun.media.BasicRendererModule.doPrefetch(BasicRendererModule.java:158)
at com.sun.media.BasicTrackControl.prefetchTrack(BasicTrackControl.java:99)
at com.sun.media.PlaybackEngine.doPrefetch1(PlaybackEngine.java:682)
at com.sun.media.PlaybackEngine.doPrefetch(PlaybackEngine.java:658)
at com.sun.media.PrefetchWorkThread.process(BasicController.java:1430)
!!!!!!!§§§§§§§§§§§ BasicTrackControl:prefetchTrack():96
at com.sun.media.StateTransitionWorkThread.run(BasicController.java:1339)
Unable to handle format: LINEAR, 16000.0 Hz, 16-bit, Mono, LittleEndian, Signed, 32000.0 frame rate, FrameSize=16 bits
Failed to prefetch: com.sun.media.PlaybackEngine@26e431
Error: Unable to prefetch com.sun.media.PlaybackEngine@26e431 -
Play wav file on PDA using JMF
Hi all,
I need to play wav files on a PDA so I installed J9 on the PDA and downloaded either JMF crossplatform and JMF for windows (version jmf 2.1.1.e for both of them).
I included in the classpath the jmf.jar from JMF crossplatform and sound.jar from JMF for windows (the JMF crossplatform doesn't have the sound.jar and jmf.jar requires some classes contained in it).
When I run my testing application I have such an error:
Unable to handle format: LINEAR, 8000.0 Hz, 8-bit, Mono, Unsigned, 8000.0 frame rate, Framesize=8 bits
Failed to prefetch: com.sun.media.PlaybackEngine@287a287a
Error: Unable to prefetch com.sun.media.PlaybackEngine@287a287a
I have the same error playing wav files with different features (8 or 16KHz, 8 or 16 bits ).
Can anyone help me?
Any suggestion is welcome. Thanks in advance!
Message was edited by:
pirascrsnot really I have seen it. The only buyable version left is IBM j9. All the rest basically are sold to handset manufacturers.
Its hectic out there. I still cant play audio on J9 to build a simple tourist guide!!!!
javajoom is for wtk21 - hello its 2007.
Oh well lets toss pda's out of the window along with Microsoft's OS and use smart phone OS - or should I toss J2me and start on C# to be on the safe side???
Has anyone an answer?
Maybe you are looking for
-
Should I be able to drag folders from a stack in list mode?
I'm unfamiliar with Lion and especially with stacks. Should I be able to drag doc. folders from a stack if it is in list mode? I can't seem to drag anything from the stack. The "About Stacks" help article seems to say that drag and drop should work i
-
i have close firefox and tried to log on again i get a box saying firefox is already running, i must close this session before i can log on again confused i don't see the program running in the task manager confused again says i must restart computer
-
Every time i try to paste in a website the email crashes. Whats up?
Every time I try to copy/paste a weblink into my email it crashes. When i press 'learn more' it claims the problem in adobe or other media, which clearly it is not. please help. the weblink does not paste even for a second.
-
Problems exporting to quicktime or you tube
my presentation simply wont export .. it gets stuck on the last slide then quits unexpectedly :((
-
Hi all, We have recently installed a UCS enviornment with 2 x 6100 units connected to our dual 6509 core. It is set up so that 2 x 10GigE uplinks connect from FAB-A to 6509-1 and 2 x 10GigE connect from FAB-B to 6509-2. Each of the 4 trunks to the 65