This guide will walk you through creating your first chart in Phichain, from launching the editor to saving your work.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ivan-1f/phichain/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before starting, ensure you have:- Phichain installed on your system (see Installation)
- An audio file for your chart (WAV, MP3, OGG, or FLAC format)
- Optional: An illustration image (PNG or JPG format)
Step 1: Launch the Editor
Start Phichain
Launch Phichain using your platform’s method:The home screen will appear, showing recent projects and options to create or open projects.
Step 2: Create a New Project
Click 'Create Project'
On the home screen, click the Create Project button to open the project creation dialog.
Fill in Project Metadata
Enter information about your chart:Example:
- Name: My First Chart
- Composer: Artist Name
- Charter: Your Name
- Illustrator: Artist Name
- Level: HD 10
Select Audio File
Click Select Music and choose your audio file. Supported formats:
.wav- Uncompressed audio (recommended for best quality).mp3- Compressed audio.ogg- Ogg Vorbis compressed audio.flac- Lossless compressed audio
music.* with one of the above extensions when saved to the project directory.Select Illustration (Optional)
Click Select Illustration and choose a background image:
.png- PNG image (supports transparency).jpg/.jpeg- JPEG image
illustration.* in the project directory.Step 3: Understanding the Interface
Once your project loads, you’ll see the main editor interface:Layout Overview
- Top Bar: Menu, action buttons, and quick settings
- Timeline Panel (bottom): Horizontal timeline showing notes and events over time
- Inspector Panel (right): Properties and settings for selected objects
- Game Preview (center): Visual preview of your chart during playback
- Line List Panel (left): List of judgment lines in your chart
- Action Panel: Undo/redo, copy/paste, and other editing actions
Key UI Components
- Timeline
- Inspector
- Line List
The timeline shows your chart’s content horizontally:
- X-axis: Time (measured in beats)
- Each row: A judgment line and its notes
- Note types: Visualized with different colors and shapes
- Scroll: Pan horizontally through time
- Ctrl + Scroll: Zoom in/out on timeline
- Click: Select notes or events
- Drag: Move notes
Playback Controls
- Spacebar: Play/pause
- Timeline scrubbing: Click or drag the playhead
- Metronome: Enable in settings for beat timing assistance
- Playback speed: Adjust for easier editing
Step 4: Adding Your First Notes
Ensure BPM is Set
Before adding notes, verify the BPM (beats per minute) matches your song:
- Open the BPM List tab
- Set the initial BPM (default is usually 120)
- Add BPM changes if your song has tempo variations
Accurate BPM is crucial for proper beat alignment. Use a BPM detection tool or the song’s metadata if you’re unsure.
Select a Judgment Line
Click on a line in the Line List panel. The default project includes one line to start with.
Add Notes to the Timeline
Click in the timeline where you want to add a note:Adding notes:
- Default click adds a Tap note
- Change note type in the Inspector after placing
- For Hold notes, specify the hold duration in beats
Adjust Note Properties
Select a note and modify in the Inspector:
- Beat: Precise timing position
- Position: Horizontal position on the judgment line (-infinity to +infinity)
- Kind: Change between Tap, Drag, Hold, and Flick
- Hold Duration: For Hold notes only
Step 5: Adding Line Movements
Make your chart dynamic by animating judgment lines:Add Line Events
In the timeline or Inspector, add events:Each event has:
- Start/End Beat: When the animation begins and ends
- Start/End Value: Animation values
- Easing: Animation curve (linear, ease-in, ease-out, etc.)
Step 6: Testing Your Chart
Play Through Your Chart
- Press Spacebar to start playback
- Watch note timing and line movements
- Check for any visual or timing issues
Step 7: Saving Your Project
Verify Save Success
Check for a success notification in the bottom-right corner. The project folder now contains:
chart.json- Your chart datameta.json- Updated metadata
Step 8: Exporting Your Chart
When ready to share or use your chart:Export from Editor
Use the Export functionality in the editor to prepare your chart for distribution.
Quick Tips
Keyboard Shortcuts
Keyboard Shortcuts
Essential hotkeys for efficient editing:
- Ctrl+S: Save project
- Ctrl+W: Close project
- Ctrl+Z: Undo
- Ctrl+Y: Redo
- Spacebar: Play/pause
- Ctrl+Plus/Minus: Zoom timeline
- Delete: Delete selected notes
Beat Alignment
Beat Alignment
For precise note placement:
- Enable Grid Snap to align notes to beats
- Use the Metronome to hear beat timing
- Zoom in on the timeline for fine adjustments
- Check the beat counter in the timeline header
Selection and Editing
Selection and Editing
Efficiently edit multiple notes:
- Click: Select single note
- Ctrl+Click: Add to selection
- Drag box: Select multiple notes
- Ctrl+C/V: Copy and paste selections
Performance
Performance
If the editor feels slow:
- Use release builds instead of debug builds
- Close unused tabs in the editor
- Reduce visible timeline range by zooming in
- Disable unnecessary visual effects in settings
Common Pitfalls
Auto-generated Files: Don’t manually edit
chart.json or meta.json unless you understand the format. Always use the editor for modifications.Next Steps
Now that you’ve created your first chart, explore more advanced features:Editor Guide
Learn advanced editing techniques and workflows
Chart Format
Understand the chart.json structure and data format
Line Events
Master complex line animations and movements
Export & Share
Prepare your charts for distribution and playback
Getting Help
If you encounter issues or have questions:- Discord: discord.gg/ESUwcdMBPv
- QQ Group: 768476938
- GitHub Issues: Report bugs or request features