• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

sound sequencer in java

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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???
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
lowercase baba
Posts: 13091
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Those who dance are thought mad by those who hear not the music. This tiny ad plays the bagpipes:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic