Message Boards Message Boards

0
|
4535 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Musical MIDI notes away from the scale

Posted 11 years ago
In a small simulation project that I am working on I'd like to do several things that seem not to be possible with the MIDI-like abilities of Mathematica 9. 

With particular instrument styles I'd like to play notes that are between the semitones of the conventional western scale.  So, although this is possible:
Sound[SoundNote[1, 1, "Harpsichord"]]

neither this
Sound[SoundNote[11=, 1, "Harpsichord"]]

nor this is permissable
Sound[SoundNote[1.1, 1, "Harpsichord"]]

Additionally I don't immediatly see a way to create a crescendo or other amplitude variations within a single note's duration.  Nor a way to create relative volumes of notes within a chord. 

A am a complete newbie on these aspects of sounds (i.e., with sounds that are created to play with particular styles/instruments).  Creating ab initio waveforms are of course a possibility but are not what I am trhing to do at this point. 
POSTED BY: David Reiss
2 Replies
Thanks Sean.  This is largely what I suspected, and you answered my unstated follow-on question on whether one could extract the waveforms from, for example SoundNote["C"].  
POSTED BY: David Reiss
Midi is a constrained way to specify sound/music. My reading from wikipedia shows that microtones aren't a fundamental part of Midi, but are an optional additional standard which SoundNote doesn't seem to implement. My understanding is that it's using some common Java library for this purpose. See this for an example of someone asking something similar about microtones. There are other limitations in Midi such as a max of 15 simultaneous instruments for example.

I should also note that Midi and waveform specifications for sound are analogous to vector graphics and raster graphics respectively. They can be difficult to mix. Just as it is difficult to turn a raster graphic into a vector graphic, so too it is difficult to turn a waveform into a midi file. However, while converting from a vector graphic to a raster graphic is pretty easy, going from Midi to a waveform is hard. You basically have to export the midi file and then open in a program that can convert it into a waveform like format. This fact might be important to you as you try to work around the limitations of common implementations of midi.
POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract