forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Protrekkr with PSP replay routine

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
hitchhikr



Joined: 04 Feb 2006
Posts: 83

PostPosted: Thu Feb 12, 2009 8:56 am    Post subject: Protrekkr with PSP replay routine Reply with quote

I recently (today as a matter of fact ;D) made a psp replay routine for my softsynth tracker program available here:

http://protrekkr.googlecode.com/

The tracker is tailored for much faster machines so this is more an experiment than anything else.

If you intend to use it to create music for the PSP you'd better go very easy on the dsp effects and channels polyphony, especially the flanger fx is a really heavy toll because the media engine doesn't have any integrated hardware sin/cos or pow instructions.

The replay routine of the tracker uses the 2nd processor so the occupation time of the main CPU is really minimal.

Samples depacking with the PSP codecs isn't implemented yet (so samples packing should be set to "none" in that case).

The tracker itself is open source and available on Windows, Linux and Mac OS X.

Here is a quick little test using one of the 303 unit (tested on 1.5 and 3.40oe, older consoles):

http://pagesperso-orange.fr/franck.charlet/temp/psp_ptk_test.zip

Have a nice day,
f.
Back to top
View user's profile Send private message
frankoid



Joined: 15 Feb 2009
Posts: 1

PostPosted: Sun Feb 15, 2009 10:44 pm    Post subject: Reply with quote

Good stuff! The replay routine works on my fat PSP running 5.00 M33-6 with 1.50 addon.

Protrekkr looks nice too, it might tempt me back into making tracker music :)
Back to top
View user's profile Send private message
hitchhikr



Joined: 04 Feb 2006
Posts: 83

PostPosted: Fri Feb 20, 2009 9:27 am    Post subject: Reply with quote

v1.90 released:

Code:

- Added a scrollbar beside patterns.
- The tracker can now load all these .wav file formats (mono or stereo) :
  - 8-bit integer.
  - 12-bit integer.
  - 16-bit integer.
  - 24-bit integer.
  - 32-bit integer.
  - 32-bit float.
  - 64-bit float.
- Added an option to render a module as 32 bit (float) .wav file.
- Inverted the right and left mouse buttons functions in patterns.
- Fixed an issue with the loop editor.
- Patterns now automatically scroll when using the right mouse button
  (also work when selecting a block).
- Added multi notes channels, they can be used to trigger several notes /
  track at the same time in order to make chords or to play several
  instruments in the same track and route them to the same row effect /
  dsp effect (thus allowing to considerably reduce the dsp usage
  and also introduce some modularity which could be useful,
  especially for the PSP replay).
  Note that these channels are shared with the polyphony ones.
- Improved volume ramping.
- Keys repeat was disabled when editing note columns.
- Added LCTRL+TAB and LCTRL+LSHIFT+TAB to cycle through
  the notes of a track.
- Added LALT+A and LALT+LSHIFT+A to select one
  or all notes/instruments columns of a track.
- Modified the record function (for a better one, i hope).
- Some edition commands weren't working on last track.
- Midi channels polyphony implemented.
- Improved Mac OS X keyboard handling a bit.
- Compressor wasn't set right when loading .ptp files.
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Fri Feb 20, 2009 11:30 pm    Post subject: Reply with quote

Does this handle MIDI in/out??
Back to top
View user's profile Send private message
hitchhikr



Joined: 04 Feb 2006
Posts: 83

PostPosted: Sat Feb 21, 2009 2:54 am    Post subject: Reply with quote

Only in the Windows version so far.
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Sat Feb 21, 2009 4:16 am    Post subject: Reply with quote

uhm....i wrote MIDI libraries (at least an attempt to) for PSP...it could be interesting to apply them on this project....
Back to top
View user's profile Send private message
hitchhikr



Joined: 04 Feb 2006
Posts: 83

PostPosted: Sat Feb 21, 2009 9:19 am    Post subject: Reply with quote

The tracker isn't available on the PSP, only the replay routine is and doesn't use midi.

I just updated to v1.90d and added midi support for Linux and Mac OS X.
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Sat Feb 21, 2009 7:00 pm    Post subject: Reply with quote

oh...well, my apologizes, i should have read with more attention!
Back to top
View user's profile Send private message
hitchhikr



Joined: 04 Feb 2006
Posts: 83

PostPosted: Tue Feb 24, 2009 4:40 am    Post subject: Reply with quote

Quote:

v1.93:

- Resampler improved, should produce much less aliasing.
- Fixed a small issue involving the cache memory in the PSP replay.
- Added an option to show or hide the bottom panel in order to display more patterns rows (Shortcut: LSHIFT+ESCAPE to toggle the view)
- Left shift wasn't active while editing data columns of patterns to enter digits.
- Added global lists for instruments and synths, that should improve the ergonomy a bit.
- Samples weren't re-initiliazed correctly after a "New Module" command was issued.
- Fixed a bug in the 2nd oscillator of the synth core when using custom waveforms.
- Fixed the rand commands in the synth tab.
- Midi controller modification command (0x90) wasn't accessible anymore in panning row, fixed.
- Fixed an issue that could occur with rand() function under linux.
- Introduced zoomed tracks; Each track can be zoomed independantly and will be displayed with a bigger font.
- Track volume wasn't correctly re-initialized when only instrument column was filled without any note.
- Midi notes off command was broken.
- Effect 0xAxx (Set Random Cutoff) slightly modified, the xx value is now the amplitude of the calculated random value from 0 to 0xff.
- Implemented midi in/out for Linux and Mac OS X.
- Fixed a bug in the recording mode.
- Recording now starts at the current pattern line instead of restarting from it's beginning.
- An extra note was pasted after names input when editing mode was turned on.
Back to top
View user's profile Send private message
hitchhikr



Joined: 04 Feb 2006
Posts: 83

PostPosted: Wed Feb 25, 2009 10:16 am    Post subject: Reply with quote

Quote:

v1.94:

- Fixed a nasty memory leak in the PSP replay (also only necessary data are now allocated).
- Space char wasn't available during names input.
- Added effects 0x41 and 0x42 to control the volumes of the 2 303 units.
- Added effect 0x1c: set global volume.
- Start & stop song cleaned up (clicks should be gone or at least reduced).
- Fixed a small issue regarding latency in the Mac OS X version.


Last edited by hitchhikr on Wed Feb 25, 2009 10:38 am; edited 1 time in total
Back to top
View user's profile Send private message
hitchhikr



Joined: 04 Feb 2006
Posts: 83

PostPosted: Wed Feb 25, 2009 10:31 am    Post subject: Reply with quote

I tried to beef the small example up a bit to see how far it could go, it looks like the reverb can be used too:

http://pagesperso-orange.fr/franck.charlet/temp/psp_ptk_test_reverb.zip
Back to top
View user's profile Send private message
hitchhikr



Joined: 04 Feb 2006
Posts: 83

PostPosted: Mon Mar 02, 2009 12:44 am    Post subject: Reply with quote

Huge update since last time:

Code:

v1.97b:

- Modified the behaviour of the ring mod stereo filter.
- Added a few more constants for the replay.
- Song name wasn't displayed in the plugin infos.
- Fixed a bug in the flanger (early cut).
- Right mouse button on the "Lock / All" button to locked/unlock
  all instruments at once.
- More granularity in constants generation (potentially smaller replay).
- Mp3 samples packing bitrate is now selectable between:
  64, 88, 96, 128, 160 & 192 kbps.
- LSHIFT+I: Show instruments list / LSHIFT+S: Show synths list.
- Forgot to include LameACM.inf in the windows distribution
  (without that file the codec couldn't be installed
   and samples using mp3 packing scheme weren't packed at all, shame).
- Added At3 samples packing scheme (Windows users need to install
  the atrac3 codec located in the install directory in order to pack samples).
  Rates are: 66, 105 & 132 kbps (depacker not yet implemented on PSP, tho).
- Added the ability to select a range of positions for songs rendering to .wav.
- The nasty click occuring when loading a module while another one
  was still playing should be gone.
- Added mouse wheel navigation support in samples editor.
- Cubic interpolation can now be disabled
  (should increase speed a bit but at the expense of lower quality).
- Added ADPCM packing scheme.
- Added an option to pack & lock instruments and use them directly
  in the tracker. (unpacked versions of the instruments are kept safe
  and are saved in .ptk files as usual).
  These instruments can't be modified in the samples editor.
  This should come in handy to finetune a module prior to a .ptp export.
- Fixed a bug with TrueSpeech packed samples.
- Introduced small tracks
  (right click on the 3rd icon of a track or globally via the sequencer).
- Added 3 commands in the sequencer to zoom all tracks at once.
- Filesizes are now displayed beside names.
- Added an instruments remapper in the sequencer tab.
- Added some colors for the notes
  (also changed the font so patterns should be a bit easier to read now).
- Added volume ramping for the 303 units.
- The 2nd 303 unit wasn't triggered correctly.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group