Activity for CFugue: C++ Music API / Library

  • Błażej Matusiak Błażej Matusiak modified a comment on discussion Help

    To be specific, the above applies to the Debug configuration. For a Release configuration, the libraries have no "d": ..\CFugue\lib\CFugueu.lib;..\CFugue\lib\jdkmidiu.lib;WinMM.lib;

  • Błażej Matusiak Błażej Matusiak posted a comment on discussion Help

    To be specific, the above applies to the Debug configuration: For a Release configuration, the libraries have no "d": ..\CFugue\lib\CFugueu.lib;..\CFugue\lib\jdkmidiu.lib;WinMM.lib;

  • Błażej Matusiak Błażej Matusiak posted a comment on discussion Help

    In Visual Studio (for me 2019) should be added: #include "..\CFugue\include\CFugueLib.h" Next in project properties -> linker -> input data -> additional dependencies add at the beginning: ..\CFugue\lib\CFuguedu.lib;..\CFugue\lib\jdkmididu.lib;WinMM.lib; "..\CFugue" above is a relational or full path to your compiled by CMake CFugue project. It is not necessary to add the CFugue project itself to the solution. And it works.

  • GK Palem GK Palem posted a comment on discussion Help

    It is complaining about sound card. Looks like the OS you are running does not have sound card. GK On Tue, 5 Feb 2019, 05:41 Jack Mo <jack-mo@users.sourceforge.net wrote: When I try to run testCFugue, I get the following error: ``` ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory RtMidiOut::initialize: error creating ALSA sequencer client object. terminate called after throwing an instance of 'RtError' Aborted (core dumped) ``` I'm using Ubuntu for Windows...

  • Jack Mo Jack Mo posted a comment on discussion Help

    When I try to run testCFugue, I get the following error: ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory RtMidiOut::initialize: error creating ALSA sequencer client object. terminate called after throwing an instance of 'RtError' Aborted (core dumped) I'm using Ubuntu for Windows if that helps.

  • GK Palem GK Palem posted a comment on discussion Help

    Try to copy | paste the sampe application code as is, into your app and see if it works.

  • Jack Mo Jack Mo posted a comment on discussion Help

    So I add the location of the header files to my CMAKE as you mentioned and now I'm able to import CFugueLib.h. However, now I'm getting undefined reference to CFugue::Player::Player(unsigned int, unsigned int) and undefined reference to CFugue::MIDIRenderer::~MIDIRenderer() errors when I try to use CFugue::Player player;.

  • GK Palem GK Palem posted a comment on discussion Help

    In your CMAKE file you may need to add the location of where the 'CFugueLib.h' is to the include directories path. Refer to the INCLUDE_DIRECTORIES variable in CMake Doumentation. https://cmake.org/cmake/help/v3.7/prop_dir/INCLUDE_DIRECTORIES.html

  • Jack Mo Jack Mo posted a comment on discussion Help

    Hello, I'm currently trying to staticlly link CFugue with CMake and include it in my own project. I was able to link it using target_link_libraries(encode libjdkmididu.a) and target_link_libraries(encode libCFuguedu.a). However, when I add #include "CFuguedu.h"to my code, I get the following error: fatal error: CFugueLib.h: No such file or directory compilation terminated. I tried looking at the StaticLibTestApp example and the CMakeLists but I'm not getting anywhere. Can I possibly get some help?...

  • Fenix Chen Fenix Chen posted a comment on discussion Help

    I've little idea what to use to render the MIDI (or what it even means). Currently for the generated midi files I just use Windows Media Player to listen to it, and they sound the same as when they are directly played in the code in runtime. Also I tested what's mentioned above on two different machines, one is a laptop with Windows 7 and the other is a desktop with Windows 10. The conclusions are the same. Its still the case that the decay value doesn't seem to make a difference and attack value...

  • GK Palem GK Palem posted a comment on discussion Help

    Thank you. Reviewed the code, it is adding the attack and decay velocities to the MIDI properly. It could be problem with the underlying MIDI driver or the sound fonts (runtime on the OS). If you use other software to render the MIDI with attack and decay are they sounding different?

  • Fenix Chen Fenix Chen posted a comment on discussion Help

    Hi, I've beening trying to test the effect of different Attack and Decay numbers after reading the documentation of them. However, the results seem to me very confusing. According to what I tested attack value basically determine the overal volume of a note or chord (the larger the attack value is the higher volume), and the decay value doesn't seem to do anything (no noticable difference for different different values of decay). I tested it for different instruments, the conclusion seems always...

  • Fenix Chen Fenix Chen posted a comment on discussion Help

    Hi I finally got it working!!! Here's how I found the problem and fixed it. I tried to put my code in the testCFugueLib and do some test, both with the _T() and without. Surprisingly, I found that the version without _T() doesn't even compile in testCFugueLib (and the version with _T() works as expected)! So I feel there's some settings in the project thats making the difference. Then I compared the project setting between my separate one and testCFugueLib, and found that mine has the Character Set...

  • GK Palem GK Palem posted a comment on discussion Help

    Can you just use PlayMusicString and see if it works. Also, instead of creating new project / solution, try modifying the example code testCFugueLib and see if it works. Could be issue with Unicode, _T(), or with MIDI_MAPPER

  • Fenix Chen Fenix Chen posted a comment on discussion Help

    Hello, I've been trying this for a couple of hours and got the library compiled. However, after I wrote an example program, it compiles but it doesn't do what I expect it to do. Here is my program. #include "CFugue/CFugueLib.h" int main() { _tprintf(_T("\nPlaying Notes..")); CFugue::PlayMusicStringWithOpts(_T("C D E F G A B"), MIDI_MAPPER, 20); _tprintf(_T(" Done")); _tprintf(_T("\nWriting Notes..")); CFugue::SaveAsMidiFile("C D E F G A B", "MidiOutput.midi"); _tprintf(_T(" Done")); return 0; } To...

  • Daniel Daniel posted a comment on discussion Help

    But if I want to pause it? I don't want to wait until play() is finished, I need to stop it at any time.

  • GK Palem GK Palem posted a comment on discussion Help

    You can send only the required notes (to the play() function) and once the play is finished wait as much time as needed and call play again afresh with required notes. Since this is API based, you have control over how many notes and how many times the play is called.

  • Daniel Daniel posted a comment on discussion Help

    Hello, I need to know if it's possible to pause a Player. I want to do a metronome that can be stopped and restarted. Thanks in advance.

  • Daniel Daniel posted a comment on discussion Help

    I had another question, is there a possible way to pause when using Play() ?

  • Daniel Daniel posted a comment on discussion Help

    Oh, thank you so much, the music string notation of JFugue was really helpful, I really appreciated.

  • GK Palem GK Palem posted a comment on discussion Help

    with chords it should be possible. or with using notation similar to that of J FUGUE music string triplet, it should be possible. could you please try the second option? the music string notation of jfugue is available over the net. thanks GK https://Cenacle.co.in

  • Daniel Daniel posted a comment on discussion Help

    Hi, I've been testing the library and I think it's so great but I have a question. Is it possible to create a triplet feel in CFugue?

  • GK Palem GK Palem posted a comment on discussion Help

    CFugue expects to be built with Unicode option. For some reason the code is using char\* instead of wchar_t at line https://sourceforge.net/p/cfugue/code/HEAD/tree/MusicNote/include/Dictionary.h#l37 You may want to check the build settings if you are building with UNICODE option on or not. It should be on. Also, you can try to redfine and use your own string class, such as std::wstring using the STRUTILS_RETURN_TYPE macro. Please refer this: https://sourceforge.net/p/oil/code/HEAD/tree/Common/StrUtils.h#l10...

  • oxEz oxEz posted a comment on discussion Help

    Hi. I am trying to link against MusicNote from the SVN snapshot, on Windows using Qt5's Mingw toolchain. I have successfully built it with cmake, and configured my project to add cfugue's include and libraries. Note that I am using -std=c++14 (or -std=c+=11, I did try this one as well) in my projects However I am getting those errors: In file included from F:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/map:61:0, from ..\..\musictest\lib/note.h:7, from ..\..\musictest\lib/database.h:4, from...

  • GK Palem GK Palem posted a comment on discussion Help

    Thanks for pointing it. GK http://CenacleResearch.com/

  • Evgeny Zhuravlev Evgeny Zhuravlev posted a comment on discussion Help

    Found these files in zie archive. Just for some reasons they are missed in svn repository.

  • Evgeny Zhuravlev Evgeny Zhuravlev posted a comment on discussion Help

    Hello, I'm trying to compile CFugue on windows with VisualStudio. I'm getting errors due to missing files in repository. At least the following cannot be found: Common/EventHandler.h Common/TChar.h Common/MString.h I cannot find them anywhere in repository. Thank you

  • GK Palem GK Palem committed [r215]

    added controller event binding

  • Daniel Daniel posted a comment on discussion Help

    That was it, thank you very much!

  • GK Palem GK Palem posted a comment on discussion Help

    Thank you for reporting it Daniel. Some of these controller events were not wired...

  • Daniel Daniel posted a comment on discussion Help

    Hello again. I need a volume scale from 0 to 100 (or something similar). Been trying...

  • GK Palem GK Palem posted a comment on discussion Help

    Thanks Daniel for sharing the diff. Yes, agreed - its a good feature to have. Will...

  • Daniel Daniel posted a comment on discussion Help

    It worked! Thank you very much for the quick, very well-explained response! This...

  • GK Palem GK Palem posted a comment on discussion Help

    Daniel, I do not think "Pause" is currently supported / exposed as API. The Player...

  • Daniel Daniel posted a comment on discussion Help

    Ok, we decided to use the single call, but we're having no luck in pausing the player...

  • GK Palem GK Palem posted a comment on discussion Help

    Hello, Each call to 'PlayMusicString' starts and stops the driver (along with doing...

  • Daniel Daniel posted a comment on discussion Help

    Hi! We've been using CFugue for a CS project at my uni. We're attempting to play...

  • GK Palem GK Palem posted a comment on discussion Help

    Looks like you are using Windows. You would not need TSE3. What build problems are...

  • Guilherme Saejiba Guilherme Saejiba posted a comment on discussion Help

    Hello P.GopalaKrishna! I am trying to use CFugue but I can't use CMake properly....

  • GK Palem GK Palem posted a comment on discussion Help

    Sorry - you are right. The 'CFuguedu.lib' is the generated library for debug/unicode...

  • Madison Brown Madison Brown posted a comment on discussion Help

    Forgive me if I'm being dense, but I still can't get this to work. After building...

  • GK Palem GK Palem posted a comment on discussion Help

    You can ignore the INSTALL project. It is automatically generated by cmake. You can...

  • Madison Brown Madison Brown posted a comment on discussion Help

    Without the DLL option, i can build the solution, however when I then try to build...

  • GK Palem GK Palem posted a comment on discussion Help

    Is the build working correctly without the DLL option (i.e. leave the CFUGUE_BUILD_DLL...

  • Madison Brown Madison Brown modified a comment on discussion Help

    Hi, I am having trouble compiling with VC++2013. I created the visual studio solution...

  • Madison Brown Madison Brown posted a comment on discussion Help

    Hi, I am having trouble compiling with VC++2013. I created the visual studio solution...

  • GK Palem GK Palem posted a comment on discussion Help

    That would be the "Tempo". You can use the token 'T' to adjust it. Something like:...

  • GK Palem GK Palem posted a comment on discussion Help

    Hello Eovanion, What are the C++ errors you are seeing in the code? Perhaps I can...

  • Rovanion Rovanion posted a comment on discussion Help

    Hi, If you're having issues running cmake on OSX for CFauge. Edit CMakeLists.txt...

  • Drafterleo Drafterleo posted a comment on discussion Help

    Hi. Prompt please, how to change the default velocity (not of only one note)? Sorry...

  • GautamC GautamC posted a comment on discussion Help

    Thanks GK - I have got that working now. Now to explore CFugue's capabilities ! ...

  • GK Palem GK Palem posted a comment on discussion Help

    In the Visual Studio solution you should see the 'testCFugueLib' project. That is...

  • GautamC GautamC posted a comment on discussion Help

    Hi GK, Thanks for your very prompt response. I agree that your suggested method would...

  • GK Palem GK Palem posted a comment on discussion Help

    The easiest and best way to get started with CFugue would be to start adjusting the...

  • GautamC GautamC posted a comment on discussion Help

    Hi, I am very new to C++, so please forgive me if my questions sound stupid. My operating...

  • GK Palem GK Palem posted a comment on discussion Help

    The "RtMidiOut::sendMessage: event parsing error!" is just warning output, it does...

  • Hyago Sallet Hyago Sallet modified a comment on discussion Help

    Now the strings are working fine! \o The problem is that the instruments issue persisted...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    Now the strings are working fine! \o The problem is that the instruments issue persisted...

  • GK Palem GK Palem posted a comment on discussion Help

    Please download the latest release code. It has Instrument correction as well as...

  • CFugue: C++ Music API / Library CFugue: C++ Music API / Library released /CFugue/CFugue_src_21May14.zip

  • GK Palem GK Palem committed [r214]

    tse3 dependency removed for now to avoid releas...

  • GK Palem GK Palem posted a comment on discussion Help

    You would have to use .c_str() method of wstring to give the right string to play....

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    Another thing, when I try to play a wstring the compiler says: test.cpp:12:49: error:...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    Well, It only works if I define input as a MString and initialize it with a literal...

  • GK Palem GK Palem posted a comment on discussion Help

    MString is essentially subclass of std::wstring if _UNICODE is defined. You can either...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    I haven't tried to solve the instrument problem yet. But now I have some doubts about...

  • GK Palem GK Palem committed [r213]

    Fix: RtMidi instrument change event errors fixed.

  • GK Palem GK Palem posted a comment on discussion Help

    I have quickly verified RtMidi, and there is a slight 'difference' in the way RtMidi...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    Well, I tried saveToMidi File tip and when I played the MIDI file the same problem...

  • GK Palem GK Palem posted a comment on discussion Help

    RtMidi on linux has few problems with changing the instruments on the fly (The same...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    I dont know why but when I try to run this code: int main(){ CFugue::Player player(1,...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    Got it! I was forgetting about -lpthread and -std="c++0x". Now it's working properly....

  • GK Palem GK Palem committed [r212]

    1. Fixed ControllerEvent.h missing from cmake

  • GK Palem GK Palem posted a comment on discussion Help

    You are almost there. Except for few things. The 'CFuguedu' indicates 'debug-unicode'...

  • Hyago Sallet Hyago Sallet modified a comment on discussion Help

    I only have a few questions. As I told before I'm new in the linux environment and...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    I only have a few questions. As I told before I'm new in the linux environment and...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    [100%] Built target testCFugueLib! \o \o Thank you very much for all the support....

  • GK Palem GK Palem posted a comment on discussion Help

    After build is done, you can run 'bin/testCFugueLib' application. The code for that...

  • GK Palem GK Palem posted a comment on discussion Help

    Ah...the case sensitivity. The header files are there, but the system has problem...

  • CFugue: C++ Music API / Library CFugue: C++ Music API / Library released /CFugue/CFugue_src_11May14.zip

  • GK Palem GK Palem committed [r211]

    Corrected name casing for include files (unix h...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    I followed the instructions contained in the readMe file and installed all the necessary...

  • GK Palem GK Palem posted a comment on discussion Help

    Fixed the issue in the latest download. Please download the zip file again from the...

  • GK Palem GK Palem committed [r210]

    TortoiseSVN auto commit: changed externals to f...

  • GK Palem GK Palem committed [r209]

    Corrected the QT4 requirement in test/CMakeList...

  • GK Palem GK Palem committed [r208]

    Removing this to insert correct version which C...

  • GK Palem GK Palem committed [r207]

    qt4 test projects turned off in the build (for ...

  • GK Palem GK Palem posted a comment on discussion Help

    We are also very frustrate with Qt and its unnecessary complications. Qt5 has breaking...

  • Hyago Sallet Hyago Sallet posted a comment on discussion Help

    Now, I've got some problems while trying to run cmake. It is someting related to...

  • GK Palem GK Palem committed [r206]

    Release 10-May-2014

  • GK Palem GK Palem posted a comment on discussion Help

    Corrected the problems, and also updated few core sections to use C++11x new standards....

  • CFugue: C++ Music API / Library CFugue: C++ Music API / Library released /CFugue/CFugue_src_10May14.zip

  • CFugue: C++ Music API / Library CFugue: C++ Music API / Library released /CFugue/ReadMe.txt

  • CFugue: C++ Music API / Library CFugue: C++ Music API / Library released /CFugue/CFugue_src_08Feb11.zip

  • CFugue: C++ Music API / Library CFugue: C++ Music API / Library released /CFugue/CFugue_src_02Feb11.zip

  • CFugue: C++ Music API / Library CFugue: C++ Music API / Library released /CFugue/CFugue_src_12Mar11.zip

  • CFugue: C++ Music API / Library CFugue: C++ Music API / Library released /CFugue/CFugue_src_07Feb11.zip

  • CFugue: C++ Music API / Library CFugue: C++ Music API / Library released /CFugue/CFugue_src_22Jan12.zip

  • GK Palem GK Palem committed [r205]

  • GK Palem GK Palem committed [r204]

1 >