Tips & Tricks: Piano Sustain Pedal Sound

New VST Programm, that replaces the CAL Script !! You'll find it here!




Cakewalk CAL program
Piano Sustain Pedal to wave renderer
and Pedal Sample Library

for "Cakewalk Sonar" versions 1, 2, 3, 4 and 5, "Cakewalk Professional" and "Cakewalk pro Audio"
versions 7, 8 and 9


Bilingual

(Deutsche Version,  for English Version look here!)

0. Einleitung:
Viele sehr gute Piano-Immitationen wie z.B. das Gigapiano können zwar den eigentlichen Klangverlauf eines echten Pianos hervorragend abbilden, sind jedoch nicht fähig, Nebengeräusche des Pianopedals zu erzeugen. Um den Klang zu perfektionieren, müßte man manuell zu jedem Zeitpunkt eines gedrückten oder losgelassenen Pedals ein Wavefile in das Projekt integrieren können. Das würde sehr lange dauern.

Das auf dieser Seite herunterladbare CAL-Programm erfüllt diese Aufgabe in weniger als einer Minute. Der Benutzer kann selbst wählen, welche Wave-file er dem jeweiligen Pedal-Event zuordnet.

1. Vorbereitung:
Aufgrund verschiedener Grenzen der CAL-Sprache besteht dieses Program aus 13 einzelnen CAL- Programmen. Alle CAL-Dateien sollten in das Verzeichnis kopiert werden, aus dem Cakewalk die CAL Dateien liest (nachzusehen in Cakewalk unter Options-Global-Folders). Im Regelfall ist das das Verzeichnis mit der CWPA.exe- Datei. Das ist nützlich, um in Cakewalk unter "Key-Bindings" einen Tastatur-Shortcut zum schnellen Start des CALs vorzunehmen. Da Cakewalk in den Versionen 8.x und 9.x immer noch nicht fähig ist, über CAL-Scripte WAVE-Files einzufügen, wird hier ein Umweg über ein Cakewalk BUN-file benutzt.

Der Benutzer muß erst zwei BUN-Dateien erstellen, die jeweils auf Zählzeit 1:01:00 in der ersten Spur die entsprechenden Wavefiles enthalten (Eine BUN-Datei für Pedal-on, eine für Pedal-off).

Weil CWPA 8.0 im Unterschied zu CWPA9.x keine Stereo-Waves verarbeiten kann, empfehle ich, jeweils zwei BUN-Dateien für Pedal-ON und Pedal-OFF anzulegen und dieses CAL zweimal ablaufen zu lassen und dabei zuerst die Waves für linken Stereo-Kanal und danach für rechten Stereo-Kanal zu laden.
Benutzer von Sonar 1.0 sollten darauf auchten, daß sie vor dem Starten des CALs zwei Audiospuren erzeugen (um sich nachträgliche Bearbeitungen zu ersparen). Sonar erzeugt leider nicht automatisch selbständig Audiospuren, sondern fügt die Audioclips in MIDI-Spuren ein. Sonar 2.2 zeigt dieses Verhalten nicht mehr und verhält sich wieder wie CWPA 9.

2. Zum Ablauf des CALs:
Die Hauptdatei ist "mf-pedal1.cal". Der "Piano-pedal-to-wave-renderer" wird mit diesem CAL gestartet. Alle CAL- Dateien sollten im selben Verzeichnis abgelegt werden, ansonsten könnte es sein, daß das CAL Programm nicht korrekt arbeitet und mit einer Fehlermeldung abbricht.

Dieses CAL wurde für Cakewalk 8.0 und 9.0 entworfen. Die Lauffähigkeit für Cakewalk Sonar 1.0, Cakewalk prof. 7.0 und 8.0 wurde von Benutzern bestätigt. Sonar 2.2 wurde von mir getestet und das Script daraufhin entsprechend optimiert (Vers. 1.2). Auf Cakewalk Programmen in Version 5 ist dieses CAL nicht ausführbar!


Das Sustain-Pedal hat die Controller-Nummer 64. Ein gedrücktes Pedal hat den Wert 64-127, ein losgelassenes Pedal den Wert 64-0.

Das CAL speichert zuerst die Zeiten der Pedal-OFF Events. Danach wird der Benutzer gefragt, welches Wavefile dafür benutzt werden soll und in welchen Track dieses eingefügt werden soll. Das Gleiche wiederholt sich für die Pedal-ON-Events. Am Ende sollten zwei (bzw. vier) Spuren mit allen Pedal-Events als Wavefiles zu sehen sein.

Viel Spaß, Markus

3. Version 1.2 (Update 06.10.03) Cakewalk Sonar zeigt die Eigenart, daß die Zeitpunkte der eingefügten Waves nicht mit den Zeitpunkten der Piano-Pedal Events übereinstimmen. Insgesamt wird die Länge des Tracks gedehnt. Um die Zeitpunkte wieder auf den richtigen Maßstab stauchen zu können, habe ich den frei konfigurierbaren "Timefactor" bzw. "Zeitfaktor"- Parameter eingeführt. Mit ihm ist es möglich, die Zeittabelle nach eigenen Vorstellungen zu strecken oder zu stauchen. Benutzer von Cakewalk Sonar 1.x und 2.x geben bitte den Wert 7692 als Zeitfaktor ein. Benutzer von Cakewalk pro Audio oder professional (in den Versionen 7, 8, 9) geben bitte den Ausgangswert 10000 im CAL-Script ein.

Mehr dazu in der Anleitung. Falls Cakewalk in nicht getesteten Versionen bei Dir andere Abweichungen zeigt, fänd ich es nett, wenn Du mich darüber informieren würdest.

  4. VST-Plug-in "Piano Sound Simulation" (Update 06.06.09)
 
Das neue VST Plug-in ersetzt nunmehr das CAL Skript und bietet eine sehr komfortable Möglichkeit, Piano Pedal Samples in ein Projekt zu integrieren. Zu finden ist das Plug-in auf meiner Software-Seite. Dort kann man es sich kostenlos herunterladen.

5. Pedal-Samples (Update 23.09.01) Die zugehörigen Piano-Samples sind jetzt ebenfalls hier erhältlich. Im folgenden selbstextrahierenden Archiv sind nicht weniger als 19 verschiedene Sustainpedal-Samples in hervorragenden MP3-Qualität (variable Bitrate, HQ) enthalten.

Bitte alle Einzelteile des Archives mit den Endungen .exe, .r00, .r01, .r02, .r03 in ein gemeinsames Verzeichnis laden und die Datei "pedal-samples.exe" starten.

Aufgenommen wurden ein 15.000,- Euro Kawai-Flügel, ein 4000,- Euro Hoffmann & Scholz- Klavier und ein 2500,- Euro Weinberg - Klavier. Für meinen Geschmack sind sogar die Samples des mit Abstand günstigsten Weinberg-Klaviers am besten verwendbar. Zusätzlich ist für alle Interessierten noch ein Demosong, welcher die Benutzung des CALs mit den Samples anschaulich darstellt, als MP3 herunterladbar. (Für das Demo wurden die Samples "Weinberg-off4" und "Weinberg-on4" benutzt.)

Zum Umwandeln der MP3-Samples in WAVE-Files empfehle ich Lame-Drop Xpd . Man muss einfach die MP3-Dateien auf das Lamedrop-Programmfenster ziehen und schon erstellt das Programm zugehörige Wav-Dateien im selben Verzeichnis in dem die MP3-Dateien stehen.


Ach ja, für alle die noch kein brauchbares Piano haben: Es gibt unter
http://www.musik.auc.dk/~bovbjerg/piano.html sehr gute freie, Piano-Soundbänke zum Download in den Standards GIGASAMPLER und SOUNDFONT.
Unter der Adresse http://www.trachtman.org findet man ebenfalls einen 25MB- Soundfont und einen kaufbaren 1,2GB Piano-Sound für den Gigasampler.

Zusätzlich findet man unter http://www.soundcreationsinc.com/tech/splendid/splendid.html einen weiteren frei herunterladbaren 75MB Piano Soundfont.

English Version

0. Introduction:
Many very good piano immitations, e.g. the Gigapiano, can illustrate outstanding the actual sound process of a genuine piano, however are not able to produce background noises of the piano sustain-pedals. In order to make the sound perfect, one would have to integrate manually a wave file into the project at each point in time of a pressed or released pedal. That would last for a very long time.

The CAL program, which is available on this page, fulfills this function in fewer than one minute. The user can select, what wave file should be assigned to the respective pedal event.

1. Preparation:
Due to different boundaries of the CAL language this program consists of 13 individual CAL programs. All CAL files should be copied into the directory, from which Cakewalk reads the CAL files (to check in Cakewalk under option-global- folder). As a rule that is the directory with the CWPA.exe file. This is useful for making a key- shortcut under the menu "Key-bindings" in cakewalk. Since Cakewalk in the versions 8.x and 9.x is not yet able to insert WAVE files by CAL- scripts a detour over a Cakewalk BUN file is used here.

The user must create two BUN files. In each file he has to insert the desired Waves at time 1:01:00 in the first track. (Build one BUN file for pedal on, one for pedal off.)

Since CWPA 8.0 cannot process stereo waves (in contrast to cwpa 9.x), I recommend to create two BUN files for pedal ON and the same with pedal OFF. Let this CAL run twice, loading first the waves for left stereo channel and the second time loading the waves for right stereo channel.
For preventing further steps of work, users of Sonar 1.0 should insert two audio-tracks in the project before starting the cal. Sonar 1.0 does not create audio-tracks automatically but inserts the events in MIDI-Tracks. Sonar 2.2 does not show this behaviour and acts like CWPA 9.

2. For execution of the CALs:
The main file is called "mf-pedal1.cal". The "piano-pedal-to-wave-renderer" is started by selecting this CAL. You have to place all the Bun- and CAL- files into the same directory. Otherwise, the CAL will not work correctly and will stop with an error-message!

This Program was written for Cakewalk pro audio 8.0 and 9.0. Users reported to me, that this CAL works also with Sonar 1.0, Cakewalk prof. 7.0 and 8.0. The Script was tested with Sonar 2.2 by myself an has been adapted to this (Vers. 1.2). This CAL does NOT work in Cakewalk programs in Version 5!

The Sustain pedal has the Controller number 64. A pressed pedal has the value 64-127, a released pedal the value 64-0.

The CAL stores first all the times of the pedal OFF events. Thereafter the user is asked, which wave file is to be used for it and in which track it should be inserted. The program repeats itself for the pedal ON Events. At the end two (or four) tracks with all wave pedal Events should be seen in the project.

Have fun, Markus

3. Version 1.2 (Update 06.10.03) Cakewalk Sonar shows the characteristic that the times of the inserted Waves do not fit to the times of the correspondig piano-pedal- events in the MIDI track. The length of the full track is stretched. In order to be able to compress the track to the correct duration, I have included the freely configurable "time factor" - parameter. With it it is possible to expand or compress the time table for your own conception. Users of Cakewalk sonar 1.x and 2.x please enter the value of 7692 for the "time factor". Users of Cakewalk pro audio or professional (versions 7, 8, 9) please enter the default value 10000 in the CAL Script.

More information you will find in the instruction file. If Cakewalk shows other deviations (in versions, not tested by myself), it would be nice, if you send me informations about that.

4. VST plug-in "Piano Sound Simulation"
 
The new VST plug-in replaces now the CAL script and provides a very convenient way, to integrate a piano pedal samples in a project. You can find the plug-in on my software page. There you can download it for free.

5. Pedal-Samples (Update 23.09.01) The matching pedal-samples are now available on this page, too. In the following selfextracting archive, there are 19 different Sustain pedal samples in outstanding MP3- quality (VBR HQ). Three different pianos were recorded.

Please load all parts of the archive (with endings .exe, .r00, .r01, .r02, .r03) in the same directory and run the file "pedal-samples.exe".

My favourite choice are the "Weinberg-on4" and "Weinberg-off4" samples. But make your own decissions. If you are interested you can download a demo-MP3 that illustrates the utilisation of the CAL-program and the upwards mentioned samples.

For converting the MP3-files into WAVE-files I recommend to use Lame-Drop Xpd . Just drag and drop the MP3-files on the program-window of Lame-Drop and the program will convert them into Wav-files and save them in the same directory, the MP3-files were saved in.

For all who do not have a good pianosound yet: You can find very good free piano-sounds at
http://www.musik.auc.dk/~bovbjerg/piano.html . Supported standards are GIGASAMPLER and SOUNDFONT. At http://www.trachtman.org you will find also a 25MB- Pianosoundfont (for free) and a 1,2GB Gigasampler-Piano-Sound (for sale). In addition you will find at http://www.soundcreationsinc.com/tech/splendid/splendid.html an other 75MB piano- Soundfont for free.


Download - Pedal-CAL Deutsch.zip (14kB)
Download - Pedal-CAL English.zip (13kB)


Download - Pedal-samples.exe (500kB) selfextracting archive
Download - Pedal-samples.r00 (500kB)
Download - Pedal-samples.r01 (500kB)
Download - Pedal-samples.r02 (500kB)
Download - Pedal-samples.r03 (211kB)


Download - Pedal- demo.ogg (303kB, 44.1kHz, 16bit, 46sec, VBR, Schnitt 52 kbit/s) Server 1 - Server 2


Samples erstellt mit freundlicher
Unterstützung von



weiter

(Text vom 16.08.01,
MP3-Hörbeispiel gegen Ogg Vorbis ausgetauscht am 25.02.2003,
Letztes Update am 06.06.09)