2017 was our 20th year online!

Welcome to the Piano World Piano Forums
Over 3 million posts about pianos, digital pianos, and all types of keyboard instruments.
Over 100,000 members from around the world.
Join the World's Largest Community of Piano Lovers (it's free)
It's Fun to Play the Piano ... Please Pass It On!

Shop our online store for music lovers
SEARCH
Piano Forums & Piano World
(ad)
Best of Piano Buyer
 Best of Piano Buyer
(ad)
Pianoteq
Steinway Spiro Layering
(ad)
Wessell Nickel & Gross
PianoForAll
Who's Online Now
63 members (Blague, Abdol, andrewlapp, 36251, BlakeOR, AlphaTerminus, 14 invisible), 981 guests, and 494 robots.
Key: Admin, Global Mod, Mod
(ad)
Estonia Pianos
Estonia Pianos
Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2008
Posts: 325
D
dsch Offline OP
Full Member
OP Offline
Full Member
D
Joined: Sep 2008
Posts: 325
I am teaching an introductory 2000-level C++ course this term and looking for ideas on music-oriented projects or demos for class. If anyone has any ideas, please share!

Joined: Sep 2006
Posts: 6,696
D
6000 Post Club Member
Offline
6000 Post Club Member
D
Joined: Sep 2006
Posts: 6,696
Originally Posted by BruceD
... " an introductory 2000-level C++ course" is absolutely meaningless to me. Please remember that not everyone in this forum lives in Florida where this expression might be local terminology!

Moreover, an "introductory 2000-level C++ course" in what? Finger-painting? Astro-physics? Animal husbandry? I would have thought that a teacher could have expressed the parameters a little more clearly!


C++, the programming language, of course.

Joined: Sep 2006
Posts: 6,696
D
6000 Post Club Member
Offline
6000 Post Club Member
D
Joined: Sep 2006
Posts: 6,696
Originally Posted by dsch
I am teaching an introductory 2000-level C++ course this term and looking for ideas on music-oriented projects or demos for class. If anyone has any ideas, please share!


There are never enough electronic metronomes. smile

Joined: Dec 2009
Posts: 270
M
Full Member
Offline
Full Member
M
Joined: Dec 2009
Posts: 270
It would also be helpful to know what platform these students will be working on (Windows desktop? Android? XWindows?) and with what sort of development tools. It's easy to imagine apps like a metronome (as Damon suggested - albeit with a smiley), a keyboard simulator, a Simon-like game, and so on, but hard to know what would be feasible for novice programmers without more information.

Joined: Nov 2012
Posts: 1,119
M
1000 Post Club Member
Offline
1000 Post Club Member
M
Joined: Nov 2012
Posts: 1,119
dsch ... stetson university (in your part of the world, yes?) has a really strong music technology program

http://www.stetson.edu/other/academics/programs/music-technology.php

you might reach out to one the faculty on that page (one is a computer scientist) and see if there's a way for your students to do something that intersects w/their students or vice versa. even when there are real differences in levels between the student groups there's always a way to find some common thread.

hope this helps ..

Joined: Sep 2010
Posts: 2,647
C
2000 Post Club Member
Offline
2000 Post Club Member
C
Joined: Sep 2010
Posts: 2,647
Midi's a good one. I wrote some stuff years back that did things like exaggerate the dynamics, reverse the keys (not quite sure what the application on that one was). The manipulation you can do with echo back can be quite thought provoking.

Joined: Feb 2013
Posts: 752
M
Mwm Offline
500 Post Club Member
Offline
500 Post Club Member
M
Joined: Feb 2013
Posts: 752
How about a VSTi instrument creator that allows one to record his/her own instrument and create the sample set for use in VSTi Midi programmes?

Joined: Jun 2003
Posts: 29,693
B
BDB Offline
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
B
Joined: Jun 2003
Posts: 29,693
Write a decent music OCR application.


Semipro Tech
Joined: Dec 2010
Posts: 1,304
L
1000 Post Club Member
Offline
1000 Post Club Member
L
Joined: Dec 2010
Posts: 1,304
I see a dangerous triangle forming here:
Music :: Computers :: Beginners

Find something that offers a better chance of success.

Ed


In music, everything one does correctly helps everything else.
Joined: Nov 2002
Posts: 13,837
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Nov 2002
Posts: 13,837
I'd invent some projects that involve manipulating the music aspects of various APIs.

How to play and synchronize audio within Apple's iOS API, write a WAV - mp3 converter, or manipulating music with the Modus library - http://sourceforge.net/projects/modusml/

Or you could go more basic - display a waveform from an audio file, make a realtime oscilloscope, a bitrate converter.

Or have students write a basic MIDI editor or MIDI file player.

The hard part (to my uneducated mind) is to find a project that fits the goals of the course. I can see where writing a MIDI file player might end up being 1% coding and 99% learning the MIDI specification and how to access the built-in software synth in Quicktime.


"If we continually try to force a child to do what he is afraid to do, he will become more timid, and will use his brains and energy, not to explore the unknown, but to find ways to avoid the pressures we put on him." (John Holt)

www.pianoped.com
www.youtube.com/user/UIPianoPed
Joined: Sep 2010
Posts: 2,647
C
2000 Post Club Member
Offline
2000 Post Club Member
C
Joined: Sep 2010
Posts: 2,647
Midi specification is nothing, it's windows that's the bugbear.

I just bought an off the shelf circuit board that will turn the 0-5v output of my EMG board into midi. Now that is a laugh - playing the keyboard from your biceps!

Joined: May 2010
Posts: 2,194
K
2000 Post Club Member
Offline
2000 Post Club Member
K
Joined: May 2010
Posts: 2,194
I did a project in C, where if you input a string of letters, and modifiers, you can produce a melody of sine tones. For example:

+EDAaFfEe-Bb+C-BAGAaEe

Made the melody from Prok 3. I think we were able to write polyphony as well.

*note that the example string is just a sample...I'm pretty sure the syntax was different. But here, the + raises the octave, the - lowere it, and the lower case extemds the duratiom of the note.

It was a fun project, though probably much easier if you use a higher level language like C++.


Working on:
Chopin - Nocturne op. 48 no.1
Debussy - Images Book II

Joined: Nov 2012
Posts: 1,119
M
1000 Post Club Member
Offline
1000 Post Club Member
M
Joined: Nov 2012
Posts: 1,119
dsch -

here's an article about composing using c++

http://www.csounds.com/journal/issue17/gogins_composing_in_cpp.html

you might take a look at "csound"

http://www.csounds.com/

it's a programming environment (based in c) that has long history and a lot of development. so there's plenty of materials out there to see what you might do with it in your class.

another one is "cfugue" ... a programming library in c++ for composing

http://gopalakrishna.palem.in/CFugue.html

there's a lot of stuff like this out there that's been done in college and university courses and academic research centers ... google "c++ music" and things like that ...


Joined: Sep 2008
Posts: 325
D
dsch Offline OP
Full Member
OP Offline
Full Member
D
Joined: Sep 2008
Posts: 325
The platform is MS Visual Studio Express. I accept submissions from 2008, 2010, and 2012 versions.

Last edited by dsch; 05/20/13 04:35 PM.
Joined: Sep 2008
Posts: 8,453
8000 Post Club Member
Offline
8000 Post Club Member
Joined: Sep 2008
Posts: 8,453
Originally Posted by Kreisler
I'd invent some projects that involve manipulating the music aspects of various APIs.

How to play and synchronize audio within Apple's iOS API, write a WAV - mp3 converter, or manipulating music with the Modus library - http://sourceforge.net/projects/modusml/

Or you could go more basic - display a waveform from an audio file, make a realtime oscilloscope, a bitrate converter.

Or have students write a basic MIDI editor or MIDI file player.

The hard part (to my uneducated mind) is to find a project that fits the goals of the course. I can see where writing a MIDI file player might end up being 1% coding and 99% learning the MIDI specification and how to access the built-in software synth in Quicktime.


Most of Apple's code is Objective-C though.


Close only counts in horseshoes, hand grenades, and nuclear weapons.

Moderated by  Brendan, Kreisler 

Link Copied to Clipboard
(ad)
Faust Harrison Pianos
Faust Harrison 100+ Steinway pianos
(ad)
PianoDisc

PianoDisc
(ad)
Piano Life Saver - Dampp Chaser
Dampp Chaser Piano Life Saver
(ad)
Mason & Hamlin Pianos
New Topics - Multiple Forums
Vax77 Folding Piano Review 2021
by AlphaTerminus - 06/22/21 01:12 PM
Recording an upright using ORTF?
by Beemer - 06/22/21 11:46 AM
Caution with cheap SSDs
by newer player - 06/22/21 11:08 AM
ear training advice
by Ezeriel - 06/22/21 10:28 AM
Firm felt sheet
by TimM_980 - 06/22/21 09:34 AM
Download Sheet Music
Virtual Sheet Music - Classical Sheet Music Downloads
Forum Statistics
Forums42
Topics207,653
Posts3,106,263
Members101,884
Most Online15,252
Mar 21st, 2010
Please Support Our Advertisers

Faust Harrison 100+ Steinways

Dampp Chaser Piano Life Saver

 Best of Piano Buyer

PianoTeq Bechstein
Visit our online store for gifts for music lovers

Virtual Sheet Music - Classical Sheet Music Downloads



 
Help keep the forums up and running with a donation, any amount is appreciated!
Or by becoming a Subscribing member! Thank-you.
Donate   Subscribe
 
Our Piano Related Classified Ads
| Dealers | Tuners | Lessons | Movers | Restorations | Pianos For Sale | Sell Your Piano |

Advertise on Piano World
| Subscribe | Piano World | PianoSupplies.com | Advertise on Piano World |
| |Contact | Privacy | Legal | About Us | Site Map | Free Newsletter | MapleStreetMusicShop.com - Our store in Cornish Maine


© copyright 1997 - 2021 Piano World ® all rights reserved
No part of this site may be reproduced without prior written permission
Powered by UBB.threads™ PHP Forum Software 7.7.5