.NET API for music programming? [closed]
Asked Answered
B

6

8

In short words I am looking for a .NET translation of JFugue.

Update
I realize that there is no real .NET alternative for JFugue, the posts bellow are always great as a guideline for one who wants to develop it by his own.
Thanks for all of you.

Note: I want to emphsize that my search is on the transcription part, not the playing part, in other words, I am looking for a .NET engine that has MIDI-mapping classes etc.

NAudio seems to be the hottest alternative so far.

Baikal answered 6/7, 2010 at 3:9 Comment(3)
I don't know of a .NET implementation of JFugue (as the author of JFugue, I have pretty good insight into this). Let me know if you'd like my advice in creating something new!Stearoptene
@David As soon as I saw the StackOverflow ad for JFugue, I started looking for NFugue :-)Dourine
@Ben, make sure to pop in once you got sn' news...Baikal
B
2

Checkout NAudio by Mark Heath, a great .NET music library I would say it should be contained in the BCL.

logo
(source: google.com)
midi-dot-net
Another great C# project by Tom Lokovic.

Baikal answered 6/7, 2010 at 14:37 Comment(0)
H
1

Carl Franklin the host of dotnet rocks has done some work with this, if you look at his code samples it may help: http://www.franklins.net/dotnet.aspx.

He also did a screen cast on Midi routers.

Hope this helps

Hoahoactzin answered 6/7, 2010 at 7:0 Comment(1)
It's far beyond JFuge, but thanks for posting. If you find additional stull I will appreciate your input.Baikal
K
1

Don't know if this will help or not: http://www.c-sharpcorner.com/UploadFile/mgold/SheetMusicRecorder09242005060541AM/SheetMusicRecorder.aspx

its a musical keyboard, but you should be able to reverse engineer the source code and adapt it to suit what you are trying to do.

Kharif answered 7/7, 2010 at 14:54 Comment(0)
M
1

I've used Midi Toolkit before as a starting point, perhaps you find it useful.

BTW, JFugue is not only a library, but also a syntax. I'm working on porting it to Ruby, and it'd be nice if someone (you, maybe?) port it to .NET =)

Marchant answered 8/7, 2010 at 4:24 Comment(1)
Exactly, I am talking about the syntax! that's why I mentioned "like Fugue"Baikal
C
1

DryWetMIDI has MIDI based music programming capabilities. There is no sound generation there, only composing API allowing to create MIDI files. A quick example:

Pattern pattern = new PatternBuilder()

    // Insert a pause of 5 seconds
    .StepForward(new MetricTimeSpan(0, 0, 5))

    // Insert an eighth C# note of the 4th octave
    .Note(Octave.Get(4).CSharp, MusicalTimeSpan.Eighth)

    // Set default note length to triplet eighth and default octave to 5
    .SetNoteLength(MusicalTimeSpan.Eighth.Triplet())
    .SetOctave(5)

    // Now we can add triplet eighth notes of the 5th octave in a simple way
    .Note(NoteName.A)
    .Note(NoteName.B)
    .Note(NoteName.GSharp)

    // Get pattern
    .Build();

// Now we can export pattern to MIDI file

MidiFile midiFile = pattern.ToFile(TempoMap.Default);
midiFile.Write("My Great Song.mid");

As you can see it is not a replacement of JFugue at now since there is no special syntax here, just .NET API.

Cornute answered 24/8, 2017 at 12:14 Comment(1)
I'm not into this anymore currently, but sounds great!Baikal
C
0

Well, not just like JFugue but I've used the BASS library for .Net. You can find the library at the un4seen web

It has audio control and midi thru plugins. Hope it helps.

Canned answered 6/7, 2010 at 16:10 Comment(1)
I am focusing in the music transcription part, which BASS doesn't provide at all.Baikal

© 2022 - 2024 — McMap. All rights reserved.