what language is live ?

Discuss anything related to audio or music production.
Post Reply
madly
Posts: 8
Joined: Tue Feb 08, 2005 11:25 pm
Location: fl

what language is live ?

Post by madly » Wed Mar 30, 2005 12:03 am

does anyone know what programming language programs like live,reason,and absynth are written in?

any suggestions on what the best language to write these types of programs is?

i am using a mac g4, if that matters

thanks


madly

AdamJay
Posts: 4757
Joined: Thu Mar 11, 2004 7:17 pm
Location: Indianapolis, USA

Post by AdamJay » Wed Mar 30, 2005 12:08 am

i believe it was C++
but i can't remember where i found that information :?

timothyallan
Posts: 5788
Joined: Wed Nov 24, 2004 11:05 pm
Location: Melbourne Australia
Contact:

Post by timothyallan » Wed Mar 30, 2005 12:21 am

I second the C++

dpel
Posts: 628
Joined: Tue Aug 13, 2002 9:27 pm
Location: LA
Contact:

Post by dpel » Wed Mar 30, 2005 2:21 am

Portuguese
Dave Pelman Music
http://www.davepelman.com

MrYellow
Posts: 1887
Joined: Mon Dec 15, 2003 7:10 am
Contact:

Post by MrYellow » Wed Mar 30, 2005 3:36 am

any suggestions on what the best language to write these types of programs is?
Any audio apps should be in C++ or ASM.... anything else is too slow.

The code has to loop around grabbing incoming samples and processing
them, which if you know code isn't a great thing.... The constant looping
means the closer you get to bare bones the better.

Using C++ means you can port it to Mac and PC without too much trouble.

Using ASM means you're up for some self mutilation :-)

Using Java means you were caught up in the hype and fell for a shit
language. Using VB means you just don't have the right tool for the job.
Using C means you really should go OO with C++ to save your life. Using
some drag objects around connect wires BS means you're using another
engine to create yours and just adding more processing and latency into
the mix.

-Ben

majestic
Posts: 221
Joined: Sat Apr 03, 2004 1:55 pm
Location: Singapore
Contact:

Post by majestic » Wed Mar 30, 2005 3:58 am

If you go to their jobs page, I think they're looking for C++ programmers right now...

sweetjesus
Posts: 8803
Joined: Wed Mar 31, 2004 3:12 pm
Location: www.fridge.net.au
Contact:

Post by sweetjesus » Wed Mar 30, 2005 4:28 am

C++

Most people who code in lower level languages such as C++ can port stuff like the engine and whatnot across platforms easier. What tends to be the biggest pain is the user interface, since both major platforms have very different ways of implementing GUI toolkits (libraries).

I am assuming Ableton made their own UI library which happens to give Live that unique look. It's quite like Flash interfaces if you ask me. But this would have allowed them to not have to worry too much about porting stuff across platforms.

ASM (Assembler) is probably one of the lowest level of languages, meaning it talks directly to the CPU. If something was created on a PC in ASM it would be extremely difficult to port it across to the Mac because CPU's in PC's use the x86 architechture which at the time I used to play with ASM meant you set 8bits (8 lots of 1's and 0's) to a number, then run an execute command just to do ONE thing. It used to take something like 3 or 4 lines of code just to write one character to the screen. Power PC (the format for the apple CPU's) works in a whole different way.

Other tools which would give you similar performance of C++ are Java (yes it actually can code applications of that level) and Delphi (originated from Pascal).

I disagree that VB is not capable of doing high performance tasks. Well actually on it's own yeah it probably sux, but VB is good at stringing together little modules (libraries) which were most likely made in C++ or ASM.

End of nerd rant

sqook
Posts: 2430
Joined: Mon Oct 04, 2004 8:14 pm
Location: Sweden
Contact:

Post by sqook » Wed Mar 30, 2005 7:57 am

When the going gets serious, the serious bust out C. Or C++, as the case may be... ;)


Although, I wouldn't mind seeing more audio apps in C#. It's pretty platform-independent and actually can do a lot of very cool stuff.


Also, madly, if you're serious about learning a good lower-level lang such as C++, you should drop by developer.apple.com and register there for a copy of Xcode. It'll be well worth your while if you plan on doing any type of development wiht your mac. ;)
Last edited by sqook on Wed Mar 30, 2005 8:14 am, edited 1 time in total.

sqook
Posts: 2430
Joined: Mon Oct 04, 2004 8:14 pm
Location: Sweden
Contact:

Post by sqook » Wed Mar 30, 2005 8:12 am

sweetjesus wrote: I am assuming Ableton made their own UI library which happens to give Live that unique look. It's quite like Flash interfaces if you ask me. But this would have allowed them to not have to worry too much about porting stuff across platforms.
Actually, if I had to guess, I'd say it was written in OpenGL (based on appearance and uniformity across platforms). However, I did some poking around, and the Live executable doesn't link to the gl frameworks, so I guess that rules my theory out. I personally think it'd be a pain to keep porting the UI code back and forth between the two platforms, but as far as I can tell, that's what they're doing...

imekon
Posts: 11
Joined: Wed Aug 04, 2004 9:56 pm

Post by imekon » Wed Mar 30, 2005 2:28 pm

MrYellow wrote: Any audio apps should be in C++ or ASM.... anything else is too slow.
FL Studio is written with Delphi as are a number of VSTi - Delphi code is as fast as C/C++. Also Delphi has built in assembler. However, it's not available for Mac.
MrYellow wrote: The code has to loop around grabbing incoming samples and processing
them, which if you know code isn't a great thing.... The constant looping
means the closer you get to bare bones the better.
So you'd recommend Assembler. :twisted:
MrYellow wrote: Using C++ means you can port it to Mac and PC without too much trouble.
C++ on its own doesn't guarantee what you write will work on both Mac and PC. Using a framework that exists on both helps, though isn't strictly necessary. Just depends how much of the UI and most layers you want to rewrite.

Currently I'm looking at Qt for Windows, Linux and Mac support.

Pete Goodwin

imekon
Posts: 11
Joined: Wed Aug 04, 2004 9:56 pm

Post by imekon » Wed Mar 30, 2005 2:31 pm

sqook wrote:Although, I wouldn't mind seeing more audio apps in C#. It's pretty platform-independent and actually can do a lot of very cool stuff.
That's the first time I've heard C# (a Microsoft language) described as 'cross platform' unless you are referring to Mono.

What cool stuff do you think C# can do? It's dreadful at creating UI apps; also for Windows has a 20MByte download for now, if you don't have the .Net installed. Is .Net available for Mac as yet?

Pete

sqook
Posts: 2430
Joined: Mon Oct 04, 2004 8:14 pm
Location: Sweden
Contact:

Post by sqook » Wed Mar 30, 2005 2:56 pm

imekon wrote: That's the first time I've heard C# (a Microsoft language) described as 'cross platform' unless you are referring to Mono.
Yeah, that's what I meant. Same smell, different nostril. ;)
What cool stuff do you think C# can do? It's dreadful at creating UI apps; also for Windows has a 20MByte download for now, if you don't have the .Net installed. Is .Net available for Mac as yet?
I've never been good at designing UI's; I usually prefer to work on the backend of things. However, I did do some UI development in C# for my job, and here were the things that I liked about the dot-net platform:

- It's really easy to open and read from a variety of data sources. HTTP servers, database servers, access files, text files, whatever, it doesn't care. The calls to get a filepointer are all pretty much the same, and you can generally accomplish it in a half-dozen lines of code or so.
- The structure of the language is very logical and easy to work with. It's basically organized the same way as java (surprise!), but it's much cleaner and more logically structured.
- The level of abstraction between classes is great, especially through the use of properties. It makes it very easy to develop apps on a big team of people, where each member of the team is unaware of everyone else's modules... you just put the classes together, and everything builds.
- Great builtin data structures, such as hashtables (my personal favorite), datasets (make one sql call and all the result rows get dumped into a single data structure), etc. Also, it's very easy to simply nest these structures within one another without having to be terribly concerned about memory management. I know that java provides these features, too, but like everything else in c#, it provides the same functionality as its java counterpart without making you go out of your way to do it.

As far as new, "trendy" languages go, I did like working with c#. I still prefer c++ more, however, but that's partially because I'm a huge performance junkie. ;)

I don't believe that MS has an official .NET runtime environment for OSX yet, and I wouldn't expect them to provide one. However, at least c# is an open standard (unlike java), but the tradeoff of that is that the open-source community got to take the reins. Don't get me wrong; I'm a huge fan of OSS, but like many open-source projects, the .net stuff also suffers from a lack of guidance and direction. As such, there are actually several competing runtimes for both linux and bsd. I messed around with mono and a few others for awhile, but I never got around to doing c# stuff on my mac. Check out o'reilly's .net site if you're interested in developing applications with .net on the mac.

RoundpeaR
Posts: 22
Joined: Tue Apr 16, 2002 3:21 pm
Contact:

Post by RoundpeaR » Wed Mar 30, 2005 4:57 pm

dpel wrote:Portuguese
ahahahahah!!

eq.a
Posts: 6
Joined: Wed Jul 13, 2016 1:31 pm

Re:

Post by eq.a » Wed Jul 13, 2016 1:32 pm

RoundpeaR wrote:
dpel wrote:Portuguese
ahahahahah!!
Lol, this wins the Internet

Post Reply