Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sound sequencer in java

 
Eric Daly
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Eric Daly
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12086
29
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Eric Daly
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic