aspose file tools*
The moose likes Beginning Java and the fly likes sound sequencer in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "sound sequencer in java" Watch "sound sequencer in java" New topic
Author

sound sequencer in java

Eric Daly
Ranch Hand

Joined: Jul 11, 2006
Posts: 143
Is it possible to make a sound sequencer in java? I'm wondering if it would be too slow because it's java. It wouldn't be commercial quality, but able to do some basic stuff (route to different outputs, multiple tracks, midi roll editor, record to wav, split up and lay down samples, loops, that kind of stuff). Or is this something not best suited for java?
any input is highly appreciated, it's just a random question I had, though I am honestly considering writing an open source midi file editor, because THERE IS NONE! ah, that's frustrating.
[ January 17, 2007: Message edited by: Fred Rosenberger ]

Studying for SCJP 6
Eric Daly
Ranch Hand

Joined: Jul 11, 2006
Posts: 143
why did Fred Rosenberger edit my post, though I don't believe he added or deleted anything from it? can't you just reply to it? I'm confused... did I post in the wrong topic? where should I have posted this???
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I did some fun MIDI toys in Pascal on a 4mhz 8086. Back then Cakewalk was written in Basic, I think. On machines approaching a thousand times as fast, we ought to be able to use Java.

I started a rewrite of my old MIDI stuff in Java, but I seemed to hang up the Synthesizer requiring Windows Restart all the time. No fun atoll. Anybody have a robust way to recover from errors? Maybe I was just being dumb.
[ January 17, 2007: Message edited by: Stan James ]

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14342
    
  22

I'm wondering if it would be too slow because it's java.

It's perfectly possible and no, Java is not too slow. There is a persistent myth about Java that it is slow. Java is not slow. Java version 1.0 was slow, but that's a long time ago.

Have a look at the JavaTM Sound Programmer Guide.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11476
    
  16

Eric,

I sent you an email explaining what and why I edited your post, around 2:30 CST yesterday afternoon.
[ January 18, 2007: Message edited by: Fred Rosenberger ]

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Eric Daly
Ranch Hand

Joined: Jul 11, 2006
Posts: 143
@Stan: That's really cool that you have worked on projects like this in the past. That gives me hope that I can really do something that someone besides me can find useful.

@Jesper: Thank you for the link. I have been hearing from all over that Java is not slow anymore, but I keep hearing that C++ is still faster. I guess I really just have no idea how much faster. Apparently Java is not far behind. I am going to research it some more and see for myself.
And thank you for the link, I'm sure it will be very helpful to get me going.

@Fred: Thank you for your email and your time. I really appreciate it.
[ January 18, 2007: Message edited by: Eric Daly ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sound sequencer in java