Talk:Fugue

From Esolang
Jump to navigation Jump to search

I would like to see a interpreter and example programs in Fugue. Then you can also try to make it both good program and also good music as well. --Zzo38 15:32, 6 Jun 2006 (UTC)

I could not find one - maybe i was searching wrong Sedimin 17:51, 6 Jun 2006 (UTC) will try later
Well, I finally managed to write Hello World. However, the music comes out somewhat esoteric, just like the program. It's on the list of Hello Worlds. ais523 11:20, 8 Aug 2006 (UTC)
I just wrote a compiler (generates 80x86 code) for Fugue. It compiles the "cat" and "hello world" examples. I uploaded the source code to the Fugue_Compiler page. Martin --(this comment by Mrosenau at 13:27, 18 February 2007‎ UTC; please sign your comments with ~~~~)
I'd love a decompiler or a source translator that could take (respectively) a normal executable or a c program and convert it to fugue. --(this comment by 188.126.200.132 at 11:26, 14 October 2014‎ UTC; please sign your comments with ~~~~)
My Hello World was based on a brainfuck to Prelude to Fugue compilation chain. However, the late stages of the compile wouldn't be reproducible on anyone else's machine; they worked by translating the Prelude program into a sequence of keypresses, which were then simulated using automation APIs to trigger a customized set of keyboard shortcuts in a commercial music editing program.
Perhaps I should learn how MIDI actually works and redo the code. --ais523 19:12, 14 October 2014 (UTC)

Other sound-based programming languages?

Has anyone else heard of any other programming languages whose source code is sound or music? This is the first I've heard of... --158.104.2.120 17:24, 6 September 2007 (UTC)

Choon, at least partly. --Keymaker 19:02, 6 September 2007 (UTC)
And Musical-X. --Zzo38 17:11, 9 September 2007 (UTC)
And, as I just discovered, Velato. --Chris Pressey 04:15, 21 December 2010 (UTC)

"Pattern-based"?

I notice Fugue is categorized under Category:Pattern-based, but it doesn't seem to be pattern-based in the way Udage et al use the term. If it were pattern-based, the absolute pitches of the note values wouldn't matter and neither would their relative pitches; only the sequence of repetitions of certain previous pitches would matter. Fugue appears to instead be "delta-based" because relative pitches do matter. I'm not sure, but I suspect a truly pattern-based (in Udage's sense) music-based language might be easier to write ear-pleasing music in, because it would seem to offer more melodic and harmonic freedom -- at least on individual notes, but maybe not in the overall scheme of the tune. --Chris Pressey 04:04, 21 December 2010 (UTC)

Actually, that's a really interesting point, and it gives me an idea for a revision of Velato that's truly pattern-based (which does seem like it make composition easier). --Rottytooth 15:43, 22 December 2010 (UTC)

Black MIDI

Hello, I still have a few problems about the Fugue language. You said that intervals greater that a "six" are ignored, but what about the sevenths and eighths in numeric literals? What is expected to happen if multiple notes are played simultaneously in the same voice (i. e. chords)? Is there an visual compiler & interpreter that can also handle mega-notes Black MIDI? I still have a few words that I don't understand. What is "Unison" and "tritone"? Could you give an example? ColorfulGalaxy (disambiguation) (talk) 08:08, 30 April 2021 (UTC)