Ooops
September 28, 2021, 15:32:47

Author Topic: New Project. Music Editor ..  (Read 1001 times)

Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
New Project. Music Editor ..
« on: February 24, 2021, 12:02:57 »
I started a sort of Music app.
Its going well.. and ill keep updating here..




And my goal is towards music learning and all sort of things..

Atm im working on recording midi and playback recording.

This is hell more easier than making a game editor. (Im gave a rest of the game editor for the time being)

the progress is very fast, since its very easy to make it.
since i have experience with my game editor which was ultra hard..

P.S: The game editor didn't fail.. i just stopped working on it because its boring me atm.
and the the perfection i desire is hard to achieve

besides times that i get stuck on stuff i have no great knowledge of.. like midi data.

Making this music editor is much more fun than anything else I've done so far in programming.

I know its gonna be awesome



« Last Edit: February 25, 2021, 11:03:13 by Hardcoal »
...

Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
Re: New Project. Music Editor ..
« Reply #1 on: February 25, 2021, 16:57:50 »
lol.. Im trying to display the guitar chords ..as when its look on a real guitar..
for some reason they always display the chords vertically which i never understood why..
Im gonna make an option to display it the standard way and the way i like it which is horizontal.

im new for guitar chords so i probably made mistakes which ill fix in the near future..
for now im concentrating on other things

thanks GFK for your remark. Noted.

BTW the looks of the Editor now.. has nothing todo whatsoever with the outcome result Im planning.



« Last Edit: February 25, 2021, 18:17:17 by Hardcoal »
...

Offline GW

  • Full Member
  • ***
  • Posts: 222
Re: New Project. Music Editor ..
« Reply #2 on: February 25, 2021, 21:23:06 »
Looks good.  Is it Blitzmax?
I implemented midi export in my chiptune tracker long ago. I ended up doing it via Lua which has a pretty good midi library. It saved me a lot of time and may be useful.


Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
Re: New Project. Music Editor ..
« Reply #3 on: February 25, 2021, 22:47:47 »
ye its blitzmax..
i have zero experience with midi so i take it step by step..
I never heard of Lua i just googled it now, I mean ive heard this word but i didnt know its a language.
ill be glad to take advices if/when im stuck..
so far im making progress.. towards what i want..
but im sure ill need you guys help on certain issues.. like how to playback midi.. keep midi data.. record midi.. and so on.

 :)

...

Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
Re: New Project. Music Editor ..
« Reply #4 on: February 26, 2021, 05:04:37 »
Im Trying to Read and Write midi data.. and i need more than 60 fps cycle..
is there a way to loop my code faster without  changing  the screen fps?
so my midi reading will be accurate?
...

Offline Derron

  • Hero Member
  • *****
  • Posts: 3653
Re: New Project. Music Editor ..
« Reply #5 on: February 26, 2021, 07:22:33 »
You can easily do this: just have a loop doing more update() than render().
In other words: split logic from rendering.


bye
Ron

Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
Re: New Project. Music Editor ..
« Reply #6 on: February 27, 2021, 20:31:01 »
Ill try derron.. thanks..

ok here is progress update..

now when i play the midi keyboard it also display the guitar chords

...

Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
Re: New Project. Music Editor ..
« Reply #7 on: March 20, 2021, 20:28:43 »
Im having a dilemma which approach to choose.
there is the typical approach of tracks..
but Im going towards something else, my original idea.. Sections..

Youll see soon what I mean

BTW I purchesed mixcraft, an awesome music editing software.

here is latest picture of my project

...

Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
Re: New Project. Music Editor ..
« Reply #8 on: April 08, 2021, 03:36:53 »
Hi.. i took a break from programming now Im back..

I want that my piano keyboard will play Just one piano for now..

where can I find piano sounds?
should i change the pitch? or should I use for each key another sample?

TY

...

Offline Midimaster

  • Sr. Member
  • ****
  • Posts: 363
    • Midimaster Music Education Software
Re: New Project. Music Editor ..
« Reply #9 on: April 08, 2021, 08:18:49 »
There are several ways to get sounds.

One is to use the MIDI function. This needs no samples, but the sound maybe poor, if the user has no good midi device. The advantage is, that the user is able to listen to your sounds on his real keyboard or e-piano.

A second choice is to write a "MIDI-to-Audio-Recorder". This tool would play MIDI-events and record the incoming audio signal. Now you are able to play a complete 88-notes chromatic scale on MIDI, send this to a expensiv e-piano and record the resulting sound. The charme is, that you can develop this tool with the poor build in MIDI device of Windows. And when it works perfect, you ask a friend with a e-piano for a run it on his computer. by the way: the resulting samples doesn't infringe copyright.

See my current project on PlayStore: 20Tracks-Audio-Player https://play.google.com/store/apps/details?id=midimaster.twentytrackd

Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
Re: New Project. Music Editor ..
« Reply #10 on: April 08, 2021, 12:36:35 »
Thanks Midi.. This part I get

Now. Ive asked this question before but I cant find the thread of it..
I want that when I press my virtual keyboard it will play the Midi Instruments of Microsoft..
How can I get the List of Instruments of microsoft Midi, and than build some Items list so I can change the current microsoft midi sound?


...

Offline Midimaster

  • Sr. Member
  • ****
  • Posts: 363
    • Midimaster Music Education Software
Re: New Project. Music Editor ..
« Reply #11 on: April 08, 2021, 13:31:15 »
The list is avaiable as General Midi Programm Change list
f.e. https://de.wikipedia.org/wiki/General_MIDI#Programmwechsel

http://midi.teragonaudio.com/tutr/gm.htm

you switch between the sounds by sending a "programm change" instead of a "note-on" on the midi channel

here is a compendium. its a little bit "german" but very detailed:

https://www.zem-college.de/midi/mc_cvm5.htm
See my current project on PlayStore: 20Tracks-Audio-Player https://play.google.com/store/apps/details?id=midimaster.twentytrackd

Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
Re: New Project. Music Editor ..
« Reply #12 on: April 08, 2021, 16:23:16 »
Ok thanks
...

Offline Hardcoal

  • Hero Member
  • *****
  • Posts: 743
  • nothing is personal
Re: New Project. Music Editor ..
« Reply #13 on: April 10, 2021, 17:21:17 »
I Wonder why there is a Delay(Latency) when I play my virtual piano and using MidiWaves.
But when I use the External Keyboard, there is absolutely no Latency

How Come, and how can I change it?
...

Offline Midimaster

  • Sr. Member
  • ****
  • Posts: 363
    • Midimaster Music Education Software
Re: New Project. Music Editor ..
« Reply #14 on: April 10, 2021, 19:27:52 »
Thats normal and was the reason, why MIDI was invented. Musical instruments always play immediately.  And MIDI is a serial port with nearly no latency, because of no handshaking.

When you build sounds on the computer they are loaded from hdd or build by algos. Then send to the Audio-Device, which typically needs 160msec to play, because the interface is also used many other purposes like streaming via internet. And therefore there is a default latency as security buffer to guarantee that the internet stream does not break. To fix that problem ASIO was invented for musicians, which reduce the latency on computers to 30msec.

See my current project on PlayStore: 20Tracks-Audio-Player https://play.google.com/store/apps/details?id=midimaster.twentytrackd

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal