The Trunk: Sound-mt.53.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Sound-mt.53.mcz

commits-2
Marcel Taeumel uploaded a new version of Sound to project The Trunk:
http://source.squeak.org/trunk/Sound-mt.53.mcz

==================== Summary ====================

Name: Sound-mt.53
Author: mt
Time: 6 April 2016, 6:25:53.027926 pm
UUID: 7e1b7e43-e9c2-2a41-90c2-d545cd195582
Ancestors: Sound-mt.52

Disable usage of MIDI device if it does not work.

=============== Diff against Sound-mt.52 ===============

Item was changed:
  ----- Method: MIDISound>>play (in category 'as yet unclassified') -----
  play
  "The base class ScorePlayer has two interfaces: a sound and a sound player. Choose the right interface depending on whether MIDI support is present."
 
  SimpleMIDIPort useMIDIDeviceForOutput ifTrue: [
  [self openMIDIPort]
  on: Error
  do: [
  SimpleMIDIPort askForDefault.
+ [self openMIDIPort]
+ on: Error
+ do: [
+ self inform: 'Use of MIDI device is not working. Using custom synthesis.\Go to preferences to change again.' withCRs.
+ SimpleMIDIPort useMIDIDeviceForOutput: false]]].
- self openMIDIPort]].
 
  self reset; resumePlaying.!