  Symbolic music datasets are important for music information retrieval and
musical analysis. However, there is a lack of large-scale symbolic datasets for
classical piano music. In this article, we create a GiantMIDI-Piano (GP)
dataset containing 38,700,838 transcribed notes and 10,855 unique solo piano
works composed by 2,786 composers. We extract the names of music works and the
names of composers from the International Music Score Library Project (IMSLP).
We search and download their corresponding audio recordings from the internet.
We further create a curated subset containing 7,236 works composed by 1,787
composers by constraining the titles of downloaded audio recordings containing
the surnames of composers. We apply a convolutional neural network to detect
solo piano works. Then, we transcribe those solo piano recordings into Musical
Instrument Digital Interface (MIDI) files using a high-resolution piano
transcription system. Each transcribed MIDI file contains the onset, offset,
pitch, and velocity attributes of piano notes and pedals. GiantMIDI-Piano
includes 90% live performance MIDI files and 10\% sequence input MIDI files. We
analyse the statistics of GiantMIDI-Piano and show pitch class, interval,
trichord, and tetrachord frequencies of six composers from different eras to
show that GiantMIDI-Piano can be used for musical analysis. We evaluate the
quality of GiantMIDI-Piano in terms of solo piano detection F1 scores, metadata
accuracy, and transcription error rates. We release the source code for
acquiring the GiantMIDI-Piano dataset at
https://github.com/bytedance/GiantMIDI-Piano
