Yes, I understand the lowest numerical valued note is the lowest pitch in a chord.
The real problem that I'm facing is this:
If I have these notes in an array: {43, 43, 48, 52}
which would...
Type: Posts; User: baikal_m
Yes, I understand the lowest numerical valued note is the lowest pitch in a chord.
The real problem that I'm facing is this:
If I have these notes in an array: {43, 43, 48, 52}
which would...
Common Tater,
I'm sorry, I misread your question. What I meant is that I am using the PortSMF library which is a part of PortMedia. It's a library for reading/writing MIDI files. Actually, getting...
Yes, I am in fact using PortSMF.
CommonTater, thanks for helping me out the past few days. I'll take a more in depth look at the website.
Hello,
I'm currently working on a program that recognizes chords by analyzing MIDI note input. The only way I can think of doing this is by creating a huge database of chords and what notes they...
Thanks for all your helpful responses. I haven't worked much with structs and I'll definitely study the example and learn it.
I kept working with multidimensional arrays and ended up figuring out...
Thanks for the info.
As for the midi files, the ones I'm using are formatted the same way so they will be starting at the same time.
But you're right, if they were all at different times and...
Hello all,
I'm trying to write code that groups together the members existing within a multi-dimensional array.
What I've written so far takes in a midi file and spits out the following list:
...
Thank you all so much for the suggestions. It seems that I wasn't too clear exactly what I wanted to do... but, I've figured it out and here's the answer to my own question:
...
All,
Thanks for the replies. I think there was a confusion with which while loop I was talking about. The following is the only bit of the code we need for this discussion:
...
Just did it, but the the loop still doesn't stop once it is initiated:
while(1)
{
if(Pm_Poll(stream))
{
length = Pm_Read(stream, event, sizeof(long));
Hello all,
I'm going to ask a question that involves MIDI, but it actually doesn't have to be MIDI. My questions is on how to turn off the while loop via hardware input. (i.e. keyboard)
I'm...
My bad... I meant to include my system but didn't.
I'm on Max OS 10.6, and since this if for school I'm writing it to run on other macs. When I run the executable directly by double clicking on...
Hello all,
I'm writing a code that creates a couple of files and saves them. The problem is, when the files are created they are saved to the user's home folder(unless the directory has been set...
Hello all,
Thanks for the responses you've given me.
I'm using a language called CSound with C, so playing and creating wav files is not a problem.
I wanted the C part of the program to get...
Hello all,
I'm trying to put together something that can read a .wav file, and figure out the length in seconds.
Could anyone show me a simple way of doing it?
I know that the equation is t...
Trying to figure out fopen() and fwrite(), but not succeeding.
Can someone show me exactly how this would be done?
Not asking anyone to do my hw for me... this is actually a very, very simple...
Easier than downloading:
#include <stdio.h>
float amp;
int note;
int main()
{
// the part directly below is the "parameter input" part:
Thanks! system () is really useful...
But I still can't get the second half of the code to compile a new file and run... any ideas??
Hi all,
I'm very new to C programming, and currently working on an assignment for week 1 of class.
Trying to get a little ahead by figuring out a way to execute a command line code from within...